diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 5d91a4e126..0815906c23 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -5,7 +5,8 @@ # Before submitting a PR: - [ ] Changes must not break binary backwards compatibility. If you are unclear on how to make the change you think is needed while maintaining backward compatibility, [CONTRIBUTING.md](CONTRIBUTING.md) for details. -- [ ] Add JavaDocs and other comments as appropriate. Consider including links in comments to relevant documentation on https://docs.github.com/en/rest . +- [ ] Add JavaDocs and other comments explaining the behavior. +- [ ] When adding or updating methods that fetch entities, add `@link` JavaDoc entries to the relevant documentation on https://docs.github.com/en/rest . - [ ] Add tests that cover any added or changed code. This generally requires capturing snapshot test data. See [CONTRIBUTING.md](CONTRIBUTING.md) for details. - [ ] Run `mvn -D enable-ci clean install site` locally. If this command doesn't succeed, your change will not pass CI. - [ ] Push your changes to a branch other than `main`. You will create your PR from that branch. @@ -14,6 +15,6 @@ - [ ] Fill in the "Description" above with clear summary of the changes. This includes: - [ ] If this PR fixes one or more issues, include "Fixes #" lines for each issue. - - [ ] Provide links to relevant documentation on https://docs.github.com/en/rest where possible. + - [ ] Provide links to relevant documentation on https://docs.github.com/en/rest where possible. If not including links, explain why not. - [ ] All lines of new code should be covered by tests as reported by code coverage. Any lines that are not covered must have PR comments explaining why they cannot be covered. For example, "Reaching this particular exception is hard and is not a particular common scenario." - [ ] Enable "Allow edits from maintainers". diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 1bc6f8e604..74615e5f12 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,12 +1,14 @@ version: 2 updates: - - package-ecosystem: "maven" - directory: "/" - schedule: - interval: "monthly" - time: "02:00" - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "monthly" - time: "02:00" +- package-ecosystem: "maven" + directory: "/" + rebase-strategy: "disabled" + schedule: + interval: "monthly" + time: "02:00" +- package-ecosystem: "github-actions" + directory: "/" + rebase-strategy: "disabled" + schedule: + interval: "monthly" + time: "02:00" diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ddc1e952ee..11d644db46 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -20,8 +20,15 @@ on: schedule: - cron: '20 0 * * 6' +permissions: + contents: read + jobs: analyze: + permissions: + actions: read # for github/codeql-action/init to get workflow details + contents: read # for actions/checkout to fetch code + security-events: write # for github/codeql-action/autobuild to send a status report name: Analyze runs-on: ubuntu-latest @@ -35,11 +42,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -50,7 +57,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -64,4 +71,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index 595b8f1ac9..d572259804 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -14,43 +14,49 @@ on: env: JAVA_11_PLUS_MAVEN_OPTS: "--add-opens jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED" +permissions: + contents: read + jobs: build: - name: build-only (Java ${{ matrix.java }}) + name: build-only (Java 17) runs-on: ubuntu-latest strategy: - fail-fast: false - matrix: - java: [ 16, 17 ] + fail-fast: true steps: - - uses: actions/checkout@v2 - - name: Set up JDK - uses: actions/setup-java@v2 - with: - java-version: ${{ matrix.java }} - distribution: 'zulu' - cache: 'maven' - - name: Maven Install (skipTests) - env: - MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }} - run: mvn -B clean install -DskipTests --file pom.xml + - uses: actions/checkout@v4 + - name: Set up JDK + uses: actions/setup-java@v3 + with: + java-version: 17 + distribution: 'temurin' + cache: 'maven' + - name: Maven Install (skipTests) + env: + MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }} + run: mvn -B clean install -DskipTests --file pom.xml + - uses: actions/upload-artifact@v3 + with: + name: maven-target-directory + path: target/ + retention-days: 3 site: - name: site (Java ${{ matrix.java }}) + name: site (Java 17) runs-on: ubuntu-latest strategy: fail-fast: false - matrix: - java: [ 8, 11 ] steps: - - uses: actions/checkout@v2 - - name: Set up JDK - uses: actions/setup-java@v2 - with: - java-version: ${{ matrix.java }} - distribution: 'adopt' - cache: 'maven' - - name: Maven Site - run: mvn -B clean site -D enable-ci --file pom.xml + - uses: actions/checkout@v4 + - name: Set up JDK + uses: actions/setup-java@v3 + with: + java-version: 17 + distribution: 'temurin' + cache: 'maven' + - name: Maven Site + env: + MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }} + run: mvn -B clean site -D enable-ci --file pom.xml test: name: test (${{ matrix.os }}, Java ${{ matrix.java }}) runs-on: ${{ matrix.os }}-latest @@ -58,33 +64,45 @@ jobs: fail-fast: false matrix: os: [ ubuntu, windows ] - java: [ 8.0.192, 8, 11.0.3, 11, 16, 17 ] + java: [ 11, 17 ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: ${{ matrix.java }} - distribution: 'zulu' + distribution: 'temurin' cache: 'maven' - # JDK 8 - - name: Maven Install without Code Coverage - if: matrix.os == 'windows' && startsWith(matrix.java, '8') - run: mvn -B clean install --file pom.xml - - name: Maven Install with Code Coverage - if: matrix.os != 'windows' && startsWith(matrix.java, '8') - run: mvn -B clean install -D enable-ci --file pom.xml - - name: Codecov Report - if: matrix.os != 'windows' && startsWith(matrix.java, '8') - uses: codecov/codecov-action@v2.1.0 # JDK 11+ - name: Maven Install without Code Coverage - if: matrix.os == 'windows' && !startsWith(matrix.java, '8') + if: matrix.os == 'windows' env: MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }} - run: mvn -B clean install --file pom.xml "-Dsurefire.argLine=--add-opens java.base/java.net=ALL-UNNAMED" + run: mvn -B clean install -D japicmp.skip=true --file pom.xml "-Dsurefire.argLine=--add-opens java.base/java.net=ALL-UNNAMED" - name: Maven Install with Code Coverage - if: matrix.os != 'windows' && !startsWith(matrix.java, '8') + if: matrix.os != 'windows' env: MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }} run: mvn -B clean install -D enable-ci --file pom.xml "-Dsurefire.argLine=--add-opens java.base/java.net=ALL-UNNAMED" + - name: Codecov Report + if: matrix.os == 'ubuntu' && matrix.java == '17' + uses: codecov/codecov-action@v3.1.4 + + test-java-8: + name: test Java 8 (no-build) + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v3 + with: + name: maven-target-directory + path: target + - name: Set up JDK + uses: actions/setup-java@v3 + with: + java-version: 8 + distribution: 'temurin' + cache: 'maven' + - name: Maven Test (no build) Java 8 + run: mvn -B surefire:test -DfailIfNoTests -Dsurefire.excludesFile=src/test/resources/slow-or-flaky-tests.txt diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index cdff903bd9..235b6cb783 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -6,8 +6,14 @@ on: branches: - main +permissions: + contents: read + jobs: update_release_draft: + permissions: + contents: write # for release-drafter/release-drafter to create a github release + pull-requests: write # for release-drafter/release-drafter to add label to PR runs-on: ubuntu-latest steps: - name: Release Drafter diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 47e969ded7..5b52f26a8b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,5 +1,15 @@ # Contributing +## Make sure it's spotless + +Run `mvn spotless:apply` to fix any formatting, etc issues. + +## Make sure you pass CI + +If the following does not succeed, you will not pass the pull request checks. + +`mvn -D enable-ci clean install site` + ## Using WireMock and Snapshots This project has started converting to using WireMock to stub out http responses instead of use live data. @@ -72,7 +82,7 @@ When modifying existing tests, you can change the stubbed WireMock data files by #### Manual editing of data (minor changes only) If you know what data will change, it is sometimes simplest to make any required changes to the data files manually. -This can be easier if the changes are minor or when you development environment is not setup to to take updated snapshots. +This can be easier if the changes are minor or when you development environment is not setup to take updated snapshots. #### Generating a new snapshot diff --git a/pom.xml b/pom.xml index 05bb6ecaf3..56086d0005 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 org.kohsuke github-api - 1.302-SNAPSHOT + 1.318-SNAPSHOT GitHub API for Java https://github-api.kohsuke.org/ GitHub API for Java @@ -33,18 +33,18 @@ UTF-8 - 4.5.0.0 - 4.5.0 + 4.7.3.0 + 4.7.3 true 2.2 4.9.2 - 2.10.0 + 3.5.0 0.70 0.50 false - 0.11.2 + 0.11.5 @@ -55,12 +55,12 @@ org.apache.maven.scm maven-scm-provider-gitexe - 1.12.0 + 1.13.0 org.apache.maven.scm maven-scm-manager-plexus - 1.12.0 + 1.13.0 @@ -213,9 +213,9 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.3.1 + 3.4.1 - 8 + 8 true all @@ -223,7 +223,7 @@ org.sonatype.plugins nexus-staging-maven-plugin - 1.6.8 + 1.6.13 true sonatype-nexus-staging @@ -234,13 +234,16 @@ org.codehaus.mojo animal-sniffer-maven-plugin - 1.20 + 1.22 org.codehaus.mojo.signature java18 1.0 + + java.net.http.* + @@ -258,7 +261,7 @@ org.apache.maven.plugins maven-site-plugin - 3.9.1 + 3.12.1 org.apache.maven.plugins @@ -278,18 +281,18 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.1.2 + 3.4.2 org.apache.bcel bcel - 6.5.0 + 6.6.1 maven-compiler-plugin - 3.8.1 + 3.10.1 1.8 1.8 @@ -301,19 +304,52 @@ + + + compile-java-11 + compile + + compile + + + 11 + 11 + 11 + + ${project.basedir}/src/main/java11 + + true + + + maven-surefire-plugin + + @{jacoco.surefire.argLine} ${surefire.argLine} + default-test src/test/resources/slow-or-flaky-tests.txt - @{jacoco.surefire.argLine} ${surefire.argLine} + + org.apache.maven.plugins + maven-jar-plugin + 3.3.0 + + + + org.kohsuke.github.api + true + + + + org.codehaus.mojo animal-sniffer-maven-plugin @@ -321,7 +357,7 @@ com.infradna.tool bridge-method-injector - 1.22 + 1.23 @@ -333,7 +369,7 @@ com.diffplug.spotless spotless-maven-plugin - 2.17.6 + 2.27.2 spotless-check @@ -393,6 +429,32 @@ + + com.github.siom79.japicmp + japicmp-maven-plugin + 0.17.2 + + + true + true + true + + + org.kohsuke.github.internal + + org.kohsuke.github.extras.HttpClientGitHubConnector#HttpClientGitHubConnector(java.net.http.HttpClient) + + + + + + verify + + cmp + + + + @@ -405,7 +467,7 @@ com.tngtech.archunit archunit - 0.22.0 + 1.1.0 test @@ -427,6 +489,12 @@ ${hamcrest.version} test + + com.github.npathai + hamcrest-optional + 2.0.0 + test + junit junit @@ -436,13 +504,13 @@ org.awaitility awaitility - 4.1.1 + 4.2.0 test com.fasterxml.jackson.core jackson-databind - 2.13.0 + 2.15.2 commons-io @@ -452,14 +520,14 @@ com.infradna.tool bridge-method-annotation - 1.22 + 1.23 true commons-fileupload commons-fileupload - 1.4 + 1.5 test @@ -485,7 +553,7 @@ org.eclipse.jgit org.eclipse.jgit - 6.0.0.202111291000-r + 6.7.0.202309050840-r test @@ -541,7 +609,7 @@ org.mockito mockito-core - 4.1.0 + 4.11.0 test @@ -553,19 +621,19 @@ com.github.tomakehurst wiremock-jre8-standalone - 2.32.0 + 2.35.1 test com.google.code.gson gson - 2.8.9 + 2.10 test org.slf4j slf4j-simple - 1.7.32 + 2.0.7 test @@ -584,7 +652,7 @@ - slow-or-flaky-test + test-slow-multireleasejar-flaky !test @@ -607,6 +675,32 @@ @{jacoco.surefire.argLine} ${surefire.argLine} -Dtest.github.connector=okhttp + + java11-test + integration-test + + test + + + ${project.basedir}/target/github-api-${project.version}.jar + false + src/test/resources/slow-or-flaky-tests.txt + @{jacoco.surefire.argLine} ${surefire.argLine} -Dtest.github.connector=httpclient + + + + java11-urlconnection-test + integration-test + + test + + + ${project.basedir}/target/github-api-${project.version}.jar + false + src/test/resources/slow-or-flaky-tests.txt + @{jacoco.surefire.argLine} ${surefire.argLine} -Dtest.github.connector=urlconnection + + slow-or-flaky-test integration-test @@ -619,7 +713,6 @@ src/test/resources/slow-or-flaky-tests.txt - @{jacoco.surefire.argLine} ${surefire.argLine} @@ -672,7 +765,7 @@ org.apache.maven.plugins maven-enforcer-plugin - 3.0.0 + 3.2.1 enforce-jacoco-exist @@ -750,104 +843,6 @@ - - multirelease - - [11,) - - - - - org.codehaus.mojo - animal-sniffer-maven-plugin - - - java.net.http.* - - - - - maven-compiler-plugin - 3.8.1 - - - compile-java-11 - compile - - compile - - - 11 - 11 - 11 - - ${project.basedir}/src/main/java11 - - true - - - - - - org.apache.maven.plugins - maven-jar-plugin - 3.2.0 - - - - true - - - - - - - - - multirelease-test - - [11,) - - !test - - - - - - maven-surefire-plugin - - - java11-test - integration-test - - test - - - ${project.basedir}/target/github-api-${project.version}.jar - false - src/test/resources/slow-or-flaky-tests.txt - @{jacoco.surefire.argLine} ${surefire.argLine} -Dtest.github.connector=httpclient - - - - java11-urlconnection-test - integration-test - - test - - - ${project.basedir}/target/github-api-${project.version}.jar - false - src/test/resources/slow-or-flaky-tests.txt - @{jacoco.surefire.argLine} ${surefire.argLine} -Dtest.github.connector=urlconnection - - - - - - - - diff --git a/src/main/java/org/kohsuke/github/AbstractBuilder.java b/src/main/java/org/kohsuke/github/AbstractBuilder.java index 553bb08466..3f368322ed 100644 --- a/src/main/java/org/kohsuke/github/AbstractBuilder.java +++ b/src/main/java/org/kohsuke/github/AbstractBuilder.java @@ -5,6 +5,7 @@ import javax.annotation.CheckForNull; import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * An abstract data object builder/updater. * @@ -32,13 +33,12 @@ * If {@link S} is not the same as {@link R}, {@link #with(String, Object)} will batch together multiple changes and let * the user call {@link #done()} when they are ready. * + * @author Liam Newman * @param * Final return type built by this builder returned when {@link #done()}} is called. * @param * Intermediate return type for this builder returned by calls to {@link #with(String, Object)}. If {@link S} * the same as {@link R}, this builder will commit changes after each call to {@link #with(String, Object)}. - * - * @author Liam Newman */ abstract class AbstractBuilder extends GitHubInteractiveObject { @@ -50,26 +50,28 @@ abstract class AbstractBuilder extends GitHubInteractiveObject { @CheckForNull private final R baseInstance; + /** The requester. */ @Nonnull protected final Requester requester; // TODO: Not sure how update-in-place behavior should be controlled // However, it certainly can be controlled dynamically down to the instance level or inherited for all children of // some + /** The update in place. */ // connection. protected boolean updateInPlace; /** * Creates a builder. * - * @param root - * the GitHub instance to connect to. + * @param finalReturnType + * the final return type for built by this builder returned when {@link #done()}} is called. * @param intermediateReturnType * the intermediate return type of type {@link S} returned by calls to {@link #with(String, Object)}. * Must either be equal to {@code builtReturnType} or this instance must be castable to this class. If * not, the constructor will throw {@link IllegalArgumentException}. - * @param finalReturnType - * the final return type for built by this builder returned when {@link #done()}} is called. + * @param root + * the GitHub instance to connect to. * @param baseInstance * optional instance on which to base this builder. */ diff --git a/src/main/java/org/kohsuke/github/AbuseLimitHandler.java b/src/main/java/org/kohsuke/github/AbuseLimitHandler.java index 415e093a14..d6894adf9a 100644 --- a/src/main/java/org/kohsuke/github/AbuseLimitHandler.java +++ b/src/main/java/org/kohsuke/github/AbuseLimitHandler.java @@ -8,6 +8,7 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * Pluggable strategy to determine what to do when the API abuse limit is hit. * diff --git a/src/main/java/org/kohsuke/github/EnforcementLevel.java b/src/main/java/org/kohsuke/github/EnforcementLevel.java index 81c86428c4..0cc69500a9 100644 --- a/src/main/java/org/kohsuke/github/EnforcementLevel.java +++ b/src/main/java/org/kohsuke/github/EnforcementLevel.java @@ -2,6 +2,7 @@ import java.util.Locale; +// TODO: Auto-generated Javadoc /** * This was added during preview API period but it has changed since then. * @@ -9,8 +10,19 @@ */ @Deprecated public enum EnforcementLevel { - OFF, NON_ADMINS, EVERYONE; + /** The off. */ + OFF, + /** The non admins. */ + NON_ADMINS, + /** The everyone. */ + EVERYONE; + + /** + * To string. + * + * @return the string + */ public String toString() { return name().toLowerCase(Locale.ENGLISH); } diff --git a/src/main/java/org/kohsuke/github/GHApp.java b/src/main/java/org/kohsuke/github/GHApp.java index 2dbd697260..91b24b275b 100644 --- a/src/main/java/org/kohsuke/github/GHApp.java +++ b/src/main/java/org/kohsuke/github/GHApp.java @@ -12,6 +12,7 @@ import static org.kohsuke.github.internal.Previews.MACHINE_MAN; +// TODO: Auto-generated Javadoc /** * A Github App. * @@ -22,6 +23,7 @@ public class GHApp extends GHObject { private GHUser owner; private String name; + private String slug; private String description; private String externalUrl; private Map permissions; @@ -60,6 +62,15 @@ public String getName() { return name; } + /** + * Gets the slug name of the GitHub app. + * + * @return the slug name of the GitHub app + */ + public String getSlug() { + return slug; + } + /** * Sets name. * @@ -158,6 +169,11 @@ public void setInstallationsCount(long installationsCount) { throw new RuntimeException("Do not use this method."); } + /** + * Gets the html url. + * + * @return the html url + */ public URL getHtmlUrl() { return GitHubClient.parseURL(htmlUrl); } diff --git a/src/main/java/org/kohsuke/github/GHAppCreateTokenBuilder.java b/src/main/java/org/kohsuke/github/GHAppCreateTokenBuilder.java index 9222ca7fe4..b809297e66 100644 --- a/src/main/java/org/kohsuke/github/GHAppCreateTokenBuilder.java +++ b/src/main/java/org/kohsuke/github/GHAppCreateTokenBuilder.java @@ -7,17 +7,28 @@ import static org.kohsuke.github.internal.Previews.MACHINE_MAN; +// TODO: Auto-generated Javadoc /** - * Creates a access token for a GitHub App Installation + * Creates a access token for a GitHub App Installation. * * @author Paulo Miguel Almeida * @see GHAppInstallation#createToken(Map) GHAppInstallation#createToken(Map) * @see GHAppInstallation#createToken() GHAppInstallation#createToken() */ public class GHAppCreateTokenBuilder extends GitHubInteractiveObject { + + /** The builder. */ protected final Requester builder; private final String apiUrlTail; + /** + * Instantiates a new GH app create token builder. + * + * @param root + * the root + * @param apiUrlTail + * the api url tail + */ @BetaApi GHAppCreateTokenBuilder(GitHub root, String apiUrlTail) { super(root); @@ -25,6 +36,16 @@ public class GHAppCreateTokenBuilder extends GitHubInteractiveObject { this.builder = root.createRequest(); } + /** + * Instantiates a new GH app create token builder. + * + * @param root + * the root + * @param apiUrlTail + * the api url tail + * @param permissions + * the permissions + */ @BetaApi GHAppCreateTokenBuilder(GitHub root, String apiUrlTail, Map permissions) { this(root, apiUrlTail); @@ -46,6 +67,20 @@ public GHAppCreateTokenBuilder repositoryIds(List repositoryIds) { return this; } + /** + * By default the installation token has access to all repositories that the installation can access. To restrict + * the access to specific repositories, you can provide repository names when creating the token. + * + * @param repositories + * Array containing the repository names + * @return a GHAppCreateTokenBuilder + */ + @BetaApi + public GHAppCreateTokenBuilder repositories(List repositories) { + this.builder.with("repositories", repositories); + return this; + } + /** * Set the permissions granted to the access token. The permissions object includes the permission names and their * access type. diff --git a/src/main/java/org/kohsuke/github/GHAppFromManifest.java b/src/main/java/org/kohsuke/github/GHAppFromManifest.java new file mode 100644 index 0000000000..ed58423bbe --- /dev/null +++ b/src/main/java/org/kohsuke/github/GHAppFromManifest.java @@ -0,0 +1,51 @@ +package org.kohsuke.github; + +/** + * A GitHub App with the additional attributes returned during its creation. + * + * @author Daniel Baur + * @see GitHub#createAppFromManifest(String) + */ +public class GHAppFromManifest extends GHApp { + + private String clientId; + private String clientSecret; + private String webhookSecret; + private String pem; + + /** + * Gets the client id + * + * @return the client id + */ + public String getClientId() { + return clientId; + } + + /** + * Gets the client secret + * + * @return the client secret + */ + public String getClientSecret() { + return clientSecret; + } + + /** + * Gets the webhook secret + * + * @return the webhook secret + */ + public String getWebhookSecret() { + return webhookSecret; + } + + /** + * Gets the pem + * + * @return the pem + */ + public String getPem() { + return pem; + } +} diff --git a/src/main/java/org/kohsuke/github/GHAppInstallation.java b/src/main/java/org/kohsuke/github/GHAppInstallation.java index 1c5e5144b9..cf5bda32b0 100644 --- a/src/main/java/org/kohsuke/github/GHAppInstallation.java +++ b/src/main/java/org/kohsuke/github/GHAppInstallation.java @@ -14,6 +14,7 @@ import static org.kohsuke.github.internal.Previews.GAMBIT; import static org.kohsuke.github.internal.Previews.MACHINE_MAN; +// TODO: Auto-generated Javadoc /** * A Github App Installation. * @@ -45,6 +46,11 @@ public class GHAppInstallation extends GHObject { private GHRepositorySelection repositorySelection; private String htmlUrl; + /** + * Gets the html url. + * + * @return the html url + */ public URL getHtmlUrl() { return GitHubClient.parseURL(htmlUrl); } @@ -117,7 +123,15 @@ public String getRepositoriesUrl() { * List repositories that this app installation can access. * * @return the paged iterable + * @deprecated This method cannot work on a {@link GHAppInstallation} retrieved from + * {@link GHApp#listInstallations()} (for example), except when resorting to unsupported hacks involving + * {@link GHAppInstallation#setRoot(GitHub)} to switch from an application client to an installation + * client. This method will be removed. You should instead use an installation client (with an + * installation token, not a JWT), retrieve a {@link GHAuthenticatedAppInstallation} from + * {@link GitHub#getInstallation()}, then call + * {@link GHAuthenticatedAppInstallation#listRepositories()}. */ + @Deprecated @Preview(MACHINE_MAN) public PagedSearchIterable listRepositories() { GitHubRequest request; @@ -347,4 +361,25 @@ public GHAppCreateTokenBuilder createToken(Map permiss public GHAppCreateTokenBuilder createToken() { return new GHAppCreateTokenBuilder(root(), String.format("/app/installations/%d/access_tokens", getId())); } + + /** + * Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub + * App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will + * also see the upcoming pending change. + * + *

+ * GitHub Apps must use a JWT to access this endpoint. + *

+ * OAuth Apps must use basic authentication with their client ID and client secret to access this endpoint. + * + * @return a GHMarketplaceAccountPlan instance + * @throws IOException + * it may throw an {@link IOException} + * @see Get + * a subscription plan for an account + */ + public GHMarketplaceAccountPlan getMarketplaceAccount() throws IOException { + return new GHMarketplacePlanForAccountBuilder(root(), account.getId()).createRequest(); + } } diff --git a/src/main/java/org/kohsuke/github/GHAppInstallationToken.java b/src/main/java/org/kohsuke/github/GHAppInstallationToken.java index d31d241c9e..415cc996bc 100644 --- a/src/main/java/org/kohsuke/github/GHAppInstallationToken.java +++ b/src/main/java/org/kohsuke/github/GHAppInstallationToken.java @@ -6,6 +6,7 @@ import java.io.IOException; import java.util.*; +// TODO: Auto-generated Javadoc /** * A Github App Installation Token. * @@ -14,6 +15,8 @@ */ public class GHAppInstallationToken extends GitHubInteractiveObject { private String token; + + /** The expires at. */ protected String expires_at; private Map permissions; private List repositories; diff --git a/src/main/java/org/kohsuke/github/GHAppInstallationsIterable.java b/src/main/java/org/kohsuke/github/GHAppInstallationsIterable.java index 019207a2e7..8a150de1fb 100644 --- a/src/main/java/org/kohsuke/github/GHAppInstallationsIterable.java +++ b/src/main/java/org/kohsuke/github/GHAppInstallationsIterable.java @@ -4,18 +4,34 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * Iterable for GHAppInstallation listing. */ class GHAppInstallationsIterable extends PagedIterable { + + /** The Constant APP_INSTALLATIONS_URL. */ public static final String APP_INSTALLATIONS_URL = "/user/installations"; private final transient GitHub root; private GHAppInstallationsPage result; + /** + * Instantiates a new GH app installations iterable. + * + * @param root + * the root + */ public GHAppInstallationsIterable(GitHub root) { this.root = root; } + /** + * Iterator. + * + * @param pageSize + * the page size + * @return the paged iterator + */ @Nonnull @Override public PagedIterator _iterator(int pageSize) { @@ -25,6 +41,13 @@ public PagedIterator _iterator(int pageSize) { null); } + /** + * Adapt. + * + * @param base + * the base + * @return the iterator + */ protected Iterator adapt(final Iterator base) { return new Iterator() { public boolean hasNext() { diff --git a/src/main/java/org/kohsuke/github/GHAppInstallationsPage.java b/src/main/java/org/kohsuke/github/GHAppInstallationsPage.java index 14a978d527..9a29832941 100644 --- a/src/main/java/org/kohsuke/github/GHAppInstallationsPage.java +++ b/src/main/java/org/kohsuke/github/GHAppInstallationsPage.java @@ -1,5 +1,6 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * Represents the one page of GHAppInstallations. */ @@ -7,10 +8,20 @@ class GHAppInstallationsPage { private int total_count; private GHAppInstallation[] installations; + /** + * Gets the total count. + * + * @return the total count + */ public int getTotalCount() { return total_count; } + /** + * Gets the installations. + * + * @return the installations + */ GHAppInstallation[] getInstallations() { return installations; } diff --git a/src/main/java/org/kohsuke/github/GHArtifact.java b/src/main/java/org/kohsuke/github/GHArtifact.java index 9302c500f2..a50454d0d0 100644 --- a/src/main/java/org/kohsuke/github/GHArtifact.java +++ b/src/main/java/org/kohsuke/github/GHArtifact.java @@ -12,6 +12,7 @@ import static java.util.Objects.requireNonNull; +// TODO: Auto-generated Javadoc /** * An artifact from a workflow run. * @@ -85,6 +86,11 @@ public GHRepository getRepository() { } /** + * Gets the html url. + * + * @return the html url + * @throws IOException + * Signals that an I/O exception has occurred. * @deprecated This object has no HTML URL. */ @Override @@ -99,7 +105,7 @@ public URL getHtmlUrl() throws IOException { * the io exception */ public void delete() throws IOException { - root().createRequest().method("DELETE").withUrlPath(getApiRoute()).fetchHttpStatusCode(); + root().createRequest().method("DELETE").withUrlPath(getApiRoute()).send(); } /** @@ -109,9 +115,9 @@ public void delete() throws IOException { * the type of result * @param streamFunction * The {@link InputStreamFunction} that will process the stream + * @return the result of reading the stream. * @throws IOException * The IO exception. - * @return the result of reading the stream. */ public T download(InputStreamFunction streamFunction) throws IOException { requireNonNull(streamFunction, "Stream function must not be null"); @@ -128,6 +134,13 @@ private String getApiRoute() { return "/repos/" + owner.getOwnerName() + "/" + owner.getName() + "/actions/artifacts/" + getId(); } + /** + * Wrap up. + * + * @param owner + * the owner + * @return the GH artifact + */ GHArtifact wrapUp(GHRepository owner) { this.owner = owner; return this; diff --git a/src/main/java/org/kohsuke/github/GHArtifactsIterable.java b/src/main/java/org/kohsuke/github/GHArtifactsIterable.java index 57ea7b264a..2a574150cc 100644 --- a/src/main/java/org/kohsuke/github/GHArtifactsIterable.java +++ b/src/main/java/org/kohsuke/github/GHArtifactsIterable.java @@ -4,6 +4,7 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * Iterable for artifacts listing. */ @@ -13,11 +14,26 @@ class GHArtifactsIterable extends PagedIterable { private GHArtifactsPage result; + /** + * Instantiates a new GH artifacts iterable. + * + * @param owner + * the owner + * @param requestBuilder + * the request builder + */ public GHArtifactsIterable(GHRepository owner, GitHubRequest.Builder requestBuilder) { this.owner = owner; this.request = requestBuilder.build(); } + /** + * Iterator. + * + * @param pageSize + * the page size + * @return the paged iterator + */ @Nonnull @Override public PagedIterator _iterator(int pageSize) { @@ -26,6 +42,13 @@ public PagedIterator _iterator(int pageSize) { null); } + /** + * Adapt. + * + * @param base + * the base + * @return the iterator + */ protected Iterator adapt(final Iterator base) { return new Iterator() { public boolean hasNext() { diff --git a/src/main/java/org/kohsuke/github/GHArtifactsPage.java b/src/main/java/org/kohsuke/github/GHArtifactsPage.java index f295f44f80..3737343912 100644 --- a/src/main/java/org/kohsuke/github/GHArtifactsPage.java +++ b/src/main/java/org/kohsuke/github/GHArtifactsPage.java @@ -1,5 +1,6 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * Represents the one page of artifacts result when listing artifacts. */ @@ -7,10 +8,22 @@ class GHArtifactsPage { private int total_count; private GHArtifact[] artifacts; + /** + * Gets the total count. + * + * @return the total count + */ public int getTotalCount() { return total_count; } + /** + * Gets the artifacts. + * + * @param owner + * the owner + * @return the artifacts + */ GHArtifact[] getArtifacts(GHRepository owner) { for (GHArtifact artifact : artifacts) { artifact.wrapUp(owner); diff --git a/src/main/java/org/kohsuke/github/GHAsset.java b/src/main/java/org/kohsuke/github/GHAsset.java index 694406359b..d64116f5eb 100644 --- a/src/main/java/org/kohsuke/github/GHAsset.java +++ b/src/main/java/org/kohsuke/github/GHAsset.java @@ -5,12 +5,15 @@ import java.io.IOException; import java.net.URL; +// TODO: Auto-generated Javadoc /** * Asset in a release. * * @see GHRelease#getAssets() GHRelease#getAssets() */ public class GHAsset extends GHObject { + + /** The owner. */ GHRepository owner; private String name; private String label; @@ -111,6 +114,9 @@ public String getState() { } /** + * Gets the html url. + * + * @return the html url * @deprecated This object has no HTML URL. */ @Override @@ -145,6 +151,13 @@ private String getApiRoute() { return "/repos/" + owner.getOwnerName() + "/" + owner.getName() + "/releases/assets/" + getId(); } + /** + * Wrap. + * + * @param release + * the release + * @return the GH asset + */ GHAsset wrap(GHRelease release) { this.owner = release.getOwner(); return this; diff --git a/src/main/java/org/kohsuke/github/GHAuthenticatedAppInstallation.java b/src/main/java/org/kohsuke/github/GHAuthenticatedAppInstallation.java new file mode 100644 index 0000000000..7d90645a7e --- /dev/null +++ b/src/main/java/org/kohsuke/github/GHAuthenticatedAppInstallation.java @@ -0,0 +1,48 @@ +package org.kohsuke.github; + +import javax.annotation.Nonnull; + +import static org.kohsuke.github.internal.Previews.MACHINE_MAN; + +// TODO: Auto-generated Javadoc +/** + * The Github App Installation corresponding to the installation token used in a client. + * + * @see GitHub#getInstallation() GitHub#getAuthenticatedAppInstallation() + */ +public class GHAuthenticatedAppInstallation extends GitHubInteractiveObject { + + /** + * Instantiates a new GH authenticated app installation. + * + * @param root + * the root + */ + protected GHAuthenticatedAppInstallation(@Nonnull GitHub root) { + super(root); + } + + /** + * List repositories that this app installation can access. + * + * @return the paged iterable + */ + @Preview(MACHINE_MAN) + public PagedSearchIterable listRepositories() { + GitHubRequest request; + + request = root().createRequest().withPreview(MACHINE_MAN).withUrlPath("/installation/repositories").build(); + + return new PagedSearchIterable<>(root(), request, GHAuthenticatedAppInstallationRepositoryResult.class); + } + + private static class GHAuthenticatedAppInstallationRepositoryResult extends SearchResult { + private GHRepository[] repositories; + + @Override + GHRepository[] getItems(GitHub root) { + return repositories; + } + } + +} diff --git a/src/main/java/org/kohsuke/github/GHAuthorization.java b/src/main/java/org/kohsuke/github/GHAuthorization.java index a819997968..5286750ed7 100644 --- a/src/main/java/org/kohsuke/github/GHAuthorization.java +++ b/src/main/java/org/kohsuke/github/GHAuthorization.java @@ -7,31 +7,68 @@ import java.util.Collections; import java.util.List; +// TODO: Auto-generated Javadoc /** - * Generated OAuth token + * Generated OAuth token. * * @author janinko * @see GitHub#createToken(Collection, String, String) GitHub#createToken(Collection, String, String) * @see API documentation */ public class GHAuthorization extends GHObject { + + /** The Constant USER. */ public static final String USER = "user"; + + /** The Constant USER_EMAIL. */ public static final String USER_EMAIL = "user:email"; + + /** The Constant USER_FOLLOW. */ public static final String USER_FOLLOW = "user:follow"; + + /** The Constant PUBLIC_REPO. */ public static final String PUBLIC_REPO = "public_repo"; + + /** The Constant REPO. */ public static final String REPO = "repo"; + + /** The Constant REPO_STATUS. */ public static final String REPO_STATUS = "repo:status"; + + /** The Constant DELETE_REPO. */ public static final String DELETE_REPO = "delete_repo"; + + /** The Constant NOTIFICATIONS. */ public static final String NOTIFICATIONS = "notifications"; + + /** The Constant GIST. */ public static final String GIST = "gist"; + + /** The Constant READ_HOOK. */ public static final String READ_HOOK = "read:repo_hook"; + + /** The Constant WRITE_HOOK. */ public static final String WRITE_HOOK = "write:repo_hook"; + + /** The Constant AMIN_HOOK. */ public static final String AMIN_HOOK = "admin:repo_hook"; + + /** The Constant READ_ORG. */ public static final String READ_ORG = "read:org"; + + /** The Constant WRITE_ORG. */ public static final String WRITE_ORG = "write:org"; + + /** The Constant ADMIN_ORG. */ public static final String ADMIN_ORG = "admin:org"; + + /** The Constant READ_KEY. */ public static final String READ_KEY = "read:public_key"; + + /** The Constant WRITE_KEY. */ public static final String WRITE_KEY = "write:public_key"; + + /** The Constant ADMIN_KEY. */ public static final String ADMIN_KEY = "admin:public_key"; private List scopes; @@ -112,6 +149,9 @@ public URL getApiURL() { } /** + * Gets the html url. + * + * @return the html url * @deprecated This object has no HTML URL. */ @Override diff --git a/src/main/java/org/kohsuke/github/GHBlob.java b/src/main/java/org/kohsuke/github/GHBlob.java index dcd56260fb..0f109d38ab 100644 --- a/src/main/java/org/kohsuke/github/GHBlob.java +++ b/src/main/java/org/kohsuke/github/GHBlob.java @@ -5,6 +5,7 @@ import java.net.URL; import java.util.Base64; +// TODO: Auto-generated Javadoc /** * The type GHBlob. * diff --git a/src/main/java/org/kohsuke/github/GHBlobBuilder.java b/src/main/java/org/kohsuke/github/GHBlobBuilder.java index b951ef243b..187867689b 100644 --- a/src/main/java/org/kohsuke/github/GHBlobBuilder.java +++ b/src/main/java/org/kohsuke/github/GHBlobBuilder.java @@ -3,6 +3,7 @@ import java.io.IOException; import java.util.Base64; +// TODO: Auto-generated Javadoc /** * Builder pattern for creating a new blob. Based on https://developer.github.com/v3/git/blobs/#create-a-blob */ @@ -10,6 +11,12 @@ public class GHBlobBuilder { private final GHRepository repo; private final Requester req; + /** + * Instantiates a new GH blob builder. + * + * @param repo + * the repo + */ GHBlobBuilder(GHRepository repo) { this.repo = repo; req = repo.root().createRequest(); diff --git a/src/main/java/org/kohsuke/github/GHBranch.java b/src/main/java/org/kohsuke/github/GHBranch.java index 9f20e252ef..3a88231394 100644 --- a/src/main/java/org/kohsuke/github/GHBranch.java +++ b/src/main/java/org/kohsuke/github/GHBranch.java @@ -12,6 +12,7 @@ import javax.annotation.CheckForNull; +// TODO: Auto-generated Javadoc /** * A branch in a repository. * @@ -30,6 +31,14 @@ public class GHBranch extends GitHubInteractiveObject { private boolean protection; private String protection_url; + /** + * Instantiates a new GH branch. + * + * @param name + * the name + * @throws Exception + * the exception + */ @JsonCreator GHBranch(@JsonProperty(value = "name", required = true) String name) throws Exception { Objects.requireNonNull(name); @@ -40,8 +49,11 @@ public class GHBranch extends GitHubInteractiveObject { * The type Commit. */ public static class Commit { + + /** The sha. */ String sha; + /** The url. */ @SuppressFBWarnings(value = "UUF_UNUSED_FIELD", justification = "We don't provide it in API now") String url; } @@ -209,16 +221,33 @@ public GHCommit merge(String head, String commitMessage) throws IOException { return result; } + /** + * Gets the api route. + * + * @return the api route + */ String getApiRoute() { return owner.getApiTailUrl("/branches/" + name); } + /** + * To string. + * + * @return the string + */ @Override public String toString() { final String url = owner != null ? owner.getUrl().toString() : "unknown"; return "Branch:" + name + " in " + url; } + /** + * Wrap. + * + * @param repo + * the repo + * @return the GH branch + */ GHBranch wrap(GHRepository repo) { this.owner = repo; return this; diff --git a/src/main/java/org/kohsuke/github/GHBranchProtection.java b/src/main/java/org/kohsuke/github/GHBranchProtection.java index 918778c47a..697686ce2d 100644 --- a/src/main/java/org/kohsuke/github/GHBranchProtection.java +++ b/src/main/java/org/kohsuke/github/GHBranchProtection.java @@ -9,6 +9,7 @@ import static org.kohsuke.github.internal.Previews.ZZZAX; +// TODO: Auto-generated Javadoc /** * The type GHBranchProtection. * diff --git a/src/main/java/org/kohsuke/github/GHBranchProtectionBuilder.java b/src/main/java/org/kohsuke/github/GHBranchProtectionBuilder.java index 29da23569f..9d22703914 100644 --- a/src/main/java/org/kohsuke/github/GHBranchProtectionBuilder.java +++ b/src/main/java/org/kohsuke/github/GHBranchProtectionBuilder.java @@ -14,6 +14,7 @@ import static org.kohsuke.github.internal.Previews.LUKE_CAGE; +// TODO: Auto-generated Javadoc /** * Builder to configure the branch protection settings. * @@ -31,6 +32,12 @@ public class GHBranchProtectionBuilder { private Restrictions restrictions; private StatusChecks statusChecks; + /** + * Instantiates a new GH branch protection builder. + * + * @param branch + * the branch + */ GHBranchProtectionBuilder(GHBranch branch) { this.branch = branch; } diff --git a/src/main/java/org/kohsuke/github/GHCheckRun.java b/src/main/java/org/kohsuke/github/GHCheckRun.java index e4491a1e92..0203bc8a85 100644 --- a/src/main/java/org/kohsuke/github/GHCheckRun.java +++ b/src/main/java/org/kohsuke/github/GHCheckRun.java @@ -15,6 +15,7 @@ import java.util.List; import java.util.Locale; +// TODO: Auto-generated Javadoc /** * Represents a check run. * @@ -24,6 +25,7 @@ justification = "JSON API") public class GHCheckRun extends GHObject { + /** The owner. */ @JsonProperty("repository") GHRepository owner; @@ -42,12 +44,26 @@ public class GHCheckRun extends GHObject { private GHPullRequest[] pullRequests = new GHPullRequest[0]; private GHCheckSuite checkSuite; + /** + * Wrap. + * + * @param owner + * the owner + * @return the GH check run + */ GHCheckRun wrap(GHRepository owner) { this.owner = owner; wrap(owner.root()); return this; } + /** + * Wrap. + * + * @param root + * the root + * @return the GH check run + */ GHCheckRun wrap(GitHub root) { if (owner != null) { for (GHPullRequest singlePull : pullRequests) { @@ -81,13 +97,36 @@ private Object statusAsStr(Status status, Class type) { return status; } + /** + * The Enum Status. + */ public static enum Status { - QUEUED, IN_PROGRESS, COMPLETED, UNKNOWN; + /** The queued. */ + QUEUED, + /** The in progress. */ + IN_PROGRESS, + /** The completed. */ + COMPLETED, + /** The unknown. */ + UNKNOWN; + + /** + * From. + * + * @param value + * the value + * @return the status + */ public static Status from(String value) { return EnumUtils.getNullableEnumOrDefault(Status.class, value, Status.UNKNOWN); } + /** + * To string. + * + * @return the string + */ @Override public String toString() { return name().toLowerCase(Locale.ROOT); @@ -117,12 +156,42 @@ private Object conclusionAsStr(Conclusion conclusion, Class type) { * Parameters - conclusion. */ public static enum Conclusion { - ACTION_REQUIRED, CANCELLED, FAILURE, NEUTRAL, SUCCESS, SKIPPED, STALE, TIMED_OUT, UNKNOWN; + /** The action required. */ + ACTION_REQUIRED, + /** The cancelled. */ + CANCELLED, + /** The failure. */ + FAILURE, + /** The neutral. */ + NEUTRAL, + /** The success. */ + SUCCESS, + /** The skipped. */ + SKIPPED, + /** The stale. */ + STALE, + /** The timed out. */ + TIMED_OUT, + /** The unknown. */ + UNKNOWN; + + /** + * From. + * + * @param value + * the value + * @return the conclusion + */ public static Conclusion from(String value) { return EnumUtils.getNullableEnumOrDefault(Conclusion.class, value, Conclusion.UNKNOWN); } + /** + * To string. + * + * @return the string + */ @Override public String toString() { return name().toLowerCase(Locale.ROOT); @@ -179,8 +248,8 @@ public URL getHtmlUrl() { /** * Gets the global node id to access most objects in GitHub. * - * @see documentation * @return Global node id + * @see documentation */ public String getNodeId() { return nodeId; @@ -233,7 +302,7 @@ public GHApp getApp() { } /** - * Gets the check suite this check run belongs to + * Gets the check suite this check run belongs to. * * @return Check suite */ @@ -310,8 +379,17 @@ public URL getAnnotationsUrl() { } } + /** + * The Enum AnnotationLevel. + */ public static enum AnnotationLevel { - NOTICE, WARNING, FAILURE + + /** The notice. */ + NOTICE, + /** The warning. */ + WARNING, + /** The failure. */ + FAILURE } /** diff --git a/src/main/java/org/kohsuke/github/GHCheckRunBuilder.java b/src/main/java/org/kohsuke/github/GHCheckRunBuilder.java index 0099cc951d..13e09cdd5e 100644 --- a/src/main/java/org/kohsuke/github/GHCheckRunBuilder.java +++ b/src/main/java/org/kohsuke/github/GHCheckRunBuilder.java @@ -37,6 +37,7 @@ import java.util.List; import java.util.Locale; +// TODO: Auto-generated Javadoc /** * Drafts or updates a check run. * @@ -50,7 +51,10 @@ @Preview(Previews.ANTIOPE) public final class GHCheckRunBuilder { + /** The repo. */ protected final GHRepository repo; + + /** The requester. */ protected final Requester requester; private Output output; private List actions; @@ -60,6 +64,16 @@ private GHCheckRunBuilder(GHRepository repo, Requester requester) { this.requester = requester; } + /** + * Instantiates a new GH check run builder. + * + * @param repo + * the repo + * @param name + * the name + * @param headSHA + * the head SHA + */ GHCheckRunBuilder(GHRepository repo, String name, String headSHA) { this(repo, repo.root() @@ -71,6 +85,14 @@ private GHCheckRunBuilder(GHRepository repo, Requester requester) { .withUrlPath(repo.getApiTailUrl("check-runs"))); } + /** + * Instantiates a new GH check run builder. + * + * @param repo + * the repo + * @param checkId + * the check id + */ GHCheckRunBuilder(GHRepository repo, long checkId) { this(repo, repo.root() @@ -80,16 +102,37 @@ private GHCheckRunBuilder(GHRepository repo, Requester requester) { .withUrlPath(repo.getApiTailUrl("check-runs/" + checkId))); } + /** + * With details URL. + * + * @param detailsURL + * the details URL + * @return the GH check run builder + */ public @NonNull GHCheckRunBuilder withDetailsURL(@CheckForNull String detailsURL) { requester.with("details_url", detailsURL); return this; } + /** + * With external ID. + * + * @param externalID + * the external ID + * @return the GH check run builder + */ public @NonNull GHCheckRunBuilder withExternalID(@CheckForNull String externalID) { requester.with("external_id", externalID); return this; } + /** + * With status. + * + * @param status + * the status + * @return the GH check run builder + */ public @NonNull GHCheckRunBuilder withStatus(@CheckForNull GHCheckRun.Status status) { if (status != null) { // Do *not* use the overload taking Enum, as that s/_/-/g which would be wrong here. @@ -98,6 +141,13 @@ private GHCheckRunBuilder(GHRepository repo, Requester requester) { return this; } + /** + * With conclusion. + * + * @param conclusion + * the conclusion + * @return the GH check run builder + */ public @NonNull GHCheckRunBuilder withConclusion(@CheckForNull GHCheckRun.Conclusion conclusion) { if (conclusion != null) { requester.with("conclusion", conclusion.toString().toLowerCase(Locale.ROOT)); @@ -105,6 +155,13 @@ private GHCheckRunBuilder(GHRepository repo, Requester requester) { return this; } + /** + * With started at. + * + * @param startedAt + * the started at + * @return the GH check run builder + */ public @NonNull GHCheckRunBuilder withStartedAt(@CheckForNull Date startedAt) { if (startedAt != null) { requester.with("started_at", GitHubClient.printDate(startedAt)); @@ -112,6 +169,13 @@ private GHCheckRunBuilder(GHRepository repo, Requester requester) { return this; } + /** + * With completed at. + * + * @param completedAt + * the completed at + * @return the GH check run builder + */ public @NonNull GHCheckRunBuilder withCompletedAt(@CheckForNull Date completedAt) { if (completedAt != null) { requester.with("completed_at", GitHubClient.printDate(completedAt)); @@ -119,6 +183,13 @@ private GHCheckRunBuilder(GHRepository repo, Requester requester) { return this; } + /** + * Adds the. + * + * @param output + * the output + * @return the GH check run builder + */ public @NonNull GHCheckRunBuilder add(@NonNull Output output) { if (this.output != null) { throw new IllegalStateException("cannot add Output twice"); @@ -127,6 +198,13 @@ private GHCheckRunBuilder(GHRepository repo, Requester requester) { return this; } + /** + * Adds the. + * + * @param action + * the action + * @return the GH check run builder + */ public @NonNull GHCheckRunBuilder add(@NonNull Action action) { if (actions == null) { actions = new LinkedList<>(); @@ -170,6 +248,8 @@ private GHCheckRunBuilder(GHRepository repo, Requester requester) { } /** + * The Class Output. + * * @see documentation */ @JsonInclude(JsonInclude.Include.NON_NULL) @@ -181,16 +261,38 @@ public static final class Output { private List annotations; private List images; + /** + * Instantiates a new output. + * + * @param title + * the title + * @param summary + * the summary + */ public Output(@NonNull String title, @NonNull String summary) { this.title = title; this.summary = summary; } + /** + * With text. + * + * @param text + * the text + * @return the output + */ public @NonNull Output withText(@CheckForNull String text) { this.text = text; return this; } + /** + * Adds the. + * + * @param annotation + * the annotation + * @return the output + */ public @NonNull Output add(@NonNull Annotation annotation) { if (annotations == null) { annotations = new LinkedList<>(); @@ -199,6 +301,13 @@ public Output(@NonNull String title, @NonNull String summary) { return this; } + /** + * Adds the. + * + * @param image + * the image + * @return the output + */ public @NonNull Output add(@NonNull Image image) { if (images == null) { images = new LinkedList<>(); @@ -210,6 +319,8 @@ public Output(@NonNull String title, @NonNull String summary) { } /** + * The Class Annotation. + * * @see documentation */ @JsonInclude(JsonInclude.Include.NON_NULL) @@ -225,6 +336,18 @@ public static final class Annotation { private String title; private String raw_details; + /** + * Instantiates a new annotation. + * + * @param path + * the path + * @param line + * the line + * @param annotationLevel + * the annotation level + * @param message + * the message + */ public Annotation(@NonNull String path, int line, @NonNull GHCheckRun.AnnotationLevel annotationLevel, @@ -232,6 +355,20 @@ public Annotation(@NonNull String path, this(path, line, line, annotationLevel, message); } + /** + * Instantiates a new annotation. + * + * @param path + * the path + * @param startLine + * the start line + * @param endLine + * the end line + * @param annotationLevel + * the annotation level + * @param message + * the message + */ public Annotation(@NonNull String path, int startLine, int endLine, @@ -244,21 +381,49 @@ public Annotation(@NonNull String path, this.message = message; } + /** + * With start column. + * + * @param startColumn + * the start column + * @return the annotation + */ public @NonNull Annotation withStartColumn(@CheckForNull Integer startColumn) { start_column = startColumn; return this; } + /** + * With end column. + * + * @param endColumn + * the end column + * @return the annotation + */ public @NonNull Annotation withEndColumn(@CheckForNull Integer endColumn) { end_column = endColumn; return this; } + /** + * With title. + * + * @param title + * the title + * @return the annotation + */ public @NonNull Annotation withTitle(@CheckForNull String title) { this.title = title; return this; } + /** + * With raw details. + * + * @param rawDetails + * the raw details + * @return the annotation + */ public @NonNull Annotation withRawDetails(@CheckForNull String rawDetails) { raw_details = rawDetails; return this; @@ -267,6 +432,8 @@ public Annotation(@NonNull String path, } /** + * The Class Image. + * * @see documentation */ @JsonInclude(JsonInclude.Include.NON_NULL) @@ -276,11 +443,26 @@ public static final class Image { private final String image_url; private String caption; + /** + * Instantiates a new image. + * + * @param alt + * the alt + * @param imageURL + * the image URL + */ public Image(@NonNull String alt, @NonNull String imageURL) { this.alt = alt; image_url = imageURL; } + /** + * With caption. + * + * @param caption + * the caption + * @return the image + */ public @NonNull Image withCaption(@CheckForNull String caption) { this.caption = caption; return this; @@ -289,6 +471,8 @@ public Image(@NonNull String alt, @NonNull String imageURL) { } /** + * The Class Action. + * * @see documentation */ @JsonInclude(JsonInclude.Include.NON_NULL) @@ -298,6 +482,16 @@ public static final class Action { private final String description; private final String identifier; + /** + * Instantiates a new action. + * + * @param label + * the label + * @param description + * the description + * @param identifier + * the identifier + */ public Action(@NonNull String label, @NonNull String description, @NonNull String identifier) { this.label = label; this.description = description; diff --git a/src/main/java/org/kohsuke/github/GHCheckRunsIterable.java b/src/main/java/org/kohsuke/github/GHCheckRunsIterable.java index c500659cac..0866bd1f58 100644 --- a/src/main/java/org/kohsuke/github/GHCheckRunsIterable.java +++ b/src/main/java/org/kohsuke/github/GHCheckRunsIterable.java @@ -4,6 +4,7 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * Iterable for check-runs listing. */ @@ -13,11 +14,26 @@ class GHCheckRunsIterable extends PagedIterable { private GHCheckRunsPage result; + /** + * Instantiates a new GH check runs iterable. + * + * @param owner + * the owner + * @param request + * the request + */ public GHCheckRunsIterable(GHRepository owner, GitHubRequest request) { this.owner = owner; this.request = request; } + /** + * Iterator. + * + * @param pageSize + * the page size + * @return the paged iterator + */ @Nonnull @Override public PagedIterator _iterator(int pageSize) { @@ -26,6 +42,13 @@ public PagedIterator _iterator(int pageSize) { null); } + /** + * Adapt. + * + * @param base + * the base + * @return the iterator + */ protected Iterator adapt(final Iterator base) { return new Iterator() { public boolean hasNext() { diff --git a/src/main/java/org/kohsuke/github/GHCheckRunsPage.java b/src/main/java/org/kohsuke/github/GHCheckRunsPage.java index a946a23b7f..f9262f2561 100644 --- a/src/main/java/org/kohsuke/github/GHCheckRunsPage.java +++ b/src/main/java/org/kohsuke/github/GHCheckRunsPage.java @@ -1,5 +1,6 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * Represents the one page of check-runs result when listing check-runs. */ @@ -7,10 +8,22 @@ class GHCheckRunsPage { private int total_count; private GHCheckRun[] check_runs; + /** + * Gets the total count. + * + * @return the total count + */ public int getTotalCount() { return total_count; } + /** + * Gets the check runs. + * + * @param owner + * the owner + * @return the check runs + */ GHCheckRun[] getCheckRuns(GHRepository owner) { for (GHCheckRun check_run : check_runs) { check_run.wrap(owner); diff --git a/src/main/java/org/kohsuke/github/GHCheckSuite.java b/src/main/java/org/kohsuke/github/GHCheckSuite.java index 87d24440a2..ee70b4c74f 100644 --- a/src/main/java/org/kohsuke/github/GHCheckSuite.java +++ b/src/main/java/org/kohsuke/github/GHCheckSuite.java @@ -10,6 +10,7 @@ import java.util.Date; import java.util.List; +// TODO: Auto-generated Javadoc /** * Represents a check suite. * @@ -19,6 +20,7 @@ justification = "JSON API") public class GHCheckSuite extends GHObject { + /** The owner. */ @JsonProperty("repository") GHRepository owner; @@ -35,12 +37,26 @@ public class GHCheckSuite extends GHObject { private GHApp app; private GHPullRequest[] pullRequests; + /** + * Wrap. + * + * @param owner + * the owner + * @return the GH check suite + */ GHCheckSuite wrap(GHRepository owner) { this.owner = owner; this.wrap(owner.root()); return this; } + /** + * Wrap. + * + * @param root + * the root + * @return the GH check suite + */ GHCheckSuite wrap(GitHub root) { if (owner != null) { if (pullRequests != null && pullRequests.length != 0) { @@ -52,6 +68,11 @@ GHCheckSuite wrap(GitHub root) { return this; } + /** + * Wrap. + * + * @return the GH pull request[] + */ GHPullRequest[] wrap() { return pullRequests; } @@ -59,8 +80,8 @@ GHPullRequest[] wrap() { /** * Gets the global node id to access most objects in GitHub. * - * @see documentation * @return global node id + * @see documentation */ public String getNodeId() { return nodeId; @@ -190,6 +211,9 @@ public URL getHtmlUrl() { return null; } + /** + * The Class HeadCommit. + */ public static class HeadCommit { private String id; private String treeId; @@ -199,7 +223,7 @@ public static class HeadCommit { private GitUser committer; /** - * Gets id of the commit, used by {@link GHCheckSuite} when a {@link GHEvent#CHECK_SUITE} comes + * Gets id of the commit, used by {@link GHCheckSuite} when a {@link GHEvent#CHECK_SUITE} comes. * * @return id of the commit */ diff --git a/src/main/java/org/kohsuke/github/GHCodeownersError.java b/src/main/java/org/kohsuke/github/GHCodeownersError.java new file mode 100644 index 0000000000..8d5662700c --- /dev/null +++ b/src/main/java/org/kohsuke/github/GHCodeownersError.java @@ -0,0 +1,77 @@ +package org.kohsuke.github; + +/** + * Represents an error in a {@code CODEOWNERS} file. See the + * relevant documentation. + * + * @author Michael Grant + */ +public class GHCodeownersError { + private int line, column; + + private String kind, source, suggestion, message, path; + + /** + * Gets line. + * + * @return the line + */ + public int getLine() { + return line; + } + + /** + * Gets column. + * + * @return the column + */ + public int getColumn() { + return column; + } + + /** + * Gets kind. + * + * @return the kind + */ + public String getKind() { + return kind; + } + + /** + * Gets source. + * + * @return the source + */ + public String getSource() { + return source; + } + + /** + * Gets suggestion. + * + * @return the suggestion + */ + public String getSuggestion() { + return suggestion; + } + + /** + * Gets message. + * + * @return the message + */ + public String getMessage() { + return message; + } + + /** + * Gets path. + * + * @return the path + */ + public String getPath() { + return path; + } +} diff --git a/src/main/java/org/kohsuke/github/GHCommentAuthorAssociation.java b/src/main/java/org/kohsuke/github/GHCommentAuthorAssociation.java index d66b8d8550..449970e4d7 100644 --- a/src/main/java/org/kohsuke/github/GHCommentAuthorAssociation.java +++ b/src/main/java/org/kohsuke/github/GHCommentAuthorAssociation.java @@ -1,7 +1,8 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** - * How is an user associated with a repository? + * How is an user associated with a repository?. * * @author Kohsuke Kawaguchi */ diff --git a/src/main/java/org/kohsuke/github/GHCommit.java b/src/main/java/org/kohsuke/github/GHCommit.java index 680814baf1..250dbe7755 100644 --- a/src/main/java/org/kohsuke/github/GHCommit.java +++ b/src/main/java/org/kohsuke/github/GHCommit.java @@ -1,6 +1,5 @@ package org.kohsuke.github; -import com.infradna.tool.bridge_method_injector.WithBridgeMethods; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import java.io.IOException; @@ -14,6 +13,7 @@ import static org.kohsuke.github.internal.Previews.ANTIOPE; import static org.kohsuke.github.internal.Previews.GROOT; +// TODO: Auto-generated Javadoc /** * A commit in a repository. * @@ -23,6 +23,7 @@ */ @SuppressFBWarnings(value = { "NP_UNWRITTEN_FIELD", "UWF_UNWRITTEN_FIELD" }, justification = "JSON API") public class GHCommit { + private GHRepository owner; private ShortInfo commit; @@ -34,111 +35,110 @@ public class GHCommit { value = { "UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD", "UWF_UNWRITTEN_FIELD", "NP_UNWRITTEN_FIELD", "UWF_UNWRITTEN_FIELD" }, justification = "JSON API") - public static class ShortInfo { - private GHAuthor author; - private GHAuthor committer; - - private String message; - - private int comment_count; - - private GHVerification verification; - - static class Tree { - String sha; - } + public static class ShortInfo extends GitCommit { - private Tree tree; + private int comment_count = -1; /** - * Gets author. + * Gets comment count. * - * @return the author + * @return the comment count + * @throws GHException + * the GH exception */ - @WithBridgeMethods(value = GHAuthor.class, castRequired = true) - public GitUser getAuthor() { - return author; + public int getCommentCount() throws GHException { + if (comment_count < 0) { + throw new GHException("Not available on this endpoint."); + } + return comment_count; } /** - * Gets authored date. - * - * @return the authored date + * Creates instance of {@link GHCommit.ShortInfo}. */ - public Date getAuthoredDate() { - return author.getDate(); - } + public ShortInfo() { + // Empty constructor required for Jackson binding + }; /** - * Gets committer. + * Instantiates a new short info. * - * @return the committer + * @param commit + * the commit */ - @WithBridgeMethods(value = GHAuthor.class, castRequired = true) - public GitUser getCommitter() { - return committer; + ShortInfo(GitCommit commit) { + // Inherited copy constructor, used for bridge method from {@link GitCommit}, + // which is used in {@link GHContentUpdateResponse}) to {@link GHCommit}. + super(commit); } /** - * Gets commit date. + * Gets the parent SHA 1 s. * - * @return the commit date + * @return the parent SHA 1 s */ - public Date getCommitDate() { - return committer.getDate(); + @Override + public List getParentSHA1s() { + List shortInfoParents = super.getParentSHA1s(); + if (shortInfoParents == null) { + throw new GHException("Not available on this endpoint. Try calling getParentSHA1s from outer class."); + } + return shortInfoParents; } - /** - * Gets message. - * - * @return Commit message. - */ - public String getMessage() { - return message; - } + } + + /** + * The type GHAuthor. + * + * @deprecated Use {@link GitUser} instead. + */ + @Deprecated + public static class GHAuthor extends GitUser { /** - * Gets comment count. - * - * @return the comment count + * Instantiates a new GH author. */ - public int getCommentCount() { - return comment_count; + public GHAuthor() { + super(); } /** - * Gets Verification Status. + * Instantiates a new GH author. * - * @return the Verification status + * @param user + * the user */ - public GHVerification getVerification() { - return verification; + public GHAuthor(GitUser user) { + super(user); } } - /** - * The type GHAuthor. - * - * @deprecated Use {@link GitUser} instead. - */ - public static class GHAuthor extends GitUser { - } - /** * The type Stats. */ public static class Stats { + + /** The deletions. */ int total, additions, deletions; } /** * A file that was modified. */ - @SuppressFBWarnings(value = "UWF_UNWRITTEN_FIELD", justification = "It's being initilized by JSON deserialization") + @SuppressFBWarnings(value = "UWF_UNWRITTEN_FIELD", justification = "It's being initialized by JSON deserialization") public static class File { + + /** The status. */ String status; + + /** The deletions. */ int changes, additions, deletions; + + /** The patch. */ String raw_url, blob_url, sha, patch; + + /** The previous filename. */ String filename, previous_filename; /** @@ -242,27 +242,76 @@ public String getSha() { * The type Parent. */ public static class Parent { + + /** The url. */ @SuppressFBWarnings(value = "UUF_UNUSED_FIELD", justification = "We don't provide it in API now") String url; + + /** The sha. */ String sha; } + /** + * The Class User. + */ static class User { + + /** The gravatar id. */ // TODO: what if someone who doesn't have an account on GitHub makes a commit? @SuppressFBWarnings(value = "UUF_UNUSED_FIELD", justification = "We don't provide it in API now") String url, avatar_url, gravatar_id; + + /** The id. */ @SuppressFBWarnings(value = "UUF_UNUSED_FIELD", justification = "We don't provide it in API now") int id; + /** The login. */ String login; } - String url, html_url, sha; + /** The sha. */ + String url, html_url, sha, message; + + /** The files. */ List files; + + /** The stats. */ Stats stats; + + /** The parents. */ List parents; + + /** The committer. */ User author, committer; + /** + * Creates an instance of {@link GHCommit}. + */ + public GHCommit() { + // empty constructor needed for Jackson binding + } + + /** + * Instantiates a new GH commit. + * + * @param shortInfo + * the short info + */ + @SuppressFBWarnings(value = "EI_EXPOSE_REP2", justification = "acceptable") + GHCommit(ShortInfo shortInfo) { + // Constructs a (relatively sparse) GHCommit from a GitCommit. Used for + // bridge method from {@link GitCommit}, which is used in + // {@link GHContentUpdateResponse}) to {@link GHCommit}. + commit = shortInfo; + + owner = commit.getOwner(); + html_url = commit.getHtmlUrl(); + sha = commit.getSha(); + url = commit.getUrl(); + parents = commit.getParents(); + message = commit.getMessage(); + } + /** * Gets commit short info. * @@ -330,7 +379,7 @@ public int getLinesDeleted() throws IOException { * on error */ public GHTree getTree() throws IOException { - return owner.getTree(getCommitShortInfo().tree.sha); + return owner.getTree(getCommitShortInfo().getTreeSHA1()); } /** @@ -367,10 +416,28 @@ public URL getUrl() { * @return Can be empty but never null. * @throws IOException * on error + * @deprecated Use {@link #listFiles()} instead. */ + @Deprecated public List getFiles() throws IOException { + return listFiles().toList(); + } + + /** + * List of files changed/added/removed in this commit. Uses a paginated list if the files returned by GitHub exceed + * 300 in quantity. + * + * @return the List of files + * @see Get a + * commit + * @throws IOException + * on error + */ + public PagedIterable listFiles() throws IOException { + populate(); - return files != null ? Collections.unmodifiableList(files) : Collections.emptyList(); + + return new GHCommitFileIterable(owner, sha, files); } /** @@ -379,7 +446,7 @@ public List getFiles() throws IOException { * @return SHA1 of parent commit objects. */ public List getParentSHA1s() { - if (parents == null) + if (parents == null || parents.size() == 0) return Collections.emptyList(); return new AbstractList() { @Override @@ -592,8 +659,16 @@ void populate() throws IOException { owner.root().createRequest().withUrlPath(owner.getApiTailUrl("commits/" + sha)).fetchInto(this); } + /** + * Wrap up. + * + * @param owner + * the owner + * @return the GH commit + */ GHCommit wrapUp(GHRepository owner) { this.owner = owner; return this; } + } diff --git a/src/main/java/org/kohsuke/github/GHCommitBuilder.java b/src/main/java/org/kohsuke/github/GHCommitBuilder.java index 5fcaf2766e..11c382312b 100644 --- a/src/main/java/org/kohsuke/github/GHCommitBuilder.java +++ b/src/main/java/org/kohsuke/github/GHCommitBuilder.java @@ -8,6 +8,7 @@ import java.util.List; import java.util.TimeZone; +// TODO: Auto-generated Javadoc /** * Builder pattern for creating a new commit. Based on https://developer.github.com/v3/git/commits/#create-a-commit */ @@ -32,6 +33,12 @@ private UserInfo(String name, String email, Date date) { } } + /** + * Instantiates a new GH commit builder. + * + * @param repo + * the repo + */ GHCommitBuilder(GHRepository repo) { this.repo = repo; req = repo.root().createRequest().method("POST"); diff --git a/src/main/java/org/kohsuke/github/GHCommitComment.java b/src/main/java/org/kohsuke/github/GHCommitComment.java index 733c63f927..bf040d36c8 100644 --- a/src/main/java/org/kohsuke/github/GHCommitComment.java +++ b/src/main/java/org/kohsuke/github/GHCommitComment.java @@ -7,6 +7,7 @@ import static org.kohsuke.github.internal.Previews.SQUIRREL_GIRL; +// TODO: Auto-generated Javadoc /** * A comment attached to a commit (or a specific line in a specific file of a commit.) * @@ -21,9 +22,16 @@ public class GHCommitComment extends GHObject implements Reactable { private GHRepository owner; + /** The commit id. */ String body, html_url, commit_id; + + /** The line. */ Integer line; + + /** The path. */ String path; + + /** The user. */ GHUser user; // not fully populated. beware. /** @@ -40,6 +48,8 @@ public GHRepository getOwner() { * URL like * 'https://github.com/kohsuke/sandbox-ant/commit/8ae38db0ea5837313ab5f39d43a6f73de3bd9000#commitcomment-1252827' to * show this commit comment in a browser. + * + * @return the html url */ public URL getHtmlUrl() { return GitHubClient.parseURL(html_url); @@ -123,6 +133,15 @@ public void update(String body) throws IOException { this.body = body; } + /** + * Creates the reaction. + * + * @param content + * the content + * @return the GH reaction + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Preview(SQUIRREL_GIRL) public GHReaction createReaction(ReactionContent content) throws IOException { return owner.root() @@ -134,6 +153,27 @@ public GHReaction createReaction(ReactionContent content) throws IOException { .fetch(GHReaction.class); } + /** + * Delete reaction. + * + * @param reaction + * the reaction + * @throws IOException + * Signals that an I/O exception has occurred. + */ + public void deleteReaction(GHReaction reaction) throws IOException { + owner.root() + .createRequest() + .method("DELETE") + .withUrlPath(getApiTail(), "reactions", String.valueOf(reaction.getId())) + .send(); + } + + /** + * List reactions. + * + * @return the paged iterable + */ @Preview(SQUIRREL_GIRL) public PagedIterable listReactions() { return owner.root() @@ -157,6 +197,13 @@ private String getApiTail() { return String.format("/repos/%s/%s/comments/%s", owner.getOwnerName(), owner.getName(), getId()); } + /** + * Wrap. + * + * @param owner + * the owner + * @return the GH commit comment + */ GHCommitComment wrap(GHRepository owner) { this.owner = owner; return this; diff --git a/src/main/java/org/kohsuke/github/GHCommitFileIterable.java b/src/main/java/org/kohsuke/github/GHCommitFileIterable.java new file mode 100644 index 0000000000..8a3f02a6fe --- /dev/null +++ b/src/main/java/org/kohsuke/github/GHCommitFileIterable.java @@ -0,0 +1,96 @@ +package org.kohsuke.github; + +import org.kohsuke.github.GHCommit.File; + +import java.util.Collections; +import java.util.Iterator; +import java.util.List; + +import javax.annotation.Nonnull; + +/** + * Iterable for commit listing. + * + * @author Stephen Horgan + */ +class GHCommitFileIterable extends PagedIterable { + + /** + * Number of files returned in the commit response. If there are more files than this, the response will include + * pagination link headers for the remaining files. + */ + private static final int GH_FILE_LIMIT_PER_COMMIT_PAGE = 300; + + private final GHRepository owner; + private final String sha; + private final File[] files; + + /** + * Instantiates a new GH commit iterable. + * + * @param owner + * the owner + * @param sha + * the SHA of the commit + * @param files + * the list of files initially populated + */ + public GHCommitFileIterable(GHRepository owner, String sha, List files) { + this.owner = owner; + this.sha = sha; + this.files = files != null ? files.toArray(new File[0]) : null; + } + + /** + * Iterator. + * + * @param pageSize + * the page size + * @return the paged iterator + */ + @Nonnull + @Override + public PagedIterator _iterator(int pageSize) { + + Iterator pageIterator; + + if (files != null && files.length < GH_FILE_LIMIT_PER_COMMIT_PAGE) { + // create a page iterator that only provides one page + pageIterator = Collections.singleton(files).iterator(); + } else { + // page size is controlled by the server for this iterator, do not allow it to be set by the caller + pageSize = 0; + + GitHubRequest request = owner.root() + .createRequest() + .withUrlPath(owner.getApiTailUrl("commits/" + sha)) + .build(); + + pageIterator = adapt( + GitHubPageIterator.create(owner.root().getClient(), GHCommitFilesPage.class, request, pageSize)); + } + + return new PagedIterator<>(pageIterator, null); + } + + /** + * Adapt. + * + * @param base + * the base commit page + * @return the iterator + */ + protected Iterator adapt(final Iterator base) { + return new Iterator() { + + public boolean hasNext() { + return base.hasNext(); + } + + public GHCommit.File[] next() { + GHCommitFilesPage v = base.next(); + return v.getFiles(); + } + }; + } +} diff --git a/src/main/java/org/kohsuke/github/GHCommitFilesPage.java b/src/main/java/org/kohsuke/github/GHCommitFilesPage.java new file mode 100644 index 0000000000..d2ab10dc98 --- /dev/null +++ b/src/main/java/org/kohsuke/github/GHCommitFilesPage.java @@ -0,0 +1,30 @@ +package org.kohsuke.github; + +import org.kohsuke.github.GHCommit.File; + +/** + * Represents the array of files in a commit returned by github. + * + * @author Stephen Horgan + */ +class GHCommitFilesPage { + private File[] files; + + public GHCommitFilesPage() { + } + + public GHCommitFilesPage(File[] files) { + this.files = files; + } + + /** + * Gets the files. + * + * @param owner + * the owner + * @return the files + */ + File[] getFiles() { + return files; + } +} diff --git a/src/main/java/org/kohsuke/github/GHCommitPointer.java b/src/main/java/org/kohsuke/github/GHCommitPointer.java index 2581bd9a63..870872ad6f 100644 --- a/src/main/java/org/kohsuke/github/GHCommitPointer.java +++ b/src/main/java/org/kohsuke/github/GHCommitPointer.java @@ -27,6 +27,7 @@ import java.io.IOException; +// TODO: Auto-generated Javadoc /** * Identifies a commit in {@link GHPullRequest}. * diff --git a/src/main/java/org/kohsuke/github/GHCommitQueryBuilder.java b/src/main/java/org/kohsuke/github/GHCommitQueryBuilder.java index 96fa05ee69..e9b8f0cca8 100644 --- a/src/main/java/org/kohsuke/github/GHCommitQueryBuilder.java +++ b/src/main/java/org/kohsuke/github/GHCommitQueryBuilder.java @@ -2,6 +2,7 @@ import java.util.Date; +// TODO: Auto-generated Javadoc /** * Builds up query for listing commits. * @@ -22,6 +23,12 @@ public class GHCommitQueryBuilder { private final Requester req; private final GHRepository repo; + /** + * Instantiates a new GH commit query builder. + * + * @param repo + * the repo + */ GHCommitQueryBuilder(GHRepository repo) { this.repo = repo; this.req = repo.root().createRequest(); // requester to build up @@ -76,7 +83,7 @@ public GHCommitQueryBuilder pageSize(int pageSize) { } /** - * Only commits after this date will be returned + * Only commits after this date will be returned. * * @param dt * the dt @@ -88,7 +95,7 @@ public GHCommitQueryBuilder since(Date dt) { } /** - * Only commits after this date will be returned + * Only commits after this date will be returned. * * @param timestamp * the timestamp @@ -99,7 +106,7 @@ public GHCommitQueryBuilder since(long timestamp) { } /** - * Only commits before this date will be returned + * Only commits before this date will be returned. * * @param dt * the dt @@ -111,7 +118,7 @@ public GHCommitQueryBuilder until(Date dt) { } /** - * Only commits before this date will be returned + * Only commits before this date will be returned. * * @param timestamp * the timestamp diff --git a/src/main/java/org/kohsuke/github/GHCommitSearchBuilder.java b/src/main/java/org/kohsuke/github/GHCommitSearchBuilder.java index 4ffee972d7..7d166bc9b4 100644 --- a/src/main/java/org/kohsuke/github/GHCommitSearchBuilder.java +++ b/src/main/java/org/kohsuke/github/GHCommitSearchBuilder.java @@ -5,6 +5,7 @@ import java.io.IOException; +// TODO: Auto-generated Javadoc /** * Search commits. * @@ -13,6 +14,13 @@ */ @Preview(Previews.CLOAK) public class GHCommitSearchBuilder extends GHSearchBuilder { + + /** + * Instantiates a new GH commit search builder. + * + * @param root + * the root + */ GHCommitSearchBuilder(GitHub root) { super(root, CommitSearchResult.class); req.withPreview(Previews.CLOAK); @@ -20,6 +28,10 @@ public class GHCommitSearchBuilder extends GHSearchBuilder { /** * Search terms. + * + * @param term + * the term + * @return the GH commit search builder */ public GHCommitSearchBuilder q(String term) { super.q(term); @@ -230,7 +242,11 @@ public GHCommitSearchBuilder sort(Sort sort) { * The enum Sort. */ public enum Sort { - AUTHOR_DATE, COMMITTER_DATE + + /** The author date. */ + AUTHOR_DATE, + /** The committer date. */ + COMMITTER_DATE } private static class CommitSearchResult extends SearchResult { @@ -264,6 +280,11 @@ private static String getRepoName(String commitUrl) { return tokens[0] + '/' + tokens[1]; } + /** + * Gets the api url. + * + * @return the api url + */ @Override protected String getApiUrl() { return "/search/commits"; diff --git a/src/main/java/org/kohsuke/github/GHCommitState.java b/src/main/java/org/kohsuke/github/GHCommitState.java index e716ea02e1..bdefc01446 100644 --- a/src/main/java/org/kohsuke/github/GHCommitState.java +++ b/src/main/java/org/kohsuke/github/GHCommitState.java @@ -1,11 +1,20 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** - * Represents the state of commit + * Represents the state of commit. * * @author Kohsuke Kawaguchi * @see GHCommitStatus */ public enum GHCommitState { - PENDING, SUCCESS, ERROR, FAILURE + + /** The pending. */ + PENDING, + /** The success. */ + SUCCESS, + /** The error. */ + ERROR, + /** The failure. */ + FAILURE } diff --git a/src/main/java/org/kohsuke/github/GHCommitStatus.java b/src/main/java/org/kohsuke/github/GHCommitStatus.java index cf20721a5d..45a5d94360 100644 --- a/src/main/java/org/kohsuke/github/GHCommitStatus.java +++ b/src/main/java/org/kohsuke/github/GHCommitStatus.java @@ -3,6 +3,7 @@ import java.io.IOException; import java.net.URL; +// TODO: Auto-generated Javadoc /** * Represents a status of a commit. * @@ -13,9 +14,17 @@ * GHCommitState, String, String) */ public class GHCommitStatus extends GHObject { + + /** The state. */ String state; + + /** The description. */ String target_url, description; + + /** The context. */ String context; + + /** The creator. */ GHUser creator; /** @@ -72,6 +81,9 @@ public String getContext() { } /** + * Gets the html url. + * + * @return the html url * @deprecated This object has no HTML URL. */ @Override diff --git a/src/main/java/org/kohsuke/github/GHCompare.java b/src/main/java/org/kohsuke/github/GHCompare.java index 3a4af3a774..08c6f051b1 100644 --- a/src/main/java/org/kohsuke/github/GHCompare.java +++ b/src/main/java/org/kohsuke/github/GHCompare.java @@ -11,6 +11,7 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * The model user for comparing 2 commits in the GitHub API. * @@ -185,6 +186,10 @@ public PagedIterator _iterator(int pageSize) { /** * Gets an array of files. * + * By default, the file array is limited to 300 results. To retrieve the full list of files, iterate over each + * commit returned by {@link GHCompare#listCommits} and use {@link GHCommit#listFiles} to get the files for each + * commit. + * * @return A copy of the array being stored in the class. */ public GHCommit.File[] getFiles() { @@ -223,8 +228,8 @@ GHCompare lateBind(GHRepository owner) { } /** - * Compare commits had a child commit element with additional details we want to capture. This extenstion of - * GHCommit provides that. + * Compare commits had a child commit element with additional details we want to capture. This extension of GHCommit + * provides that. */ @SuppressFBWarnings(value = { "UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD", "UWF_UNWRITTEN_FIELD" }, justification = "JSON API") @@ -344,7 +349,15 @@ public static class User extends GitUser { * The enum Status. */ public static enum Status { - behind, ahead, identical, diverged + + /** The behind. */ + behind, + /** The ahead. */ + ahead, + /** The identical. */ + identical, + /** The diverged. */ + diverged } /** @@ -354,9 +367,19 @@ class GHCompareCommitsIterable extends PagedIterable { private GHCompare result; + /** + * Instantiates a new GH compare commits iterable. + */ public GHCompareCommitsIterable() { } + /** + * Iterator. + * + * @param pageSize + * the page size + * @return the paged iterator + */ @Nonnull @Override public PagedIterator _iterator(int pageSize) { @@ -375,6 +398,13 @@ public PagedIterator _iterator(int pageSize) { item -> item.wrapUp(owner)); } + /** + * Adapt. + * + * @param base + * the base + * @return the iterator + */ protected Iterator adapt(final Iterator base) { return new Iterator() { public boolean hasNext() { diff --git a/src/main/java/org/kohsuke/github/GHContent.java b/src/main/java/org/kohsuke/github/GHContent.java index e0825669df..c476a89d8c 100644 --- a/src/main/java/org/kohsuke/github/GHContent.java +++ b/src/main/java/org/kohsuke/github/GHContent.java @@ -8,6 +8,7 @@ import java.nio.charset.StandardCharsets; import java.util.Base64; +// TODO: Auto-generated Javadoc /** * A Content of a repository. * @@ -171,6 +172,10 @@ public String getHtmlUrl() { /** * Retrieves the actual content stored here. + * + * @return the input stream + * @throws IOException + * Signals that an I/O exception has occurred. */ /** * Retrieves the actual bytes of the blob. @@ -316,12 +321,11 @@ public GHContentUpdateResponse update(byte[] newContentBytes, String commitMessa String encodedContent = Base64.getEncoder().encodeToString(newContentBytes); Requester requester = root().createRequest() - .method("POST") + .method("PUT") .with("path", path) .with("message", commitMessage) .with("sha", sha) - .with("content", encodedContent) - .method("PUT"); + .with("content", encodedContent); if (branch != null) { requester.with("branch", branch); @@ -363,11 +367,10 @@ public GHContentUpdateResponse delete(String message) throws IOException { */ public GHContentUpdateResponse delete(String commitMessage, String branch) throws IOException { Requester requester = root().createRequest() - .method("POST") + .method("DELETE") .with("path", path) .with("message", commitMessage) - .with("sha", sha) - .method("DELETE"); + .with("sha", sha); if (branch != null) { requester.with("branch", branch); @@ -380,10 +383,26 @@ public GHContentUpdateResponse delete(String commitMessage, String branch) throw return response; } + /** + * Gets the api route. + * + * @param repository + * the repository + * @param path + * the path + * @return the api route + */ static String getApiRoute(GHRepository repository, String path) { return repository.getApiTailUrl("contents/" + path); } + /** + * Wrap. + * + * @param owner + * the owner + * @return the GH content + */ GHContent wrap(GHRepository owner) { this.repository = owner; return this; @@ -393,6 +412,9 @@ GHContent wrap(GHRepository owner) { * Fully populate the data by retrieving missing data. * * Depending on the original API call where this object is created, it may not contain everything. + * + * @throws IOException + * Signals that an I/O exception has occurred. */ @Override public synchronized void refresh() throws IOException { diff --git a/src/main/java/org/kohsuke/github/GHContentBuilder.java b/src/main/java/org/kohsuke/github/GHContentBuilder.java index 0d46879517..9b24af92b0 100644 --- a/src/main/java/org/kohsuke/github/GHContentBuilder.java +++ b/src/main/java/org/kohsuke/github/GHContentBuilder.java @@ -4,6 +4,7 @@ import java.nio.charset.StandardCharsets; import java.util.Base64; +// TODO: Auto-generated Javadoc /** * Used to create/update content. * @@ -18,6 +19,12 @@ public final class GHContentBuilder { private final Requester req; private String path; + /** + * Instantiates a new GH content builder. + * + * @param repo + * the repo + */ GHContentBuilder(GHRepository repo) { this.repo = repo; this.req = repo.root().createRequest().method("PUT"); diff --git a/src/main/java/org/kohsuke/github/GHContentSearchBuilder.java b/src/main/java/org/kohsuke/github/GHContentSearchBuilder.java index 83b3a804a8..305c61b36a 100644 --- a/src/main/java/org/kohsuke/github/GHContentSearchBuilder.java +++ b/src/main/java/org/kohsuke/github/GHContentSearchBuilder.java @@ -1,5 +1,6 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * Search code for {@link GHContent}. * @@ -7,6 +8,13 @@ * @see GitHub#searchContent() GitHub#searchContent() */ public class GHContentSearchBuilder extends GHSearchBuilder { + + /** + * Instantiates a new GH content search builder. + * + * @param root + * the root + */ GHContentSearchBuilder(GitHub root) { super(root, ContentSearchResult.class); } @@ -178,7 +186,11 @@ public GHContentSearchBuilder sort(GHContentSearchBuilder.Sort sort) { * The enum Sort. */ public enum Sort { - BEST_MATCH, INDEXED + + /** The best match. */ + BEST_MATCH, + /** The indexed. */ + INDEXED } private static class ContentSearchResult extends SearchResult { @@ -190,6 +202,11 @@ GHContent[] getItems(GitHub root) { } } + /** + * Gets the api url. + * + * @return the api url + */ @Override protected String getApiUrl() { return "/search/code"; diff --git a/src/main/java/org/kohsuke/github/GHContentUpdateResponse.java b/src/main/java/org/kohsuke/github/GHContentUpdateResponse.java index 0121e2395b..5da5ecf7cd 100644 --- a/src/main/java/org/kohsuke/github/GHContentUpdateResponse.java +++ b/src/main/java/org/kohsuke/github/GHContentUpdateResponse.java @@ -1,13 +1,15 @@ package org.kohsuke.github; +import com.infradna.tool.bridge_method_injector.WithBridgeMethods; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; +// TODO: Auto-generated Javadoc /** * The response that is returned when updating repository content. */ public class GHContentUpdateResponse { private GHContent content; - private GHCommit commit; + private GitCommit commit; /** * Gets content. @@ -25,7 +27,14 @@ public GHContent getContent() { * @return the commit */ @SuppressFBWarnings(value = { "EI_EXPOSE_REP" }, justification = "Expected behavior") - public GHCommit getCommit() { + @WithBridgeMethods(value = GHCommit.class, adapterMethod = "gitCommitToGHCommit") + public GitCommit getCommit() { return commit; } + + @SuppressFBWarnings(value = "UPM_UNCALLED_PRIVATE_METHOD", justification = "bridge method of getCommit") + private Object gitCommitToGHCommit(GitCommit commit, Class targetType) { + return new GHCommit(new GHCommit.ShortInfo(commit)); + } + } diff --git a/src/main/java/org/kohsuke/github/GHContentWithLicense.java b/src/main/java/org/kohsuke/github/GHContentWithLicense.java index 3b9a446f78..116d9dda94 100644 --- a/src/main/java/org/kohsuke/github/GHContentWithLicense.java +++ b/src/main/java/org/kohsuke/github/GHContentWithLicense.java @@ -1,5 +1,6 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * {@link GHContent} with license information. * @@ -8,8 +9,17 @@ * @see GHRepository#getLicense() */ class GHContentWithLicense extends GHContent { + + /** The license. */ GHLicense license; + /** + * Wrap. + * + * @param owner + * the owner + * @return the GH content with license + */ @Override GHContentWithLicense wrap(GHRepository owner) { super.wrap(owner); diff --git a/src/main/java/org/kohsuke/github/GHCreateRepositoryBuilder.java b/src/main/java/org/kohsuke/github/GHCreateRepositoryBuilder.java index a2a4a137ab..f2ec24a14b 100644 --- a/src/main/java/org/kohsuke/github/GHCreateRepositoryBuilder.java +++ b/src/main/java/org/kohsuke/github/GHCreateRepositoryBuilder.java @@ -4,13 +4,24 @@ import static org.kohsuke.github.internal.Previews.BAPTISTE; +// TODO: Auto-generated Javadoc /** - * Creates a repository + * Creates a repository. * * @author Kohsuke Kawaguchi */ public class GHCreateRepositoryBuilder extends GHRepositoryBuilder { + /** + * Instantiates a new GH create repository builder. + * + * @param name + * the name + * @param root + * the root + * @param apiTail + * the api tail + */ public GHCreateRepositoryBuilder(String name, GitHub root, String apiTail) { super(GHCreateRepositoryBuilder.class, root, null); requester.method("POST").withUrlPath(apiTail); @@ -36,7 +47,7 @@ public GHCreateRepositoryBuilder gitignoreTemplate(String language) throws IOExc } /** - * Desired license template to apply + * Desired license template to apply. * * @param license * template to base the license file on @@ -105,7 +116,7 @@ public GHCreateRepositoryBuilder owner(String owner) throws IOException { } /** - * Create repository from template repository + * Create repository from template repository. * * @param templateOwner * template repository owner diff --git a/src/main/java/org/kohsuke/github/GHDeployKey.java b/src/main/java/org/kohsuke/github/GHDeployKey.java index e65453dd20..2af3b9d7ee 100644 --- a/src/main/java/org/kohsuke/github/GHDeployKey.java +++ b/src/main/java/org/kohsuke/github/GHDeployKey.java @@ -3,17 +3,36 @@ import org.apache.commons.lang3.builder.ToStringBuilder; import java.io.IOException; +import java.util.Date; +// TODO: Auto-generated Javadoc /** * The type GHDeployKey. */ public class GHDeployKey { + /** The title. */ protected String url, key, title; + + /** The verified. */ protected boolean verified; + + /** The id. */ protected long id; private GHRepository owner; + /** Creation date of the deploy key */ + private String created_at; + + /** Last used date of the deploy key */ + private String last_used; + + /** Name of user that added the deploy key */ + private String added_by; + + /** Whether the deploykey has readonly permission or full access */ + private boolean read_only; + /** * Gets id. * @@ -59,6 +78,42 @@ public boolean isVerified() { return verified; } + /** + * Gets created_at. + * + * @return the created_at + */ + public Date getCreatedAt() { + return GitHubClient.parseDate(created_at); + } + + /** + * Gets last_used. + * + * @return the last_used + */ + public Date getLastUsedAt() { + return GitHubClient.parseDate(last_used); + } + + /** + * Gets added_by + * + * @return the added_by + */ + public String getAdded_by() { + return added_by; + } + + /** + * Is read_only + * + * @return true if the key can only read. False if the key has write permission as well. + */ + public boolean isRead_only() { + return read_only; + } + /** * Wrap gh deploy key. * @@ -83,8 +138,20 @@ GHDeployKey lateBind(GHRepository repo) { return this; } + /** + * To string. + * + * @return the string + */ public String toString() { - return new ToStringBuilder(this).append("title", title).append("id", id).append("key", key).toString(); + return new ToStringBuilder(this).append("title", title) + .append("id", id) + .append("key", key) + .append("created_at", created_at) + .append("last_used", last_used) + .append("added_by", added_by) + .append("read_only", read_only) + .toString(); } /** diff --git a/src/main/java/org/kohsuke/github/GHDeployment.java b/src/main/java/org/kohsuke/github/GHDeployment.java index 15d0adedd0..6e994d7a1b 100644 --- a/src/main/java/org/kohsuke/github/GHDeployment.java +++ b/src/main/java/org/kohsuke/github/GHDeployment.java @@ -7,8 +7,9 @@ import java.util.Collections; import java.util.Map; +// TODO: Auto-generated Javadoc /** - * Represents a deployment + * Represents a deployment. * * @see documentation * @see GHRepository#listDeployments(String, String, String, String) GHRepository#listDeployments(String, String, @@ -17,19 +18,50 @@ */ public class GHDeployment extends GHObject { private GHRepository owner; + + /** The sha. */ protected String sha; + + /** The ref. */ protected String ref; + + /** The task. */ protected String task; + + /** The payload. */ protected Object payload; + + /** The environment. */ protected String environment; + + /** The description. */ protected String description; + + /** The statuses url. */ protected String statuses_url; + + /** The repository url. */ protected String repository_url; + + /** The creator. */ protected GHUser creator; + + /** The original environment. */ protected String original_environment; + + /** The transient environment. */ protected boolean transient_environment; + + /** The production environment. */ protected boolean production_environment; + /** + * Wrap. + * + * @param owner + * the owner + * @return the GH deployment + */ GHDeployment wrap(GHRepository owner) { this.owner = owner; return this; @@ -94,9 +126,8 @@ public Object getPayloadObject() { /** * The environment defined when the deployment was first created. * - * @deprecated until preview feature has graduated to stable - * * @return the original deployment environment + * @deprecated until preview feature has graduated to stable */ @Preview(Previews.FLASH) public String getOriginalEnvironment() { @@ -116,9 +147,8 @@ public String getEnvironment() { * Specifies if the given environment is specific to the deployment and will no longer exist at some point in the * future. * - * @deprecated until preview feature has graduated to stable - * * @return the environment is transient + * @deprecated until preview feature has graduated to stable */ @Preview(Previews.ANT_MAN) public boolean isTransientEnvironment() { @@ -128,9 +158,8 @@ public boolean isTransientEnvironment() { /** * Specifies if the given environment is one that end-users directly interact with. * - * @deprecated until preview feature has graduated to stable - * * @return the environment is used by end-users directly + * @deprecated until preview feature has graduated to stable */ @Preview(Previews.ANT_MAN) public boolean isProductionEnvironment() { @@ -167,6 +196,9 @@ public String getSha() { } /** + * Gets the html url. + * + * @return the html url * @deprecated This object has no HTML URL. */ @Override @@ -198,6 +230,11 @@ public PagedIterable listStatuses() { .toIterable(GHDeploymentStatus[].class, item -> item.lateBind(owner)); } + /** + * Gets the owner. + * + * @return the owner + */ // test only GHRepository getOwner() { return owner; diff --git a/src/main/java/org/kohsuke/github/GHDeploymentBuilder.java b/src/main/java/org/kohsuke/github/GHDeploymentBuilder.java index 0a390f2b92..84b333d65e 100644 --- a/src/main/java/org/kohsuke/github/GHDeploymentBuilder.java +++ b/src/main/java/org/kohsuke/github/GHDeploymentBuilder.java @@ -6,6 +6,7 @@ import java.io.IOException; import java.util.List; +// TODO: Auto-generated Javadoc /** * The type GHDeploymentBuilder. */ @@ -125,12 +126,10 @@ public GHDeploymentBuilder environment(String environment) { * Specifies if the given environment is specific to the deployment and will no longer exist at some point in the * future. * - * @deprecated until preview feature has graduated to stable - * * @param transientEnvironment * the environment is transient - * * @return the gh deployment builder + * @deprecated until preview feature has graduated to stable */ @Preview(Previews.ANT_MAN) public GHDeploymentBuilder transientEnvironment(boolean transientEnvironment) { @@ -141,12 +140,10 @@ public GHDeploymentBuilder transientEnvironment(boolean transientEnvironment) { /** * Specifies if the given environment is one that end-users directly interact with. * - * @deprecated until preview feature has graduated to stable - * * @param productionEnvironment * the environment is used by end-users directly - * * @return the gh deployment builder + * @deprecated until preview feature has graduated to stable */ @Preview(Previews.ANT_MAN) public GHDeploymentBuilder productionEnvironment(boolean productionEnvironment) { diff --git a/src/main/java/org/kohsuke/github/GHDeploymentState.java b/src/main/java/org/kohsuke/github/GHDeploymentState.java index 842ec39239..628979aa7d 100644 --- a/src/main/java/org/kohsuke/github/GHDeploymentState.java +++ b/src/main/java/org/kohsuke/github/GHDeploymentState.java @@ -2,13 +2,22 @@ import org.kohsuke.github.internal.Previews; +// TODO: Auto-generated Javadoc /** - * Represents the state of deployment + * Represents the state of deployment. */ public enum GHDeploymentState { + + /** The pending. */ PENDING, + + /** The success. */ SUCCESS, + + /** The error. */ ERROR, + + /** The failure. */ FAILURE, /** diff --git a/src/main/java/org/kohsuke/github/GHDeploymentStatus.java b/src/main/java/org/kohsuke/github/GHDeploymentStatus.java index 7f0edaba9c..208b5e92cf 100644 --- a/src/main/java/org/kohsuke/github/GHDeploymentStatus.java +++ b/src/main/java/org/kohsuke/github/GHDeploymentStatus.java @@ -5,18 +5,35 @@ import java.net.URL; import java.util.Locale; +// TODO: Auto-generated Javadoc /** * The type GHDeploymentStatus. */ public class GHDeploymentStatus extends GHObject { private GHRepository owner; + + /** The creator. */ protected GHUser creator; + + /** The state. */ protected String state; + + /** The description. */ protected String description; + + /** The target url. */ protected String target_url; + + /** The log url. */ protected String log_url; + + /** The deployment url. */ protected String deployment_url; + + /** The repository url. */ protected String repository_url; + + /** The environment url. */ protected String environment_url; /** @@ -48,9 +65,8 @@ GHDeploymentStatus lateBind(GHRepository owner) { /** * Gets target url. * - * @deprecated Target url is deprecated in favor of {@link #getLogUrl() getLogUrl} - * * @return the target url + * @deprecated Target url is deprecated in favor of {@link #getLogUrl() getLogUrl} */ @Deprecated public URL getTargetUrl() { @@ -62,9 +78,8 @@ public URL getTargetUrl() { *

* This method replaces {@link #getTargetUrl() getTargetUrl}}. * - * @deprecated until preview feature has graduated to stable - * * @return the target url + * @deprecated until preview feature has graduated to stable */ @Preview(Previews.ANT_MAN) public URL getLogUrl() { @@ -83,9 +98,8 @@ public URL getDeploymentUrl() { /** * Gets deployment environment url. * - * @deprecated until preview feature has graduated to stable - * * @return the deployment environment url + * @deprecated until preview feature has graduated to stable */ @Preview(Previews.ANT_MAN) public URL getEnvironmentUrl() { @@ -111,6 +125,9 @@ public GHDeploymentState getState() { } /** + * Gets the html url. + * + * @return the html url * @deprecated This object has no HTML URL. */ @Override @@ -118,6 +135,11 @@ public URL getHtmlUrl() { return null; } + /** + * Gets the owner. + * + * @return the owner + */ // test only GHRepository getOwner() { return owner; diff --git a/src/main/java/org/kohsuke/github/GHDeploymentStatusBuilder.java b/src/main/java/org/kohsuke/github/GHDeploymentStatusBuilder.java index ff90f5c380..8cfc9ad5eb 100644 --- a/src/main/java/org/kohsuke/github/GHDeploymentStatusBuilder.java +++ b/src/main/java/org/kohsuke/github/GHDeploymentStatusBuilder.java @@ -4,6 +4,7 @@ import java.io.IOException; +// TODO: Auto-generated Javadoc /** * Creates a new deployment status. * @@ -31,6 +32,16 @@ public GHDeploymentStatusBuilder(GHRepository repo, int deploymentId, GHDeployme this(repo, (long) deploymentId, state); } + /** + * Instantiates a new GH deployment status builder. + * + * @param repo + * the repo + * @param deploymentId + * the deployment id + * @param state + * the state + */ GHDeploymentStatusBuilder(GHRepository repo, long deploymentId, GHDeploymentState state) { this.repo = repo; this.deploymentId = deploymentId; @@ -47,12 +58,10 @@ public GHDeploymentStatusBuilder(GHRepository repo, int deploymentId, GHDeployme * Add an inactive status to all prior non-transient, non-production environment deployments with the same * repository and environment name as the created status's deployment. * - * @deprecated until preview feature has graduated to stable - * * @param autoInactive * Add inactive status flag - * * @return the gh deployment status builder + * @deprecated until preview feature has graduated to stable */ @Preview({ Previews.ANT_MAN, Previews.FLASH }) public GHDeploymentStatusBuilder autoInactive(boolean autoInactive) { @@ -76,12 +85,10 @@ public GHDeploymentStatusBuilder description(String description) { /** * Name for the target deployment environment, which can be changed when setting a deploy status. * - * @deprecated until preview feature has graduated to stable - * * @param environment * the environment name - * * @return the gh deployment status builder + * @deprecated until preview feature has graduated to stable */ @Preview(Previews.FLASH) public GHDeploymentStatusBuilder environment(String environment) { @@ -90,14 +97,12 @@ public GHDeploymentStatusBuilder environment(String environment) { } /** - * The URL for accessing the environment - * - * @deprecated until preview feature has graduated to stable + * The URL for accessing the environment. * * @param environmentUrl * the environment url - * * @return the gh deployment status builder + * @deprecated until preview feature has graduated to stable */ @Preview(Previews.ANT_MAN) public GHDeploymentStatusBuilder environmentUrl(String environmentUrl) { @@ -110,12 +115,10 @@ public GHDeploymentStatusBuilder environmentUrl(String environmentUrl) { *

* This method replaces {@link #targetUrl(String) targetUrl}. * - * @deprecated until preview feature has graduated to stable - * * @param logUrl * the deployment output url - * * @return the gh deployment status builder + * @deprecated until preview feature has graduated to stable */ @Preview(Previews.ANT_MAN) public GHDeploymentStatusBuilder logUrl(String logUrl) { @@ -126,12 +129,10 @@ public GHDeploymentStatusBuilder logUrl(String logUrl) { /** * Target url gh deployment status builder. * - * @deprecated Target url is deprecated in favor of {@link #logUrl(String) logUrl} - * * @param targetUrl * the target url - * * @return the gh deployment status builder + * @deprecated Target url is deprecated in favor of {@link #logUrl(String) logUrl} */ @Deprecated public GHDeploymentStatusBuilder targetUrl(String targetUrl) { diff --git a/src/main/java/org/kohsuke/github/GHDirection.java b/src/main/java/org/kohsuke/github/GHDirection.java index 0db172dccf..e91768d969 100644 --- a/src/main/java/org/kohsuke/github/GHDirection.java +++ b/src/main/java/org/kohsuke/github/GHDirection.java @@ -1,10 +1,15 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** - * Sort direction + * Sort direction. * * @author Kohsuke Kawaguchi */ public enum GHDirection { - ASC, DESC + + /** The asc. */ + ASC, + /** The desc. */ + DESC } diff --git a/src/main/java/org/kohsuke/github/GHDiscussion.java b/src/main/java/org/kohsuke/github/GHDiscussion.java index 27b7910422..3308736166 100644 --- a/src/main/java/org/kohsuke/github/GHDiscussion.java +++ b/src/main/java/org/kohsuke/github/GHDiscussion.java @@ -11,6 +11,7 @@ import javax.annotation.CheckForNull; import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * A discussion in GitHub Team. * @@ -26,11 +27,25 @@ public class GHDiscussion extends GHObject { @JsonProperty(value = "private") private boolean isPrivate; + /** + * Gets the html url. + * + * @return the html url + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Override public URL getHtmlUrl() throws IOException { return GitHubClient.parseURL(htmlUrl); } + /** + * Wrap up. + * + * @param team + * the team + * @return the GH discussion + */ GHDiscussion wrapUp(GHTeam team) { this.team = team; return this; @@ -110,6 +125,17 @@ static GHDiscussion.Creator create(GHTeam team) throws IOException { return new GHDiscussion.Creator(team); } + /** + * Read. + * + * @param team + * the team + * @param discussionNumber + * the discussion number + * @return the GH discussion + * @throws IOException + * Signals that an I/O exception has occurred. + */ static GHDiscussion read(GHTeam team, long discussionNumber) throws IOException { return team.root() .createRequest() @@ -118,6 +144,15 @@ static GHDiscussion read(GHTeam team, long discussionNumber) throws IOException .wrapUp(team); } + /** + * Read all. + * + * @param team + * the team + * @return the paged iterable + * @throws IOException + * Signals that an I/O exception has occurred. + */ static PagedIterable readAll(GHTeam team) throws IOException { return team.root() .createRequest() @@ -148,7 +183,7 @@ public GHDiscussion.Setter set() { } /** - * Delete the discussion + * Delete the discussion. * * @throws IOException * the io exception @@ -212,6 +247,13 @@ public Creator private_(boolean value) throws IOException { } } + /** + * Equals. + * + * @param o + * the o + * @return true, if successful + */ @Override public boolean equals(Object o) { if (this == o) { @@ -225,6 +267,11 @@ public boolean equals(Object o) { && Objects.equals(body, that.body) && Objects.equals(title, that.title); } + /** + * Hash code. + * + * @return the int + */ @Override public int hashCode() { return Objects.hash(team, number, body, title); diff --git a/src/main/java/org/kohsuke/github/GHDiscussionBuilder.java b/src/main/java/org/kohsuke/github/GHDiscussionBuilder.java index a438ae1c3c..19097c09fc 100644 --- a/src/main/java/org/kohsuke/github/GHDiscussionBuilder.java +++ b/src/main/java/org/kohsuke/github/GHDiscussionBuilder.java @@ -5,6 +5,7 @@ import javax.annotation.CheckForNull; import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * Base class for creating or updating a discussion. * @@ -18,6 +19,7 @@ class GHDiscussionBuilder extends AbstractBuilder { private final GHTeam team; /** + * Instantiates a new GH discussion builder. * * @param intermediateReturnType * Intermediate return type for this builder returned by calls to {@link #with(String, Object)}. If diff --git a/src/main/java/org/kohsuke/github/GHEmail.java b/src/main/java/org/kohsuke/github/GHEmail.java index e1b892f007..270f09baf1 100644 --- a/src/main/java/org/kohsuke/github/GHEmail.java +++ b/src/main/java/org/kohsuke/github/GHEmail.java @@ -25,6 +25,7 @@ import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; +// TODO: Auto-generated Javadoc /** * Represents an email of GitHub. * @@ -36,8 +37,13 @@ justification = "JSON API") public class GHEmail { + /** The email. */ protected String email; + + /** The primary. */ protected boolean primary; + + /** The verified. */ protected boolean verified; /** @@ -67,16 +73,33 @@ public boolean isVerified() { return verified; } + /** + * To string. + * + * @return the string + */ @Override public String toString() { return "Email:" + email; } + /** + * Hash code. + * + * @return the int + */ @Override public int hashCode() { return email.hashCode(); } + /** + * Equals. + * + * @param obj + * the obj + * @return true, if successful + */ @Override public boolean equals(Object obj) { if (obj instanceof GHEmail) { diff --git a/src/main/java/org/kohsuke/github/GHEvent.java b/src/main/java/org/kohsuke/github/GHEvent.java index 2d71ee1e52..1170743ac3 100644 --- a/src/main/java/org/kohsuke/github/GHEvent.java +++ b/src/main/java/org/kohsuke/github/GHEvent.java @@ -2,6 +2,7 @@ import java.util.Locale; +// TODO: Auto-generated Javadoc /** * Hook event type. * @@ -10,67 +11,194 @@ * @see Event type reference */ public enum GHEvent { + + /** The branch protection rule. */ BRANCH_PROTECTION_RULE, + + /** The check run. */ CHECK_RUN, + + /** The check suite. */ CHECK_SUITE, + + /** The code scanning alert. */ CODE_SCANNING_ALERT, + + /** The commit comment. */ COMMIT_COMMENT, + + /** The content reference. */ CONTENT_REFERENCE, + + /** The create. */ CREATE, + + /** The delete. */ DELETE, + + /** The deploy key. */ DEPLOY_KEY, + + /** The deployment. */ DEPLOYMENT, + + /** The deployment status. */ DEPLOYMENT_STATUS, + + /** The discussion. */ DISCUSSION, + + /** The discussion comment. */ DISCUSSION_COMMENT, + + /** The download. */ DOWNLOAD, + + /** The follow. */ FOLLOW, + + /** The fork. */ FORK, + + /** The fork apply. */ FORK_APPLY, + + /** The github app authorization. */ GITHUB_APP_AUTHORIZATION, + + /** The gist. */ GIST, + + /** The gollum. */ GOLLUM, + + /** The installation. */ INSTALLATION, + + /** The installation repositories. */ INSTALLATION_REPOSITORIES, + + /** The integration installation repositories. */ INTEGRATION_INSTALLATION_REPOSITORIES, + + /** The issue comment. */ ISSUE_COMMENT, + + /** The issues. */ ISSUES, + + /** The label. */ LABEL, + + /** The marketplace purchase. */ MARKETPLACE_PURCHASE, + + /** The member. */ MEMBER, + + /** The membership. */ MEMBERSHIP, + + /** The merge queue entry. */ MERGE_QUEUE_ENTRY, + + /** The merge group entry. */ + MERGE_GROUP, + + /** The meta. */ META, + + /** The milestone. */ MILESTONE, + + /** The organization. */ ORGANIZATION, + + /** The org block. */ ORG_BLOCK, + + /** The package. */ PACKAGE, + + /** The page build. */ PAGE_BUILD, + + /** The project card. */ PROJECT_CARD, + + /** The project column. */ PROJECT_COLUMN, + + /** The project. */ PROJECT, + + /** The ping. */ PING, + + /** The public. */ PUBLIC, + + /** The pull request. */ PULL_REQUEST, + + /** The pull request review. */ PULL_REQUEST_REVIEW, + + /** The pull request review comment. */ PULL_REQUEST_REVIEW_COMMENT, + + /** The pull request review thread. */ PULL_REQUEST_REVIEW_THREAD, + + /** The push. */ PUSH, + + /** The registry package. */ REGISTRY_PACKAGE, + + /** The release. */ RELEASE, - REPOSITORY_DISPATCH, // only valid for org hooks + + /** The repository dispatch. */ + REPOSITORY_DISPATCH, + /** The repository. */ + // only valid for org hooks REPOSITORY, + + /** The repository import. */ REPOSITORY_IMPORT, + + /** The repository vulnerability alert. */ REPOSITORY_VULNERABILITY_ALERT, + + /** The schedule. */ SCHEDULE, + + /** The security advisory. */ SECURITY_ADVISORY, + + /** The star. */ STAR, + + /** The status. */ STATUS, + + /** The team. */ TEAM, + + /** The team add. */ TEAM_ADD, + + /** The watch. */ WATCH, + + /** The workflow job. */ WORKFLOW_JOB, + + /** The workflow dispatch. */ WORKFLOW_DISPATCH, + + /** The workflow run. */ WORKFLOW_RUN, /** @@ -78,13 +206,13 @@ public enum GHEvent { */ UNKNOWN, - /** - * Special event type that means "every possible event" - */ + /** Special event type that means "every possible event". */ ALL; /** * Returns GitHub's internal representation of this event. + * + * @return the string */ String symbol() { if (this == ALL) diff --git a/src/main/java/org/kohsuke/github/GHEventInfo.java b/src/main/java/org/kohsuke/github/GHEventInfo.java index cd194faace..a781cb5668 100644 --- a/src/main/java/org/kohsuke/github/GHEventInfo.java +++ b/src/main/java/org/kohsuke/github/GHEventInfo.java @@ -6,6 +6,7 @@ import java.io.IOException; import java.util.*; +// TODO: Auto-generated Javadoc /** * Represents an event. * @@ -50,6 +51,7 @@ public static class GHEventRepository { private String name; // owner/repo } + /** The Constant mapTypeStringToEvent. */ static final Map mapTypeStringToEvent = createEventMap(); /** @@ -78,6 +80,13 @@ private static Map createEventMap() { return Collections.unmodifiableMap(map); } + /** + * Transform type to GH event. + * + * @param type + * the type + * @return the GH event + */ static GHEvent transformTypeToGHEvent(String type) { return mapTypeStringToEvent.getOrDefault(type, GHEvent.UNKNOWN); } diff --git a/src/main/java/org/kohsuke/github/GHEventPayload.java b/src/main/java/org/kohsuke/github/GHEventPayload.java index 78cb9868a6..b6549faadd 100644 --- a/src/main/java/org/kohsuke/github/GHEventPayload.java +++ b/src/main/java/org/kohsuke/github/GHEventPayload.java @@ -10,6 +10,7 @@ import java.util.List; import java.util.Map; +// TODO: Auto-generated Javadoc /** * Base type for types used in databinding of the event payload. * @@ -28,6 +29,9 @@ public abstract class GHEventPayload extends GitHubInteractiveObject { private GHOrganization organization; private GHAppInstallation installation; + /** + * Instantiates a new GH event payload. + */ GHEventPayload() { } @@ -108,7 +112,7 @@ public void setOrganization(GHOrganization organization) { } /** - * Gets installation + * Gets installation. * * @return the installation */ @@ -125,6 +129,9 @@ public GHAppInstallation getInstallation() { // ProjectCardEvent ProjectColumnEvent ProjectEvent RepositoryDispatchEvent RepositoryImportEvent // RepositoryVulnerabilityAlertEvent SecurityAdvisoryEvent StarEvent StatusEvent TeamEvent TeamAddEvent WatchEvent + /** + * Late bind. + */ void lateBind() { } @@ -150,7 +157,7 @@ public int getNumber() { } /** - * Sets Check Run object + * Sets Check Run object. * * @param currentCheckRun * the check run object @@ -162,7 +169,7 @@ public void setCheckRun(GHCheckRun currentCheckRun) { } /** - * Gets Check Run object + * Gets Check Run object. * * @return the current checkRun object */ @@ -172,7 +179,7 @@ public GHCheckRun getCheckRun() { } /** - * Sets the Requested Action object + * Sets the Requested Action object. * * @param currentRequestedAction * the current action @@ -184,7 +191,7 @@ public void setRequestedAction(GHRequestedAction currentRequestedAction) { } /** - * Gets the Requested Action object + * Gets the Requested Action object. * * @return the requested action */ @@ -193,6 +200,9 @@ public GHRequestedAction getRequestedAction() { return requestedAction; } + /** + * Late bind. + */ @Override void lateBind() { if (checkRun == null) @@ -219,7 +229,7 @@ public static class CheckSuite extends GHEventPayload { private GHCheckSuite checkSuite; /** - * Gets the Check Suite object + * Gets the Check Suite object. * * @return the Check Suite object */ @@ -228,6 +238,9 @@ public GHCheckSuite getCheckSuite() { return checkSuite; } + /** + * Late bind. + */ @Override void lateBind() { if (checkSuite == null) @@ -255,7 +268,7 @@ public static class Installation extends GHEventPayload { private List repositories; /** - * Gets repositories + * Gets repositories. * * @return the repositories */ @@ -263,16 +276,22 @@ public List getRepositories() { return Collections.unmodifiableList(repositories); }; + /** + * Late bind. + */ @Override void lateBind() { if (getInstallation() == null) { throw new IllegalStateException( - "Expected check_suite payload, but got something else. Maybe we've got another type of event?"); + "Expected installation payload, but got something else. Maybe we've got another type of event?"); } super.lateBind(); if (repositories != null && !repositories.isEmpty()) { try { - for (GHRepository singleRepo : repositories) { // warp each of the repository + for (GHRepository singleRepo : repositories) { + // populate each repository + // the repository information provided here is so limited + // as to be unusable without populating, so we do it eagerly singleRepo.populate(); } } catch (IOException e) { @@ -296,7 +315,7 @@ public static class InstallationRepositories extends GHEventPayload { private List repositoriesRemoved; /** - * Gets installation selection + * Gets installation selection. * * @return the installation selection */ @@ -305,7 +324,7 @@ public String getRepositorySelection() { } /** - * Gets repositories added + * Gets repositories added. * * @return the repositories */ @@ -314,7 +333,7 @@ public List getRepositoriesAdded() { } /** - * Gets repositories removed + * Gets repositories removed. * * @return the repositories */ @@ -322,11 +341,14 @@ public List getRepositoriesRemoved() { return Collections.unmodifiableList(repositoriesRemoved); } + /** + * Late bind. + */ @Override void lateBind() { if (getInstallation() == null) { throw new IllegalStateException( - "Expected check_suite payload, but got something else. Maybe we've got another type of event?"); + "Expected installation_repositories payload, but got something else. Maybe we've got another type of event?"); } super.lateBind(); List repositories; @@ -392,7 +414,7 @@ public GHLabel getLabel() { } /** - * Get changes (for action="edited") + * Get changes (for action="edited"). * * @return changes */ @@ -401,6 +423,9 @@ public GHPullRequestChanges getChanges() { return changes; } + /** + * Late bind. + */ @Override void lateBind() { if (pullRequest == null) @@ -415,7 +440,7 @@ void lateBind() { } /** - * A review was added to a pull request + * A review was added to a pull request. * * @see @@ -446,6 +471,9 @@ public GHPullRequest getPullRequest() { return pullRequest; } + /** + * Late bind. + */ @Override void lateBind() { if (review == null) @@ -463,7 +491,7 @@ void lateBind() { } /** - * Wrapper for changes on issue and pull request review comments action="edited" + * Wrapper for changes on issue and pull request review comments action="edited". * * @see GHEventPayload.IssueComment * @see GHEventPayload.PullRequestReviewComment @@ -500,7 +528,7 @@ public String getFrom() { } /** - * A review comment was added to a pull request + * A review comment was added to a pull request. * * @see @@ -523,7 +551,7 @@ public GHPullRequestReviewComment getComment() { } /** - * Get changes (for action="edited") + * Get changes (for action="edited"). * * @return changes */ @@ -541,6 +569,9 @@ public GHPullRequest getPullRequest() { return pullRequest; } + /** + * Late bind. + */ @Override void lateBind() { if (comment == null) @@ -604,7 +635,7 @@ public GHLabel getLabel() { } /** - * Get changes (for action="edited") + * Get changes (for action="edited"). * * @return changes */ @@ -613,6 +644,9 @@ public GHIssueChanges getChanges() { return changes; } + /** + * Late bind. + */ @Override void lateBind() { super.lateBind(); @@ -624,7 +658,7 @@ void lateBind() { } /** - * A comment was added to an issue + * A comment was added to an issue. * * @see @@ -647,7 +681,7 @@ public GHIssueComment getComment() { } /** - * Get changes (for action="edited") + * Get changes (for action="edited"). * * @return changes */ @@ -689,6 +723,9 @@ public void setIssue(GHIssue issue) { throw new RuntimeException("Do not use this method."); } + /** + * Late bind. + */ @Override void lateBind() { super.lateBind(); @@ -701,7 +738,7 @@ void lateBind() { } /** - * A comment was added to a commit + * A comment was added to a commit. * * @see @@ -733,6 +770,9 @@ public void setComment(GHCommitComment comment) { throw new RuntimeException("Do not use this method."); } + /** + * Late bind. + */ @Override void lateBind() { super.lateBind(); @@ -744,7 +784,7 @@ void lateBind() { } /** - * A repository, branch, or tag was created + * A repository, branch, or tag was created. * * @see * create event @@ -796,7 +836,7 @@ public String getDescription() { } /** - * A branch, or tag was deleted + * A branch, or tag was deleted. * * @see * delete event @@ -826,7 +866,7 @@ public String getRefType() { } /** - * A deployment + * A deployment. * * @see * deployment event @@ -857,6 +897,9 @@ public void setDeployment(GHDeployment deployment) { throw new RuntimeException("Do not use this method."); } + /** + * Late bind. + */ @Override void lateBind() { super.lateBind(); @@ -868,7 +911,7 @@ void lateBind() { } /** - * A deployment status + * A deployment status. * * @see @@ -923,6 +966,9 @@ public void setDeployment(GHDeployment deployment) { throw new RuntimeException("Do not use this method."); } + /** + * Late bind. + */ @Override void lateBind() { super.lateBind(); @@ -935,7 +981,7 @@ void lateBind() { } /** - * A user forked a repository + * A user forked a repository. * * @see fork * event @@ -997,11 +1043,12 @@ public static class Push extends GHEventPayload { private String ref; private int size; private List commits; + private PushCommit headCommit; private Pusher pusher; private String compare; /** - * The SHA of the HEAD commit on the repository + * The SHA of the HEAD commit on the repository. * * @return the head */ @@ -1078,6 +1125,16 @@ public List getCommits() { return Collections.unmodifiableList(commits); } + /** + * The head commit of the push. + * + * @return the commit + */ + @SuppressFBWarnings(value = { "EI_EXPOSE_REP" }, justification = "Expected") + public PushCommit getHeadCommit() { + return headCommit; + } + /** * Gets pusher. * @@ -1255,7 +1312,7 @@ public List getModified() { } /** - * Obtains the timestamp of the commit + * Obtains the timestamp of the commit. * * @return the timestamp */ @@ -1266,7 +1323,7 @@ public Date getTimestamp() { } /** - * A release was added to the repo + * A release was added to the repo. * * @see * release event @@ -1395,6 +1452,9 @@ public void setCommit(GHCommit commit) { throw new RuntimeException("Do not use this method."); } + /** + * Late bind. + */ @Override void lateBind() { @@ -1487,6 +1547,9 @@ public GHWorkflow getWorkflow() { return workflow; } + /** + * Late bind. + */ @Override void lateBind() { if (workflowRun == null || workflow == null) { @@ -1503,6 +1566,46 @@ void lateBind() { } } + /** + * A workflow job has been queued, is in progress, or has been completed. + * + * @see + * workflow job event + * @see Actions Workflow Jobs + */ + public static class WorkflowJob extends GHEventPayload { + + private GHWorkflowJob workflowJob; + + /** + * Gets the workflow job. + * + * @return the workflow job + */ + @SuppressFBWarnings(value = { "EI_EXPOSE_REP" }, justification = "Expected") + public GHWorkflowJob getWorkflowJob() { + return workflowJob; + } + + /** + * Late bind. + */ + @Override + void lateBind() { + if (workflowJob == null) { + throw new IllegalStateException( + "Expected workflow_job payload, but got something else. Maybe we've got another type of event?"); + } + super.lateBind(); + GHRepository repository = getRepository(); + if (repository == null) { + throw new IllegalStateException("Repository must not be null"); + } + workflowJob.wrapUp(repository); + } + } + /** * A label was created, edited or deleted. * @@ -1526,7 +1629,7 @@ public GHLabel getLabel() { } /** - * Gets changes (for action="edited") + * Gets changes (for action="edited"). * * @return changes */ @@ -1569,4 +1672,57 @@ public GHLabel getLabel() { return label; } } + + /** + * A star was created or deleted on a repository. + * + * @see star + * event + */ + public static class Star extends GHEventPayload { + + private String starredAt; + + /** + * Gets the date when the star is added. Is null when the star is deleted. + * + * @return the date when the star is added + */ + public Date getStarredAt() { + return GitHubClient.parseDate(starredAt); + } + } + + /** + * A project v2 item was archived, converted, created, edited, restored, deleted, or reordered. + * + * @see star + * event + */ + public static class ProjectsV2Item extends GHEventPayload { + + private GHProjectsV2Item projectsV2Item; + private GHProjectsV2ItemChanges changes; + + /** + * Gets the projects V 2 item. + * + * @return the projects V 2 item + */ + @SuppressFBWarnings(value = { "EI_EXPOSE_REP" }, justification = "Expected") + public GHProjectsV2Item getProjectsV2Item() { + return projectsV2Item; + } + + /** + * Gets the changes. + * + * @return the changes + */ + public GHProjectsV2ItemChanges getChanges() { + return changes; + } + } } diff --git a/src/main/java/org/kohsuke/github/GHException.java b/src/main/java/org/kohsuke/github/GHException.java index 32534d40d6..d843b141ed 100644 --- a/src/main/java/org/kohsuke/github/GHException.java +++ b/src/main/java/org/kohsuke/github/GHException.java @@ -1,5 +1,6 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * The type GHException. * diff --git a/src/main/java/org/kohsuke/github/GHFileNotFoundException.java b/src/main/java/org/kohsuke/github/GHFileNotFoundException.java index e2fcd1ad57..4de844e0ae 100644 --- a/src/main/java/org/kohsuke/github/GHFileNotFoundException.java +++ b/src/main/java/org/kohsuke/github/GHFileNotFoundException.java @@ -8,12 +8,15 @@ import javax.annotation.CheckForNull; import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** - * Request/responce contains useful metadata. Custom exception allows store info for next diagnostics. + * Request/response contains useful metadata. Custom exception allows store info for next diagnostics. * * @author Kanstantsin Shautsou */ public class GHFileNotFoundException extends FileNotFoundException { + + /** The response header fields. */ protected Map> responseHeaderFields; /** @@ -55,6 +58,13 @@ public Map> getResponseHeaderFields() { return Collections.unmodifiableMap(responseHeaderFields); } + /** + * With response header fields. + * + * @param headerFields + * the header fields + * @return the GH file not found exception + */ GHFileNotFoundException withResponseHeaderFields(@Nonnull Map> headerFields) { this.responseHeaderFields = headerFields; return this; diff --git a/src/main/java/org/kohsuke/github/GHFork.java b/src/main/java/org/kohsuke/github/GHFork.java index 190006392c..34434e137f 100644 --- a/src/main/java/org/kohsuke/github/GHFork.java +++ b/src/main/java/org/kohsuke/github/GHFork.java @@ -1,7 +1,8 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** - * The enum for Fork search mode + * The enum for Fork search mode. */ public enum GHFork { @@ -27,10 +28,22 @@ public enum GHFork { PARENT_ONLY(""); private String filterMode; + + /** + * Instantiates a new GH fork. + * + * @param mode + * the mode + */ GHFork(final String mode) { this.filterMode = mode; } + /** + * To string. + * + * @return the string + */ @Override public String toString() { return filterMode; diff --git a/src/main/java/org/kohsuke/github/GHGist.java b/src/main/java/org/kohsuke/github/GHGist.java index 887a2c6d0e..d035ee6ef6 100644 --- a/src/main/java/org/kohsuke/github/GHGist.java +++ b/src/main/java/org/kohsuke/github/GHGist.java @@ -11,8 +11,9 @@ import java.util.Map; import java.util.Map.Entry; +// TODO: Auto-generated Javadoc /** - * Gist + * Gist. * * @author Kohsuke Kawaguchi * @see GHUser#listGists() GHUser#listGists() @@ -22,6 +23,7 @@ */ public class GHGist extends GHObject { + /** The owner. */ final GHUser owner; private String forks_url, commits_url, id, git_pull_url, git_push_url, html_url; @@ -183,6 +185,13 @@ public Map getFiles() { return Collections.unmodifiableMap(files); } + /** + * Gets the api tail url. + * + * @param tail + * the tail + * @return the api tail url + */ String getApiTailUrl(String tail) { String result = "/gists/" + id; if (!StringUtils.isBlank(tail)) { @@ -263,6 +272,13 @@ public GHGistUpdater update() throws IOException { return new GHGistUpdater(this); } + /** + * Equals. + * + * @param o + * the o + * @return true, if successful + */ @Override public boolean equals(Object o) { if (this == o) @@ -274,6 +290,11 @@ public boolean equals(Object o) { } + /** + * Hash code. + * + * @return the int + */ @Override public int hashCode() { return id.hashCode(); diff --git a/src/main/java/org/kohsuke/github/GHGistBuilder.java b/src/main/java/org/kohsuke/github/GHGistBuilder.java index e7ba88965c..c2797b628c 100644 --- a/src/main/java/org/kohsuke/github/GHGistBuilder.java +++ b/src/main/java/org/kohsuke/github/GHGistBuilder.java @@ -6,6 +6,7 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * Builder pattern for creating a new Gist. * diff --git a/src/main/java/org/kohsuke/github/GHGistFile.java b/src/main/java/org/kohsuke/github/GHGistFile.java index c143bf2a10..67237094d1 100644 --- a/src/main/java/org/kohsuke/github/GHGistFile.java +++ b/src/main/java/org/kohsuke/github/GHGistFile.java @@ -1,13 +1,16 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** - * A file inside {@link GHGist} + * A file inside {@link GHGist}. * * @author Kohsuke Kawaguchi * @see GHGist#getFile(String) GHGist#getFile(String) * @see GHGist#getFiles() GHGist#getFiles() */ public class GHGistFile { + + /** The file name. */ /* package almost final */ String fileName; private int size; @@ -42,7 +45,7 @@ public String getRawUrl() { } /** - * Content type of this Gist, such as "text/plain" + * Content type of this Gist, such as "text/plain". * * @return the type */ diff --git a/src/main/java/org/kohsuke/github/GHGistUpdater.java b/src/main/java/org/kohsuke/github/GHGistUpdater.java index ebba8c6f9f..5faaccde4d 100644 --- a/src/main/java/org/kohsuke/github/GHGistUpdater.java +++ b/src/main/java/org/kohsuke/github/GHGistUpdater.java @@ -7,6 +7,7 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * Builder pattern for updating a Gist. * @@ -15,8 +16,16 @@ public class GHGistUpdater { private final GHGist base; private final Requester builder; + + /** The files. */ LinkedHashMap> files; + /** + * Instantiates a new GH gist updater. + * + * @param base + * the base + */ GHGistUpdater(GHGist base) { this.base = base; this.builder = base.root().createRequest(); @@ -40,6 +49,15 @@ public GHGistUpdater addFile(@Nonnull String fileName, @Nonnull String content) return this; } + /** + * Delete file. + * + * @param fileName + * the file name + * @return the GH gist updater + * @throws IOException + * Signals that an I/O exception has occurred. + */ public GHGistUpdater deleteFile(@Nonnull String fileName) throws IOException { files.put(fileName, null); return this; @@ -80,7 +98,7 @@ public GHGistUpdater updateFile(@Nonnull String fileName, @Nonnull String conten } /** - * Update file name and content + * Update file name and content. * * @param fileName * the file name diff --git a/src/main/java/org/kohsuke/github/GHHook.java b/src/main/java/org/kohsuke/github/GHHook.java index a94e8f1a7f..08f2b9e798 100644 --- a/src/main/java/org/kohsuke/github/GHHook.java +++ b/src/main/java/org/kohsuke/github/GHHook.java @@ -10,6 +10,7 @@ import java.util.List; import java.util.Map; +// TODO: Auto-generated Javadoc /** * The type GHHook. * @@ -18,9 +19,17 @@ @SuppressFBWarnings(value = { "UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD", "UWF_UNWRITTEN_FIELD", "NP_UNWRITTEN_FIELD" }, justification = "JSON API") public abstract class GHHook extends GHObject { + + /** The name. */ String name; + + /** The events. */ List events; + + /** The active. */ boolean active; + + /** The config. */ Map config; /** @@ -85,6 +94,9 @@ public void delete() throws IOException { } /** + * Gets the html url. + * + * @return the html url * @deprecated This object has no HTML URL. */ @Override @@ -92,7 +104,17 @@ public URL getHtmlUrl() { return null; } + /** + * Root. + * + * @return the git hub + */ abstract GitHub root(); + /** + * Gets the api route. + * + * @return the api route + */ abstract String getApiRoute(); } diff --git a/src/main/java/org/kohsuke/github/GHHooks.java b/src/main/java/org/kohsuke/github/GHHooks.java index 58ca576b3a..addcad3179 100644 --- a/src/main/java/org/kohsuke/github/GHHooks.java +++ b/src/main/java/org/kohsuke/github/GHHooks.java @@ -7,11 +7,16 @@ import java.util.List; import java.util.Map; +// TODO: Auto-generated Javadoc /** * Utility class for creating and retrieving webhooks; removes duplication between GHOrganization and GHRepository - * functionality + * functionality. */ class GHHooks { + + /** + * The Class Context. + */ static abstract class Context extends GitHubInteractiveObject { private Context(GitHub root) { @@ -99,12 +104,34 @@ public void deleteHook(int id) throws IOException { root().createRequest().method("DELETE").withUrlPath(collection() + "/" + id).send(); } + /** + * Collection. + * + * @return the string + */ abstract String collection(); + /** + * Collection class. + * + * @return the class + */ abstract Class collectionClass(); + /** + * Clazz. + * + * @return the class + */ abstract Class clazz(); + /** + * Wrap. + * + * @param hook + * the hook + * @return the GH hook + */ abstract GHHook wrap(GHHook hook); } @@ -168,10 +195,26 @@ GHHook wrap(GHHook hook) { } } + /** + * Repo context. + * + * @param repository + * the repository + * @param owner + * the owner + * @return the context + */ static Context repoContext(GHRepository repository, GHUser owner) { return new RepoContext(repository, owner); } + /** + * Org context. + * + * @param organization + * the organization + * @return the context + */ static Context orgContext(GHOrganization organization) { return new OrgContext(organization); } diff --git a/src/main/java/org/kohsuke/github/GHIOException.java b/src/main/java/org/kohsuke/github/GHIOException.java index b8d8864dc6..2654e845ab 100644 --- a/src/main/java/org/kohsuke/github/GHIOException.java +++ b/src/main/java/org/kohsuke/github/GHIOException.java @@ -8,12 +8,15 @@ import javax.annotation.CheckForNull; import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** - * Request/responce contains useful metadata. Custom exception allows store info for next diagnostics. + * Request/response contains useful metadata. Custom exception allows store info for next diagnostics. * * @author Kanstantsin Shautsou */ public class GHIOException extends IOException { + + /** The response header fields. */ protected Map> responseHeaderFields; /** @@ -56,6 +59,13 @@ public Map> getResponseHeaderFields() { return Collections.unmodifiableMap(responseHeaderFields); } + /** + * With response header fields. + * + * @param headerFields + * the header fields + * @return the GHIO exception + */ GHIOException withResponseHeaderFields(@Nonnull Map> headerFields) { this.responseHeaderFields = headerFields; return this; diff --git a/src/main/java/org/kohsuke/github/GHInvitation.java b/src/main/java/org/kohsuke/github/GHInvitation.java index 5da36bf613..4985bb9c1e 100644 --- a/src/main/java/org/kohsuke/github/GHInvitation.java +++ b/src/main/java/org/kohsuke/github/GHInvitation.java @@ -5,6 +5,7 @@ import java.io.IOException; import java.net.URL; +// TODO: Auto-generated Javadoc /** * The type GHInvitation. * @@ -43,6 +44,11 @@ public void decline() throws IOException { root().createRequest().method("DELETE").withUrlPath("/user/repository_invitations/" + id).send(); } + /** + * Gets the html url. + * + * @return the html url + */ @Override public URL getHtmlUrl() { return GitHubClient.parseURL(html_url); diff --git a/src/main/java/org/kohsuke/github/GHIssue.java b/src/main/java/org/kohsuke/github/GHIssue.java index 605f8824e8..9d6027f331 100644 --- a/src/main/java/org/kohsuke/github/GHIssue.java +++ b/src/main/java/org/kohsuke/github/GHIssue.java @@ -41,6 +41,7 @@ import static org.kohsuke.github.internal.Previews.SQUIRREL_GIRL; +// TODO: Auto-generated Javadoc /** * Represents an issue on GitHub. * @@ -53,25 +54,60 @@ public class GHIssue extends GHObject implements Reactable { private static final String ASSIGNEES = "assignees"; + /** The owner. */ GHRepository owner; + /** The assignee. */ // API v3 protected GHUser assignee; // not sure what this field is now that 'assignees' exist + + /** The assignees. */ protected GHUser[] assignees; + + /** The state. */ protected String state; + + /** The number. */ protected int number; + + /** The closed at. */ protected String closed_at; + + /** The comments. */ protected int comments; + + /** The body. */ @SkipFromToString protected String body; + + /** The labels. */ protected List labels; + + /** The user. */ protected GHUser user; + + /** The html url. */ protected String title, html_url; + + /** The pull request. */ protected GHIssue.PullRequest pull_request; + + /** The milestone. */ protected GHMilestone milestone; + + /** The closed by. */ protected GHUser closed_by; + + /** The locked. */ protected boolean locked; + /** + * Wrap. + * + * @param owner + * the owner + * @return the GH issue + */ GHIssue wrap(GHRepository owner) { this.owner = owner; if (milestone != null) @@ -128,6 +164,8 @@ public int getNumber() { /** * The HTML page of this issue, like https://github.com/jenkinsci/jenkins/issues/100 + * + * @return the html url */ public URL getHtmlUrl() { return GitHubClient.parseURL(html_url); @@ -335,9 +373,9 @@ public void setLabels(String... labels) throws IOException { * * Labels that are already present on the target are ignored. * - * @return the complete list of labels including the new additions * @param names * Names of the label + * @return the complete list of labels including the new additions * @throws IOException * the io exception */ @@ -351,9 +389,9 @@ public List addLabels(String... names) throws IOException { * * Labels that are already present on the target are ignored. * - * @return the complete list of labels including the new additions * @param labels * the labels + * @return the complete list of labels including the new additions * @throws IOException * the io exception */ @@ -367,9 +405,9 @@ public List addLabels(GHLabel... labels) throws IOException { * * Labels that are already present on the target are ignored. * - * @return the complete list of labels including the new additions * @param labels * the labels + * @return the complete list of labels including the new additions * @throws IOException * the io exception */ @@ -391,9 +429,9 @@ private List _addLabels(Collection names) throws IOException { * * Attempting to remove a label that is not present throws {@link GHFileNotFoundException}. * - * @return the remaining list of labels * @param name * the name + * @return the remaining list of labels * @throws IOException * the io exception, throws {@link GHFileNotFoundException} if label was not present. */ @@ -410,9 +448,9 @@ public List removeLabel(String name) throws IOException { * * Attempting to remove labels that are not present on the target are ignored. * - * @return the remaining list of labels * @param names * the names + * @return the remaining list of labels * @throws IOException * the io exception */ @@ -426,9 +464,9 @@ public List removeLabels(String... names) throws IOException { * * Attempting to remove labels that are not present on the target are ignored. * - * @return the remaining list of labels * @param labels * the labels + * @return the remaining list of labels * @throws IOException * the io exception * @see #removeLabels(String...) #removeLabels(String...) @@ -443,9 +481,9 @@ public List removeLabels(GHLabel... labels) throws IOException { * * Attempting to remove labels that are not present on the target are ignored. * - * @return the remaining list of labels * @param labels * the labels + * @return the remaining list of labels * @throws IOException * the io exception */ @@ -479,11 +517,13 @@ public List getComments() throws IOException { } /** - * Obtains all the comments associated with this issue. + * Obtains all the comments associated with this issue, without any filter. * * @return the paged iterable * @throws IOException * the io exception + * @see List issue comments + * @see #queryComments() queryComments to apply filters. */ public PagedIterable listComments() throws IOException { return root().createRequest() @@ -491,6 +531,25 @@ public PagedIterable listComments() throws IOException { .toIterable(GHIssueComment[].class, item -> item.wrapUp(this)); } + /** + * Search comments on this issue by specifying filters through a builder pattern. + * + * @return the query builder + * @see List issue comments + */ + public GHIssueCommentQueryBuilder queryComments() { + return new GHIssueCommentQueryBuilder(this); + } + + /** + * Creates the reaction. + * + * @param content + * the content + * @return the GH reaction + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Preview(SQUIRREL_GIRL) public GHReaction createReaction(ReactionContent content) throws IOException { return root().createRequest() @@ -501,6 +560,27 @@ public GHReaction createReaction(ReactionContent content) throws IOException { .fetch(GHReaction.class); } + /** + * Delete reaction. + * + * @param reaction + * the reaction + * @throws IOException + * Signals that an I/O exception has occurred. + */ + public void deleteReaction(GHReaction reaction) throws IOException { + owner.root() + .createRequest() + .method("DELETE") + .withUrlPath(getApiRoute(), "reactions", String.valueOf(reaction.getId())) + .send(); + } + + /** + * List reactions. + * + * @return the paged iterable + */ @Preview(SQUIRREL_GIRL) public PagedIterable listReactions() { return root().createRequest() @@ -743,6 +823,13 @@ public URL getUrl() { } } + /** + * Gets the logins. + * + * @param users + * the users + * @return the logins + */ protected static List getLogins(Collection users) { List names = new ArrayList(users.size()); for (GHUser a : users) { diff --git a/src/main/java/org/kohsuke/github/GHIssueBuilder.java b/src/main/java/org/kohsuke/github/GHIssueBuilder.java index 52ca1661e6..0d904c4fb2 100644 --- a/src/main/java/org/kohsuke/github/GHIssueBuilder.java +++ b/src/main/java/org/kohsuke/github/GHIssueBuilder.java @@ -4,6 +4,7 @@ import java.util.ArrayList; import java.util.List; +// TODO: Auto-generated Javadoc /** * The type GHIssueBuilder. * @@ -15,6 +16,14 @@ public class GHIssueBuilder { private List labels = new ArrayList(); private List assignees = new ArrayList(); + /** + * Instantiates a new GH issue builder. + * + * @param repo + * the repo + * @param title + * the title + */ GHIssueBuilder(GHRepository repo, String title) { this.repo = repo; this.builder = repo.root().createRequest().method("POST"); diff --git a/src/main/java/org/kohsuke/github/GHIssueChanges.java b/src/main/java/org/kohsuke/github/GHIssueChanges.java index 4f861ddae9..41d948cda2 100644 --- a/src/main/java/org/kohsuke/github/GHIssueChanges.java +++ b/src/main/java/org/kohsuke/github/GHIssueChanges.java @@ -2,8 +2,9 @@ import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; +// TODO: Auto-generated Javadoc /** - * Wrapper to define changed fields on issues action="edited" + * Wrapper to define changed fields on issues action="edited". * * @see GHEventPayload.Issue */ diff --git a/src/main/java/org/kohsuke/github/GHIssueComment.java b/src/main/java/org/kohsuke/github/GHIssueComment.java index 7c1d68a5ed..37be280ce3 100644 --- a/src/main/java/org/kohsuke/github/GHIssueComment.java +++ b/src/main/java/org/kohsuke/github/GHIssueComment.java @@ -30,19 +30,29 @@ import static org.kohsuke.github.internal.Previews.SQUIRREL_GIRL; +// TODO: Auto-generated Javadoc /** - * Comment to the issue + * Comment to the issue. * * @author Kohsuke Kawaguchi * @see GHIssue#comment(String) GHIssue#comment(String) * @see GHIssue#listComments() GHIssue#listComments() */ public class GHIssueComment extends GHObject implements Reactable { + + /** The owner. */ GHIssue owner; private String body, gravatar_id, html_url, author_association; private GHUser user; // not fully populated. beware. + /** + * Wrap up. + * + * @param owner + * the owner + * @return the GH issue comment + */ GHIssueComment wrapUp(GHIssue owner) { this.owner = owner; return this; @@ -88,6 +98,11 @@ public GHUser getUser() throws IOException { return owner == null || owner.isOffline() ? user : owner.root().getUser(user.getLogin()); } + /** + * Gets the html url. + * + * @return the html url + */ @Override public URL getHtmlUrl() { return GitHubClient.parseURL(html_url); @@ -130,6 +145,15 @@ public void delete() throws IOException { owner.root().createRequest().method("DELETE").withUrlPath(getApiRoute()).send(); } + /** + * Creates the reaction. + * + * @param content + * the content + * @return the GH reaction + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Preview(SQUIRREL_GIRL) public GHReaction createReaction(ReactionContent content) throws IOException { return owner.root() @@ -141,6 +165,27 @@ public GHReaction createReaction(ReactionContent content) throws IOException { .fetch(GHReaction.class); } + /** + * Delete reaction. + * + * @param reaction + * the reaction + * @throws IOException + * Signals that an I/O exception has occurred. + */ + public void deleteReaction(GHReaction reaction) throws IOException { + owner.root() + .createRequest() + .method("DELETE") + .withUrlPath(getApiRoute(), "reactions", String.valueOf(reaction.getId())) + .send(); + } + + /** + * List reactions. + * + * @return the paged iterable + */ @Preview(SQUIRREL_GIRL) public PagedIterable listReactions() { return owner.root() diff --git a/src/main/java/org/kohsuke/github/GHIssueCommentQueryBuilder.java b/src/main/java/org/kohsuke/github/GHIssueCommentQueryBuilder.java new file mode 100644 index 0000000000..d39df0d475 --- /dev/null +++ b/src/main/java/org/kohsuke/github/GHIssueCommentQueryBuilder.java @@ -0,0 +1,68 @@ +package org.kohsuke.github; + +import java.util.Date; + +// TODO: Auto-generated Javadoc +/** + * Builds a query for listing comments on an issue. + *

+ * Call various methods that set the filter criteria, then the {@link #list()} method to actually retrieve the comments. + * + *

+ * GHIssue issue = ...;
+ * for (GHIssueComment comment : issue.queryComments().since(x).list()) {
+ *     ...
+ * }
+ * 
+ * + * @author Yoann Rodiere + * @see GHIssue#queryComments() GHIssue#queryComments() + * @see List issue comments + */ +public class GHIssueCommentQueryBuilder { + private final Requester req; + private final GHIssue issue; + + /** + * Instantiates a new GH issue comment query builder. + * + * @param issue + * the issue + */ + GHIssueCommentQueryBuilder(GHIssue issue) { + this.issue = issue; + this.req = issue.root().createRequest().withUrlPath(issue.getIssuesApiRoute() + "/comments"); + } + + /** + * Only comments created/updated after this date will be returned. + * + * @param date + * the date + * @return the query builder + */ + public GHIssueCommentQueryBuilder since(Date date) { + req.with("since", GitHubClient.printDate(date)); + return this; + } + + /** + * Only comments created/updated after this timestamp will be returned. + * + * @param timestamp + * the timestamp + * @return the query builder + */ + public GHIssueCommentQueryBuilder since(long timestamp) { + return since(new Date(timestamp)); + } + + /** + * Lists up the comments with the criteria added so far. + * + * @return the paged iterable + */ + public PagedIterable list() { + return req.toIterable(GHIssueComment[].class, item -> item.wrapUp(issue)); + } +} diff --git a/src/main/java/org/kohsuke/github/GHIssueEvent.java b/src/main/java/org/kohsuke/github/GHIssueEvent.java index 2d35760089..6026e43ad4 100644 --- a/src/main/java/org/kohsuke/github/GHIssueEvent.java +++ b/src/main/java/org/kohsuke/github/GHIssueEvent.java @@ -4,12 +4,12 @@ import java.util.Date; +// TODO: Auto-generated Javadoc /** * The type GHIssueEvent. * - * @see Github documentation for issue events - * * @author Martin van Zijl + * @see Github documentation for issue events */ public class GHIssueEvent extends GitHubInteractiveObject { private long id; @@ -189,11 +189,23 @@ public GHUser getRequestedReviewer() { return this.requestedReviewer; } + /** + * Wrap up. + * + * @param parent + * the parent + * @return the GH issue event + */ GHIssueEvent wrapUp(GHIssue parent) { this.issue = parent; return this; } + /** + * To string. + * + * @return the string + */ @Override public String toString() { return String.format("Issue %d was %s by %s on %s", diff --git a/src/main/java/org/kohsuke/github/GHIssueQueryBuilder.java b/src/main/java/org/kohsuke/github/GHIssueQueryBuilder.java index 2b06073d6a..cf43cb6391 100644 --- a/src/main/java/org/kohsuke/github/GHIssueQueryBuilder.java +++ b/src/main/java/org/kohsuke/github/GHIssueQueryBuilder.java @@ -4,9 +4,19 @@ import java.util.Date; import java.util.List; +// TODO: Auto-generated Javadoc +/** + * The Class GHIssueQueryBuilder. + */ public abstract class GHIssueQueryBuilder extends GHQueryBuilder { private final List labels = new ArrayList<>(); + /** + * Instantiates a new GH issue query builder. + * + * @param root + * the root + */ GHIssueQueryBuilder(GitHub root) { super(root); } @@ -101,7 +111,13 @@ public GHIssueQueryBuilder pageSize(int pageSize) { * The enum Sort. */ public enum Sort { - CREATED, UPDATED, COMMENTS + + /** The created. */ + CREATED, + /** The updated. */ + UPDATED, + /** The comments. */ + COMMENTS } /** @@ -111,9 +127,18 @@ public enum Sort { */ public abstract String getApiUrl(); + /** + * The Class ForRepository. + */ public static class ForRepository extends GHIssueQueryBuilder { private final GHRepository repo; + /** + * Instantiates a new for repository. + * + * @param repo + * the repo + */ ForRepository(final GHRepository repo) { super(repo.root()); this.repo = repo; @@ -170,11 +195,21 @@ public ForRepository mentioned(String mentioned) { return this; } + /** + * Gets the api url. + * + * @return the api url + */ @Override public String getApiUrl() { return repo.getApiTailUrl("issues"); } + /** + * List. + * + * @return the paged iterable + */ @Override public PagedIterable list() { return req.withUrlPath(getApiUrl()).toIterable(GHIssue[].class, item -> item.wrap(repo)); diff --git a/src/main/java/org/kohsuke/github/GHIssueRename.java b/src/main/java/org/kohsuke/github/GHIssueRename.java index 6a08754a10..e1bcf0211a 100644 --- a/src/main/java/org/kohsuke/github/GHIssueRename.java +++ b/src/main/java/org/kohsuke/github/GHIssueRename.java @@ -1,12 +1,12 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * The type GHIssueRename. * + * @author Andrii Tomchuk * @see Github * documentation for renamed event - * - * @author Andrii Tomchuk */ public class GHIssueRename { private String from = ""; diff --git a/src/main/java/org/kohsuke/github/GHIssueSearchBuilder.java b/src/main/java/org/kohsuke/github/GHIssueSearchBuilder.java index 84739b15ef..92deb26ccf 100644 --- a/src/main/java/org/kohsuke/github/GHIssueSearchBuilder.java +++ b/src/main/java/org/kohsuke/github/GHIssueSearchBuilder.java @@ -1,5 +1,6 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * Search issues. * @@ -7,12 +8,23 @@ * @see GitHub#searchIssues() GitHub#searchIssues() */ public class GHIssueSearchBuilder extends GHSearchBuilder { + + /** + * Instantiates a new GH issue search builder. + * + * @param root + * the root + */ GHIssueSearchBuilder(GitHub root) { super(root, IssueSearchResult.class); } /** * Search terms. + * + * @param term + * the term + * @return the GH issue search builder */ public GHIssueSearchBuilder q(String term) { super.q(term); @@ -96,7 +108,13 @@ public GHIssueSearchBuilder sort(Sort sort) { * The enum Sort. */ public enum Sort { - COMMENTS, CREATED, UPDATED + + /** The comments. */ + COMMENTS, + /** The created. */ + CREATED, + /** The updated. */ + UPDATED } private static class IssueSearchResult extends SearchResult { @@ -110,6 +128,11 @@ GHIssue[] getItems(GitHub root) { } } + /** + * Gets the api url. + * + * @return the api url + */ @Override protected String getApiUrl() { return "/search/issues"; diff --git a/src/main/java/org/kohsuke/github/GHIssueState.java b/src/main/java/org/kohsuke/github/GHIssueState.java index 382d565125..17a69251e2 100644 --- a/src/main/java/org/kohsuke/github/GHIssueState.java +++ b/src/main/java/org/kohsuke/github/GHIssueState.java @@ -24,11 +24,18 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * The enum GHIssueState. * * @see GHPullRequestQueryBuilder#state(GHIssueState) GHPullRequestQueryBuilder#state(GHIssueState) */ public enum GHIssueState { - OPEN, CLOSED, ALL + + /** The open. */ + OPEN, + /** The closed. */ + CLOSED, + /** The all. */ + ALL } diff --git a/src/main/java/org/kohsuke/github/GHKey.java b/src/main/java/org/kohsuke/github/GHKey.java index 8963bf1f55..01c73819b2 100644 --- a/src/main/java/org/kohsuke/github/GHKey.java +++ b/src/main/java/org/kohsuke/github/GHKey.java @@ -3,6 +3,9 @@ import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import org.apache.commons.lang3.builder.ToStringBuilder; +import java.io.IOException; + +// TODO: Auto-generated Javadoc /** * SSH public key. * @@ -10,8 +13,14 @@ */ @SuppressFBWarnings(value = "UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD", justification = "JSON API") public class GHKey extends GitHubInteractiveObject { + + /** The title. */ protected String url, key, title; + + /** The verified. */ protected boolean verified; + + /** The id. */ protected int id; /** @@ -59,7 +68,22 @@ public boolean isVerified() { return verified; } + /** + * To string. + * + * @return the string + */ public String toString() { return new ToStringBuilder(this).append("title", title).append("id", id).append("key", key).toString(); } + + /** + * Delete the GHKey + * + * @throws IOException + * the io exception + */ + public void delete() throws IOException { + root().createRequest().method("DELETE").withUrlPath(String.format("/user/keys/%d", id)).send(); + } } diff --git a/src/main/java/org/kohsuke/github/GHLabel.java b/src/main/java/org/kohsuke/github/GHLabel.java index c332ceaeab..46c5af2069 100644 --- a/src/main/java/org/kohsuke/github/GHLabel.java +++ b/src/main/java/org/kohsuke/github/GHLabel.java @@ -13,6 +13,7 @@ import javax.annotation.CheckForNull; import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * The type GHLabel. * @@ -42,6 +43,11 @@ private GHLabel(@JacksonInject @Nonnull GitHub root) { description = null; } + /** + * Gets the api root. + * + * @return the api root + */ @Nonnull GitHub getApiRoot() { return Objects.requireNonNull(root()); @@ -86,7 +92,7 @@ public String getName() { } /** - * Color code without leading '#', such as 'f29513' + * Color code without leading '#', such as 'f29513'. * * @return the color */ @@ -96,7 +102,7 @@ public String getColor() { } /** - * Purpose of Label + * Purpose of Label. * * @return the description */ @@ -142,6 +148,13 @@ public void setDescription(String newDescription) throws IOException { set().description(newDescription); } + /** + * To names. + * + * @param labels + * the labels + * @return the collection + */ static Collection toNames(Collection labels) { List r = new ArrayList<>(); for (GHLabel l : labels) { @@ -234,6 +247,13 @@ public void delete() throws IOException { root().createRequest().method("DELETE").setRawUrlPath(getUrl()).send(); } + /** + * Equals. + * + * @param o + * the o + * @return true, if successful + */ @Override public boolean equals(final Object o) { if (this == o) @@ -245,6 +265,11 @@ public boolean equals(final Object o) { && Objects.equals(color, ghLabel.color) && Objects.equals(description, ghLabel.description); } + /** + * Hash code. + * + * @return the int + */ @Override public int hashCode() { return Objects.hash(url, name, color, description); diff --git a/src/main/java/org/kohsuke/github/GHLabelBuilder.java b/src/main/java/org/kohsuke/github/GHLabelBuilder.java index a7d13fa8a9..3803a7de8e 100644 --- a/src/main/java/org/kohsuke/github/GHLabelBuilder.java +++ b/src/main/java/org/kohsuke/github/GHLabelBuilder.java @@ -5,7 +5,9 @@ import javax.annotation.CheckForNull; import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** + * The Class GHLabelBuilder. * * @param * Intermediate return type for this builder returned by calls to {@link #with(String, Object)}. If {@link S} @@ -15,6 +17,7 @@ class GHLabelBuilder extends AbstractBuilder { /** + * Instantiates a new GH label builder. * * @param intermediateReturnType * Intermediate return type for this builder returned by calls to {@link #with(String, Object)}. If @@ -37,18 +40,45 @@ protected GHLabelBuilder(@Nonnull Class intermediateReturnType, } } + /** + * Name. + * + * @param value + * the value + * @return the s + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Nonnull @BetaApi public S name(String value) throws IOException { return with("name", value); } + /** + * Color. + * + * @param value + * the value + * @return the s + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Nonnull @BetaApi public S color(String value) throws IOException { return with("color", value); } + /** + * Description. + * + * @param value + * the value + * @return the s + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Nonnull @BetaApi public S description(String value) throws IOException { diff --git a/src/main/java/org/kohsuke/github/GHLabelChanges.java b/src/main/java/org/kohsuke/github/GHLabelChanges.java index b3f5c8cfd2..7048acd93d 100644 --- a/src/main/java/org/kohsuke/github/GHLabelChanges.java +++ b/src/main/java/org/kohsuke/github/GHLabelChanges.java @@ -2,8 +2,9 @@ import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; +// TODO: Auto-generated Javadoc /** - * Wrapper to define changed fields on label action="edited" + * Wrapper to define changed fields on label action="edited". * * @see GHEventPayload.Label */ diff --git a/src/main/java/org/kohsuke/github/GHLicense.java b/src/main/java/org/kohsuke/github/GHLicense.java index 9dfd5fbba7..89cc08cf2a 100644 --- a/src/main/java/org/kohsuke/github/GHLicense.java +++ b/src/main/java/org/kohsuke/github/GHLicense.java @@ -33,8 +33,9 @@ import java.util.List; import java.util.Objects; +// TODO: Auto-generated Javadoc /** - * The GitHub Preview API's license information + * The GitHub Preview API's license information. * * @author Duncan Dickinson * @see GitHub#getLicense(String) GitHub#getLicense(String) @@ -46,16 +47,24 @@ justification = "JSON API") public class GHLicense extends GHObject { + /** The name. */ // these fields are always present, even in the short form protected String key, name; + /** The featured. */ // the rest is only after populated protected Boolean featured; + /** The body. */ protected String html_url, description, category, implementation, body; + /** The required. */ protected List required = new ArrayList(); + + /** The permitted. */ protected List permitted = new ArrayList(); + + /** The forbidden. */ protected List forbidden = new ArrayList(); /** @@ -77,7 +86,7 @@ public String getName() { } /** - * Featured licenses are bold in the new repository drop-down + * Featured licenses are bold in the new repository drop-down. * * @return True if the license is featured, false otherwise * @throws IOException @@ -88,6 +97,13 @@ public Boolean isFeatured() throws IOException { return featured; } + /** + * Gets the html url. + * + * @return the html url + * @throws IOException + * Signals that an I/O exception has occurred. + */ public URL getHtmlUrl() throws IOException { populate(); return GitHubClient.parseURL(html_url); @@ -199,6 +215,13 @@ protected synchronized void populate() throws IOException { } } + /** + * Equals. + * + * @param o + * the o + * @return true, if successful + */ @Override public boolean equals(Object o) { if (this == o) @@ -210,6 +233,11 @@ public boolean equals(Object o) { return Objects.equals(getUrl(), that.getUrl()); } + /** + * Hash code. + * + * @return the int + */ @Override public int hashCode() { return Objects.hashCode(getUrl()); diff --git a/src/main/java/org/kohsuke/github/GHMarketplaceAccount.java b/src/main/java/org/kohsuke/github/GHMarketplaceAccount.java index 3ddd8546f0..19a71b68fc 100644 --- a/src/main/java/org/kohsuke/github/GHMarketplaceAccount.java +++ b/src/main/java/org/kohsuke/github/GHMarketplaceAccount.java @@ -1,7 +1,9 @@ package org.kohsuke.github; +import java.io.IOException; import java.net.URL; +// TODO: Auto-generated Javadoc /** * Base class for Github Marketplace Account. * @@ -71,4 +73,25 @@ public GHMarketplaceAccountType getType() { return type; } + /** + * Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub + * App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will + * also see the upcoming pending change. + * + *

+ * GitHub Apps must use a JWT to access this endpoint. + *

+ * OAuth Apps must use basic authentication with their client ID and client secret to access this endpoint. + * + * @return a GHMarketplaceListAccountBuilder instance + * @throws IOException + * in case of {@link IOException} + * @see Get + * a subscription plan for an account + */ + public GHMarketplaceAccountPlan getPlan() throws IOException { + return new GHMarketplacePlanForAccountBuilder(root(), this.id).createRequest(); + } + } diff --git a/src/main/java/org/kohsuke/github/GHMarketplaceAccountPlan.java b/src/main/java/org/kohsuke/github/GHMarketplaceAccountPlan.java index 8750da134c..b2df88e8de 100644 --- a/src/main/java/org/kohsuke/github/GHMarketplaceAccountPlan.java +++ b/src/main/java/org/kohsuke/github/GHMarketplaceAccountPlan.java @@ -2,6 +2,7 @@ import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; +// TODO: Auto-generated Javadoc /** * A Github Marketplace Account Plan. * diff --git a/src/main/java/org/kohsuke/github/GHMarketplaceAccountType.java b/src/main/java/org/kohsuke/github/GHMarketplaceAccountType.java index 1e0ba96e3a..416dadc596 100644 --- a/src/main/java/org/kohsuke/github/GHMarketplaceAccountType.java +++ b/src/main/java/org/kohsuke/github/GHMarketplaceAccountType.java @@ -4,6 +4,7 @@ import java.util.Locale; +// TODO: Auto-generated Javadoc /** * GitHub Marketplace Account type. * @@ -11,10 +12,16 @@ * @see GHMarketplaceAccount */ public enum GHMarketplaceAccountType { - ORGANIZATION, USER; + + /** The organization. */ + ORGANIZATION, + /** The user. */ + USER; /** * Returns GitHub's internal representation of this event. + * + * @return the string */ String symbol() { return StringUtils.capitalize(name().toLowerCase(Locale.ENGLISH)); diff --git a/src/main/java/org/kohsuke/github/GHMarketplaceListAccountBuilder.java b/src/main/java/org/kohsuke/github/GHMarketplaceListAccountBuilder.java index 32f4b1a1dd..1e061a36c3 100644 --- a/src/main/java/org/kohsuke/github/GHMarketplaceListAccountBuilder.java +++ b/src/main/java/org/kohsuke/github/GHMarketplaceListAccountBuilder.java @@ -2,8 +2,9 @@ import java.io.IOException; +// TODO: Auto-generated Javadoc /** - * Returns any accounts associated with a plan, including free plans + * Returns any accounts associated with a plan, including free plans. * * @author Paulo Miguel Almeida * @see GHMarketplacePlan#listAccounts() @@ -12,6 +13,14 @@ public class GHMarketplaceListAccountBuilder extends GitHubInteractiveObject { private final Requester builder; private final long planId; + /** + * Instantiates a new GH marketplace list account builder. + * + * @param root + * the root + * @param planId + * the plan id + */ GHMarketplaceListAccountBuilder(GitHub root, long planId) { super(root); this.builder = root.createRequest(); @@ -48,7 +57,11 @@ public GHMarketplaceListAccountBuilder direction(GHDirection direction) { * The enum Sort. */ public enum Sort { - CREATED, UPDATED + + /** The created. */ + CREATED, + /** The updated. */ + UPDATED } /** diff --git a/src/main/java/org/kohsuke/github/GHMarketplacePendingChange.java b/src/main/java/org/kohsuke/github/GHMarketplacePendingChange.java index 4f5ed509c0..d8bb2ebc34 100644 --- a/src/main/java/org/kohsuke/github/GHMarketplacePendingChange.java +++ b/src/main/java/org/kohsuke/github/GHMarketplacePendingChange.java @@ -4,6 +4,7 @@ import java.util.Date; +// TODO: Auto-generated Javadoc /** * A Github Marketplace purchase pending change. * diff --git a/src/main/java/org/kohsuke/github/GHMarketplacePlan.java b/src/main/java/org/kohsuke/github/GHMarketplacePlan.java index 1c638e4fd8..95a405bfa4 100644 --- a/src/main/java/org/kohsuke/github/GHMarketplacePlan.java +++ b/src/main/java/org/kohsuke/github/GHMarketplacePlan.java @@ -6,6 +6,7 @@ import java.util.Collections; import java.util.List; +// TODO: Auto-generated Javadoc /** * A Github Marketplace plan. * diff --git a/src/main/java/org/kohsuke/github/GHMarketplacePlanForAccountBuilder.java b/src/main/java/org/kohsuke/github/GHMarketplacePlanForAccountBuilder.java new file mode 100644 index 0000000000..e5167f31ac --- /dev/null +++ b/src/main/java/org/kohsuke/github/GHMarketplacePlanForAccountBuilder.java @@ -0,0 +1,45 @@ +package org.kohsuke.github; + +import java.io.IOException; + +// TODO: Auto-generated Javadoc +/** + * Returns the plan associated with current account. + * + * @author Benoit Lacelle + * @see GHMarketplacePlan#listAccounts() + * @see GitHub#listMarketplacePlans() + */ +public class GHMarketplacePlanForAccountBuilder extends GitHubInteractiveObject { + private final Requester builder; + private final long accountId; + + /** + * Instantiates a new GH marketplace list account builder. + * + * @param root + * the root + * @param accountId + * the account id + */ + GHMarketplacePlanForAccountBuilder(GitHub root, long accountId) { + super(root); + this.builder = root.createRequest(); + this.accountId = accountId; + } + + /** + * Fetch the plan associated with the account specified on construction. + *

+ * GitHub Apps must use a JWT to access this endpoint. + * + * @return a GHMarketplaceAccountPlan + * @throws IOException + * on error + */ + public GHMarketplaceAccountPlan createRequest() throws IOException { + return builder.withUrlPath(String.format("/marketplace_listing/accounts/%d", this.accountId)) + .fetch(GHMarketplaceAccountPlan.class); + } + +} diff --git a/src/main/java/org/kohsuke/github/GHMarketplacePriceModel.java b/src/main/java/org/kohsuke/github/GHMarketplacePriceModel.java index 0c8fb83782..a41cfc651c 100644 --- a/src/main/java/org/kohsuke/github/GHMarketplacePriceModel.java +++ b/src/main/java/org/kohsuke/github/GHMarketplacePriceModel.java @@ -2,6 +2,7 @@ import com.fasterxml.jackson.annotation.JsonValue; +// TODO: Auto-generated Javadoc /** * GitHub Marketplace plan pricing model. * @@ -9,11 +10,23 @@ * @see GHMarketplacePlan */ public enum GHMarketplacePriceModel { - FREE("free"), PER_UNIT("per-unit"), FLAT_RATE("flat-rate"); + + /** The free. */ + FREE("FREE"), + /** The per unit. */ + PER_UNIT("PER_UNIT"), + /** The flat rate. */ + FLAT_RATE("FLAT_RATE"); @JsonValue private final String internalName; + /** + * Instantiates a new GH marketplace price model. + * + * @param internalName + * the internal name + */ GHMarketplacePriceModel(String internalName) { this.internalName = internalName; } diff --git a/src/main/java/org/kohsuke/github/GHMarketplacePurchase.java b/src/main/java/org/kohsuke/github/GHMarketplacePurchase.java index 12a8ec8fff..f4de6c42ee 100644 --- a/src/main/java/org/kohsuke/github/GHMarketplacePurchase.java +++ b/src/main/java/org/kohsuke/github/GHMarketplacePurchase.java @@ -4,6 +4,7 @@ import java.util.Date; +// TODO: Auto-generated Javadoc /** * A Github Marketplace purchase. * diff --git a/src/main/java/org/kohsuke/github/GHMarketplaceUserPurchase.java b/src/main/java/org/kohsuke/github/GHMarketplaceUserPurchase.java index 2e6e22e8e4..8802f5a8f5 100644 --- a/src/main/java/org/kohsuke/github/GHMarketplaceUserPurchase.java +++ b/src/main/java/org/kohsuke/github/GHMarketplaceUserPurchase.java @@ -4,8 +4,9 @@ import java.util.Date; +// TODO: Auto-generated Javadoc /** - * Github Marketplace User Purchase + * Github Marketplace User Purchase. * * @author Paulo Miguel Almeida * @see GitHub#getMyMarketplacePurchases() diff --git a/src/main/java/org/kohsuke/github/GHMembership.java b/src/main/java/org/kohsuke/github/GHMembership.java index 074c5fd355..e8e012c995 100644 --- a/src/main/java/org/kohsuke/github/GHMembership.java +++ b/src/main/java/org/kohsuke/github/GHMembership.java @@ -6,6 +6,7 @@ import java.net.URL; import java.util.Locale; +// TODO: Auto-generated Javadoc /** * Represents a membership of a user in an organization. * @@ -13,10 +14,20 @@ * @see GHMyself#listOrgMemberships() GHMyself#listOrgMemberships() */ public class GHMembership extends GitHubInteractiveObject { + + /** The url. */ String url; + + /** The state. */ String state; + + /** The role. */ String role; + + /** The user. */ GHUser user; + + /** The organization. */ GHOrganization organization; /** @@ -77,6 +88,13 @@ public void activate() throws IOException { root().createRequest().method("PATCH").with("state", State.ACTIVE).withUrlPath(url).fetchInto(this); } + /** + * Wrap. + * + * @param root + * the root + * @return the GH membership + */ GHMembership wrap(GitHub root) { if (user != null) user = root.getUser(user); @@ -98,9 +116,13 @@ public enum Role { } /** - * Whether a role is currently active or waiting for acceptance (pending) + * Whether a role is currently active or waiting for acceptance (pending). */ public enum State { - ACTIVE, PENDING; + + /** The active. */ + ACTIVE, + /** The pending. */ + PENDING; } } diff --git a/src/main/java/org/kohsuke/github/GHMeta.java b/src/main/java/org/kohsuke/github/GHMeta.java index b77f530b82..7d667f87c7 100644 --- a/src/main/java/org/kohsuke/github/GHMeta.java +++ b/src/main/java/org/kohsuke/github/GHMeta.java @@ -6,6 +6,7 @@ import java.util.Collections; import java.util.List; +// TODO: Auto-generated Javadoc /** * Class that wraps the list of GitHub's IP addresses. * diff --git a/src/main/java/org/kohsuke/github/GHMilestone.java b/src/main/java/org/kohsuke/github/GHMilestone.java index 32a1c9a6fe..0bb7481a1a 100644 --- a/src/main/java/org/kohsuke/github/GHMilestone.java +++ b/src/main/java/org/kohsuke/github/GHMilestone.java @@ -7,17 +7,23 @@ import java.util.Date; import java.util.Locale; +// TODO: Auto-generated Javadoc /** * The type GHMilestone. * * @author Yusuke Kokubo */ public class GHMilestone extends GHObject { + + /** The owner. */ GHRepository owner; + /** The creator. */ GHUser creator; private String state, due_on, title, description, html_url; private int closed_issues, open_issues, number; + + /** The closed at. */ protected String closed_at; /** @@ -53,7 +59,7 @@ public Date getDueOn() { } /** - * When was this milestone closed? + * When was this milestone closed?. * * @return the closed at * @throws IOException @@ -108,6 +114,11 @@ public int getNumber() { return number; } + /** + * Gets the html url. + * + * @return the html url + */ public URL getHtmlUrl() { return GitHubClient.parseURL(html_url); } diff --git a/src/main/java/org/kohsuke/github/GHMilestoneState.java b/src/main/java/org/kohsuke/github/GHMilestoneState.java index f46c775432..85dcb9d5f4 100644 --- a/src/main/java/org/kohsuke/github/GHMilestoneState.java +++ b/src/main/java/org/kohsuke/github/GHMilestoneState.java @@ -1,10 +1,15 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * The enum GHMilestoneState. * * @author Yusuke Kokubo */ public enum GHMilestoneState { - OPEN, CLOSED + + /** The open. */ + OPEN, + /** The closed. */ + CLOSED } diff --git a/src/main/java/org/kohsuke/github/GHMyself.java b/src/main/java/org/kohsuke/github/GHMyself.java index b5b078629c..43914f2bd2 100644 --- a/src/main/java/org/kohsuke/github/GHMyself.java +++ b/src/main/java/org/kohsuke/github/GHMyself.java @@ -9,6 +9,7 @@ import java.util.Set; import java.util.TreeMap; +// TODO: Auto-generated Javadoc /** * Represents the account that's logging into GitHub. * @@ -20,25 +21,20 @@ public class GHMyself extends GHUser { * Type of repositories returned during listing. */ public enum RepositoryListFilter { - /** - * All public and private repositories that current user has access or collaborates to - */ + + /** All public and private repositories that current user has access or collaborates to. */ ALL, - /** - * Public and private repositories owned by current user - */ + + /** Public and private repositories owned by current user. */ OWNER, - /** - * Public repositories that current user has access or collaborates to - */ + + /** Public repositories that current user has access or collaborates to. */ PUBLIC, - /** - * Private repositories that current user has access or collaborates to - */ + + /** Private repositories that current user has access or collaborates to. */ PRIVATE, - /** - * Public and private repositories that current user is a member - */ + + /** Public and private repositories that current user is a member. */ MEMBER; } @@ -74,9 +70,9 @@ public List getEmails2() throws IOException { } /** - * Returns the read-only list of all the pulic keys of the current user. + * Returns the read-only list of all the public keys of the current user. *

- * NOTE: When using OAuth authenticaiton, the READ/WRITE User scope is required by the GitHub APIs, otherwise you + * NOTE: When using OAuth authentication, the READ/WRITE User scope is required by the GitHub APIs, otherwise you * will get a 404 NOT FOUND. * * @return Always non-null. @@ -87,6 +83,28 @@ public List getPublicKeys() throws IOException { return root().createRequest().withUrlPath("/user/keys").toIterable(GHKey[].class, null).toList(); } + /** + * Add public SSH key for the user. + *

+ * https://docs.github.com/en/rest/users/keys?apiVersion=2022-11-28#create-a-public-ssh-key-for-the-authenticated-user + * + * @param title + * Title of the SSH key + * @param key + * the public key + * @return the newly created Github key + * @throws IOException + * the io exception + */ + public GHKey addPublicKey(String title, String key) throws IOException { + return root().createRequest() + .withUrlPath("/user/keys") + .method("POST") + .with("title", title) + .with("key", key) + .fetch(GHKey.class); + } + /** * Returns the read-only list of all the public verified keys of the current user. *

@@ -144,6 +162,8 @@ public synchronized Map getAllRepositories() throws IOExce * * Unlike {@link #getAllRepositories()}, this does not wait until all the repositories are returned. Repositories * are returned by GitHub API with a 30 items per page. + * + * @return the paged iterable */ @Override public PagedIterable listRepositories() { @@ -162,6 +182,7 @@ public PagedIterable listRepositories() { * size for each page of items returned by GitHub. Maximum page size is 100. * * Unlike {@link #getRepositories()}, this does not wait until all the repositories are returned. + * @return the paged iterable */ public PagedIterable listRepositories(final int pageSize) { return listRepositories(pageSize, RepositoryListFilter.ALL); @@ -197,7 +218,7 @@ public PagedIterable listAllRepositories() { } /** - * List your organization memberships + * List your organization memberships. * * @return the paged iterable */ @@ -206,7 +227,7 @@ public PagedIterable listOrgMemberships() { } /** - * List your organization memberships + * List your organization memberships. * * @param state * Filter by a specific state diff --git a/src/main/java/org/kohsuke/github/GHNotificationStream.java b/src/main/java/org/kohsuke/github/GHNotificationStream.java index 4c545354c2..7e62d7b6c6 100644 --- a/src/main/java/org/kohsuke/github/GHNotificationStream.java +++ b/src/main/java/org/kohsuke/github/GHNotificationStream.java @@ -5,6 +5,7 @@ import java.util.Iterator; import java.util.NoSuchElementException; +// TODO: Auto-generated Javadoc /** * Listens to GitHub notification stream. * @@ -29,13 +30,21 @@ public class GHNotificationStream extends GitHubInteractiveObject implements Ite private String apiUrl; private boolean nonBlocking = false; + /** + * Instantiates a new GH notification stream. + * + * @param root + * the root + * @param apiUrl + * the api url + */ GHNotificationStream(GitHub root, String apiUrl) { super(root); this.apiUrl = apiUrl; } /** - * Should the stream include notifications that are already read? + * Should the stream include notifications that are already read?. * * @param v * the v @@ -47,7 +56,7 @@ public GHNotificationStream read(boolean v) { } /** - * Should the stream be restricted to notifications in which the user is directly participating or mentioned? + * Should the stream be restricted to notifications in which the user is directly participating or mentioned?. * * @param v * the v @@ -96,6 +105,8 @@ public GHNotificationStream nonBlocking(boolean v) { /** * Returns an infinite blocking {@link Iterator} that returns {@link GHThread} as notifications arrive. + * + * @return the iterator */ public Iterator iterator() { // capture the configuration setting here diff --git a/src/main/java/org/kohsuke/github/GHOTPRequiredException.java b/src/main/java/org/kohsuke/github/GHOTPRequiredException.java index 64e95e3cc9..b577d37846 100644 --- a/src/main/java/org/kohsuke/github/GHOTPRequiredException.java +++ b/src/main/java/org/kohsuke/github/GHOTPRequiredException.java @@ -1,7 +1,7 @@ package org.kohsuke.github; /** - * This exception is thrown when GitHub is requesting an OTP from the user + * This exception is thrown when GitHub is requesting an OTP from the user. * * @author Kevin Harrington mad.hephaestus@gmail.com */ diff --git a/src/main/java/org/kohsuke/github/GHObject.java b/src/main/java/org/kohsuke/github/GHObject.java index 7d89cd36db..e58c2144a1 100644 --- a/src/main/java/org/kohsuke/github/GHObject.java +++ b/src/main/java/org/kohsuke/github/GHObject.java @@ -16,6 +16,7 @@ import javax.annotation.CheckForNull; +// TODO: Auto-generated Javadoc /** * Most (all?) domain objects in GitHub seems to have these 4 properties. */ @@ -34,11 +35,14 @@ public abstract class GHObject extends GitHubInteractiveObject { private String createdAt; private String updatedAt; + /** + * Instantiates a new GH object. + */ GHObject() { } /** - * Called by Jackson + * Called by Jackson. * * @param connectorResponse * the {@link GitHubConnectorResponse} to get headers from. @@ -69,7 +73,7 @@ public Map> getResponseHeaderFields() { } /** - * When was this resource created? + * When was this resource created?. * * @return date created * @throws IOException @@ -106,7 +110,7 @@ public URL getUrl() { public abstract URL getHtmlUrl() throws IOException; /** - * When was this resource last updated? + * When was this resource last updated?. * * @return updated date * @throws IOException @@ -119,9 +123,8 @@ public Date getUpdatedAt() throws IOException { /** * Get Global node_id from Github object. * - * @see Using Global Node IDs - * * @return Global Node ID. + * @see Using Global Node IDs */ public String getNodeId() { return nodeId; @@ -154,6 +157,8 @@ private Object urlToString(URL url, Class type) { /** * String representation to assist debugging and inspection. The output format of this string is not a committed * part of the API and is subject to change. + * + * @return the string */ @Override public String toString() { diff --git a/src/main/java/org/kohsuke/github/GHOrgHook.java b/src/main/java/org/kohsuke/github/GHOrgHook.java index 931002d119..485e1c47a4 100644 --- a/src/main/java/org/kohsuke/github/GHOrgHook.java +++ b/src/main/java/org/kohsuke/github/GHOrgHook.java @@ -4,22 +4,43 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc +/** + * The Class GHOrgHook. + */ class GHOrgHook extends GHHook { /** * Organization that the hook belongs to. */ transient GHOrganization organization; + /** + * Wrap. + * + * @param owner + * the owner + * @return the GH org hook + */ GHOrgHook wrap(GHOrganization owner) { this.organization = owner; return this; } + /** + * Root. + * + * @return the git hub + */ @Override GitHub root() { return organization.root(); } + /** + * Gets the api route. + * + * @return the api route + */ @Override String getApiRoute() { return String.format("/orgs/%s/hooks/%d", organization.getLogin(), getId()); diff --git a/src/main/java/org/kohsuke/github/GHOrganization.java b/src/main/java/org/kohsuke/github/GHOrganization.java index d690285706..0d881aff61 100644 --- a/src/main/java/org/kohsuke/github/GHOrganization.java +++ b/src/main/java/org/kohsuke/github/GHOrganization.java @@ -12,6 +12,7 @@ import static org.kohsuke.github.internal.Previews.INERTIA; +// TODO: Auto-generated Javadoc /** * The type GHOrganization. * @@ -86,7 +87,6 @@ public GHRepository createRepository(String name, /** * Starts a builder that creates a new repository. - * *

* You use the returned builder to set various properties, then call {@link GHCreateRepositoryBuilder#create()} to * finally create a repository. @@ -135,7 +135,6 @@ public PagedIterable listTeams() throws IOException { * @return the team * @throws IOException * the io exception - * * @deprecated Use {@link GHOrganization#getTeam(long)} */ @Deprecated @@ -151,7 +150,6 @@ public GHTeam getTeam(int teamId) throws IOException { * @return the team * @throws IOException * the io exception - * * @see documentation */ public GHTeam getTeam(long teamId) throws IOException { @@ -162,7 +160,7 @@ public GHTeam getTeam(long teamId) throws IOException { } /** - * Finds a team that has the given name in its {@link GHTeam#getName()} + * Finds a team that has the given name in its {@link GHTeam#getName()}. * * @param name * the name @@ -179,7 +177,7 @@ public GHTeam getTeamByName(String name) throws IOException { } /** - * Finds a team that has the given slug in its {@link GHTeam#getSlug()} + * Finds a team that has the given slug in its {@link GHTeam#getSlug()}. * * @param slug * the slug @@ -196,9 +194,11 @@ public GHTeam getTeamBySlug(String slug) throws IOException { } /** - * Member's role in an organization + * Member's role in an organization. */ public enum Role { + + /** The admin. */ ADMIN, /** The user is an owner of the organization. */ MEMBER /** The user is a non-owner member of the organization. */ @@ -315,6 +315,17 @@ public PagedIterable listPublicMembers() throws IOException { return listMembers("public_members"); } + /** + * All the outside collaborators of this organization. + * + * @return the paged iterable + * @throws IOException + * the io exception + */ + public PagedIterable listOutsideCollaborators() throws IOException { + return listMembers("outside_collaborators"); + } + private PagedIterable listMembers(String suffix) throws IOException { return listMembers(suffix, null, null); } @@ -332,6 +343,19 @@ public PagedIterable listMembersWithFilter(String filter) throws IOExcep return listMembers("members", filter, null); } + /** + * List outside collaborators with filter paged iterable. + * + * @param filter + * the filter + * @return the paged iterable + * @throws IOException + * the io exception + */ + public PagedIterable listOutsideCollaboratorsWithFilter(String filter) throws IOException { + return listMembers("outside_collaborators", filter, null); + } + /** * List members with specified role paged iterable. * @@ -379,7 +403,7 @@ public boolean areOrganizationProjectsEnabled() { } /** - * Sets organization projects enabled status boolean + * Sets organization projects enabled status boolean. * * @param newStatus * enable status @@ -449,9 +473,64 @@ public GHProject createProject(String name, String body) throws IOException { /** * The enum Permission. + * + * @see RepositoryRole */ public enum Permission { - ADMIN, MAINTAIN, PUSH, TRIAGE, PULL + + /** The admin. */ + ADMIN, + /** The maintain. */ + MAINTAIN, + /** The push. */ + PUSH, + /** The triage. */ + TRIAGE, + /** The pull. */ + PULL + } + + /** + * Repository permissions (roles) for teams and collaborators. + */ + public static class RepositoryRole { + private final String permission; + + private RepositoryRole(String permission) { + this.permission = permission; + } + + /** + * Custom. + * + * @param permission + * the permission + * @return the repository role + */ + public static RepositoryRole custom(String permission) { + return new RepositoryRole(permission); + } + + /** + * From. + * + * @param permission + * the permission + * @return the repository role + */ + public static RepositoryRole from(Permission permission) { + return custom(permission.toString().toLowerCase()); + } + + /** + * To string. + * + * @return the string + */ + @Override + public String toString() { + return permission; + } } /** @@ -542,7 +621,6 @@ public GHTeam createTeam(String name, GHRepository... repositories) throws IOExc /** * Starts a builder that creates a new team. - * *

* You use the returned builder to set various properties, then call {@link GHTeamBuilder#create()} to finally * create a team. @@ -577,7 +655,7 @@ public List getRepositoriesWithOpenPullRequests() throws IOExcepti } /** - * Gets all the open pull requests in this organizataion. + * Gets all the open pull requests in this organization. * * @return the pull requests * @throws IOException @@ -593,6 +671,10 @@ public List getPullRequests() throws IOException { /** * Lists events performed by a user (this includes private events if the caller is authenticated. + * + * @return the paged iterable + * @throws IOException + * Signals that an I/O exception has occurred. */ public PagedIterable listEvents() throws IOException { return root().createRequest() @@ -604,9 +686,9 @@ public PagedIterable listEvents() throws IOException { * Lists up all the repositories using the specified page size. * * @param pageSize - * size for each page of items returned by GitHub. Maximum page size is 100. - * - * Unlike {@link #getRepositories()}, this does not wait until all the repositories are returned. + * size for each page of items returned by GitHub. Maximum page size is 100. Unlike + * {@link #getRepositories()}, this does not wait until all the repositories are returned. + * @return the paged iterable */ @Override public PagedIterable listRepositories(final int pageSize) { diff --git a/src/main/java/org/kohsuke/github/GHPermission.java b/src/main/java/org/kohsuke/github/GHPermission.java index c15a9d54ea..bfe35ba9c1 100644 --- a/src/main/java/org/kohsuke/github/GHPermission.java +++ b/src/main/java/org/kohsuke/github/GHPermission.java @@ -24,8 +24,9 @@ package org.kohsuke.github; -import java.util.Locale; +import org.kohsuke.github.internal.EnumUtils; +// TODO: Auto-generated Javadoc /** * Permission for a user in a repository. * @@ -51,7 +52,7 @@ public String getPermission() { * @return the permission type */ public GHPermissionType getPermissionType() { - return Enum.valueOf(GHPermissionType.class, permission.toUpperCase(Locale.ENGLISH)); + return EnumUtils.getEnumOrDefault(GHPermissionType.class, permission, GHPermissionType.UNKNOWN); } /** diff --git a/src/main/java/org/kohsuke/github/GHPermissionType.java b/src/main/java/org/kohsuke/github/GHPermissionType.java index 26892f3f76..8dc9ca1a14 100644 --- a/src/main/java/org/kohsuke/github/GHPermissionType.java +++ b/src/main/java/org/kohsuke/github/GHPermissionType.java @@ -1,10 +1,49 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * The enum GHPermissionType. * * @author Kohsuke Kawaguchi */ public enum GHPermissionType { - ADMIN, WRITE, READ, NONE + + /** The admin. */ + ADMIN(30), + /** The write. */ + WRITE(20), + /** The read. */ + READ(10), + /** The none. */ + NONE(0), + /** The unknown permission type returned when an unrecognized permission type is returned. */ + UNKNOWN(-5); + + private final int level; + + /** + * Instantiates a new GH permission type. + * + * @param level + * the level + */ + GHPermissionType(int level) { + this.level = level; + } + + /** + * Implies. + * + * @param other + * the other + * @return true, if successful + */ + boolean implies(GHPermissionType other) { + // NONE is a special case + if (other == NONE) { + return this == NONE; + } + + return this.level >= other.level; + } } diff --git a/src/main/java/org/kohsuke/github/GHPerson.java b/src/main/java/org/kohsuke/github/GHPerson.java index 4e75b80667..addcebfead 100644 --- a/src/main/java/org/kohsuke/github/GHPerson.java +++ b/src/main/java/org/kohsuke/github/GHPerson.java @@ -11,6 +11,7 @@ import java.util.Optional; import java.util.TreeMap; +// TODO: Auto-generated Javadoc /** * Common part of {@link GHUser} and {@link GHOrganization}. * @@ -18,15 +19,24 @@ */ public abstract class GHPerson extends GHObject { + /** The avatar url. */ // core data fields that exist even for "small" user data (such as the user info in pull request) protected String login, avatar_url; + /** The twitter username. */ // other fields (that only show up in full data) protected String location, blog, email, bio, name, company, type, twitter_username; + + /** The html url. */ protected String html_url; + + /** The public gists. */ protected int followers, following, public_repos, public_gists; + + /** The hireable. */ protected boolean site_admin, hireable; + /** The total private repos. */ // other fields (that only show up in full data) that require privileged scope protected Integer total_private_repos; @@ -159,7 +169,7 @@ public GHRepository getRepository(String name) throws IOException { public abstract PagedIterable listEvents() throws IOException; /** - * Gravatar ID of this user, like 0cb9832a01c22c083390f3c5dcb64105 + * Gravatar ID of this user, like 0cb9832a01c22c083390f3c5dcb64105. * * @return the gravatar id * @deprecated No longer available in the v3 API. @@ -179,7 +189,7 @@ public String getAvatarUrl() { } /** - * Gets the login ID of this user, like 'kohsuke' + * Gets the login ID of this user, like 'kohsuke'. * * @return the login */ @@ -188,7 +198,7 @@ public String getLogin() { } /** - * Gets the human-readable name of the user, like "Kohsuke Kawaguchi" + * Gets the human-readable name of the user, like "Kohsuke Kawaguchi". * * @return the name * @throws IOException @@ -212,7 +222,7 @@ public String getCompany() throws IOException { } /** - * Gets the location of this user, like "Santa Clara, California" + * Gets the location of this user, like "Santa Clara, California". * * @return the location * @throws IOException @@ -224,7 +234,7 @@ public String getLocation() throws IOException { } /** - * Gets the Twitter Username of this user, like "GitHub" + * Gets the Twitter Username of this user, like "GitHub". * * @return the Twitter username * @throws IOException @@ -235,11 +245,25 @@ public String getTwitterUsername() throws IOException { return twitter_username; } + /** + * Gets the created at. + * + * @return the created at + * @throws IOException + * Signals that an I/O exception has occurred. + */ public Date getCreatedAt() throws IOException { populate(); return super.getCreatedAt(); } + /** + * Gets the updated at. + * + * @return the updated at + * @throws IOException + * Signals that an I/O exception has occurred. + */ public Date getUpdatedAt() throws IOException { populate(); return super.getUpdatedAt(); @@ -257,6 +281,11 @@ public String getBlog() throws IOException { return blog; } + /** + * Gets the html url. + * + * @return the html url + */ @Override public URL getHtmlUrl() { return GitHubClient.parseURL(html_url); @@ -335,7 +364,7 @@ public String getType() throws IOException { } /** - * Gets the site_admin field + * Gets the site_admin field. * * @return the site_admin field * @throws IOException diff --git a/src/main/java/org/kohsuke/github/GHPersonSet.java b/src/main/java/org/kohsuke/github/GHPersonSet.java index f0cc5d77ab..c737249b5e 100644 --- a/src/main/java/org/kohsuke/github/GHPersonSet.java +++ b/src/main/java/org/kohsuke/github/GHPersonSet.java @@ -4,12 +4,13 @@ import java.util.Collection; import java.util.HashSet; +// TODO: Auto-generated Javadoc /** * Set of {@link GHPerson} with helper lookup methods. * + * @author Kohsuke Kawaguchi * @param * the type parameter - * @author Kohsuke Kawaguchi */ public class GHPersonSet extends HashSet { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/kohsuke/github/GHProject.java b/src/main/java/org/kohsuke/github/GHProject.java index 1a0f963ac8..8e89001298 100644 --- a/src/main/java/org/kohsuke/github/GHProject.java +++ b/src/main/java/org/kohsuke/github/GHProject.java @@ -32,6 +32,7 @@ import static org.kohsuke.github.internal.Previews.INERTIA; +// TODO: Auto-generated Javadoc /** * A GitHub project. * @@ -39,6 +40,8 @@ * @see Projects */ public class GHProject extends GHObject { + + /** The owner. */ protected GHObject owner; private String owner_url; @@ -49,6 +52,13 @@ public class GHProject extends GHObject { private String state; private GHUser creator; + /** + * Gets the html url. + * + * @return the html url + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Override public URL getHtmlUrl() throws IOException { return GitHubClient.parseURL(html_url); @@ -92,8 +102,8 @@ public URL getOwnerUrl() { /** * Gets node id. * - * @deprecated Use {@link GHObject#getNodeId()} * @return the node id + * @deprecated Use {@link GHObject#getNodeId()} */ @Deprecated public String getNode_id() { @@ -223,7 +233,11 @@ public void setBody(String body) throws IOException { * The enum ProjectState. */ public enum ProjectState { - OPEN, CLOSED + + /** The open. */ + OPEN, + /** The closed. */ + CLOSED } /** @@ -242,7 +256,13 @@ public void setState(ProjectState state) throws IOException { * The enum ProjectStateFilter. */ public static enum ProjectStateFilter { - ALL, OPEN, CLOSED + + /** The all. */ + ALL, + /** The open. */ + OPEN, + /** The closed. */ + CLOSED } /** diff --git a/src/main/java/org/kohsuke/github/GHProjectCard.java b/src/main/java/org/kohsuke/github/GHProjectCard.java index 27cd2b95a6..9cb0f92f2f 100644 --- a/src/main/java/org/kohsuke/github/GHProjectCard.java +++ b/src/main/java/org/kohsuke/github/GHProjectCard.java @@ -9,6 +9,7 @@ import static org.kohsuke.github.internal.Previews.INERTIA; +// TODO: Auto-generated Javadoc /** * The type GHProjectCard. * @@ -23,6 +24,13 @@ public class GHProjectCard extends GHObject { private String content_url, project_url, column_url; private boolean archived; + /** + * Gets the html url. + * + * @return the html url + * @throws IOException + * Signals that an I/O exception has occurred. + */ public URL getHtmlUrl() throws IOException { return null; } diff --git a/src/main/java/org/kohsuke/github/GHProjectColumn.java b/src/main/java/org/kohsuke/github/GHProjectColumn.java index 70dd63f5ad..024e9a876f 100644 --- a/src/main/java/org/kohsuke/github/GHProjectColumn.java +++ b/src/main/java/org/kohsuke/github/GHProjectColumn.java @@ -8,17 +8,27 @@ import static org.kohsuke.github.internal.Previews.INERTIA; +// TODO: Auto-generated Javadoc /** * The type GHProjectColumn. * * @author Gunnar Skjold */ public class GHProjectColumn extends GHObject { + + /** The project. */ protected GHProject project; private String name; private String project_url; + /** + * Gets the html url. + * + * @return the html url + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Override public URL getHtmlUrl() throws IOException { return null; diff --git a/src/main/java/org/kohsuke/github/GHProjectsV2Item.java b/src/main/java/org/kohsuke/github/GHProjectsV2Item.java new file mode 100644 index 0000000000..ea6c7006b6 --- /dev/null +++ b/src/main/java/org/kohsuke/github/GHProjectsV2Item.java @@ -0,0 +1,103 @@ +package org.kohsuke.github; + +import org.kohsuke.github.internal.EnumUtils; + +import java.io.IOException; +import java.net.URL; +import java.util.Date; + +// TODO: Auto-generated Javadoc +/** + * A Projects V2 item in the organization. + *

+ * Projects V2 are not attached to a repository but to an organization, even if it is possible to create shortcuts at + * the repository level. + *

+ * This event exposes the GraphQL object (more or less - the ids are handled differently for instance) directly. The new + * Projects V2 API is only available through GraphQL so for now you cannot execute any actions on this object. + * + * @author Guillaume Smet + * @see The + * GraphQL API for Projects V2 + */ +public class GHProjectsV2Item extends GHObject { + + private String projectNodeId; + private String contentNodeId; + private String contentType; + + private GHUser creator; + private String archivedAt; + + /** + * Gets the project node id. + * + * @return the project node id + */ + public String getProjectNodeId() { + return projectNodeId; + } + + /** + * Gets the content node id. + * + * @return the content node id + */ + public String getContentNodeId() { + return contentNodeId; + } + + /** + * Gets the content type. + * + * @return the content type + */ + public ContentType getContentType() { + return EnumUtils.getEnumOrDefault(ContentType.class, contentType, ContentType.UNKNOWN); + } + + /** + * Gets the creator. + * + * @return the creator + * @throws IOException + * Signals that an I/O exception has occurred. + */ + public GHUser getCreator() throws IOException { + return root().intern(creator); + } + + /** + * Gets the archived at. + * + * @return the archived at + */ + public Date getArchivedAt() { + return GitHubClient.parseDate(archivedAt); + } + + /** + * Gets the html url. + * + * @return the html url + */ + public URL getHtmlUrl() { + throw new IllegalStateException(getClass().getName() + " does not offer a HTML URL."); + } + + /** + * The Enum ContentType. + */ + public enum ContentType { + + /** The issue. */ + ISSUE, + /** The draftissue. */ + DRAFTISSUE, + /** The pullrequest. */ + PULLREQUEST, + /** The unknown. */ + UNKNOWN; + } +} diff --git a/src/main/java/org/kohsuke/github/GHProjectsV2ItemChanges.java b/src/main/java/org/kohsuke/github/GHProjectsV2ItemChanges.java new file mode 100644 index 0000000000..2e96fa4c2d --- /dev/null +++ b/src/main/java/org/kohsuke/github/GHProjectsV2ItemChanges.java @@ -0,0 +1,149 @@ +package org.kohsuke.github; + +import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; +import org.kohsuke.github.internal.EnumUtils; + +import java.util.Date; + +// TODO: Auto-generated Javadoc +/** + * An object to track changes in projects_v2_item payloads. + *

+ * Note that this is best effort only as nothing is documented in the GitHub documentation. + */ +@SuppressFBWarnings(value = { "UWF_UNWRITTEN_FIELD" }, justification = "JSON API") +public class GHProjectsV2ItemChanges { + + private FieldValue fieldValue; + + private FromToDate archivedAt; + + private FromTo previousProjectsV2ItemNodeId; + + /** + * Gets the field value. + * + * @return the field value + */ + public FieldValue getFieldValue() { + return fieldValue; + } + + /** + * Gets the archived at. + * + * @return the archived at + */ + public FromToDate getArchivedAt() { + return archivedAt; + } + + /** + * Gets the previous projects V 2 item node id. + * + * @return the previous projects V 2 item node id + */ + public FromTo getPreviousProjectsV2ItemNodeId() { + return previousProjectsV2ItemNodeId; + } + + /** + * The Class FieldValue. + */ + public static class FieldValue { + + private String fieldNodeId; + private String fieldType; + + /** + * Gets the field node id. + * + * @return the field node id + */ + public String getFieldNodeId() { + return fieldNodeId; + } + + /** + * Gets the field type. + * + * @return the field type + */ + public FieldType getFieldType() { + return EnumUtils.getEnumOrDefault(FieldType.class, fieldType, FieldType.UNKNOWN); + } + } + + /** + * The Class FromTo. + */ + public static class FromTo { + + private String from; + private String to; + + /** + * Gets the from. + * + * @return the from + */ + public String getFrom() { + return from; + } + + /** + * Gets the to. + * + * @return the to + */ + public String getTo() { + return to; + } + } + + /** + * The Class FromToDate. + */ + public static class FromToDate { + + private String from; + private String to; + + /** + * Gets the from. + * + * @return the from + */ + public Date getFrom() { + return GitHubClient.parseDate(from); + } + + /** + * Gets the to. + * + * @return the to + */ + public Date getTo() { + return GitHubClient.parseDate(to); + } + } + + /** + * The Enum FieldType. + */ + public enum FieldType { + + /** The text. */ + TEXT, + /** The number. */ + NUMBER, + /** The date. */ + DATE, + /** The single select. */ + SINGLE_SELECT, + /** The iteration. */ + ITERATION, + /** The unknown. */ + UNKNOWN; + } +} diff --git a/src/main/java/org/kohsuke/github/GHPullRequest.java b/src/main/java/org/kohsuke/github/GHPullRequest.java index c476784c53..44de034cad 100644 --- a/src/main/java/org/kohsuke/github/GHPullRequest.java +++ b/src/main/java/org/kohsuke/github/GHPullRequest.java @@ -40,6 +40,7 @@ import static org.kohsuke.github.internal.Previews.LYDIAN; import static org.kohsuke.github.internal.Previews.SHADOW_CAT; +// TODO: Auto-generated Javadoc /** * A pull request. * @@ -61,6 +62,8 @@ public class GHPullRequest extends GHIssue implements Refreshable { private GHUser merged_by; private int review_comments, additions, commits; private boolean merged, maintainer_can_modify; + + /** The draft. */ // making these package private to all for testing boolean draft; private Boolean mergeable; @@ -75,11 +78,23 @@ public class GHPullRequest extends GHIssue implements Refreshable { private GHUser[] requested_reviewers; private GHTeam[] requested_teams; + /** + * Wrap up. + * + * @param owner + * the owner + * @return the GH pull request + */ GHPullRequest wrapUp(GHRepository owner) { this.wrap(owner); return this; } + /** + * Gets the api route. + * + * @return the api route + */ @Override protected String getApiRoute() { if (owner == null) { @@ -165,11 +180,21 @@ public Date getMergedAt() { return GitHubClient.parseDate(merged_at); } + /** + * Gets the closed by. + * + * @return the closed by + */ @Override public GHUser getClosedBy() { return null; } + /** + * Gets the pull request. + * + * @return the pull request + */ @Override public PullRequest getPullRequest() { return null; @@ -217,9 +242,9 @@ public int getAdditions() throws IOException { } /** - * Gets commits. + * Gets the number of commits. * - * @return the commits + * @return the number of commits * @throws IOException * the io exception */ @@ -265,7 +290,7 @@ public boolean isDraft() throws IOException { } /** - * Is this PR mergeable? + * Is this PR mergeable?. * * @return null if the state has not been determined yet, for example when a PR is newly created. If this method is * called on an instance whose mergeable state is not yet known, API call is made to retrieve the latest @@ -278,7 +303,13 @@ public Boolean getMergeable() throws IOException { return mergeable; } - /** for test purposes only */ + /** + * for test purposes only. + * + * @return the mergeable no refresh + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Deprecated Boolean getMergeableNoRefresh() throws IOException { return mergeable; @@ -368,7 +399,12 @@ private void populate() throws IOException { refresh(); } - /** Repopulates this object. */ + /** + * Repopulates this object. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ public void refresh() throws IOException { if (isOffline()) { return; // cannot populate, will have to live with what we have @@ -549,13 +585,13 @@ public void requestTeamReviewers(List teams) throws IOException { } /** - * Set the base branch on the pull request + * Set the base branch on the pull request. * * @param newBaseBranch * the name of the new base branch + * @return the updated pull request * @throws IOException * the io exception - * @return the updated pull request */ public GHPullRequest setBaseBranch(String newBaseBranch) throws IOException { return root().createRequest() @@ -640,7 +676,13 @@ public void merge(String msg, String sha, MergeMethod method) throws IOException /** The enum MergeMethod. */ public enum MergeMethod { - MERGE, SQUASH, REBASE + + /** The merge. */ + MERGE, + /** The squash. */ + SQUASH, + /** The rebase. */ + REBASE } /** diff --git a/src/main/java/org/kohsuke/github/GHPullRequestChanges.java b/src/main/java/org/kohsuke/github/GHPullRequestChanges.java index 616d749d13..24dde41a0f 100644 --- a/src/main/java/org/kohsuke/github/GHPullRequestChanges.java +++ b/src/main/java/org/kohsuke/github/GHPullRequestChanges.java @@ -2,8 +2,9 @@ import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; +// TODO: Auto-generated Javadoc /** - * Wrapper to define changed fields on pull_request action="edited" + * Wrapper to define changed fields on pull_request action="edited". * * @see GHEventPayload.PullRequest */ @@ -42,6 +43,8 @@ public GHFrom getBody() { } /** + * The Class GHCommitPointer. + * * @see org.kohsuke.github.GHCommitPointer */ public static class GHCommitPointer { diff --git a/src/main/java/org/kohsuke/github/GHPullRequestCommitDetail.java b/src/main/java/org/kohsuke/github/GHPullRequestCommitDetail.java index 5649126ca8..c3faccbfad 100644 --- a/src/main/java/org/kohsuke/github/GHPullRequestCommitDetail.java +++ b/src/main/java/org/kohsuke/github/GHPullRequestCommitDetail.java @@ -28,6 +28,7 @@ import java.net.URL; +// TODO: Auto-generated Javadoc /** * Commit detail inside a {@link GHPullRequest}. * @@ -41,6 +42,12 @@ public class GHPullRequestCommitDetail { private GHPullRequest owner; + /** + * Wrap up. + * + * @param owner + * the owner + */ void wrapUp(GHPullRequest owner) { this.owner = owner; } @@ -57,7 +64,11 @@ public static class Authorship extends GitUser { * The type Tree. */ public static class Tree { + + /** The sha. */ String sha; + + /** The url. */ String url; /** @@ -83,11 +94,23 @@ public URL getUrl() { * The type Commit. */ public static class Commit { + + /** The author. */ Authorship author; + + /** The committer. */ Authorship committer; + + /** The message. */ String message; + + /** The tree. */ Tree tree; + + /** The url. */ String url; + + /** The comment count. */ int comment_count; /** @@ -151,8 +174,14 @@ public Tree getTree() { * The type CommitPointer. */ public static class CommitPointer { + + /** The sha. */ String sha; + + /** The url. */ String url; + + /** The html url. */ String html_url; /** @@ -183,11 +212,22 @@ public String getSha() { } } + /** The sha. */ String sha; + + /** The commit. */ Commit commit; + + /** The url. */ String url; + + /** The html url. */ String html_url; + + /** The comments url. */ String comments_url; + + /** The parents. */ CommitPointer[] parents; /** diff --git a/src/main/java/org/kohsuke/github/GHPullRequestFileDetail.java b/src/main/java/org/kohsuke/github/GHPullRequestFileDetail.java index 358ea8c38c..ba6e89d323 100644 --- a/src/main/java/org/kohsuke/github/GHPullRequestFileDetail.java +++ b/src/main/java/org/kohsuke/github/GHPullRequestFileDetail.java @@ -25,6 +25,7 @@ import java.net.URL; +// TODO: Auto-generated Javadoc /** * File detail inside a {@link GHPullRequest}. * @@ -34,25 +35,45 @@ */ public class GHPullRequestFileDetail { + /** The sha. */ String sha; + + /** The filename. */ String filename; + + /** The status. */ String status; + + /** The additions. */ int additions; + + /** The deletions. */ int deletions; + + /** The changes. */ int changes; + + /** The blob url. */ String blob_url; + + /** The raw url. */ String raw_url; + + /** The contents url. */ String contents_url; + + /** The patch. */ String patch; + + /** The previous filename. */ String previous_filename; /** * Gets sha of the file (not commit sha). * + * @return the sha * @see List pull requests * files - * - * @return the sha */ public String getSha() { return sha; @@ -68,7 +89,7 @@ public String getFilename() { } /** - * Gets status (added/modified/deleted) + * Gets status (added/modified/deleted). * * @return the status */ diff --git a/src/main/java/org/kohsuke/github/GHPullRequestQueryBuilder.java b/src/main/java/org/kohsuke/github/GHPullRequestQueryBuilder.java index 8136b1dadf..eb93f200b0 100644 --- a/src/main/java/org/kohsuke/github/GHPullRequestQueryBuilder.java +++ b/src/main/java/org/kohsuke/github/GHPullRequestQueryBuilder.java @@ -2,6 +2,7 @@ import static org.kohsuke.github.internal.Previews.SHADOW_CAT; +// TODO: Auto-generated Javadoc /** * Lists up pull requests with some filtering and sorting. * @@ -11,6 +12,12 @@ public class GHPullRequestQueryBuilder extends GHQueryBuilder { private final GHRepository repo; + /** + * Instantiates a new GH pull request query builder. + * + * @param repo + * the repo + */ GHPullRequestQueryBuilder(GHRepository repo) { super(repo.root()); this.repo = repo; @@ -71,7 +78,15 @@ public GHPullRequestQueryBuilder sort(Sort sort) { * The enum Sort. */ public enum Sort { - CREATED, UPDATED, POPULARITY, LONG_RUNNING + + /** The created. */ + CREATED, + /** The updated. */ + UPDATED, + /** The popularity. */ + POPULARITY, + /** The long running. */ + LONG_RUNNING } /** @@ -86,6 +101,11 @@ public GHPullRequestQueryBuilder direction(GHDirection d) { return this; } + /** + * List. + * + * @return the paged iterable + */ @Override public PagedIterable list() { return req.withPreview(SHADOW_CAT) diff --git a/src/main/java/org/kohsuke/github/GHPullRequestReview.java b/src/main/java/org/kohsuke/github/GHPullRequestReview.java index 17089e0376..a72f462f1e 100644 --- a/src/main/java/org/kohsuke/github/GHPullRequestReview.java +++ b/src/main/java/org/kohsuke/github/GHPullRequestReview.java @@ -31,6 +31,7 @@ import javax.annotation.CheckForNull; +// TODO: Auto-generated Javadoc /** * Review to a pull request. * @@ -39,6 +40,8 @@ */ @SuppressFBWarnings(value = { "UWF_UNWRITTEN_FIELD" }, justification = "JSON API") public class GHPullRequestReview extends GHObject { + + /** The owner. */ GHPullRequest owner; private String body; @@ -48,6 +51,13 @@ public class GHPullRequestReview extends GHObject { private String submitted_at; private String html_url; + /** + * Wrap up. + * + * @param owner + * the owner + * @return the GH pull request review + */ GHPullRequestReview wrapUp(GHPullRequest owner) { this.owner = owner; return this; @@ -105,6 +115,11 @@ public GHPullRequestReviewState getState() { return state; } + /** + * Gets the html url. + * + * @return the html url + */ @Override public URL getHtmlUrl() { return GitHubClient.parseURL(html_url); @@ -120,7 +135,7 @@ protected String getApiRoute() { } /** - * When was this resource created? + * When was this resource created?. * * @return the submitted at * @throws IOException @@ -132,6 +147,10 @@ public Date getSubmittedAt() throws IOException { /** * Since this method does not exist, we forward this value. + * + * @return the created at + * @throws IOException + * Signals that an I/O exception has occurred. */ @Override public Date getCreatedAt() throws IOException { diff --git a/src/main/java/org/kohsuke/github/GHPullRequestReviewBuilder.java b/src/main/java/org/kohsuke/github/GHPullRequestReviewBuilder.java index 91a07a4490..fefcf0b4ca 100644 --- a/src/main/java/org/kohsuke/github/GHPullRequestReviewBuilder.java +++ b/src/main/java/org/kohsuke/github/GHPullRequestReviewBuilder.java @@ -4,6 +4,7 @@ import java.util.ArrayList; import java.util.List; +// TODO: Auto-generated Javadoc /** * Builds up a creation of new {@link GHPullRequestReview}. * @@ -15,6 +16,12 @@ public class GHPullRequestReviewBuilder { private final Requester builder; private final List comments = new ArrayList(); + /** + * Instantiates a new GH pull request review builder. + * + * @param pr + * the pr + */ GHPullRequestReviewBuilder(GHPullRequest pr) { this.pr = pr; this.builder = pr.root().createRequest(); diff --git a/src/main/java/org/kohsuke/github/GHPullRequestReviewComment.java b/src/main/java/org/kohsuke/github/GHPullRequestReviewComment.java index fa8653061f..674adb6516 100644 --- a/src/main/java/org/kohsuke/github/GHPullRequestReviewComment.java +++ b/src/main/java/org/kohsuke/github/GHPullRequestReviewComment.java @@ -24,6 +24,7 @@ package org.kohsuke.github; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; +import org.kohsuke.github.internal.EnumUtils; import java.io.IOException; import java.net.URL; @@ -32,8 +33,9 @@ import static org.kohsuke.github.internal.Previews.SQUIRREL_GIRL; +// TODO: Auto-generated Javadoc /** - * Review comment to the pull request + * Review comment to the pull request. * * @author Julien Henry * @see GHPullRequest#listReviewComments() GHPullRequest#listReviewComments() @@ -41,15 +43,32 @@ * String, int) */ public class GHPullRequestReviewComment extends GHObject implements Reactable { + + /** The owner. */ GHPullRequest owner; + private Long pull_request_review_id = -1L; private String body; private GHUser user; private String path; private String html_url; + private String pull_request_url; private int position = -1; private int original_position = -1; private long in_reply_to_id = -1L; + private Integer start_line = -1; + private Integer original_start_line = -1; + private String start_side; + private int line = -1; + private int original_line = -1; + private String side; + private String diff_hunk; + private String commit_id; + private String original_commit_id; + private String body_html; + private String body_text; + private GHPullRequestReviewCommentReactions reactions; + private GHCommentAuthorAssociation author_association; /** * Draft gh pull request review comment. @@ -72,6 +91,13 @@ public static GHPullRequestReviewComment draft(String body, String path, int pos return result; } + /** + * Wrap up. + * + * @param owner + * the owner + * @return the GH pull request review comment + */ GHPullRequestReviewComment wrapUp(GHPullRequest owner) { this.owner = owner; return this; @@ -135,6 +161,42 @@ public int getOriginalPosition() { return original_position; } + /** + * Gets diff hunk. + * + * @return the diff hunk + */ + public String getDiffHunk() { + return diff_hunk; + } + + /** + * Gets commit id. + * + * @return the commit id + */ + public String getCommitId() { + return commit_id; + } + + /** + * Gets commit id. + * + * @return the commit id + */ + public String getOriginalCommitId() { + return original_commit_id; + } + + /** + * Gets the author association to the project. + * + * @return the author association to the project + */ + public GHCommentAuthorAssociation getAuthorAssociation() { + return author_association; + } + /** * Gets in reply to id. * @@ -145,6 +207,11 @@ public long getInReplyToId() { return in_reply_to_id; } + /** + * Gets the html url. + * + * @return the html url + */ @Override public URL getHtmlUrl() { return GitHubClient.parseURL(html_url); @@ -172,6 +239,130 @@ protected String getApiRoute(boolean includePullNumber) { + (includePullNumber ? "/" + owner.getNumber() : "") + "/comments/" + getId(); } + /** + * Gets The first line of the range for a multi-line comment. + * + * @return the start line + */ + public int getStartLine() { + return start_line != null ? start_line : -1; + } + + /** + * Gets The first line of the range for a multi-line comment. + * + * @return the original start line + */ + public int getOriginalStartLine() { + return original_start_line != null ? original_start_line : -1; + } + + /** + * Gets The side of the first line of the range for a multi-line comment. + * + * @return {@link Side} the side of the first line + */ + public Side getStartSide() { + return Side.from(start_side); + } + + /** + * Gets The line of the blob to which the comment applies. The last line of the range for a multi-line comment. + * + * @return the line to which the comment applies + */ + public int getLine() { + return line; + } + + /** + * Gets The line of the blob to which the comment applies. The last line of the range for a multi-line comment. + * + * @return the line to which the comment applies + */ + public int getOriginalLine() { + return original_line; + } + + /** + * Gets The side of the diff to which the comment applies. The side of the last line of the range for a multi-line + * comment + * + * @return {@link Side} the side if the diff to which the comment applies + */ + public Side getSide() { + return Side.from(side); + } + + /** + * Gets The ID of the pull request review to which the comment belongs. + * + * @return {@link Long} the ID of the pull request review + */ + public Long getPullRequestReviewId() { + return pull_request_review_id != null ? pull_request_review_id : -1; + } + + /** + * Gets URL for the pull request that the review comment belongs to. + * + * @return {@link URL} the URL of the pull request + */ + public URL getPullRequestUrl() { + return GitHubClient.parseURL(pull_request_url); + } + + /** + * Gets The body in html format. + * + * @return {@link String} the body in html format + */ + public String getBodyHtml() { + return body_html; + } + + /** + * Gets The body text. + * + * @return {@link String} the body text + */ + public String getBodyText() { + return body_text; + } + + /** + * Gets the Reaction Rollup + * + * @return {@link GHPullRequestReviewCommentReactions} the reaction rollup + */ + public GHPullRequestReviewCommentReactions getReactions() { + return reactions; + } + + /** + * The side of the diff to which the comment applies + */ + public static enum Side { + /** Right side */ + RIGHT, + /** Left side */ + LEFT, + /** Unknown side */ + UNKNOWN; + + /** + * From. + * + * @param value + * the value + * @return the status + */ + public static Side from(String value) { + return EnumUtils.getEnumOrDefault(Side.class, value, Side.UNKNOWN); + } + + } + /** * Updates the comment. * @@ -214,6 +405,15 @@ public GHPullRequestReviewComment reply(String body) throws IOException { .wrapUp(owner); } + /** + * Creates the reaction. + * + * @param content + * the content + * @return the GH reaction + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Preview(SQUIRREL_GIRL) public GHReaction createReaction(ReactionContent content) throws IOException { return owner.root() @@ -225,6 +425,27 @@ public GHReaction createReaction(ReactionContent content) throws IOException { .fetch(GHReaction.class); } + /** + * Delete reaction. + * + * @param reaction + * the reaction + * @throws IOException + * Signals that an I/O exception has occurred. + */ + public void deleteReaction(GHReaction reaction) throws IOException { + owner.root() + .createRequest() + .method("DELETE") + .withUrlPath(getApiRoute(), "reactions", String.valueOf(reaction.getId())) + .send(); + } + + /** + * List reactions. + * + * @return the paged iterable + */ @Preview(SQUIRREL_GIRL) public PagedIterable listReactions() { return owner.root() diff --git a/src/main/java/org/kohsuke/github/GHPullRequestReviewCommentReactions.java b/src/main/java/org/kohsuke/github/GHPullRequestReviewCommentReactions.java new file mode 100644 index 0000000000..bd90cec869 --- /dev/null +++ b/src/main/java/org/kohsuke/github/GHPullRequestReviewCommentReactions.java @@ -0,0 +1,120 @@ +package org.kohsuke.github; + +import com.fasterxml.jackson.annotation.JsonProperty; + +import java.net.URL; + +/** + * Reactions for a Pull Request Review comment. + * + * @author Vasilis Gakias + * @see API + * documentation in the response schema + * @see GHPullRequestReviewComment + */ +public class GHPullRequestReviewCommentReactions { + + private String url; + + private int total_count = -1; + @JsonProperty("+1") + private int plus_one = -1; + @JsonProperty("-1") + private int minus_one = -1; + private int laugh = -1; + private int confused = -1; + private int heart = -1; + private int hooray = -1; + private int eyes = -1; + private int rocket = -1; + + /** + * Gets the URL of the comment's reactions + * + * @return the URL of the comment's reactions + */ + public URL getUrl() { + return GitHubClient.parseURL(url); + } + + /** + * Gets the total count of reactions + * + * @return the number of total reactions + */ + public int getTotalCount() { + return total_count; + } + + /** + * Gets the number of +1 reactions + * + * @return the number of +1 reactions + */ + public int getPlusOne() { + return plus_one; + } + + /** + * Gets the number of -1 reactions + * + * @return the number of -1 reactions + */ + public int getMinusOne() { + return minus_one; + } + + /** + * Gets the number of laugh reactions + * + * @return the number of laugh reactions + */ + public int getLaugh() { + return laugh; + } + + /** + * Gets the number of confused reactions + * + * @return the number of confused reactions + */ + public int getConfused() { + return confused; + } + + /** + * Gets the number of heart reactions + * + * @return the number of heart reactions + */ + public int getHeart() { + return heart; + } + + /** + * Gets the number of hooray reactions + * + * @return the number of hooray reactions + */ + public int getHooray() { + return hooray; + } + + /** + * Gets the number of eyes reactions + * + * @return the number of eyes reactions + */ + public int getEyes() { + return eyes; + } + + /** + * Gets the number of rocket reactions + * + * @return the number of rocket reactions + */ + public int getRocket() { + return rocket; + } +} diff --git a/src/main/java/org/kohsuke/github/GHPullRequestReviewEvent.java b/src/main/java/org/kohsuke/github/GHPullRequestReviewEvent.java index 0d4e681c38..025de45cad 100644 --- a/src/main/java/org/kohsuke/github/GHPullRequestReviewEvent.java +++ b/src/main/java/org/kohsuke/github/GHPullRequestReviewEvent.java @@ -23,18 +23,34 @@ */ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * Action to perform on {@link GHPullRequestReview}. */ public enum GHPullRequestReviewEvent { - PENDING, APPROVE, REQUEST_CHANGES, COMMENT; + /** The pending. */ + PENDING, + /** The approve. */ + APPROVE, + /** The request changes. */ + REQUEST_CHANGES, + /** The comment. */ + COMMENT; + + /** + * Action. + * + * @return the string + */ String action() { return this == PENDING ? null : name(); } /** * When a {@link GHPullRequestReview} is submitted with this event, it should transition to this state. + * + * @return the GH pull request review state */ GHPullRequestReviewState toState() { switch (this) { diff --git a/src/main/java/org/kohsuke/github/GHPullRequestReviewState.java b/src/main/java/org/kohsuke/github/GHPullRequestReviewState.java index 3055cff233..27026f4783 100644 --- a/src/main/java/org/kohsuke/github/GHPullRequestReviewState.java +++ b/src/main/java/org/kohsuke/github/GHPullRequestReviewState.java @@ -1,18 +1,32 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** - * Current state of {@link GHPullRequestReview} + * Current state of {@link GHPullRequestReview}. */ public enum GHPullRequestReviewState { + + /** The pending. */ PENDING, + + /** The approved. */ APPROVED, + + /** The changes requested. */ CHANGES_REQUESTED, + /** + * The request changes. + * * @deprecated This was the thing when this API was in preview, but it changed when it became public. Use * {@link #CHANGES_REQUESTED}. Left here for compatibility. */ REQUEST_CHANGES, + + /** The commented. */ COMMENTED, + + /** The dismissed. */ DISMISSED; /** @@ -26,6 +40,11 @@ public String action() { return e == null ? null : e.action(); } + /** + * To event. + * + * @return the GH pull request review event + */ GHPullRequestReviewEvent toEvent() { switch (this) { case PENDING : diff --git a/src/main/java/org/kohsuke/github/GHQueryBuilder.java b/src/main/java/org/kohsuke/github/GHQueryBuilder.java index c111a8234e..90a9720ffd 100644 --- a/src/main/java/org/kohsuke/github/GHQueryBuilder.java +++ b/src/main/java/org/kohsuke/github/GHQueryBuilder.java @@ -1,15 +1,24 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * Used to specify filters, sort order, etc for listing items in a collection. * + * @author Kohsuke Kawaguchi * @param * the type parameter - * @author Kohsuke Kawaguchi */ public abstract class GHQueryBuilder extends GitHubInteractiveObject { + + /** The req. */ protected final Requester req; + /** + * Instantiates a new GH query builder. + * + * @param root + * the root + */ GHQueryBuilder(GitHub root) { super(root); this.req = root.createRequest(); diff --git a/src/main/java/org/kohsuke/github/GHRateLimit.java b/src/main/java/org/kohsuke/github/GHRateLimit.java index 96becb06b2..84c9345e77 100644 --- a/src/main/java/org/kohsuke/github/GHRateLimit.java +++ b/src/main/java/org/kohsuke/github/GHRateLimit.java @@ -21,6 +21,7 @@ import static java.util.logging.Level.FINEST; +// TODO: Auto-generated Javadoc /** * Rate limit. * @@ -122,6 +123,18 @@ static GHRateLimit fromRecord(@Nonnull Record record, @Nonnull RateLimitTarget r } } + /** + * Instantiates a new GH rate limit. + * + * @param core + * the core + * @param search + * the search + * @param graphql + * the graphql + * @param integrationManifest + * the integration manifest + */ @JsonCreator GHRateLimit(@Nonnull @JsonProperty("core") Record core, @Nonnull @JsonProperty("search") Record search, @@ -240,12 +253,24 @@ public Record getIntegrationManifest() { return integrationManifest; } + /** + * To string. + * + * @return the string + */ @Override public String toString() { return "GHRateLimit {" + "core " + getCore().toString() + ", search " + getSearch().toString() + ", graphql " + getGraphQL().toString() + ", integrationManifest " + getIntegrationManifest().toString() + "}"; } + /** + * Equals. + * + * @param o + * the o + * @return true, if successful + */ @Override public boolean equals(Object o) { if (this == o) { @@ -260,6 +285,11 @@ && getGraphQL().equals(rateLimit.getGraphQL()) && getIntegrationManifest().equals(rateLimit.getIntegrationManifest()); } + /** + * Hash code. + * + * @return the int + */ @Override public int hashCode() { return Objects.hash(getCore(), getSearch(), getGraphQL(), getIntegrationManifest()); @@ -317,7 +347,7 @@ Record getRecord(@Nonnull RateLimitTarget rateLimitTarget) { } /** - * A limit record used as a placeholder when the the actual limit is not known. + * A limit record used as a placeholder when the actual limit is not known. * * @since 1.100 */ @@ -339,7 +369,10 @@ public static class UnknownLimitRecord extends Record { */ static long unknownLimitResetSeconds = defaultUnknownLimitResetSeconds; + /** The Constant unknownLimit. */ static final int unknownLimit = 1000000; + + /** The Constant unknownRemaining. */ static final int unknownRemaining = 999999; // The default UnknownLimitRecord is an expired record. @@ -358,6 +391,11 @@ private UnknownLimitRecord(long resetEpochSeconds) { super(unknownLimit, unknownRemaining, resetEpochSeconds); } + /** + * Current. + * + * @return the record + */ static Record current() { Record result = current.get(); if (result.isExpired()) { @@ -379,8 +417,8 @@ static void reset() { /** * A rate limit record. * - * @since 1.100 * @author Liam Newman + * @since 1.100 */ public static class Record { /** @@ -490,7 +528,7 @@ && getRemaining() <= other.getRemaining())) { } else if (!(other instanceof UnknownLimitRecord)) { // If the above is not the case that means other has a later reset // or the same resent and fewer requests remaining. - // If the other record is not an unknown record, the the other is more recent + // If the other record is not an unknown record, the other is more recent return other; } else if (this.isExpired() && !other.isExpired()) { // The other is an unknown record. @@ -606,12 +644,24 @@ public Date getResetDate() { return new Date(resetDate.getTime()); } + /** + * To string. + * + * @return the string + */ @Override public String toString() { return "{" + "remaining=" + getRemaining() + ", limit=" + getLimit() + ", resetDate=" + getResetDate() + '}'; } + /** + * Equals. + * + * @param o + * the o + * @return true, if successful + */ @Override public boolean equals(Object o) { if (this == o) { @@ -626,6 +676,11 @@ && getResetEpochSeconds() == record.getResetEpochSeconds() && getResetDate().equals(record.getResetDate()); } + /** + * Hash code. + * + * @return the int + */ @Override public int hashCode() { return Objects.hash(getRemaining(), getLimit(), getResetEpochSeconds(), getResetDate()); diff --git a/src/main/java/org/kohsuke/github/GHReaction.java b/src/main/java/org/kohsuke/github/GHReaction.java index 7d747a5ad0..11cdfc7817 100644 --- a/src/main/java/org/kohsuke/github/GHReaction.java +++ b/src/main/java/org/kohsuke/github/GHReaction.java @@ -7,6 +7,7 @@ import static org.kohsuke.github.internal.Previews.SQUIRREL_GIRL; +// TODO: Auto-generated Javadoc /** * Reaction to issue, comment, PR, and so on. * @@ -40,6 +41,8 @@ public GHUser getUser() { /** * Reaction has no HTML URL. Don't call this method. + * + * @return the html url */ @Deprecated public URL getHtmlUrl() { @@ -51,8 +54,13 @@ public URL getHtmlUrl() { * * @throws IOException * the io exception + * @see Legacy Delete + * reactions REST API removed + * @deprecated this API is no longer supported by GitHub, keeping it as is for old versions of GitHub Enterprise */ + @Deprecated public void delete() throws IOException { - root().createRequest().method("DELETE").withPreview(SQUIRREL_GIRL).withUrlPath("/reactions/" + getId()).send(); + throw new UnsupportedOperationException( + "This method is not supported anymore. Please use Reactable#deleteReaction(GHReaction)."); } } diff --git a/src/main/java/org/kohsuke/github/GHRef.java b/src/main/java/org/kohsuke/github/GHRef.java index e12944c8e0..429dcfbf0a 100644 --- a/src/main/java/org/kohsuke/github/GHRef.java +++ b/src/main/java/org/kohsuke/github/GHRef.java @@ -6,6 +6,7 @@ import java.io.IOException; import java.net.URL; +// TODO: Auto-generated Javadoc /** * Provides information on a Git ref from GitHub. * @@ -16,7 +17,7 @@ public class GHRef extends GitHubInteractiveObject { private GHObject object; /** - * Name of the ref, such as "refs/tags/abc" + * Name of the ref, such as "refs/tags/abc". * * @return the ref */ @@ -84,7 +85,7 @@ public void delete() throws IOException { } /** - * Retrive a ref of the given type for the current GitHub repository. + * Retrieve a ref of the given type for the current GitHub repository. * * @param repository * the repository to read from @@ -163,7 +164,7 @@ public static class GHObject { private String type, sha, url; /** - * Type of the object, such as "commit" + * Type of the object, such as "commit". * * @return the type */ diff --git a/src/main/java/org/kohsuke/github/GHRelease.java b/src/main/java/org/kohsuke/github/GHRelease.java index cbdda11e72..12971518ae 100644 --- a/src/main/java/org/kohsuke/github/GHRelease.java +++ b/src/main/java/org/kohsuke/github/GHRelease.java @@ -14,6 +14,7 @@ import static java.lang.String.*; +// TODO: Auto-generated Javadoc /** * Release in a github repository. * @@ -22,6 +23,8 @@ * @see GHRepository#createRelease(String) GHRepository#createRelease(String) */ public class GHRelease extends GHObject { + + /** The owner. */ GHRepository owner; private String html_url; @@ -90,6 +93,11 @@ public GHRelease setDraft(boolean draft) throws IOException { return update().draft(draft).update(); } + /** + * Gets the html url. + * + * @return the html url + */ public URL getHtmlUrl() { return GitHubClient.parseURL(html_url); } @@ -198,11 +206,27 @@ public String getTarballUrl() { return tarball_url; } + /** + * Wrap. + * + * @param owner + * the owner + * @return the GH release + */ GHRelease wrap(GHRepository owner) { this.owner = owner; return this; } + /** + * Wrap. + * + * @param releases + * the releases + * @param owner + * the owner + * @return the GH release[] + */ static GHRelease[] wrap(GHRelease[] releases, GHRepository owner) { for (GHRelease release : releases) { release.wrap(owner); diff --git a/src/main/java/org/kohsuke/github/GHReleaseBuilder.java b/src/main/java/org/kohsuke/github/GHReleaseBuilder.java index 2dff2174a4..1490849ccb 100644 --- a/src/main/java/org/kohsuke/github/GHReleaseBuilder.java +++ b/src/main/java/org/kohsuke/github/GHReleaseBuilder.java @@ -3,9 +3,11 @@ import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import java.io.IOException; +import java.util.Locale; +// TODO: Auto-generated Javadoc /** - * Builder pattern for creating a {@link GHRelease} + * Builder pattern for creating a {@link GHRelease}. * * @see GHRepository#createRelease(String) GHRepository#createRelease(String) */ @@ -78,7 +80,7 @@ public GHReleaseBuilder name(String name) { } /** - * Optional + * Optional. * * @param prerelease * {@code true} to identify the release as a prerelease. {@code false} to identify the release as a full @@ -91,7 +93,7 @@ public GHReleaseBuilder prerelease(boolean prerelease) { } /** - * Optional + * Optional. * * @param categoryName * the category of the discussion to be created for the release. Category should already exist @@ -102,6 +104,41 @@ public GHReleaseBuilder categoryName(String categoryName) { return this; } + /** + * Values for whether this release should be the latest. + */ + public static enum MakeLatest { + + /** Make this the latest release */ + TRUE, + /** Do not make this the latest release */ + FALSE, + /** Latest release is determined by date and higher semantic version */ + LEGACY; + + /** + * To string. + * + * @return the string + */ + @Override + public String toString() { + return name().toLowerCase(Locale.ROOT); + } + } + + /** + * Optional. + * + * @param latest + * Whether to make this the latest release. Default is {@code TRUE} + * @return the gh release builder + */ + public GHReleaseBuilder makeLatest(MakeLatest latest) { + builder.with("make_latest", latest); + return this; + } + /** * Create gh release. * diff --git a/src/main/java/org/kohsuke/github/GHReleaseUpdater.java b/src/main/java/org/kohsuke/github/GHReleaseUpdater.java index 677024164d..83113412d8 100644 --- a/src/main/java/org/kohsuke/github/GHReleaseUpdater.java +++ b/src/main/java/org/kohsuke/github/GHReleaseUpdater.java @@ -2,6 +2,7 @@ import java.io.IOException; +// TODO: Auto-generated Javadoc /** * Modifies {@link GHRelease}. * @@ -12,6 +13,12 @@ public class GHReleaseUpdater { private final GHRelease base; private final Requester builder; + /** + * Instantiates a new GH release updater. + * + * @param base + * the base + */ GHReleaseUpdater(GHRelease base) { this.base = base; this.builder = base.root().createRequest(); @@ -79,7 +86,7 @@ public GHReleaseUpdater name(String name) { } /** - * Optional + * Optional. * * @param prerelease * {@code true} to identify the release as a prerelease. {@code false} to identify the release as a full @@ -92,7 +99,7 @@ public GHReleaseUpdater prerelease(boolean prerelease) { } /** - * Optional + * Optional. * * @param categoryName * the category of the discussion to be created for the release. Category should already exist @@ -103,6 +110,18 @@ public GHReleaseUpdater categoryName(String categoryName) { return this; } + /** + * Optional. + * + * @param latest + * Whether to make this the latest release. Default is {@code TRUE} + * @return the gh release builder + */ + public GHReleaseUpdater makeLatest(GHReleaseBuilder.MakeLatest latest) { + builder.with("make_latest", latest); + return this; + } + /** * Update gh release. * diff --git a/src/main/java/org/kohsuke/github/GHRepoHook.java b/src/main/java/org/kohsuke/github/GHRepoHook.java index 2112cceb79..e654f591c9 100644 --- a/src/main/java/org/kohsuke/github/GHRepoHook.java +++ b/src/main/java/org/kohsuke/github/GHRepoHook.java @@ -1,21 +1,42 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc +/** + * The Class GHRepoHook. + */ class GHRepoHook extends GHHook { /** * Repository that the hook belongs to. */ transient GHRepository repository; + /** + * Wrap. + * + * @param owner + * the owner + * @return the GH repo hook + */ GHRepoHook wrap(GHRepository owner) { this.repository = owner; return this; } + /** + * Root. + * + * @return the git hub + */ @Override GitHub root() { return repository.root(); } + /** + * Gets the api route. + * + * @return the api route + */ @Override String getApiRoute() { return String.format("/repos/%s/%s/hooks/%d", repository.getOwnerName(), repository.getName(), getId()); diff --git a/src/main/java/org/kohsuke/github/GHRepository.java b/src/main/java/org/kohsuke/github/GHRepository.java index ca06de69ed..a20aac28eb 100644 --- a/src/main/java/org/kohsuke/github/GHRepository.java +++ b/src/main/java/org/kohsuke/github/GHRepository.java @@ -24,7 +24,6 @@ package org.kohsuke.github; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.JsonParseException; import com.infradna.tool.bridge_method_injector.WithBridgeMethods; import edu.umd.cs.findbugs.annotations.CheckForNull; import edu.umd.cs.findbugs.annotations.NonNull; @@ -70,6 +69,7 @@ import static org.kohsuke.github.internal.Previews.NEBULA; import static org.kohsuke.github.internal.Previews.SHADOW_CAT; +// TODO: Auto-generated Javadoc /** * A repository on GitHub. * @@ -95,7 +95,7 @@ public class GHRepository extends GHObject { private GHUser owner; // not fully populated. beware. - private boolean has_issues, has_wiki, fork, has_downloads, has_pages, archived, has_projects; + private boolean has_issues, has_wiki, fork, has_downloads, has_pages, archived, disabled, has_projects; private boolean allow_squash_merge; @@ -103,6 +103,8 @@ public class GHRepository extends GHObject { private boolean allow_rebase_merge; + private boolean allow_forking; + private boolean delete_branch_on_merge; @JsonProperty("private") @@ -114,11 +116,11 @@ public class GHRepository extends GHObject { private String pushed_at; - private Map milestones = new WeakHashMap(); + private Map milestones = Collections.synchronizedMap(new WeakHashMap<>()); private String default_branch, language; - private Map commits = new WeakHashMap(); + private Map commits = Collections.synchronizedMap(new WeakHashMap<>()); @SkipFromToString private GHRepoPermission permissions; @@ -128,6 +130,19 @@ public class GHRepository extends GHObject { private Boolean isTemplate; private boolean compareUsePaginatedCommits; + /** + * Read. + * + * @param root + * the root + * @param owner + * the owner + * @param name + * the name + * @return the GH repository + * @throws IOException + * Signals that an I/O exception has occurred. + */ static GHRepository read(GitHub root, String owner, String name) throws IOException { return root.createRequest().withUrlPath("/repos/" + owner + '/' + name).fetch(GHRepository.class); } @@ -224,7 +239,7 @@ private static class GHRepoPermission { } /** - * Gets node id + * Gets node id. * * @return the node id */ @@ -307,6 +322,11 @@ public String getSshUrl() { return ssh_url; } + /** + * Gets the html url. + * + * @return the html url + */ public URL getHtmlUrl() { return GitHubClient.parseURL(html_url); } @@ -661,6 +681,15 @@ public boolean isArchived() { return archived; } + /** + * Is disabled boolean. + * + * @return the boolean + */ + public boolean isDisabled() { + return disabled; + } + /** * Is allow squash merge boolean. * @@ -689,7 +718,16 @@ public boolean isAllowRebaseMerge() { } /** - * Automatically deleting head branches when pull requests are merged + * Is allow private forks + * + * @return the boolean + */ + public boolean isAllowForking() { + return allow_forking; + } + + /** + * Automatically deleting head branches when pull requests are merged. * * @return the boolean */ @@ -741,8 +779,14 @@ public boolean isPrivate() { * Visibility of a repository. */ public enum Visibility { + + /** The public. */ PUBLIC, + + /** The internal. */ INTERNAL, + + /** The private. */ PRIVATE, /** @@ -756,10 +800,22 @@ public enum Visibility { */ UNKNOWN; + /** + * From. + * + * @param value + * the value + * @return the visibility + */ public static Visibility from(String value) { return EnumUtils.getNullableEnumOrDefault(Visibility.class, value, Visibility.UNKNOWN); } + /** + * To string. + * + * @return the string + */ @Override public String toString() { return name().toLowerCase(Locale.ROOT); @@ -902,10 +958,16 @@ public int getSize() { } /** - * Affiliation of a repository collaborator + * Affiliation of a repository collaborator. */ public enum CollaboratorAffiliation { - ALL, DIRECT, OUTSIDE + + /** The all. */ + ALL, + /** The direct. */ + DIRECT, + /** The outside. */ + OUTSIDE } /** @@ -1014,6 +1076,21 @@ public Set getCollaboratorNames(CollaboratorAffiliation affiliation) thr return r; } + /** + * Checks if the given user is a collaborator for this repository. + * + * @param user + * a {@link GHUser} + * @return true if the user is a collaborator for this repository + * @throws IOException + * the io exception + */ + public boolean isCollaborator(GHUser user) throws IOException { + return root().createRequest() + .withUrlPath(getApiTailUrl("collaborators/" + user.getLogin())) + .fetchHttpStatusCode() == 204; + } + /** * Obtain permission for a given user in this repository. * @@ -1043,6 +1120,36 @@ public GHPermissionType getPermission(GHUser u) throws IOException { return getPermission(u.getLogin()); } + /** + * Check if a user has at least the given permission in this repository. + * + * @param user + * a {@link GHUser#getLogin} + * @param permission + * the permission to check + * @return true if the user has at least this permission level + * @throws IOException + * the io exception + */ + public boolean hasPermission(String user, GHPermissionType permission) throws IOException { + return getPermission(user).implies(permission); + } + + /** + * Check if a user has at least the given permission in this repository. + * + * @param user + * the user + * @param permission + * the permission to check + * @return true if the user has at least this permission level + * @throws IOException + * the io exception + */ + public boolean hasPermission(GHUser user, GHPermissionType permission) throws IOException { + return hasPermission(user.getLogin(), permission); + } + /** * If this repository belongs to an organization, return a set of teams. * @@ -1061,14 +1168,31 @@ public Set getTeams() throws IOException { /** * Add collaborators. * + * @param permission + * the permission level * @param users * the users + * @throws IOException + * the io exception + * @deprecated #addCollaborators(GHOrganization.RolePermission, GHUser) + */ + @Deprecated + public void addCollaborators(GHOrganization.Permission permission, GHUser... users) throws IOException { + addCollaborators(asList(users), permission); + } + + /** + * Add collaborators. + * * @param permission * the permission level + * @param users + * the users + * * @throws IOException * the io exception */ - public void addCollaborators(GHOrganization.Permission permission, GHUser... users) throws IOException { + public void addCollaborators(GHOrganization.RepositoryRole permission, GHUser... users) throws IOException { addCollaborators(asList(users), permission); } @@ -1105,8 +1229,25 @@ public void addCollaborators(Collection users) throws IOException { * the permission level * @throws IOException * the io exception + * @deprecated #addCollaborators(Collection, GHOrganization.RolePermission) */ + @Deprecated public void addCollaborators(Collection users, GHOrganization.Permission permission) throws IOException { + modifyCollaborators(users, "PUT", GHOrganization.RepositoryRole.from(permission)); + } + + /** + * Add collaborators. + * + * @param users + * the users + * @param permission + * the permission level + * @throws IOException + * the io exception + */ + public void addCollaborators(Collection users, GHOrganization.RepositoryRole permission) + throws IOException { modifyCollaborators(users, "PUT", permission); } @@ -1136,14 +1277,14 @@ public void removeCollaborators(Collection users) throws IOException { private void modifyCollaborators(@NonNull Collection users, @NonNull String method, - @CheckForNull GHOrganization.Permission permission) throws IOException { + @CheckForNull GHOrganization.RepositoryRole permission) throws IOException { Requester requester = root().createRequest().method(method); if (permission != null) { - requester = requester.with("permission", permission).inBody(); + requester = requester.with("permission", permission.toString()).inBody(); } // Make sure that the users collection doesn't have any duplicates - for (GHUser user : new LinkedHashSet(users)) { + for (GHUser user : new LinkedHashSet<>(users)) { requester.withUrlPath(getApiTailUrl("collaborators/" + user.getLogin())).send(); } } @@ -1157,7 +1298,7 @@ private void modifyCollaborators(@NonNull Collection users, * the io exception */ public void setEmailServiceHook(String address) throws IOException { - Map config = new HashMap(); + Map config = new HashMap<>(); config.put("address", address); root().createRequest() .method("POST") @@ -1331,6 +1472,18 @@ public void allowRebaseMerge(boolean value) throws IOException { set().allowRebaseMerge(value); } + /** + * Allow private fork. + * + * @param value + * the value + * @throws IOException + * the io exception + */ + public void allowForking(boolean value) throws IOException { + set().allowForking(value); + } + /** * After pull requests are merged, you can have head branches deleted automatically. * @@ -1402,10 +1555,16 @@ public Setter set() { } /** - * Sort orders for listing forks + * Sort orders for listing forks. */ public enum ForkSort { - NEWEST, OLDEST, STARGAZERS + + /** The newest. */ + NEWEST, + /** The oldest. */ + OLDEST, + /** The stargazers. */ + STARGAZERS } /** @@ -1755,7 +1914,7 @@ public GHCompare getCompare(GHBranch id1, GHBranch id2) throws IOException { /** * Retrieves all refs for the github repository. * - * @return an array of GHRef elements coresponding with the refs in the remote repository. + * @return an array of GHRef elements corresponding with the refs in the remote repository. * @throws IOException * on failure communicating with GitHub */ @@ -1801,7 +1960,7 @@ public PagedIterable listRefs(String refType) throws IOException { } /** - * Retrive a ref of the given type for the current GitHub repository. + * Retrieve a ref of the given type for the current GitHub repository. * * @param refName * eg: heads/branch @@ -1828,7 +1987,7 @@ public GHTagObject getTagObject(String sha) throws IOException { } /** - * Retrive a tree of the given type for the current GitHub repository. + * Retrieve a tree of the given type for the current GitHub repository. * * @param sha * sha number or branch name ex: "main" @@ -1993,7 +2152,6 @@ public PagedIterable listCommitComments(String commitSha) { /** * Gets the basic license details for the repository. - *

* * @return null if there's no license. * @throws IOException @@ -2005,8 +2163,7 @@ public GHLicense getLicense() throws IOException { } /** - * Retrieves the contents of the repository's license file - makes an additional API call - *

+ * Retrieves the contents of the repository's license file - makes an additional API call. * * @return details regarding the license contents, or null if there's no license. * @throws IOException @@ -2077,7 +2234,30 @@ public PagedIterable getCheckRuns(String ref) throws IOException { } /** - * Creates a commit status + * Gets check runs for given ref which validate provided parameters + * + * @param ref + * the Git reference + * @param params + * a map of parameters to filter check runs + * @return check runs for the given ref + * @throws IOException + * the io exception + * @see List check runs + * for a specific ref + */ + @Preview(ANTIOPE) + public PagedIterable getCheckRuns(String ref, Map params) throws IOException { + GitHubRequest request = root().createRequest() + .withUrlPath(String.format("/repos/%s/%s/commits/%s/check-runs", getOwnerName(), name, ref)) + .with(params) + .withPreview(ANTIOPE) + .build(); + return new GHCheckRunsIterable(this, request); + } + + /** + * Creates a commit status. * * @param sha1 * the sha 1 @@ -2088,7 +2268,7 @@ public PagedIterable getCheckRuns(String ref) throws IOException { * @param description * Optional short description. * @param context - * Optinal commit status context. + * Optional commit status context. * @return the gh commit status * @throws IOException * the io exception @@ -2572,6 +2752,47 @@ public GHContent getReadme() throws IOException { return requester.withUrlPath(getApiTailUrl("readme")).fetch(GHContent.class).wrap(this); } + /** + * Create a repository variable. + * + * @param name + * the variable name (e.g. test-variable) + * @param value + * the value + * @throws IOException + * the io exception + */ + public void createVariable(String name, String value) throws IOException { + GHRepositoryVariable.create(this).name(name).value(value).done(); + } + + /** + * Gets a variable by name + * + * @param name + * the variable name (e.g. test-variable) + * @return the variable + * @throws IOException + * the io exception + */ + @Deprecated + public GHRepositoryVariable getRepoVariable(String name) throws IOException { + return getVariable(name); + } + + /** + * Gets a repository variable. + * + * @param name + * the variable name (e.g. test-variable) + * @return the variable + * @throws IOException + * the io exception + */ + public GHRepositoryVariable getVariable(String name) throws IOException { + return GHRepositoryVariable.read(this, name); + } + /** * Creates a new content, or update an existing content. * @@ -2693,14 +2914,31 @@ public GHMilestone createMilestone(String title, String description) throws IOEx * the io exception */ public GHDeployKey addDeployKey(String title, String key) throws IOException { + return addDeployKey(title, key, false); + } + + /** + * Add deploy key gh deploy key. + * + * @param title + * the title + * @param key + * the key + * @param readOnly + * read-only ability of the key + * @return the gh deploy key + * @throws IOException + * the io exception + */ + public GHDeployKey addDeployKey(String title, String key, boolean readOnly) throws IOException { return root().createRequest() .method("POST") .with("title", title) .with("key", key) + .with("read_only", readOnly) .withUrlPath(getApiTailUrl("keys")) .fetch(GHDeployKey.class) .lateBind(this); - } /** @@ -2799,6 +3037,25 @@ public GHSubscription getSubscription() throws IOException { } } + // Only used within listCodeownersErrors(). + private static class GHCodeownersErrors { + public List errors; + } + + /** + * List errors in the {@code CODEOWNERS} file. Note that GitHub skips lines with incorrect syntax; these are + * reported in the web interface, but not in the API call which this library uses. + * + * @return the list of errors + * @throws IOException + * the io exception + */ + public List listCodeownersErrors() throws IOException { + return root().createRequest() + .withUrlPath(getApiTailUrl("codeowners/errors")) + .fetch(GHCodeownersErrors.class).errors; + } + /** * List contributors paged iterable. * @@ -2825,12 +3082,24 @@ public int getContributions() { return contributions; } + /** + * Hash code. + * + * @return the int + */ @Override public int hashCode() { // We ignore contributions in the calculation return super.hashCode(); } + /** + * Equals. + * + * @param obj + * the obj + * @return true, if successful + */ @Override public boolean equals(Object obj) { // We ignore contributions in the calculation @@ -2960,11 +3229,23 @@ public GHRepositoryCloneTraffic getCloneTraffic() throws IOException { .fetch(GHRepositoryCloneTraffic.class); } + /** + * Hash code. + * + * @return the int + */ @Override public int hashCode() { return ("Repository:" + getOwnerName() + ":" + name).hashCode(); } + /** + * Equals. + * + * @param obj + * the obj + * @return true, if successful + */ @Override public boolean equals(Object obj) { if (obj instanceof GHRepository) { @@ -2974,11 +3255,18 @@ public boolean equals(Object obj) { return false; } + /** + * Gets the api tail url. + * + * @param tail + * the tail + * @return the api tail url + */ String getApiTailUrl(String tail) { if (tail.length() > 0 && !tail.startsWith("/")) { tail = '/' + tail; } - return "/repos/" + getOwnerName() + "/" + name + tail; + return "/repos/" + full_name + tail; } /** @@ -3112,6 +3400,20 @@ public GHWorkflowJob getWorkflowJob(long id) throws IOException { .wrapUp(this); } + /** + * Gets the public key for the given repo. + * + * @return the public key + * @throws IOException + * the io exception + */ + public GHRepositoryPublicKey getPublicKey() throws IOException { + return root().createRequest() + .withUrlPath(getApiTailUrl("/actions/secrets/public-key")) + .fetch(GHRepositoryPublicKey.class) + .wrapUp(this); + } + // Only used within listTopics(). private static class Topics { public List names; @@ -3151,6 +3453,28 @@ public void setTopics(List topics) throws IOException { .send(); } + /** + * Set/Update a repository secret + * "https://docs.github.com/rest/reference/actions#create-or-update-a-repository-secret" + * + * @param secretName + * the name of the secret + * @param encryptedValue + * The encrypted value for this secret + * @param publicKeyId + * The id of the Public Key used to encrypt this secret + * @throws IOException + * the io exception + */ + public void createSecret(String secretName, String encryptedValue, String publicKeyId) throws IOException { + root().createRequest() + .method("PUT") + .with("encrypted_value", encryptedValue) + .with("key_id", publicKeyId) + .withUrlPath(getApiTailUrl("actions/secrets") + "/" + secretName) + .send(); + } + /** * Create a tag. See https://developer.github.com/v3/git/tags/#create-a-tag-object * @@ -3163,8 +3487,8 @@ public void setTopics(List topics) throws IOException { * @param type * The type of the object we're tagging: "commit", "tree" or "blob". * @return The newly created tag. - * @throws java.io.IOException - * The IO exception. + * @throws IOException + * Signals that an I/O exception has occurred. */ public GHTagObject createTag(String tag, String message, String object, String type) throws IOException { return root().createRequest() @@ -3187,9 +3511,9 @@ public GHTagObject createTag(String tag, String message, String object, String t * The {@link InputStreamFunction} that will process the stream * @param ref * if null the repository's default branch, usually main, + * @return the result of reading the stream. * @throws IOException * The IO exception. - * @return the result of reading the stream. */ public T readZip(InputStreamFunction streamFunction, String ref) throws IOException { return downloadArchive("zip", ref, streamFunction); @@ -3204,9 +3528,9 @@ public T readZip(InputStreamFunction streamFunction, String ref) throws I * The {@link InputStreamFunction} that will process the stream * @param ref * if null the repository's default branch, usually main, + * @return the result of reading the stream. * @throws IOException * The IO exception. - * @return the result of reading the stream. */ public T readTar(InputStreamFunction streamFunction, String ref) throws IOException { return downloadArchive("tar", ref, streamFunction); @@ -3216,12 +3540,12 @@ public T readTar(InputStreamFunction streamFunction, String ref) throws I * Create a repository dispatch event, which can be used to start a workflow/action from outside github, as * described on https://docs.github.com/en/rest/reference/repos#create-a-repository-dispatch-event * + * @param + * type of client payload * @param eventType * the eventType * @param clientPayload * a custom payload , can be nullable - * @param - * type of client payload * @throws IOException * the io exception */ @@ -3249,37 +3573,21 @@ private T downloadArchive(@Nonnull String type, /** * Populate this object. * - * @throws java.io.IOException - * The IO exception + * @throws IOException + * Signals that an I/O exception has occurred. */ void populate() throws IOException { if (isOffline()) { return; // can't populate if the root is offline } - final URL url = requireNonNull(getUrl(), "Missing instance URL!"); + // We don't use the URL provided in the JSON because it is not reliable: + // 1. There is bug in Push event payloads that returns the wrong url. + // For Push event repository records, they take the form "https://github.com/{fullName}". + // All other occurrences of "url" take the form "https://api.github.com/...". + // 2. For Installation event payloads, the URL is not provided at all. - try { - // IMPORTANT: the url for repository records does not reliably point to the API url. - // There is bug in Push event payloads that returns the wrong url. - // All other occurrences of "url" take the form "https://api.github.com/...". - // For Push event repository records, they take the form "https://github.com/{fullName}". - root().createRequest() - .withPreview(BAPTISTE) - .withPreview(NEBULA) - .setRawUrlPath(url.toString()) - .fetchInto(this); - } catch (HttpException e) { - if (e.getCause() instanceof JsonParseException) { - root().createRequest() - .withPreview(BAPTISTE) - .withPreview(NEBULA) - .withUrlPath("/repos/" + full_name) - .fetchInto(this); - } else { - throw e; - } - } + root().createRequest().withPreview(BAPTISTE).withPreview(NEBULA).withUrlPath(getApiTailUrl("")).fetchInto(this); } /** @@ -3289,6 +3597,13 @@ void populate() throws IOException { */ @BetaApi public static class Updater extends GHRepositoryBuilder { + + /** + * Instantiates a new updater. + * + * @param repository + * the repository + */ protected Updater(@Nonnull GHRepository repository) { super(Updater.class, repository.root(), null); // even when we don't change the name, we need to send it in @@ -3299,6 +3614,26 @@ protected Updater(@Nonnull GHRepository repository) { } } + /** + * Star a repository. + * + * @throws IOException + * the io exception + */ + public void star() throws IOException { + root().createRequest().method("PUT").withUrlPath(String.format("/user/starred/%s", full_name)).send(); + } + + /** + * Unstar a repository. + * + * @throws IOException + * the io exception + */ + public void unstar() throws IOException { + root().createRequest().method("DELETE").withUrlPath(String.format("/user/starred/%s", full_name)).send(); + } + /** * A {@link GHRepositoryBuilder} that allows multiple properties to be updated per request. * @@ -3306,6 +3641,13 @@ protected Updater(@Nonnull GHRepository repository) { */ @BetaApi public static class Setter extends GHRepositoryBuilder { + + /** + * Instantiates a new setter. + * + * @param repository + * the repository + */ protected Setter(@Nonnull GHRepository repository) { super(GHRepository.class, repository.root(), null); // even when we don't change the name, we need to send it in diff --git a/src/main/java/org/kohsuke/github/GHRepositoryBuilder.java b/src/main/java/org/kohsuke/github/GHRepositoryBuilder.java index 3bb297680d..a7b5b11a72 100644 --- a/src/main/java/org/kohsuke/github/GHRepositoryBuilder.java +++ b/src/main/java/org/kohsuke/github/GHRepositoryBuilder.java @@ -8,8 +8,25 @@ import static org.kohsuke.github.internal.Previews.BAPTISTE; import static org.kohsuke.github.internal.Previews.NEBULA; +// TODO: Auto-generated Javadoc +/** + * The Class GHRepositoryBuilder. + * + * @param + * the generic type + */ abstract class GHRepositoryBuilder extends AbstractBuilder { + /** + * Instantiates a new GH repository builder. + * + * @param intermediateReturnType + * the intermediate return type + * @param root + * the root + * @param baseInstance + * the base instance + */ protected GHRepositoryBuilder(Class intermediateReturnType, GitHub root, GHRepository baseInstance) { super(GHRepository.class, intermediateReturnType, root, baseInstance); } @@ -59,6 +76,19 @@ public S allowRebaseMerge(boolean enabled) throws IOException { return with("allow_rebase_merge", enabled); } + /** + * Allow or disallow private forks + * + * @param enabled + * true if enabled + * @return a builder to continue with building + * @throws IOException + * In case of any networking error or error from the server. + */ + public S allowForking(boolean enabled) throws IOException { + return with("allow_forking", enabled); + } + /** * After pull requests are merged, you can have head branches deleted automatically. * @@ -75,13 +105,11 @@ public S deleteBranchOnMerge(boolean enabled) throws IOException { } /** - * Default repository branch + * Default repository branch. * * @param branch * branch name - * * @return a builder to continue with building - * * @throws IOException * In case of any networking error or error from the server. */ @@ -90,13 +118,11 @@ public S defaultBranch(String branch) throws IOException { } /** - * Description for repository + * Description for repository. * * @param description * description of repository - * * @return a builder to continue with building - * * @throws IOException * In case of any networking error or error from the server. */ @@ -105,13 +131,11 @@ public S description(String description) throws IOException { } /** - * Homepage for repository + * Homepage for repository. * * @param homepage * homepage of repository - * * @return a builder to continue with building - * * @throws IOException * In case of any networking error or error from the server. */ @@ -120,13 +144,11 @@ public S homepage(URL homepage) throws IOException { } /** - * Homepage for repository + * Homepage for repository. * * @param homepage * homepage of repository - * * @return a builder to continue with building - * * @throws IOException * In case of any networking error or error from the server. */ @@ -135,13 +157,11 @@ public S homepage(String homepage) throws IOException { } /** - * Sets the repository to private + * Sets the repository to private. * * @param enabled * private if true - * * @return a builder to continue with building - * * @throws IOException * In case of any networking error or error from the server. */ @@ -150,7 +170,7 @@ public S private_(boolean enabled) throws IOException { } /** - * Sets the repository visibility + * Sets the repository visibility. * * @param visibility * visibility of repository @@ -160,17 +180,15 @@ public S private_(boolean enabled) throws IOException { */ public S visibility(final Visibility visibility) throws IOException { requester.withPreview(NEBULA); - return with("visibility", visibility); + return with("visibility", visibility.toString()); } /** - * Enables issue tracker + * Enables issue tracker. * * @param enabled * true if enabled - * * @return a builder to continue with building - * * @throws IOException * In case of any networking error or error from the server. */ @@ -179,13 +197,11 @@ public S issues(boolean enabled) throws IOException { } /** - * Enables projects + * Enables projects. * * @param enabled * true if enabled - * * @return a builder to continue with building - * * @throws IOException * In case of any networking error or error from the server. */ @@ -194,7 +210,7 @@ public S projects(boolean enabled) throws IOException { } /** - * Enables wiki + * Enables wiki. * * @param enabled * true if enabled @@ -207,13 +223,11 @@ public S wiki(boolean enabled) throws IOException { } /** - * Enables downloads + * Enables downloads. * * @param enabled * true if enabled - * * @return a builder to continue with building - * * @throws IOException * In case of any networking error or error from the server. */ @@ -236,15 +250,38 @@ public S isTemplate(boolean enabled) throws IOException { return with("is_template", enabled); } + /** + * Done. + * + * @return the GH repository + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Override public GHRepository done() throws IOException { return super.done(); } + /** + * Archive. + * + * @return the s + * @throws IOException + * Signals that an I/O exception has occurred. + */ S archive() throws IOException { return with("archived", true); } + /** + * Name. + * + * @param name + * the name + * @return the s + * @throws IOException + * Signals that an I/O exception has occurred. + */ S name(String name) throws IOException { return with("name", name); } diff --git a/src/main/java/org/kohsuke/github/GHRepositoryCloneTraffic.java b/src/main/java/org/kohsuke/github/GHRepositoryCloneTraffic.java index e0c4d7d32e..6d7bf15140 100644 --- a/src/main/java/org/kohsuke/github/GHRepositoryCloneTraffic.java +++ b/src/main/java/org/kohsuke/github/GHRepositoryCloneTraffic.java @@ -3,6 +3,7 @@ import java.util.Collections; import java.util.List; +// TODO: Auto-generated Javadoc /** * Repository clone statistics. * @@ -11,9 +12,22 @@ public class GHRepositoryCloneTraffic extends GHRepositoryTraffic { private List clones; + /** + * Instantiates a new GH repository clone traffic. + */ GHRepositoryCloneTraffic() { } + /** + * Instantiates a new GH repository clone traffic. + * + * @param count + * the count + * @param uniques + * the uniques + * @param clones + * the clones + */ GHRepositoryCloneTraffic(Integer count, Integer uniques, List clones) { super(count, uniques); this.clones = clones; @@ -28,6 +42,11 @@ public List getClones() { return Collections.unmodifiableList(clones); } + /** + * Gets the daily info. + * + * @return the daily info + */ public List getDailyInfo() { return getClones(); } @@ -36,9 +55,23 @@ public List getDailyInfo() { * The type DailyInfo. */ public static class DailyInfo extends GHRepositoryTraffic.DailyInfo { + + /** + * Instantiates a new daily info. + */ DailyInfo() { } + /** + * Instantiates a new daily info. + * + * @param timestamp + * the timestamp + * @param count + * the count + * @param uniques + * the uniques + */ DailyInfo(String timestamp, int count, int uniques) { super(timestamp, count, uniques); } diff --git a/src/main/java/org/kohsuke/github/GHRepositoryDiscussion.java b/src/main/java/org/kohsuke/github/GHRepositoryDiscussion.java index 7b84c6e023..39033d0a9a 100644 --- a/src/main/java/org/kohsuke/github/GHRepositoryDiscussion.java +++ b/src/main/java/org/kohsuke/github/GHRepositoryDiscussion.java @@ -6,6 +6,7 @@ import java.net.URL; import java.util.Date; +// TODO: Auto-generated Javadoc /** * A discussion in the repository. *

@@ -40,62 +41,141 @@ public class GHRepositoryDiscussion extends GHObject { private String body; private String timelineUrl; + /** + * Gets the category. + * + * @return the category + */ public Category getCategory() { return category; } + /** + * Gets the answer html url. + * + * @return the answer html url + */ public URL getAnswerHtmlUrl() { return GitHubClient.parseURL(answerHtmlUrl); } + /** + * Gets the answer chosen at. + * + * @return the answer chosen at + */ public Date getAnswerChosenAt() { return GitHubClient.parseDate(answerChosenAt); } + /** + * Gets the answer chosen by. + * + * @return the answer chosen by + * @throws IOException + * Signals that an I/O exception has occurred. + */ public GHUser getAnswerChosenBy() throws IOException { return root().intern(answerChosenBy); } + /** + * Gets the html url. + * + * @return the html url + */ public URL getHtmlUrl() { return GitHubClient.parseURL(htmlUrl); } + /** + * Gets the number. + * + * @return the number + */ public int getNumber() { return number; } + /** + * Gets the title. + * + * @return the title + */ public String getTitle() { return title; } + /** + * Gets the user. + * + * @return the user + * @throws IOException + * Signals that an I/O exception has occurred. + */ public GHUser getUser() throws IOException { return root().intern(user); } + /** + * Gets the state. + * + * @return the state + */ public State getState() { return EnumUtils.getEnumOrDefault(State.class, state, State.UNKNOWN); } + /** + * Checks if is locked. + * + * @return true, if is locked + */ public boolean isLocked() { return locked; } + /** + * Gets the comments. + * + * @return the comments + */ public int getComments() { return comments; } + /** + * Gets the author association. + * + * @return the author association + */ public GHCommentAuthorAssociation getAuthorAssociation() { return authorAssociation; } + /** + * Gets the active lock reason. + * + * @return the active lock reason + */ public String getActiveLockReason() { return activeLockReason; } + /** + * Gets the body. + * + * @return the body + */ public String getBody() { return body; } + /** + * Gets the timeline url. + * + * @return the timeline url + */ public String getTimelineUrl() { return timelineUrl; } @@ -123,48 +203,107 @@ public static class Category { private String slug; private boolean isAnswerable; + /** + * Gets the id. + * + * @return the id + */ public long getId() { return id; } + /** + * Gets the node id. + * + * @return the node id + */ public String getNodeId() { return nodeId; } + /** + * Gets the repository id. + * + * @return the repository id + */ public long getRepositoryId() { return repositoryId; } + /** + * Gets the emoji. + * + * @return the emoji + */ public String getEmoji() { return emoji; } + /** + * Gets the name. + * + * @return the name + */ public String getName() { return name; } + /** + * Gets the description. + * + * @return the description + */ public String getDescription() { return description; } + /** + * Gets the created at. + * + * @return the created at + */ public Date getCreatedAt() { return GitHubClient.parseDate(createdAt); } + /** + * Gets the updated at. + * + * @return the updated at + */ public Date getUpdatedAt() { return GitHubClient.parseDate(updatedAt); } + /** + * Gets the slug. + * + * @return the slug + */ public String getSlug() { return slug; } + /** + * Checks if is answerable. + * + * @return true, if is answerable + */ public boolean isAnswerable() { return isAnswerable; } } + /** + * The Enum State. + */ public enum State { - OPEN, LOCKED, UNKNOWN; + + /** The open. */ + OPEN, + /** The locked. */ + LOCKED, + /** The unknown. */ + UNKNOWN; } } diff --git a/src/main/java/org/kohsuke/github/GHRepositoryPublicKey.java b/src/main/java/org/kohsuke/github/GHRepositoryPublicKey.java new file mode 100644 index 0000000000..9d7ab86c71 --- /dev/null +++ b/src/main/java/org/kohsuke/github/GHRepositoryPublicKey.java @@ -0,0 +1,63 @@ +package org.kohsuke.github; + +import com.fasterxml.jackson.annotation.JsonIgnore; + +import java.io.IOException; +import java.net.URL; + +// TODO: Auto-generated Javadoc +/** + * A public key for the given repository. + * + * @author Aditya Bansal + */ +public class GHRepositoryPublicKey extends GHObject { + // Not provided by the API. + @JsonIgnore + private GHRepository owner; + + private String keyId; + private String key; + + /** + * Gets the html url. + * + * @return the html url + * @throws IOException + * Signals that an I/O exception has occurred. + */ + @Override + public URL getHtmlUrl() throws IOException { + return null; + } + + /** + * Gets the key id. + * + * @return the key id + */ + public String getKeyId() { + return keyId; + } + + /** + * Gets the key. + * + * @return the key + */ + public String getKey() { + return key; + } + + /** + * Wrap up. + * + * @param owner + * the owner + * @return the GH repository public key + */ + GHRepositoryPublicKey wrapUp(GHRepository owner) { + this.owner = owner; + return this; + } +} diff --git a/src/main/java/org/kohsuke/github/GHRepositorySearchBuilder.java b/src/main/java/org/kohsuke/github/GHRepositorySearchBuilder.java index 2094d8a214..7a21cf941a 100644 --- a/src/main/java/org/kohsuke/github/GHRepositorySearchBuilder.java +++ b/src/main/java/org/kohsuke/github/GHRepositorySearchBuilder.java @@ -1,5 +1,6 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * Search repositories. * @@ -7,6 +8,13 @@ * @see GitHub#searchRepositories() GitHub#searchRepositories() */ public class GHRepositorySearchBuilder extends GHSearchBuilder { + + /** + * Instantiates a new GH repository search builder. + * + * @param root + * the root + */ GHRepositorySearchBuilder(GitHub root) { super(root, RepositorySearchResult.class); } @@ -122,11 +130,10 @@ public GHRepositorySearchBuilder fork(GHFork fork) { } /** - * Search by repository visibility + * Search by repository visibility. * * @param visibility * repository visibility - * * @return the gh repository search builder * @throws GHException * if {@link GHRepository.Visibility#UNKNOWN} is passed. UNKNOWN is a placeholder for unexpected values @@ -221,6 +228,17 @@ public GHRepositorySearchBuilder topic(String v) { return q("topic:" + v); } + /** + * Org gh repository search builder. + * + * @param v + * the v + * @return the gh repository search builder + */ + public GHRepositorySearchBuilder org(String v) { + return q("org:" + v); + } + /** * Order gh repository search builder. * @@ -249,7 +267,13 @@ public GHRepositorySearchBuilder sort(Sort sort) { * The enum Sort. */ public enum Sort { - STARS, FORKS, UPDATED + + /** The stars. */ + STARS, + /** The forks. */ + FORKS, + /** The updated. */ + UPDATED } /** @@ -282,10 +306,22 @@ public enum Fork { PARENT_ONLY(""); private String filterMode; + + /** + * Instantiates a new fork. + * + * @param mode + * the mode + */ Fork(final String mode) { this.filterMode = mode; } + /** + * To string. + * + * @return the string + */ @Override public String toString() { return filterMode; @@ -303,6 +339,11 @@ GHRepository[] getItems(GitHub root) { } } + /** + * Gets the api url. + * + * @return the api url + */ @Override protected String getApiUrl() { return "/search/repositories"; diff --git a/src/main/java/org/kohsuke/github/GHRepositorySelection.java b/src/main/java/org/kohsuke/github/GHRepositorySelection.java index 5039545213..2833eeabcd 100644 --- a/src/main/java/org/kohsuke/github/GHRepositorySelection.java +++ b/src/main/java/org/kohsuke/github/GHRepositorySelection.java @@ -2,6 +2,7 @@ import java.util.Locale; +// TODO: Auto-generated Javadoc /** * App installation repository selection. * @@ -9,10 +10,16 @@ * @see GHAppInstallation */ public enum GHRepositorySelection { - SELECTED, ALL; + + /** The selected. */ + SELECTED, + /** The all. */ + ALL; /** * Returns GitHub's internal representation of this event. + * + * @return the string */ String symbol() { return name().toLowerCase(Locale.ENGLISH); diff --git a/src/main/java/org/kohsuke/github/GHRepositoryStatistics.java b/src/main/java/org/kohsuke/github/GHRepositoryStatistics.java index aaa8e87d64..35c8bfea55 100644 --- a/src/main/java/org/kohsuke/github/GHRepositoryStatistics.java +++ b/src/main/java/org/kohsuke/github/GHRepositoryStatistics.java @@ -11,6 +11,7 @@ import java.util.List; import java.util.NoSuchElementException; +// TODO: Auto-generated Javadoc /** * Statistics for a GitHub repository. * @@ -102,6 +103,13 @@ public static class ContributorStats extends GHObject { private int total; private List weeks; + /** + * Gets the html url. + * + * @return the html url + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Override public URL getHtmlUrl() throws IOException { throw new UnsupportedOperationException("Not supported yet."); @@ -156,6 +164,11 @@ public List getWeeks() { return Collections.unmodifiableList(weeks); } + /** + * To string. + * + * @return the string + */ @Override public String toString() { return author.getLogin() + " made " + String.valueOf(total) + " contributions over " @@ -212,6 +225,11 @@ public int getNumberOfCommits() { return c; } + /** + * To string. + * + * @return the string + */ @Override public String toString() { return String.format("Week starting %d - Additions: %d, Deletions: %d, Commits: %d", w, a, d, c); @@ -271,6 +289,13 @@ public long getWeek() { return week; } + /** + * Gets the html url. + * + * @return the html url + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Override public URL getHtmlUrl() throws IOException { throw new UnsupportedOperationException("Not supported yet."); @@ -345,6 +370,11 @@ public long getDeletions() { return deletions; } + /** + * To string. + * + * @return the string + */ @Override public String toString() { return "Week starting " + getWeekTimestamp() + " has " + getAdditions() + " additions and " @@ -371,6 +401,13 @@ public static class Participation extends GHObject { private List all; private List owner; + /** + * Gets the html url. + * + * @return the html url + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Override public URL getHtmlUrl() throws IOException { throw new UnsupportedOperationException("Not supported yet."); @@ -453,11 +490,23 @@ public long getNumberOfCommits() { return numberOfCommits; } + /** + * To string. + * + * @return the string + */ public String toString() { return "Day " + getDayOfWeek() + " Hour " + getHourOfDay() + ": " + getNumberOfCommits() + " commits"; } } + /** + * Gets the api tail url. + * + * @param tail + * the tail + * @return the api tail url + */ String getApiTailUrl(String tail) { return repo.getApiTailUrl("stats/" + tail); } diff --git a/src/main/java/org/kohsuke/github/GHRepositoryTraffic.java b/src/main/java/org/kohsuke/github/GHRepositoryTraffic.java index 1dbd4942b0..49738fceff 100644 --- a/src/main/java/org/kohsuke/github/GHRepositoryTraffic.java +++ b/src/main/java/org/kohsuke/github/GHRepositoryTraffic.java @@ -3,6 +3,7 @@ import java.util.Date; import java.util.List; +// TODO: Auto-generated Javadoc /** * The type GHRepositoryTraffic. */ @@ -10,18 +11,39 @@ public abstract class GHRepositoryTraffic implements TrafficInfo { private int count; private int uniques; + /** + * Instantiates a new GH repository traffic. + */ GHRepositoryTraffic() { } + /** + * Instantiates a new GH repository traffic. + * + * @param count + * the count + * @param uniques + * the uniques + */ GHRepositoryTraffic(int count, int uniques) { this.count = count; this.uniques = uniques; } + /** + * Gets the count. + * + * @return the count + */ public int getCount() { return count; } + /** + * Gets the uniques. + * + * @return the uniques + */ public int getUniques() { return uniques; } @@ -50,17 +72,40 @@ public Date getTimestamp() { return GitHubClient.parseDate(timestamp); } + /** + * Gets the count. + * + * @return the count + */ public int getCount() { return count; } + /** + * Gets the uniques. + * + * @return the uniques + */ public int getUniques() { return uniques; } + /** + * Instantiates a new daily info. + */ DailyInfo() { } + /** + * Instantiates a new daily info. + * + * @param timestamp + * the timestamp + * @param count + * the count + * @param uniques + * the uniques + */ DailyInfo(String timestamp, Integer count, Integer uniques) { this.timestamp = timestamp; this.count = count; diff --git a/src/main/java/org/kohsuke/github/GHRepositoryVariable.java b/src/main/java/org/kohsuke/github/GHRepositoryVariable.java new file mode 100644 index 0000000000..cc71f38a49 --- /dev/null +++ b/src/main/java/org/kohsuke/github/GHRepositoryVariable.java @@ -0,0 +1,166 @@ +package org.kohsuke.github; + +import java.io.IOException; +import java.util.Objects; + +import javax.annotation.Nonnull; + +/** + * The type Gh repository variable. + * + * @author garridobarrera + */ +public class GHRepositoryVariable extends GitHubInteractiveObject { + + private static final String SLASH = "/"; + + private static final String VARIABLE_NAMESPACE = "actions/variables"; + + private String name; + private String value; + + private String url; + private String createdAt; + private String updatedAt; + + /** + * Gets url. + * + * @return the url + */ + @Nonnull + public String getUrl() { + return url; + } + + /** + * Gets name. + * + * @return the name + */ + public String getName() { + return name; + } + + /** + * Sets name. + * + * @param name + * the name + */ + public void setName(String name) { + this.name = name; + } + + /** + * Gets value. + * + * @return the value + */ + public String getValue() { + return value; + } + + /** + * Sets value. + * + * @param value + * the value + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the api root. + * + * @return the api root + */ + @Nonnull + GitHub getApiRoot() { + return Objects.requireNonNull(root()); + } + + /** + * Reads a variable from a repository. + * + * @param repository + * the repository to read from + * @param name + * the name of the variable + * @return a variable + * @throws IOException + * the io exception + */ + static GHRepositoryVariable read(@Nonnull GHRepository repository, @Nonnull String name) throws IOException { + GHRepositoryVariable variable = repository.root() + .createRequest() + .withUrlPath(repository.getApiTailUrl(VARIABLE_NAMESPACE), name) + .fetch(GHRepositoryVariable.class); + variable.url = repository.getApiTailUrl("actions/variables"); + return variable; + } + + /** + * Begins the creation of a new instance. + *

+ * Consumer must call {@link GHRepositoryVariable.Creator#done()} to commit changes. + * + * @param repository + * the repository in which the variable will be created. + * @return a {@link GHRepositoryVariable.Creator} + * @throws IOException + * the io exception + */ + @BetaApi + static GHRepositoryVariable.Creator create(GHRepository repository) throws IOException { + return new GHRepositoryVariable.Creator(repository); + } + + /** + * Delete this variable from the repository. + * + * @throws IOException + * the io exception + */ + public void delete() throws IOException { + root().createRequest().method("DELETE").withUrlPath(getUrl().concat(SLASH).concat(name)).send(); + } + + /** + * Begins a single property update. + * + * @return a {@link GHRepositoryVariable.Setter} + */ + @BetaApi + public GHRepositoryVariable.Setter set() { + return new GHRepositoryVariable.Setter(this); + } + + /** + * A {@link GHRepositoryVariableBuilder} that updates a single property per request + *

+ * {@link #done()} is called automatically after the property is set. + */ + @BetaApi + public static class Setter extends GHRepositoryVariableBuilder { + private Setter(@Nonnull GHRepositoryVariable base) { + super(GHRepositoryVariable.class, base.getApiRoot(), base); + requester.method("PATCH").withUrlPath(base.getUrl().concat(SLASH).concat(base.getName())); + } + } + + /** + * A {@link GHRepositoryVariableBuilder} that creates a new {@link GHRepositoryVariable} + *

+ * Consumer must call {@link #done()} to create the new instance. + */ + @BetaApi + public static class Creator extends GHRepositoryVariableBuilder { + private Creator(@Nonnull GHRepository repository) { + super(GHRepositoryVariable.Creator.class, repository.root(), null); + requester.method("POST").withUrlPath(repository.getApiTailUrl(VARIABLE_NAMESPACE)); + } + } + +} diff --git a/src/main/java/org/kohsuke/github/GHRepositoryVariableBuilder.java b/src/main/java/org/kohsuke/github/GHRepositoryVariableBuilder.java new file mode 100644 index 0000000000..62af8140d8 --- /dev/null +++ b/src/main/java/org/kohsuke/github/GHRepositoryVariableBuilder.java @@ -0,0 +1,66 @@ +package org.kohsuke.github; + +import java.io.IOException; + +import javax.annotation.CheckForNull; +import javax.annotation.Nonnull; + +/** + * The type Gh repository variable builder. + * + * @param + * the type parameter + */ +public class GHRepositoryVariableBuilder extends AbstractBuilder { + /** + * Instantiates a new GH Repository Variable builder. + * + * @param intermediateReturnType + * Intermediate return type for this builder returned by calls to {@link #with(String, Object)}. If + * {@link S} the same as {@link GHRepositoryVariable}, this builder will commit changes after each call + * to {@link #with(String, Object)}. + * @param root + * the GitHub instance to which updates will be sent + * @param baseInstance + * instance on which to base this builder. If {@code null} a new instance will be created. + */ + protected GHRepositoryVariableBuilder(@Nonnull Class intermediateReturnType, + @Nonnull GitHub root, + @CheckForNull GHRepositoryVariable baseInstance) { + super(GHRepositoryVariable.class, intermediateReturnType, root, baseInstance); + if (baseInstance != null) { + requester.with("name", baseInstance.getName()); + requester.with("value", baseInstance.getValue()); + } + } + + /** + * Name. + * + * @param value + * the value + * @return the s + * @throws IOException + * Signals that an I/O exception has occurred. + */ + @Nonnull + @BetaApi + public S name(String value) throws IOException { + return with("name", value); + } + + /** + * Name. + * + * @param value + * the value + * @return the s + * @throws IOException + * Signals that an I/O exception has occurred. + */ + @Nonnull + @BetaApi + public S value(String value) throws IOException { + return with("value", value); + } +} diff --git a/src/main/java/org/kohsuke/github/GHRepositoryViewTraffic.java b/src/main/java/org/kohsuke/github/GHRepositoryViewTraffic.java index 65e88ef6f9..669b919fa2 100644 --- a/src/main/java/org/kohsuke/github/GHRepositoryViewTraffic.java +++ b/src/main/java/org/kohsuke/github/GHRepositoryViewTraffic.java @@ -3,6 +3,7 @@ import java.util.Collections; import java.util.List; +// TODO: Auto-generated Javadoc /** * Repository view statistics. * @@ -11,9 +12,22 @@ public class GHRepositoryViewTraffic extends GHRepositoryTraffic { private List views; + /** + * Instantiates a new GH repository view traffic. + */ GHRepositoryViewTraffic() { } + /** + * Instantiates a new GH repository view traffic. + * + * @param count + * the count + * @param uniques + * the uniques + * @param views + * the views + */ GHRepositoryViewTraffic(int count, int uniques, List views) { super(count, uniques); this.views = views; @@ -28,6 +42,11 @@ public List getViews() { return Collections.unmodifiableList(views); } + /** + * Gets the daily info. + * + * @return the daily info + */ public List getDailyInfo() { return getViews(); } @@ -36,9 +55,23 @@ public List getDailyInfo() { * The type DailyInfo. */ public static class DailyInfo extends GHRepositoryTraffic.DailyInfo { + + /** + * Instantiates a new daily info. + */ DailyInfo() { } + /** + * Instantiates a new daily info. + * + * @param timestamp + * the timestamp + * @param count + * the count + * @param uniques + * the uniques + */ DailyInfo(String timestamp, int count, int uniques) { super(timestamp, count, uniques); } diff --git a/src/main/java/org/kohsuke/github/GHRequestedAction.java b/src/main/java/org/kohsuke/github/GHRequestedAction.java index 0d5efe3541..b2a88757bf 100644 --- a/src/main/java/org/kohsuke/github/GHRequestedAction.java +++ b/src/main/java/org/kohsuke/github/GHRequestedAction.java @@ -4,6 +4,10 @@ import java.net.URL; +// TODO: Auto-generated Javadoc +/** + * The Class GHRequestedAction. + */ @SuppressFBWarnings(value = { "UWF_UNWRITTEN_FIELD", "NP_UNWRITTEN_FIELD", "URF_UNREAD_FIELD" }, justification = "JSON API") public class GHRequestedAction extends GHObject { @@ -12,24 +16,49 @@ public class GHRequestedAction extends GHObject { private String label; private String description; + /** + * Wrap. + * + * @param owner + * the owner + * @return the GH requested action + */ GHRequestedAction wrap(GHRepository owner) { this.owner = owner; return this; } + /** + * Gets the identifier. + * + * @return the identifier + */ String getIdentifier() { return identifier; } + /** + * Gets the label. + * + * @return the label + */ String getLabel() { return label; } + /** + * Gets the description. + * + * @return the description + */ String getDescription() { return description; } /** + * Gets the html url. + * + * @return the html url * @deprecated This object has no HTML URL. */ @Override diff --git a/src/main/java/org/kohsuke/github/GHSearchBuilder.java b/src/main/java/org/kohsuke/github/GHSearchBuilder.java index d4268983e2..d7a25353ee 100644 --- a/src/main/java/org/kohsuke/github/GHSearchBuilder.java +++ b/src/main/java/org/kohsuke/github/GHSearchBuilder.java @@ -8,14 +8,17 @@ import javax.annotation.CheckForNull; import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * Base class for various search builders. * + * @author Kohsuke Kawaguchi * @param * the type parameter - * @author Kohsuke Kawaguchi */ public abstract class GHSearchBuilder extends GHQueryBuilder { + + /** The terms. */ protected final List terms = new ArrayList(); /** @@ -23,6 +26,14 @@ public abstract class GHSearchBuilder extends GHQueryBuilder { */ private final Class> receiverType; + /** + * Instantiates a new GH search builder. + * + * @param root + * the root + * @param receiverType + * the receiver type + */ GHSearchBuilder(GitHub root, Class> receiverType) { super(root); this.receiverType = receiverType; @@ -68,6 +79,8 @@ GHQueryBuilder q(@Nonnull final String qualifier, @CheckForNull final String /** * Performs the search. + * + * @return the paged search iterable */ @Override public PagedSearchIterable list() { diff --git a/src/main/java/org/kohsuke/github/GHStargazer.java b/src/main/java/org/kohsuke/github/GHStargazer.java index 69a7b617e1..ff6327d317 100644 --- a/src/main/java/org/kohsuke/github/GHStargazer.java +++ b/src/main/java/org/kohsuke/github/GHStargazer.java @@ -4,6 +4,7 @@ import java.util.Date; +// TODO: Auto-generated Javadoc /** * A stargazer at a repository on GitHub. * @@ -17,7 +18,7 @@ public class GHStargazer { private GHUser user; /** - * Gets the repository that is stargazed + * Gets the repository that is stargazed. * * @return the starred repository */ @@ -37,7 +38,7 @@ public Date getStarredAt() { } /** - * Gets the user that starred the repository + * Gets the user that starred the repository. * * @return the stargazer user */ @@ -46,6 +47,12 @@ public GHUser getUser() { return user; } + /** + * Wrap up. + * + * @param repository + * the repository + */ void wrapUp(GHRepository repository) { this.repository = repository; } diff --git a/src/main/java/org/kohsuke/github/GHSubscription.java b/src/main/java/org/kohsuke/github/GHSubscription.java index 046aed305f..9f84161cc8 100644 --- a/src/main/java/org/kohsuke/github/GHSubscription.java +++ b/src/main/java/org/kohsuke/github/GHSubscription.java @@ -5,6 +5,7 @@ import java.io.IOException; import java.util.Date; +// TODO: Auto-generated Javadoc /** * Represents your subscribing to a repository / conversation thread.. * @@ -92,6 +93,13 @@ public void delete() throws IOException { root().createRequest().method("DELETE").withUrlPath(repo.getApiTailUrl("subscription")).send(); } + /** + * Wrap up. + * + * @param repo + * the repo + * @return the GH subscription + */ GHSubscription wrapUp(GHRepository repo) { this.repo = repo; return this; diff --git a/src/main/java/org/kohsuke/github/GHTag.java b/src/main/java/org/kohsuke/github/GHTag.java index a9c353ba3c..b40c491332 100644 --- a/src/main/java/org/kohsuke/github/GHTag.java +++ b/src/main/java/org/kohsuke/github/GHTag.java @@ -2,8 +2,9 @@ import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; +// TODO: Auto-generated Javadoc /** - * Represents a tag in {@link GHRepository} + * Represents a tag in {@link GHRepository}. * * @see GHRepository#listTags() GHRepository#listTags() */ @@ -15,6 +16,13 @@ public class GHTag extends GitHubInteractiveObject { private String name; private GHCommit commit; + /** + * Wrap. + * + * @param owner + * the owner + * @return the GH tag + */ GHTag wrap(GHRepository owner) { this.owner = owner; if (commit != null) diff --git a/src/main/java/org/kohsuke/github/GHTagObject.java b/src/main/java/org/kohsuke/github/GHTagObject.java index 854fcb6a67..efd38a3918 100644 --- a/src/main/java/org/kohsuke/github/GHTagObject.java +++ b/src/main/java/org/kohsuke/github/GHTagObject.java @@ -2,8 +2,9 @@ import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; +// TODO: Auto-generated Javadoc /** - * Represents an annotated tag in a {@link GHRepository} + * Represents an annotated tag in a {@link GHRepository}. * * @see GHRepository#getTagObject(String) GHRepository#getTagObject(String) */ @@ -20,6 +21,13 @@ public class GHTagObject extends GitHubInteractiveObject { private GHRef.GHObject object; private GHVerification verification; + /** + * Wrap. + * + * @param owner + * the owner + * @return the GH tag object + */ GHTagObject wrap(GHRepository owner) { this.owner = owner; return this; diff --git a/src/main/java/org/kohsuke/github/GHTargetType.java b/src/main/java/org/kohsuke/github/GHTargetType.java index 050c27e4f6..2701fa59b8 100644 --- a/src/main/java/org/kohsuke/github/GHTargetType.java +++ b/src/main/java/org/kohsuke/github/GHTargetType.java @@ -4,6 +4,7 @@ import java.util.Locale; +// TODO: Auto-generated Javadoc /** * App installation target type. * @@ -11,10 +12,16 @@ * @see GHAppInstallation */ public enum GHTargetType { - ORGANIZATION, USER; + + /** The organization. */ + ORGANIZATION, + /** The user. */ + USER; /** * Returns GitHub's internal representation of this event. + * + * @return the string */ String symbol() { return StringUtils.capitalize(name().toLowerCase(Locale.ENGLISH)); diff --git a/src/main/java/org/kohsuke/github/GHTeam.java b/src/main/java/org/kohsuke/github/GHTeam.java index ef038fd2f2..d7083aaf6d 100644 --- a/src/main/java/org/kohsuke/github/GHTeam.java +++ b/src/main/java/org/kohsuke/github/GHTeam.java @@ -1,16 +1,21 @@ 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; import java.util.Map; import java.util.Objects; +import java.util.Optional; import java.util.Set; import java.util.TreeMap; import javax.annotation.Nonnull; +import static org.kohsuke.github.GitHubRequest.transformEnum; + +// TODO: Auto-generated Javadoc /** * A team in GitHub organization. * @@ -26,18 +31,24 @@ public class GHTeam extends GHObject implements Refreshable { private GHOrganization organization; // populated by GET /user/teams where Teams+Orgs are returned together + /** + * The Enum Privacy. + */ public enum Privacy { - SECRET, // only visible to organization owners and members of this team. + + /** The secret. */ + SECRET, + /** The closed. */ + // only visible to organization owners and members of this team. CLOSED // visible to all members of this organization. } /** - * Member's role in a team + * Member's role in a team. */ public enum Role { - /** - * A normal member of the team - */ + + /** A normal member of the team. */ MEMBER, /** * Able to add/remove other team members, promote other team members to team maintainer, and edit the team's @@ -46,11 +57,25 @@ public enum Role { MAINTAINER } + /** + * Wrap up. + * + * @param owner + * the owner + * @return the GH team + */ GHTeam wrapUp(GHOrganization owner) { this.organization = owner; return this; } + /** + * Wrap up. + * + * @param root + * the root + * @return the GH team + */ GHTeam wrapUp(GitHub root) { // auto-wrapUp when organization is known from GET /user/teams return wrapUp(organization); } @@ -149,17 +174,27 @@ public PagedIterable listMembers(String role) throws IOException { return root().createRequest().withUrlPath(api("/members")).with("role", role).toIterable(GHUser[].class, null); } + /** + * List members with specified role paged iterable. + * + * @param role + * the role + * @return the paged iterable + * @throws IOException + * the io exception + */ + public PagedIterable listMembers(Role role) throws IOException { + return listMembers(transformEnum(role)); + } + /** * Gets a single discussion by ID. * * @param discussionNumber * id of the discussion that we want to query for * @return the discussion - * @throws java.io.FileNotFoundException - * if the discussion does not exist * @throws IOException * the io exception - * * @see documentation */ @Nonnull @@ -211,9 +246,9 @@ 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) { + } catch (@SuppressWarnings("unused") IOException ignore) { return false; } } @@ -226,7 +261,7 @@ public boolean hasMember(GHUser user) { * the io exception */ public Map getRepositories() throws IOException { - Map m = new TreeMap(); + Map m = new TreeMap<>(); for (GHRepository r : listRepositories()) { m.put(r.getName(), r); } @@ -286,7 +321,7 @@ public void add(GHUser user, Role role) throws IOException { * the io exception */ public void remove(GHUser u) throws IOException { - root().createRequest().method("DELETE").withUrlPath(api("/members/" + u.getLogin())).send(); + root().createRequest().method("DELETE").withUrlPath(api("/memberships/" + u.getLogin())).send(); } /** @@ -298,11 +333,11 @@ public void remove(GHUser u) throws IOException { * the io exception */ public void add(GHRepository r) throws IOException { - add(r, null); + add(r, (GHOrganization.RepositoryRole) null); } /** - * Add. + * * Add. * * @param r * the r @@ -310,11 +345,28 @@ public void add(GHRepository r) throws IOException { * the permission * @throws IOException * the io exception + * @deprecated use {@link GHTeam#add(GHRepository, org.kohsuke.github.GHOrganization.RepositoryRole)} */ + @Deprecated public void add(GHRepository r, GHOrganization.Permission permission) throws IOException { + add(r, GHOrganization.RepositoryRole.from(permission)); + } + + /** + * Add. + * + * @param r + * the r + * @param permission + * the permission + * @throws IOException + * the io exception + */ + public void add(GHRepository r, GHOrganization.RepositoryRole permission) throws IOException { root().createRequest() .method("PUT") - .with("permission", permission) + .with("permission", + Optional.ofNullable(permission).map(GHOrganization.RepositoryRole::toString).orElse(null)) .withUrlPath(api("/repos/" + r.getOwnerName() + '/' + r.getName())) .send(); } @@ -345,7 +397,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; } /** @@ -376,16 +434,34 @@ public GHOrganization getOrganization() throws IOException { return organization; } + /** + * Refresh. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Override public void refresh() throws IOException { root().createRequest().withUrlPath(api("")).fetchInto(this).wrapUp(root()); } + /** + * Gets the html url. + * + * @return the html url + */ @Override public URL getHtmlUrl() { return GitHubClient.parseURL(html_url); } + /** + * Equals. + * + * @param o + * the o + * @return true, if successful + */ @Override public boolean equals(Object o) { if (this == o) { @@ -400,6 +476,11 @@ public boolean equals(Object o) { && Objects.equals(description, ghTeam.description) && privacy == ghTeam.privacy; } + /** + * Hash code. + * + * @return the int + */ @Override public int hashCode() { return Objects.hash(name, getUrl(), permission, slug, description, privacy); diff --git a/src/main/java/org/kohsuke/github/GHTeamBuilder.java b/src/main/java/org/kohsuke/github/GHTeamBuilder.java index 36c300c087..f1583fb8db 100644 --- a/src/main/java/org/kohsuke/github/GHTeamBuilder.java +++ b/src/main/java/org/kohsuke/github/GHTeamBuilder.java @@ -4,15 +4,28 @@ import java.io.IOException; +// TODO: Auto-generated Javadoc /** * Creates a team. * * https://developer.github.com/v3/teams/#create-team */ public class GHTeamBuilder extends GitHubInteractiveObject { + + /** The builder. */ protected final Requester builder; private final String orgName; + /** + * Instantiates a new GH team builder. + * + * @param root + * the root + * @param orgName + * the org name + * @param name + * the name + */ @SuppressFBWarnings(value = { "EI_EXPOSE_REP" }, justification = "Expected") public GHTeamBuilder(GitHub root, String orgName, String name) { super(root); @@ -58,7 +71,7 @@ public GHTeamBuilder repositories(String... repoNames) { } /** - * Description for this team + * Description for this team. * * @param privacy * privacy of team @@ -70,7 +83,7 @@ public GHTeamBuilder privacy(GHTeam.Privacy privacy) { } /** - * Parent team id for this team + * Parent team id for this team. * * @param parentTeamId * parentTeamId of team diff --git a/src/main/java/org/kohsuke/github/GHThread.java b/src/main/java/org/kohsuke/github/GHThread.java index ca16193e09..9dc49773b8 100644 --- a/src/main/java/org/kohsuke/github/GHThread.java +++ b/src/main/java/org/kohsuke/github/GHThread.java @@ -7,6 +7,7 @@ import java.net.URL; import java.util.Date; +// TODO: Auto-generated Javadoc /** * A conversation in the notification API. * @@ -24,10 +25,21 @@ public class GHThread extends GHObject { private String last_read_at; private String url, subscription_url; + /** + * The Class Subject. + */ static class Subject { + + /** The title. */ String title; + + /** The url. */ String url; + + /** The latest comment url. */ String latest_comment_url; + + /** The type. */ String type; } @@ -44,6 +56,9 @@ public Date getLastReadAt() { } /** + * Gets the html url. + * + * @return the html url * @deprecated This object has no HTML URL. */ @Override diff --git a/src/main/java/org/kohsuke/github/GHTree.java b/src/main/java/org/kohsuke/github/GHTree.java index 3df7813a73..6a2be8a55e 100644 --- a/src/main/java/org/kohsuke/github/GHTree.java +++ b/src/main/java/org/kohsuke/github/GHTree.java @@ -5,6 +5,7 @@ import java.util.Collections; import java.util.List; +// TODO: Auto-generated Javadoc /** * Provides information for Git Trees https://developer.github.com/v3/git/trees/ * @@ -14,6 +15,8 @@ * @see GHTreeEntry#asTree() GHTreeEntry#asTree() */ public class GHTree { + + /** The repo. */ /* package almost final */GHRepository repo; private boolean truncated; @@ -21,7 +24,7 @@ public class GHTree { private GHTreeEntry[] tree; /** - * The SHA for this trees + * The SHA for this trees. * * @return the sha */ @@ -30,7 +33,7 @@ public String getSha() { } /** - * Return an array of entries of the trees + * Return an array of entries of the trees. * * @return the tree */ @@ -58,7 +61,7 @@ public GHTreeEntry getEntry(String path) { /** * Returns true if the number of items in the tree array exceeded the GitHub maximum limit. * - * @return true true if the number of items in the tree array exceeded the GitHub maximum limit otherwise false. + * @return true if the number of items in the tree array exceeded the GitHub maximum limit otherwise false. */ public boolean isTruncated() { return truncated; @@ -74,6 +77,13 @@ public URL getUrl() { return GitHubClient.parseURL(url); } + /** + * Wrap. + * + * @param repo + * the repo + * @return the GH tree + */ GHTree wrap(GHRepository repo) { this.repo = repo; for (GHTreeEntry e : tree) { diff --git a/src/main/java/org/kohsuke/github/GHTreeBuilder.java b/src/main/java/org/kohsuke/github/GHTreeBuilder.java index 56da375cae..892afb7686 100644 --- a/src/main/java/org/kohsuke/github/GHTreeBuilder.java +++ b/src/main/java/org/kohsuke/github/GHTreeBuilder.java @@ -9,6 +9,7 @@ import java.util.ArrayList; import java.util.List; +// TODO: Auto-generated Javadoc /** * Builder pattern for creating a new tree. Based on https://developer.github.com/v3/git/trees/#create-a-tree */ @@ -21,7 +22,7 @@ public class GHTreeBuilder { // Issue #636: Create Tree no longer accepts null value in sha field @JsonInclude(Include.NON_NULL) @SuppressFBWarnings("URF_UNREAD_FIELD") - private static final class TreeEntry { + private static class TreeEntry { private final String path; private final String mode; @@ -36,6 +37,28 @@ private TreeEntry(String path, String mode, String type) { } } + private static class DeleteTreeEntry extends TreeEntry { + /** + * According to reference doc https://docs.github.com/en/rest/git/trees?apiVersion=2022-11-28#create-a-tree: if + * sha value is null then the file will be deleted. That's why in this DTO sha is always {@literal null} and is + * included to json. + */ + @JsonInclude + private final String sha = null; + + private DeleteTreeEntry(String path) { + // The `mode` and `type` parameters are required by the API, but their values are ignored during delete. + // Supply reasonable placeholders. + super(path, "100644", "blob"); + } + } + + /** + * Instantiates a new GH tree builder. + * + * @param repo + * the repo + */ GHTreeBuilder(GHRepository repo) { this.repo = repo; req = repo.root().createRequest(); @@ -155,6 +178,19 @@ public GHTreeBuilder add(String path, String content, boolean executable) { return add(path, content.getBytes(StandardCharsets.UTF_8), executable); } + /** + * Removes an entry with the given path from base tree. + * + * @param path + * the file path in the tree + * @return this GHTreeBuilder + */ + public GHTreeBuilder delete(String path) { + TreeEntry entry = new DeleteTreeEntry(path); + treeEntries.add(entry); + return this; + } + private String getApiTail() { return String.format("/repos/%s/%s/git/trees", repo.getOwnerName(), repo.getName()); } diff --git a/src/main/java/org/kohsuke/github/GHTreeEntry.java b/src/main/java/org/kohsuke/github/GHTreeEntry.java index 99df3bdd48..4941365f31 100644 --- a/src/main/java/org/kohsuke/github/GHTreeEntry.java +++ b/src/main/java/org/kohsuke/github/GHTreeEntry.java @@ -4,6 +4,7 @@ import java.io.InputStream; import java.net.URL; +// TODO: Auto-generated Javadoc /** * Provides information for Git Trees https://developer.github.com/v3/git/trees/ * @@ -11,6 +12,8 @@ * @see GHTree */ public class GHTreeEntry { + + /** The tree. */ /* package almost final */GHTree tree; private String path, mode, type, sha, url; @@ -26,7 +29,7 @@ public String getPath() { } /** - * Get mode such as 100644 + * Get mode such as 100644. * * @return the mode */ @@ -35,7 +38,7 @@ public String getMode() { } /** - * Gets the size of the file, such as 132 + * Gets the size of the file, such as 132. * * @return The size of the path or 0 if it is a directory */ diff --git a/src/main/java/org/kohsuke/github/GHUser.java b/src/main/java/org/kohsuke/github/GHUser.java index 1e36182f0c..9d1fb057b8 100644 --- a/src/main/java/org/kohsuke/github/GHUser.java +++ b/src/main/java/org/kohsuke/github/GHUser.java @@ -30,6 +30,7 @@ import static org.kohsuke.github.internal.Previews.INERTIA; +// TODO: Auto-generated Javadoc /** * Represents an user of GitHub. * @@ -37,6 +38,9 @@ */ public class GHUser extends GHPerson { + /** The ldap dn. */ + protected String ldap_dn; + /** * Gets keys. * @@ -69,7 +73,7 @@ public void unfollow() throws IOException { } /** - * Lists the users that this user is following + * Lists the users that this user is following. * * @return the follows * @throws IOException @@ -81,7 +85,7 @@ public GHPersonSet getFollows() throws IOException { } /** - * Lists the users that this user is following + * Lists the users that this user is following. * * @return the paged iterable */ @@ -187,7 +191,7 @@ public boolean isPublicMemberOf(GHOrganization org) { } /** - * Returns true if this user is marked as hireable, false otherwise + * Returns true if this user is marked as hireable, false otherwise. * * @return if the user is marked as hireable */ @@ -195,6 +199,11 @@ public boolean isHireable() { return hireable; } + /** + * Gets the bio. + * + * @return the bio + */ public String getBio() { return bio; } @@ -222,6 +231,10 @@ public GHPersonSet getOrganizations() throws IOException { /** * Lists events performed by a user (this includes private events if the caller is authenticated. + * + * @return the paged iterable + * @throws IOException + * Signals that an I/O exception has occurred. */ public PagedIterable listEvents() throws IOException { return root().createRequest() @@ -242,11 +255,38 @@ public PagedIterable listGists() throws IOException { .toIterable(GHGist[].class, null); } + /** + * Gets LDAP information for user. + * + * @return The LDAP information + * @throws IOException + * the io exception + * @see Github + * LDAP + */ + public Optional getLdapDn() throws IOException { + super.populate(); + return Optional.ofNullable(ldap_dn); + } + + /** + * Hash code. + * + * @return the int + */ @Override public int hashCode() { return login.hashCode(); } + /** + * Equals. + * + * @param obj + * the obj + * @return true, if successful + */ @Override public boolean equals(Object obj) { if (obj instanceof GHUser) { @@ -256,6 +296,13 @@ public boolean equals(Object obj) { return false; } + /** + * Gets the api tail url. + * + * @param tail + * the tail + * @return the api tail url + */ String getApiTailUrl(String tail) { if (tail.length() > 0 && !tail.startsWith("/")) tail = '/' + tail; diff --git a/src/main/java/org/kohsuke/github/GHUserSearchBuilder.java b/src/main/java/org/kohsuke/github/GHUserSearchBuilder.java index c310354364..8276b3d8e4 100644 --- a/src/main/java/org/kohsuke/github/GHUserSearchBuilder.java +++ b/src/main/java/org/kohsuke/github/GHUserSearchBuilder.java @@ -1,5 +1,6 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * Search users. * @@ -7,12 +8,23 @@ * @see GitHub#searchUsers() GitHub#searchUsers() */ public class GHUserSearchBuilder extends GHSearchBuilder { + + /** + * Instantiates a new GH user search builder. + * + * @param root + * the root + */ GHUserSearchBuilder(GitHub root) { super(root, UserSearchResult.class); } /** * Search terms. + * + * @param term + * the term + * @return the GH user search builder */ public GHUserSearchBuilder q(String term) { super.q(term); @@ -124,7 +136,13 @@ public GHUserSearchBuilder sort(Sort sort) { * The enum Sort. */ public enum Sort { - FOLLOWERS, REPOSITORIES, JOINED + + /** The followers. */ + FOLLOWERS, + /** The repositories. */ + REPOSITORIES, + /** The joined. */ + JOINED } private static class UserSearchResult extends SearchResult { @@ -136,6 +154,11 @@ GHUser[] getItems(GitHub root) { } } + /** + * Gets the api url. + * + * @return the api url + */ @Override protected String getApiUrl() { return "/search/users"; diff --git a/src/main/java/org/kohsuke/github/GHVerification.java b/src/main/java/org/kohsuke/github/GHVerification.java index d6b8d89d99..2a759ea5a5 100644 --- a/src/main/java/org/kohsuke/github/GHVerification.java +++ b/src/main/java/org/kohsuke/github/GHVerification.java @@ -2,16 +2,16 @@ import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; +// TODO: Auto-generated Javadoc /** * The commit/tag can be signed by user. This object holds the verification status. Whether the Commit/Tag is signed or * not. * + * @author Sourabh Sarvotham Parkala * @see tags signature - * verificatiion + * verification * @see commits signature - * verificatiion - * - * @author Sourabh Sarvotham Parkala + * verification */ @SuppressFBWarnings(value = { "UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD", "UWF_UNWRITTEN_FIELD", "NP_UNWRITTEN_FIELD" }, justification = "JSON API") @@ -32,7 +32,7 @@ public boolean isVerified() { /** * Gets reason for verification value. * - * @return return reason of type {@link Reason}, such as "valid" or "unsigned". The possible values can be found in + * @return reason of type {@link Reason}, such as "valid" or "unsigned". The possible values can be found in * {@link Reason}} */ public Reason getReason() { @@ -60,23 +60,64 @@ public String getPayload() { /** * The possible values for reason in verification object from github. * - * @see List of possible - * reason values * @author Sourabh Sarvotham Parkala + * @see List of possible reason + * values. Note graphQL documentation has currently the most updated values. */ public enum Reason { + + /** Signing key expired. */ EXPIRED_KEY, + + /** The usage flags for the key that signed this don't allow signing. */ NOT_SIGNING_KEY, + + /** The GPG verification service misbehaved. */ GPGVERIFY_ERROR, + + /** The GPG verification service is unavailable at the moment. */ GPGVERIFY_UNAVAILABLE, + + /** Unsigned. */ UNSIGNED, + + /** Unknown signature type. */ UNKNOWN_SIGNATURE_TYPE, + + /** Email used for signing not known to GitHub. */ NO_USER, + + /** Email used for signing unverified on GitHub. */ UNVERIFIED_EMAIL, + + /** Invalid email used for signing. */ BAD_EMAIL, + + /** Key used for signing not known to GitHub. */ UNKNOWN_KEY, + + /** Malformed signature. */ MALFORMED_SIGNATURE, + + /** Invalid signature. */ INVALID, - VALID + + /** Valid signature and verified by GitHub. */ + VALID, + + /** The signing certificate or its chain could not be verified. */ + BAD_CERT, + + /** Malformed signature. (Returned by graphQL) */ + MALFORMED_SIG, + + /** Valid signature, though certificate revocation check failed. */ + OCSP_ERROR, + + /** Valid signature, pending certificate revocation checking. */ + OCSP_PENDING, + + /** One or more certificates in chain has been revoked. */ + OCSP_REVOKED } } diff --git a/src/main/java/org/kohsuke/github/GHVerifiedKey.java b/src/main/java/org/kohsuke/github/GHVerifiedKey.java index 24dfbdbfa0..0d0ee4057f 100644 --- a/src/main/java/org/kohsuke/github/GHVerifiedKey.java +++ b/src/main/java/org/kohsuke/github/GHVerifiedKey.java @@ -1,5 +1,6 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * The type GHVerifiedKey. */ @@ -12,6 +13,11 @@ public GHVerifiedKey() { this.verified = true; } + /** + * Gets the title. + * + * @return the title + */ @Override public String getTitle() { return (title == null ? "key-" + id : title); diff --git a/src/main/java/org/kohsuke/github/GHWorkflow.java b/src/main/java/org/kohsuke/github/GHWorkflow.java index ea195e5b10..b016e5d6bc 100644 --- a/src/main/java/org/kohsuke/github/GHWorkflow.java +++ b/src/main/java/org/kohsuke/github/GHWorkflow.java @@ -10,6 +10,7 @@ import java.util.Map; import java.util.Objects; +// TODO: Auto-generated Javadoc /** * A workflow. * @@ -56,6 +57,13 @@ public String getState() { return state; } + /** + * Gets the html url. + * + * @return the html url + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Override public URL getHtmlUrl() throws IOException { return GitHubClient.parseURL(htmlUrl); @@ -87,7 +95,7 @@ public URL getBadgeUrl() { * the io exception */ public void disable() throws IOException { - root().createRequest().method("PUT").withUrlPath(getApiRoute(), "disable").fetchHttpStatusCode(); + root().createRequest().method("PUT").withUrlPath(getApiRoute(), "disable").send(); } /** @@ -97,7 +105,7 @@ public void disable() throws IOException { * the io exception */ public void enable() throws IOException { - root().createRequest().method("PUT").withUrlPath(getApiRoute(), "enable").fetchHttpStatusCode(); + root().createRequest().method("PUT").withUrlPath(getApiRoute(), "enable").send(); } /** @@ -133,7 +141,7 @@ public void dispatch(String ref, Map inputs) throws IOException requester.with("inputs", inputs); } - requester.fetchHttpStatusCode(); + requester.send(); } /** @@ -155,6 +163,13 @@ private String getApiRoute() { return "/repos/" + owner.getOwnerName() + "/" + owner.getName() + "/actions/workflows/" + getId(); } + /** + * Wrap up. + * + * @param owner + * the owner + * @return the GH workflow + */ GHWorkflow wrapUp(GHRepository owner) { this.owner = owner; return this; diff --git a/src/main/java/org/kohsuke/github/GHWorkflowJob.java b/src/main/java/org/kohsuke/github/GHWorkflowJob.java index 9e701d7f32..82a487d72f 100644 --- a/src/main/java/org/kohsuke/github/GHWorkflowJob.java +++ b/src/main/java/org/kohsuke/github/GHWorkflowJob.java @@ -9,10 +9,15 @@ import java.io.IOException; import java.net.URL; -import java.util.*; +import java.util.ArrayList; +import java.util.Collections; +import java.util.Date; +import java.util.List; +import java.util.Objects; import static java.util.Objects.requireNonNull; +// TODO: Auto-generated Javadoc /** * A workflow run job. * @@ -35,12 +40,20 @@ public class GHWorkflowJob extends GHObject { private String conclusion; private long runId; + private int runAttempt; private String htmlUrl; private String checkRunUrl; + private int runnerId; + private String runnerName; + private int runnerGroupId; + private String runnerGroupName; + private List steps = new ArrayList<>(); + private List labels = new ArrayList<>(); + /** * The name of the job. * @@ -60,7 +73,7 @@ public String getHeadSha() { } /** - * When was this job started? + * When was this job started?. * * @return start date */ @@ -69,7 +82,7 @@ public Date getStartedAt() { } /** - * When was this job completed? + * When was this job completed?. * * @return completion date */ @@ -108,6 +121,20 @@ public long getRunId() { return runId; } + /** + * Attempt number of the associated workflow run, 1 for first attempt and higher if the workflow was re-run. + * + * @return attempt number + */ + public int getRunAttempt() { + return runAttempt; + } + + /** + * Gets the html url. + * + * @return the html url + */ @Override public URL getHtmlUrl() { return GitHubClient.parseURL(htmlUrl); @@ -131,6 +158,51 @@ public List getSteps() { return Collections.unmodifiableList(steps); } + /** + * Gets the labels of the job. + * + * @return the labels + */ + public List getLabels() { + return Collections.unmodifiableList(labels); + } + + /** + * the runner id. + * + * @return runnerId + */ + public int getRunnerId() { + return runnerId; + } + + /** + * the runner name. + * + * @return runnerName + */ + public String getRunnerName() { + return runnerName; + } + + /** + * the runner group id. + * + * @return runnerGroupId + */ + public int getRunnerGroupId() { + return runnerGroupId; + } + + /** + * the runner group name. + * + * @return runnerGroupName + */ + public String getRunnerGroupName() { + return runnerGroupName; + } + /** * Repository to which the job belongs. * @@ -150,9 +222,9 @@ public GHRepository getRepository() { * the type of result * @param streamFunction * The {@link InputStreamFunction} that will process the stream + * @return the result of reading the stream. * @throws IOException * The IO exception. - * @return the result of reading the stream. */ public T downloadLogs(InputStreamFunction streamFunction) throws IOException { requireNonNull(streamFunction, "Stream function must not be null"); @@ -170,11 +242,21 @@ private String getApiRoute() { return "/repos/" + owner.getOwnerName() + "/" + owner.getName() + "/actions/jobs/" + getId(); } + /** + * Wrap up. + * + * @param owner + * the owner + * @return the GH workflow job + */ GHWorkflowJob wrapUp(GHRepository owner) { this.owner = owner; return this; } + /** + * The Class Step. + */ public static class Step { private String name; @@ -205,7 +287,7 @@ public int getNumber() { } /** - * When was this step started? + * When was this step started?. * * @return start date */ @@ -214,7 +296,7 @@ public Date getStartedAt() { } /** - * When was this step completed? + * When was this step completed?. * * @return completion date */ diff --git a/src/main/java/org/kohsuke/github/GHWorkflowJobQueryBuilder.java b/src/main/java/org/kohsuke/github/GHWorkflowJobQueryBuilder.java index bf76957423..f9ff3a1e3e 100644 --- a/src/main/java/org/kohsuke/github/GHWorkflowJobQueryBuilder.java +++ b/src/main/java/org/kohsuke/github/GHWorkflowJobQueryBuilder.java @@ -1,5 +1,6 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * Lists up jobs of a workflow run with some filtering. * @@ -8,6 +9,12 @@ public class GHWorkflowJobQueryBuilder extends GHQueryBuilder { private final GHRepository repo; + /** + * Instantiates a new GH workflow job query builder. + * + * @param workflowRun + * the workflow run + */ GHWorkflowJobQueryBuilder(GHWorkflowRun workflowRun) { super(workflowRun.getRepository().root()); this.repo = workflowRun.getRepository(); @@ -34,6 +41,11 @@ public GHWorkflowJobQueryBuilder all() { return this; } + /** + * List. + * + * @return the paged iterable + */ @Override public PagedIterable list() { return new GHWorkflowJobsIterable(repo, req.build()); diff --git a/src/main/java/org/kohsuke/github/GHWorkflowJobsIterable.java b/src/main/java/org/kohsuke/github/GHWorkflowJobsIterable.java index 0135e26b35..6ab751850d 100644 --- a/src/main/java/org/kohsuke/github/GHWorkflowJobsIterable.java +++ b/src/main/java/org/kohsuke/github/GHWorkflowJobsIterable.java @@ -4,6 +4,7 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * Iterable for workflow run jobs listing. */ @@ -13,11 +14,26 @@ class GHWorkflowJobsIterable extends PagedIterable { private GHWorkflowJobsPage result; + /** + * Instantiates a new GH workflow jobs iterable. + * + * @param repo + * the repo + * @param request + * the request + */ public GHWorkflowJobsIterable(GHRepository repo, GitHubRequest request) { this.repo = repo; this.request = request; } + /** + * Iterator. + * + * @param pageSize + * the page size + * @return the paged iterator + */ @Nonnull @Override public PagedIterator _iterator(int pageSize) { @@ -26,6 +42,13 @@ public PagedIterator _iterator(int pageSize) { null); } + /** + * Adapt. + * + * @param base + * the base + * @return the iterator + */ protected Iterator adapt(final Iterator base) { return new Iterator() { public boolean hasNext() { diff --git a/src/main/java/org/kohsuke/github/GHWorkflowJobsPage.java b/src/main/java/org/kohsuke/github/GHWorkflowJobsPage.java index 6371d3663d..f19e30a2fb 100644 --- a/src/main/java/org/kohsuke/github/GHWorkflowJobsPage.java +++ b/src/main/java/org/kohsuke/github/GHWorkflowJobsPage.java @@ -1,5 +1,6 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * Represents the one page of jobs result when listing jobs from a workflow run. */ @@ -7,10 +8,22 @@ class GHWorkflowJobsPage { private int total_count; private GHWorkflowJob[] jobs; + /** + * Gets the total count. + * + * @return the total count + */ public int getTotalCount() { return total_count; } + /** + * Gets the workflow jobs. + * + * @param repo + * the repo + * @return the workflow jobs + */ GHWorkflowJob[] getWorkflowJobs(GHRepository repo) { for (GHWorkflowJob job : jobs) { job.wrapUp(repo); diff --git a/src/main/java/org/kohsuke/github/GHWorkflowRun.java b/src/main/java/org/kohsuke/github/GHWorkflowRun.java index 1a9122124f..a38450adbf 100644 --- a/src/main/java/org/kohsuke/github/GHWorkflowRun.java +++ b/src/main/java/org/kohsuke/github/GHWorkflowRun.java @@ -17,6 +17,7 @@ import static java.util.Objects.requireNonNull; +// TODO: Auto-generated Javadoc /** * A workflow run. * @@ -29,9 +30,13 @@ public class GHWorkflowRun extends GHObject { private GHRepository owner; private String name; + private String displayTitle; private long runNumber; private long workflowId; + private long runAttempt; + private String runStartedAt; + private String htmlUrl; private String jobsUrl; private String logsUrl; @@ -61,6 +66,15 @@ public String getName() { return name; } + /** + * The display title of the workflow run. + * + * @return the displayTitle + */ + public String getDisplayTitle() { + return displayTitle; + } + /** * The run number. * @@ -79,6 +93,33 @@ public long getWorkflowId() { return workflowId; } + /** + * The run attempt. + * + * @return the run attempt + */ + public long getRunAttempt() { + return runAttempt; + } + + /** + * When was this run triggered?. + * + * @return run triggered + * @throws IOException + * on error + */ + public Date getRunStartedAt() throws IOException { + return GitHubClient.parseDate(runStartedAt); + } + + /** + * Gets the html url. + * + * @return the html url + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Override public URL getHtmlUrl() throws IOException { return GitHubClient.parseURL(htmlUrl); @@ -253,7 +294,7 @@ public List getPullRequests() throws IOException { * the io exception */ public void cancel() throws IOException { - root().createRequest().method("POST").withUrlPath(getApiRoute(), "cancel").fetchHttpStatusCode(); + root().createRequest().method("POST").withUrlPath(getApiRoute(), "cancel").send(); } /** @@ -263,7 +304,7 @@ public void cancel() throws IOException { * the io exception */ public void delete() throws IOException { - root().createRequest().method("DELETE").withUrlPath(getApiRoute()).fetchHttpStatusCode(); + root().createRequest().method("DELETE").withUrlPath(getApiRoute()).send(); } /** @@ -273,7 +314,17 @@ public void delete() throws IOException { * the io exception */ public void rerun() throws IOException { - root().createRequest().method("POST").withUrlPath(getApiRoute(), "rerun").fetchHttpStatusCode(); + root().createRequest().method("POST").withUrlPath(getApiRoute(), "rerun").send(); + } + + /** + * Approve the workflow run. + * + * @throws IOException + * the io exception + */ + public void approve() throws IOException { + root().createRequest().method("POST").withUrlPath(getApiRoute(), "approve").send(); } /** @@ -296,9 +347,9 @@ public PagedIterable listArtifacts() { * the type of result * @param streamFunction * The {@link InputStreamFunction} that will process the stream + * @return the result of reading the stream. * @throws IOException * The IO exception. - * @return the result of reading the stream. */ public T downloadLogs(InputStreamFunction streamFunction) throws IOException { requireNonNull(streamFunction, "Stream function must not be null"); @@ -313,7 +364,7 @@ public T downloadLogs(InputStreamFunction streamFunction) throws IOExcept * the io exception */ public void deleteLogs() throws IOException { - root().createRequest().method("DELETE").withUrlPath(getApiRoute(), "logs").fetchHttpStatusCode(); + root().createRequest().method("DELETE").withUrlPath(getApiRoute(), "logs").send(); } /** @@ -344,11 +395,25 @@ private String getApiRoute() { return "/repos/" + owner.getOwnerName() + "/" + owner.getName() + "/actions/runs/" + getId(); } + /** + * Wrap up. + * + * @param owner + * the owner + * @return the GH workflow run + */ GHWorkflowRun wrapUp(GHRepository owner) { this.owner = owner; return wrapUp(owner.root()); } + /** + * Wrap up. + * + * @param root + * the root + * @return the GH workflow run + */ GHWorkflowRun wrapUp(GitHub root) { if (owner != null) { if (pullRequests != null) { @@ -360,6 +425,9 @@ GHWorkflowRun wrapUp(GitHub root) { return this; } + /** + * The Class HeadCommit. + */ public static class HeadCommit { private String id; private String treeId; @@ -369,7 +437,7 @@ public static class HeadCommit { private GitUser committer; /** - * Gets id of the commit + * Gets id of the commit. * * @return id of the commit */ @@ -423,26 +491,82 @@ public GitUser getCommitter() { } } + /** + * The Enum Status. + */ public static enum Status { - QUEUED, IN_PROGRESS, COMPLETED, UNKNOWN; + /** The queued. */ + QUEUED, + /** The in progress. */ + IN_PROGRESS, + /** The completed. */ + COMPLETED, + /** The unknown. */ + UNKNOWN; + + /** + * From. + * + * @param value + * the value + * @return the status + */ public static Status from(String value) { return EnumUtils.getNullableEnumOrDefault(Status.class, value, Status.UNKNOWN); } + /** + * To string. + * + * @return the string + */ @Override public String toString() { return name().toLowerCase(Locale.ROOT); } } + /** + * The Enum Conclusion. + */ public static enum Conclusion { - ACTION_REQUIRED, CANCELLED, FAILURE, NEUTRAL, SUCCESS, SKIPPED, STALE, TIMED_OUT, UNKNOWN; + /** The action required. */ + ACTION_REQUIRED, + /** The cancelled. */ + CANCELLED, + /** The failure. */ + FAILURE, + /** The neutral. */ + NEUTRAL, + /** The success. */ + SUCCESS, + /** The skipped. */ + SKIPPED, + /** The stale. */ + STALE, + /** The timed out. */ + TIMED_OUT, + /** The unknown. */ + UNKNOWN; + + /** + * From. + * + * @param value + * the value + * @return the conclusion + */ public static Conclusion from(String value) { return EnumUtils.getNullableEnumOrDefault(Conclusion.class, value, Conclusion.UNKNOWN); } + /** + * To string. + * + * @return the string + */ @Override public String toString() { return name().toLowerCase(Locale.ROOT); diff --git a/src/main/java/org/kohsuke/github/GHWorkflowRunQueryBuilder.java b/src/main/java/org/kohsuke/github/GHWorkflowRunQueryBuilder.java index 57a482d1bf..d1daaf929d 100644 --- a/src/main/java/org/kohsuke/github/GHWorkflowRunQueryBuilder.java +++ b/src/main/java/org/kohsuke/github/GHWorkflowRunQueryBuilder.java @@ -1,7 +1,9 @@ package org.kohsuke.github; +import org.kohsuke.github.GHWorkflowRun.Conclusion; import org.kohsuke.github.GHWorkflowRun.Status; +// TODO: Auto-generated Javadoc /** * Lists up workflow runs with some filtering and sorting. * @@ -11,6 +13,12 @@ public class GHWorkflowRunQueryBuilder extends GHQueryBuilder { private final GHRepository repo; + /** + * Instantiates a new GH workflow run query builder. + * + * @param repo + * the repo + */ GHWorkflowRunQueryBuilder(GHRepository repo) { super(repo.root()); this.repo = repo; @@ -88,6 +96,25 @@ public GHWorkflowRunQueryBuilder status(Status status) { return this; } + /** + * Conclusion workflow run query builder. + *

+ * The GitHub API is also using the status field to search by conclusion. + * + * @param conclusion + * the conclusion + * @return the gh workflow run query builder + */ + public GHWorkflowRunQueryBuilder conclusion(Conclusion conclusion) { + req.with("status", conclusion.toString()); + return this; + } + + /** + * List. + * + * @return the paged iterable + */ @Override public PagedIterable list() { return new GHWorkflowRunsIterable(repo, req.withUrlPath(repo.getApiTailUrl("actions/runs"))); diff --git a/src/main/java/org/kohsuke/github/GHWorkflowRunsIterable.java b/src/main/java/org/kohsuke/github/GHWorkflowRunsIterable.java index 5c49ad50ab..4a525a83dc 100644 --- a/src/main/java/org/kohsuke/github/GHWorkflowRunsIterable.java +++ b/src/main/java/org/kohsuke/github/GHWorkflowRunsIterable.java @@ -4,6 +4,7 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * Iterable for workflow runs listing. */ @@ -13,11 +14,26 @@ class GHWorkflowRunsIterable extends PagedIterable { private GHWorkflowRunsPage result; + /** + * Instantiates a new GH workflow runs iterable. + * + * @param owner + * the owner + * @param requestBuilder + * the request builder + */ public GHWorkflowRunsIterable(GHRepository owner, GitHubRequest.Builder requestBuilder) { this.owner = owner; this.request = requestBuilder.build(); } + /** + * Iterator. + * + * @param pageSize + * the page size + * @return the paged iterator + */ @Nonnull @Override public PagedIterator _iterator(int pageSize) { @@ -26,6 +42,13 @@ public PagedIterator _iterator(int pageSize) { null); } + /** + * Adapt. + * + * @param base + * the base + * @return the iterator + */ protected Iterator adapt(final Iterator base) { return new Iterator() { public boolean hasNext() { diff --git a/src/main/java/org/kohsuke/github/GHWorkflowRunsPage.java b/src/main/java/org/kohsuke/github/GHWorkflowRunsPage.java index d469e54af6..ed45f1addc 100644 --- a/src/main/java/org/kohsuke/github/GHWorkflowRunsPage.java +++ b/src/main/java/org/kohsuke/github/GHWorkflowRunsPage.java @@ -1,5 +1,6 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * Represents the one page of workflow runs result when listing workflow runs. */ @@ -7,10 +8,22 @@ class GHWorkflowRunsPage { private int totalCount; private GHWorkflowRun[] workflowRuns; + /** + * Gets the total count. + * + * @return the total count + */ public int getTotalCount() { return totalCount; } + /** + * Gets the workflow runs. + * + * @param owner + * the owner + * @return the workflow runs + */ GHWorkflowRun[] getWorkflowRuns(GHRepository owner) { for (GHWorkflowRun workflowRun : workflowRuns) { workflowRun.wrapUp(owner); diff --git a/src/main/java/org/kohsuke/github/GHWorkflowsIterable.java b/src/main/java/org/kohsuke/github/GHWorkflowsIterable.java index 0f68687bd3..66d3d9480f 100644 --- a/src/main/java/org/kohsuke/github/GHWorkflowsIterable.java +++ b/src/main/java/org/kohsuke/github/GHWorkflowsIterable.java @@ -4,6 +4,7 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * Iterable for workflows listing. */ @@ -12,10 +13,23 @@ class GHWorkflowsIterable extends PagedIterable { private GHWorkflowsPage result; + /** + * Instantiates a new GH workflows iterable. + * + * @param owner + * the owner + */ public GHWorkflowsIterable(GHRepository owner) { this.owner = owner; } + /** + * Iterator. + * + * @param pageSize + * the page size + * @return the paged iterator + */ @Nonnull @Override public PagedIterator _iterator(int pageSize) { @@ -29,6 +43,13 @@ public PagedIterator _iterator(int pageSize) { null); } + /** + * Adapt. + * + * @param base + * the base + * @return the iterator + */ protected Iterator adapt(final Iterator base) { return new Iterator() { public boolean hasNext() { diff --git a/src/main/java/org/kohsuke/github/GHWorkflowsPage.java b/src/main/java/org/kohsuke/github/GHWorkflowsPage.java index 01460ed827..8bdff6e710 100644 --- a/src/main/java/org/kohsuke/github/GHWorkflowsPage.java +++ b/src/main/java/org/kohsuke/github/GHWorkflowsPage.java @@ -1,5 +1,6 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * Represents the one page of workflow result when listing workflows. */ @@ -7,10 +8,22 @@ class GHWorkflowsPage { private int total_count; private GHWorkflow[] workflows; + /** + * Gets the total count. + * + * @return the total count + */ public int getTotalCount() { return total_count; } + /** + * Gets the workflows. + * + * @param owner + * the owner + * @return the workflows + */ GHWorkflow[] getWorkflows(GHRepository owner) { for (GHWorkflow workflow : workflows) { workflow.wrapUp(owner); diff --git a/src/main/java/org/kohsuke/github/GitCommit.java b/src/main/java/org/kohsuke/github/GitCommit.java new file mode 100644 index 0000000000..0c522b57db --- /dev/null +++ b/src/main/java/org/kohsuke/github/GitCommit.java @@ -0,0 +1,281 @@ +package org.kohsuke.github; + +import com.infradna.tool.bridge_method_injector.WithBridgeMethods; +import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; + +import java.util.AbstractList; +import java.util.Collections; +import java.util.Date; +import java.util.List; + +// TODO: Auto-generated Javadoc +/** + * The Class GitCommit. + * + * @author Emily Xia-Reinert + * @see GHContentUpdateResponse#getCommit() GHContentUpdateResponse#getCommit() + */ + +@SuppressFBWarnings(value = { "NP_UNWRITTEN_FIELD", "UWF_UNWRITTEN_FIELD" }, justification = "JSON API") +public class GitCommit { + private GHRepository owner; + private String sha, node_id, url, html_url; + private GitUser author; + private GitUser committer; + + private String message; + + private GHVerification verification; + + /** + * The Class Tree. + */ + static class Tree { + + /** The url. */ + String url; + + /** The sha. */ + String sha; + + /** + * Gets the url. + * + * @return the url + */ + public String getUrl() { + return url; + } + + /** + * Gets the sha. + * + * @return the sha + */ + public String getSha() { + return sha; + } + + } + + private Tree tree; + + private List parents; + + /** + * Instantiates a new git commit. + */ + public GitCommit() { + // empty constructor for Jackson binding + }; + + /** + * Instantiates a new git commit. + * + * @param commit + * the commit + */ + GitCommit(GitCommit commit) { + // copy constructor used to cast to GitCommit.ShortInfo and from there + // to GHCommit, for GHContentUpdateResponse bridge method to GHCommit + this.owner = commit.getOwner(); + this.sha = commit.getSha(); + this.node_id = commit.getNodeId(); + this.url = commit.getUrl(); + this.html_url = commit.getHtmlUrl(); + this.author = commit.getAuthor(); + this.committer = commit.getCommitter(); + this.message = commit.getMessage(); + this.verification = commit.getVerification(); + this.tree = commit.getTree(); + this.parents = commit.getParents(); + } + + /** + * Gets owner. + * + * @return the repository that contains the commit. + */ + @SuppressFBWarnings(value = { "EI_EXPOSE_REP" }, justification = "Expected behavior") + public GHRepository getOwner() { + return owner; + } + + /** + * Gets SHA1. + * + * @return The SHA1 of this commit + */ + public String getSHA1() { + return sha; + } + + /** + * Gets SHA. + * + * @return The SHA of this commit + */ + public String getSha() { + return sha; + } + + /** + * Gets node id. + * + * @return The node id of this commit + */ + public String getNodeId() { + return node_id; + } + + /** + * Gets URL. + * + * @return The URL of this commit + */ + public String getUrl() { + return url; + } + + /** + * Gets HTML URL. + * + * @return The HTML URL of this commit + */ + public String getHtmlUrl() { + return html_url; + } + + /** + * Gets author. + * + * @return the author + */ + @WithBridgeMethods(value = GHCommit.GHAuthor.class, adapterMethod = "gitUserToGHAuthor") + public GitUser getAuthor() { + return author; + } + + @SuppressFBWarnings(value = "UPM_UNCALLED_PRIVATE_METHOD", + justification = "bridge method of getAuthor & getCommitter") + private Object gitUserToGHAuthor(GitUser author, Class targetType) { + return new GHCommit.GHAuthor(author); + } + + /** + * Gets authored date. + * + * @return the authored date + */ + public Date getAuthoredDate() { + return author.getDate(); + } + + /** + * Gets committer. + * + * @return the committer + */ + @WithBridgeMethods(value = GHCommit.GHAuthor.class, adapterMethod = "gitUserToGHAuthor") + public GitUser getCommitter() { + return committer; + } + + /** + * Gets commit date. + * + * @return the commit date + */ + public Date getCommitDate() { + return committer.getDate(); + } + + /** + * Gets message. + * + * @return Commit message. + */ + public String getMessage() { + return message; + } + + /** + * Gets Verification Status. + * + * @return the Verification status + */ + public GHVerification getVerification() { + return verification; + } + + /** + * Gets the tree. + * + * @return the tree + */ + Tree getTree() { + return tree; + } + + /** + * Gets the tree SHA 1. + * + * @return the tree SHA 1 + */ + public String getTreeSHA1() { + return tree.getSha(); + } + + /** + * Gets the tree url. + * + * @return the tree url + */ + public String getTreeUrl() { + return tree.getUrl(); + } + + /** + * Gets the parents. + * + * @return the parents + */ + @SuppressFBWarnings(value = "EI_EXPOSE_REP", justification = "acceptable") + List getParents() { + return parents; + } + + /** + * Gets the parent SHA 1 s. + * + * @return the parent SHA 1 s + */ + public List getParentSHA1s() { + if (parents == null || parents.size() == 0) + return Collections.emptyList(); + return new AbstractList() { + @Override + public String get(int index) { + return parents.get(index).sha; + } + + @Override + public int size() { + return parents.size(); + } + }; + } + + /** + * Wrap up. + * + * @param owner + * the owner + * @return the git commit + */ + GitCommit wrapUp(GHRepository owner) { + this.owner = owner; + return this; + } + +} diff --git a/src/main/java/org/kohsuke/github/GitHub.java b/src/main/java/org/kohsuke/github/GitHub.java index 0647671439..ba33462b3a 100644 --- a/src/main/java/org/kohsuke/github/GitHub.java +++ b/src/main/java/org/kohsuke/github/GitHub.java @@ -47,6 +47,7 @@ import static org.kohsuke.github.internal.Previews.INERTIA; import static org.kohsuke.github.internal.Previews.MACHINE_MAN; +// TODO: Auto-generated Javadoc /** * Root of the GitHub API. * @@ -110,6 +111,8 @@ public class GitHub { * rateLimitChecker * @param authorizationProvider * a authorization provider + * @throws IOException + * Signals that an I/O exception has occurred. */ GitHub(String apiUrl, GitHubConnector connector, @@ -185,6 +188,9 @@ public String getLogin() { } } + /** + * The Class DependentAuthorizationProvider. + */ public static abstract class DependentAuthorizationProvider implements AuthorizationProvider { private GitHub baseGitHub; @@ -217,6 +223,11 @@ synchronized void bind(GitHub github) { this.baseGitHub = github; } + /** + * Git hub. + * + * @return the git hub + */ protected synchronized final GitHub gitHub() { if (gitHub == null) { gitHub = new GitHub.AuthorizationRefreshGitHubWrapper(this.baseGitHub, authorizationProvider); @@ -367,10 +378,10 @@ public static GitHub connect(String login, String oauthAccessToken, String passw * @return the git hub * @throws IOException * the io exception - * @deprecated Use {@link #connectUsingOAuth(String)} instead. * @see Deprecating * password authentication and OAuth authorizations API + * @deprecated Use {@link #connectUsingOAuth(String)} instead. */ @Deprecated public static GitHub connectUsingPassword(String login, String password) throws IOException { @@ -451,7 +462,7 @@ public static GitHub offline() { } /** - * Is this an anonymous connection + * Is this an anonymous connection. * * @return {@code true} if operations that require authentication will fail. */ @@ -591,7 +602,7 @@ public GHUser getUser(String login) throws IOException { } /** - * clears all cached data in order for external changes (modifications and del) to be reflected + * clears all cached data in order for external changes (modifications and del) to be reflected. */ public void refreshCache() { users.clear(); @@ -656,7 +667,7 @@ public PagedIterable listOrganizations(final String since) { } /** - * Gets the repository object from 'owner/repo' string that GitHub calls as "repository name" + * Gets the repository object from 'owner/repo' string that GitHub calls as "repository name". * * @param name * the name @@ -667,21 +678,20 @@ public PagedIterable listOrganizations(final String since) { */ public GHRepository getRepository(String name) throws IOException { String[] tokens = name.split("/"); - if (tokens.length < 2) { + if (tokens.length != 2) { throw new IllegalArgumentException("Repository name must be in format owner/repo"); } return GHRepository.read(this, tokens[0], tokens[1]); } /** - * Gets the repository object from its ID + * Gets the repository object from its ID. * * @param id * the id * @return the repository by id * @throws IOException * the io exception - * * @deprecated Do not use this method. It was added due to misunderstanding of the type of parameter. Use * {@link #getRepositoryById(long)} instead */ @@ -691,7 +701,7 @@ public GHRepository getRepositoryById(String id) throws IOException { } /** - * Gets the repository object from its ID + * Gets the repository object from its ID. * * @param id * the id @@ -704,7 +714,7 @@ public GHRepository getRepositoryById(long id) throws IOException { } /** - * Returns a list of popular open source licenses + * Returns a list of popular open source licenses. * * @return a list of popular open source licenses * @throws IOException @@ -727,7 +737,7 @@ public PagedIterable listUsers() throws IOException { } /** - * Returns the full details for a license + * Returns the full details for a license. * * @param key * The license key provided from the API @@ -874,20 +884,24 @@ public Map> getMyTeams() throws IOException { } /** - * Gets a sigle team by ID. + * Gets a single team by ID. + *

+ * This method is no longer supported and throws an UnsupportedOperationException. * * @param id * the id * @return the team * @throws IOException * the io exception - * + * @see deprecation notice + * @see sunset + * notice * @deprecated Use {@link GHOrganization#getTeam(long)} - * @see deprecation notice */ @Deprecated public GHTeam getTeam(int id) throws IOException { - return createRequest().withUrlPath("/teams/" + id).fetch(GHTeam.class).wrapUp(this); + throw new UnsupportedOperationException( + "This method is not supported anymore. Please use GHOrganization#getTeam(long)."); } /** @@ -901,6 +915,23 @@ public List getEvents() throws IOException { return createRequest().withUrlPath("/events").toIterable(GHEventInfo[].class, null).toList(); } + /** + * List public events for a user + * see + * API documentation + * + * @param login + * the login (user) to look public events for + * @return the events + * @throws IOException + * the io exception + */ + public List getUserPublicEvents(String login) throws IOException { + return createRequest().withUrlPath("/users/" + login + "/events/public") + .toIterable(GHEventInfo[].class, null) + .toList(); + } + /** * Gets a single gist by ID. * @@ -1155,6 +1186,54 @@ public GHApp getApp() throws IOException { return createRequest().withPreview(MACHINE_MAN).withUrlPath("/app").fetch(GHApp.class); } + /** + * Returns the GitHub App identified by the given slug + * + * @param slug + * the slug of the application + * @return the app + * @throws IOException + * the IO exception + * @see Get an app + */ + public GHApp getApp(@Nonnull String slug) throws IOException { + return createRequest().withUrlPath("/apps/" + slug).fetch(GHApp.class); + } + + /** + * Creates a GitHub App from a manifest. + * + * @param code + * temporary code returned during the manifest flow + * @return the app + * @throws IOException + * the IO exception + * @see Get an + * app + */ + public GHAppFromManifest createAppFromManifest(@Nonnull String code) throws IOException { + return createRequest().method("POST") + .withUrlPath("/app-manifests/" + code + "/conversions") + .fetch(GHAppFromManifest.class); + } + + /** + * Returns the GitHub App Installation associated with the authentication credentials used. + *

+ * You must use an installation token to access this endpoint; otherwise consider {@link #getApp()} and its various + * ways of retrieving installations. + * + * @return the app + * @throws IOException + * the io exception + * @see GitHub App installations + */ + @Preview(MACHINE_MAN) + public GHAuthenticatedAppInstallation getInstallation() throws IOException { + return new GHAuthenticatedAppInstallation(this); + } + /** * Ensures that the credential is valid. * @@ -1374,11 +1453,21 @@ public static ObjectReader getMappingObjectReader() { return GitHubClient.getMappingObjectReader(GitHub.offline()); } + /** + * Gets the client. + * + * @return the client + */ @Nonnull GitHubClient getClient() { return client; } + /** + * Creates the request. + * + * @return the requester + */ @Nonnull Requester createRequest() { Requester requester = new Requester(client); @@ -1390,17 +1479,24 @@ Requester createRequest() { return requester; } + /** + * Intern. + * + * @param user + * the user + * @return the GH user + * @throws IOException + * Signals that an I/O exception has occurred. + */ GHUser intern(GHUser user) throws IOException { - if (user == null) - return user; - - // if we already have this user in our map, use it - GHUser u = users.get(user.getLogin()); - if (u != null) - return u; - - // if not, remember this new user - users.putIfAbsent(user.getLogin(), user); + if (user != null) { + // if we already have this user in our map, get it + // if not, remember this new user + GHUser existingUser = users.putIfAbsent(user.getLogin(), user); + if (existingUser != null) { + user = existingUser; + } + } return user; } diff --git a/src/main/java/org/kohsuke/github/GitHubAbuseLimitHandler.java b/src/main/java/org/kohsuke/github/GitHubAbuseLimitHandler.java index 81ca443978..4b40ff0b1c 100644 --- a/src/main/java/org/kohsuke/github/GitHubAbuseLimitHandler.java +++ b/src/main/java/org/kohsuke/github/GitHubAbuseLimitHandler.java @@ -7,17 +7,26 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * Pluggable strategy to determine what to do when the API rate limit is reached. * * @author Kohsuke Kawaguchi + * @author Liam Newman * @see GitHubBuilder#withAbuseLimitHandler(AbuseLimitHandler) GitHubBuilder#withRateLimitHandler(AbuseLimitHandler) * @see GitHubRateLimitHandler - * - * @author Liam Newman */ public abstract class GitHubAbuseLimitHandler extends GitHubConnectorResponseErrorHandler { + /** + * Checks if is error. + * + * @param connectorResponse + * the connector response + * @return true, if is error + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Override boolean isError(@Nonnull GitHubConnectorResponse connectorResponse) throws IOException { return connectorResponse.statusCode() == HttpURLConnection.HTTP_FORBIDDEN diff --git a/src/main/java/org/kohsuke/github/GitHubBuilder.java b/src/main/java/org/kohsuke/github/GitHubBuilder.java index 5afbf207f8..b61be61f27 100644 --- a/src/main/java/org/kohsuke/github/GitHubBuilder.java +++ b/src/main/java/org/kohsuke/github/GitHubBuilder.java @@ -20,6 +20,7 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * Configures connection details and produces {@link GitHub}. * @@ -27,10 +28,12 @@ */ public class GitHubBuilder implements Cloneable { + /** The home directory. */ // for testing static File HOME_DIRECTORY = null; // default scoped so unit tests can read them. + /** The endpoint. */ /* private */ String endpoint = GitHubClient.GITHUB_URL; private GitHubConnector connector; @@ -38,6 +41,8 @@ public class GitHubBuilder implements Cloneable { private GitHubRateLimitHandler rateLimitHandler = RateLimitHandler.WAIT; private GitHubAbuseLimitHandler abuseLimitHandler = AbuseLimitHandler.WAIT; private GitHubRateLimitChecker rateLimitChecker = new GitHubRateLimitChecker(); + + /** The authorization provider. */ /* private */ AuthorizationProvider authorizationProvider = AuthorizationProvider.ANONYMOUS; /** @@ -243,7 +248,7 @@ public static GitHubBuilder fromProperties(Properties props) { * * @param endpoint * The URL of GitHub (or GitHub enterprise) API endpoint, such as "https://api.github.com" or - * "http://ghe.acme.com/api/v3". Note that GitHub Enterprise has /api/v3 in the URL. For + * "https://ghe.acme.com/api/v3". Note that GitHub Enterprise has /api/v3 in the URL. For * historical reasons, this parameter still accepts the bare domain name, but that's considered * deprecated. * @return the git hub builder @@ -306,7 +311,7 @@ public GitHubBuilder withAuthorizationProvider(final AuthorizationProvider autho } /** - * Configures {@link GitHubBuilder} with Installation Token generated by the GitHub Application + * Configures {@link GitHubBuilder} with Installation Token generated by the GitHub Application. * * @param appInstallationToken * A string containing the GitHub App installation token @@ -509,6 +514,11 @@ public GitHub build() throws IOException { authorizationProvider); } + /** + * Clone. + * + * @return the git hub builder + */ @Override public GitHubBuilder clone() { try { diff --git a/src/main/java/org/kohsuke/github/GitHubClient.java b/src/main/java/org/kohsuke/github/GitHubClient.java index a5db6d4ac7..cd18100d65 100644 --- a/src/main/java/org/kohsuke/github/GitHubClient.java +++ b/src/main/java/org/kohsuke/github/GitHubClient.java @@ -29,6 +29,7 @@ import static java.util.logging.Level.*; import static org.apache.commons.lang3.StringUtils.defaultString; +// TODO: Auto-generated Javadoc /** * A GitHub API Client *

@@ -43,6 +44,7 @@ */ class GitHubClient { + /** The Constant CONNECTION_ERROR_RETRIES. */ static final int CONNECTION_ERROR_RETRIES = 2; /** * If timeout issues let's retry after milliseconds. @@ -65,6 +67,8 @@ class GitHubClient { private static final Logger LOGGER = Logger.getLogger(GitHubClient.class.getName()); private static final ObjectMapper MAPPER = new ObjectMapper(); + + /** The Constant GITHUB_URL. */ static final String GITHUB_URL = "https://api.github.com"; private static final DateTimeFormatter DATE_TIME_PARSER_SLASHES = DateTimeFormatter @@ -77,6 +81,24 @@ class GitHubClient { MAPPER.setPropertyNamingStrategy(PropertyNamingStrategy.SNAKE_CASE); } + /** + * Instantiates a new git hub client. + * + * @param apiUrl + * the api url + * @param connector + * the connector + * @param rateLimitHandler + * the rate limit handler + * @param abuseLimitHandler + * the abuse limit handler + * @param rateLimitChecker + * the rate limit checker + * @param authorizationProvider + * the authorization provider + * @throws IOException + * Signals that an I/O exception has occurred. + */ GitHubClient(String apiUrl, GitHubConnector connector, GitHubRateLimitHandler rateLimitHandler, @@ -102,6 +124,11 @@ class GitHubClient { this.rateLimitChecker = rateLimitChecker; } + /** + * Gets the login. + * + * @return the login + */ String getLogin() { try { if (this.authorizationProvider instanceof UserAuthorizationProvider @@ -179,7 +206,7 @@ public void setConnector(GitHubConnector connector) { } /** - * Is this an anonymous connection + * Is this an anonymous connection. * * @return {@code true} if operations that require authentication will fail. */ @@ -212,11 +239,27 @@ public GHRateLimit getRateLimit() throws IOException { return getRateLimit(RateLimitTarget.NONE); } + /** + * Gets the encoded authorization. + * + * @return the encoded authorization + * @throws IOException + * Signals that an I/O exception has occurred. + */ @CheckForNull String getEncodedAuthorization() throws IOException { return authorizationProvider.getEncodedAuthorization(); } + /** + * Gets the rate limit. + * + * @param rateLimitTarget + * the rate limit target + * @return the rate limit + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Nonnull GHRateLimit getRateLimit(@Nonnull RateLimitTarget rateLimitTarget) throws IOException { GHRateLimit result; @@ -330,6 +373,11 @@ public void checkApiUrlValidity() throws IOException { } } + /** + * Gets the api url. + * + * @return the api url + */ public String getApiUrl() { return apiUrl; } @@ -338,13 +386,13 @@ public String getApiUrl() { * Builds a {@link GitHubRequest}, sends the {@link GitHubRequest} to the server, and uses the {@link BodyHandler} * to parse the response info and response body data into an instance of {@link T}. * + * @param + * the type of the parse body data. * @param builder * used to build the request that will be sent to the server. * @param handler * parse the response info and body data into a instance of {@link T}. If null, no parsing occurs and * {@link GitHubResponse#body()} will return null. - * @param - * the type of the parse body data. * @return a {@link GitHubResponse} containing the parsed body data as a {@link T}. Parsed instance may be null. * @throws IOException * if an I/O Exception occurs @@ -359,13 +407,13 @@ public GitHubResponse sendRequest(@Nonnull GitHubRequest.Builder build * Sends the {@link GitHubRequest} to the server, and uses the {@link BodyHandler} to parse the response info and * response body data into an instance of {@link T}. * + * @param + * the type of the parse body data. * @param request * the request that will be sent to the server. * @param handler * parse the response info and body data into a instance of {@link T}. If null, no parsing occurs and * {@link GitHubResponse#body()} will return null. - * @param - * the type of the parse body data. * @return a {@link GitHubResponse} containing the parsed body data as a {@link T}. Parsed instance may be null. * @throws IOException * if an I/O Exception occurs @@ -375,13 +423,13 @@ public GitHubResponse sendRequest(GitHubRequest request, @CheckForNull Bo throws IOException { int retries = CONNECTION_ERROR_RETRIES; GitHubConnectorRequest connectorRequest = prepareConnectorRequest(request); - do { GitHubConnectorResponse connectorResponse = null; try { logRequest(connectorRequest); rateLimitChecker.checkRateLimit(this, request.rateLimitTarget()); connectorResponse = connector.send(connectorRequest); + logResponse(connectorResponse); noteRateLimit(request.rateLimitTarget(), connectorResponse); detectKnownErrors(connectorResponse, request, handler != null); return createResponse(connectorResponse, handler); @@ -412,6 +460,7 @@ private void detectKnownErrors(GitHubConnectorResponse connectorResponse, boolean detectStatusCodeError) throws IOException { detectOTPRequired(connectorResponse); detectInvalidCached404Response(connectorResponse, request); + detectExpiredToken(connectorResponse, request); detectRedirect(connectorResponse); if (rateLimitHandler.isError(connectorResponse)) { rateLimitHandler.onError(connectorResponse); @@ -425,6 +474,22 @@ private void detectKnownErrors(GitHubConnectorResponse connectorResponse, } } + private void detectExpiredToken(GitHubConnectorResponse connectorResponse, GitHubRequest request) + throws IOException { + if (connectorResponse.statusCode() != HTTP_UNAUTHORIZED) { + return; + } + String originalAuthorization = connectorResponse.request().header("Authorization"); + if (Objects.isNull(originalAuthorization) || originalAuthorization.isEmpty()) { + return; + } + GitHubConnectorRequest updatedRequest = prepareConnectorRequest(request); + String updatedAuthorization = updatedRequest.header("Authorization"); + if (!originalAuthorization.equals(updatedAuthorization)) { + throw new RetryRequestException(updatedRequest); + } + } + private void detectRedirect(GitHubConnectorResponse connectorResponse) throws IOException { if (connectorResponse.statusCode() == HTTP_MOVED_PERM || connectorResponse.statusCode() == HTTP_MOVED_TEMP) { // GitHubClient depends on GitHubConnector implementations to follow any redirects automatically @@ -472,8 +537,23 @@ private GitHubConnectorRequest prepareConnectorRequest(GitHubRequest request) th private void logRequest(@Nonnull final GitHubConnectorRequest request) { LOGGER.log(FINE, - () -> "GitHub API request [" + (getLogin() == null ? "anonymous" : getLogin()) + "]: " - + request.method() + " " + request.url().toString()); + () -> String.format("(%s) GitHub API request [%s]: %s", + Integer.toHexString(request.hashCode()), + (getLogin() == null ? "anonymous" : getLogin()), + (request.method() + " " + request.url().toString()))); + } + + private void logResponse(@Nonnull final GitHubConnectorResponse response) { + LOGGER.log(FINE, () -> { + try { + return String.format("(%s) GitHub API response [%s]: %s", + Integer.toHexString(response.request().hashCode()), + (getLogin() == null ? "anonymous" : getLogin()), + (response.statusCode() + " " + GitHubResponse.getBodyAsString(response))); + } catch (IOException e) { + throw new RuntimeException(e); + } + }); } @Nonnull @@ -612,6 +692,9 @@ private static void detectOTPRequired(@Nonnull GitHubConnectorResponse connector } } + /** + * Require credential. + */ void requireCredential() { if (isAnonymous()) throw new IllegalStateException( @@ -667,6 +750,13 @@ private boolean isPrivateModeEnabled() { } } + /** + * Parses the URL. + * + * @param s + * the s + * @return the url + */ static URL parseURL(String s) { try { return s == null ? null : new URL(s); @@ -675,6 +765,13 @@ static URL parseURL(String s) { } } + /** + * Parses the date. + * + * @param timestamp + * the timestamp + * @return the date + */ static Date parseDate(String timestamp) { if (timestamp == null) return null; @@ -682,6 +779,13 @@ static Date parseDate(String timestamp) { return Date.from(parseInstant(timestamp)); } + /** + * Parses the instant. + * + * @param timestamp + * the timestamp + * @return the instant + */ static Instant parseInstant(String timestamp) { if (timestamp == null) return null; @@ -694,6 +798,13 @@ static Instant parseInstant(String timestamp) { } } + /** + * Prints the date. + * + * @param dt + * the dt + * @return the string + */ static String printDate(Date dt) { return DateTimeFormatter.ISO_INSTANT.format(Instant.ofEpochMilli(dt.getTime()).truncatedTo(ChronoUnit.SECONDS)); } @@ -709,11 +820,10 @@ static ObjectWriter getMappingObjectWriter() { } /** - * Helper for {@link #getMappingObjectReader(GitHubConnectorResponse)} + * Helper for {@link #getMappingObjectReader(GitHubConnectorResponse)}. * * @param root * the root GitHub object for this reader - * * @return an {@link ObjectReader} instance that can be further configured. */ @Nonnull @@ -756,20 +866,55 @@ static ObjectReader getMappingObjectReader(@CheckForNull GitHubConnectorResponse return MAPPER.reader(new InjectableValues.Std(injected)); } + /** + * Unmodifiable map or null. + * + * @param + * the key type + * @param + * the value type + * @param map + * the map + * @return the map + */ static Map unmodifiableMapOrNull(Map map) { return map == null ? null : Collections.unmodifiableMap(map); } + /** + * Unmodifiable list or null. + * + * @param + * the generic type + * @param list + * the list + * @return the list + */ static List unmodifiableListOrNull(List list) { return list == null ? null : Collections.unmodifiableList(list); } + /** + * The Class RetryRequestException. + */ static class RetryRequestException extends IOException { + + /** The connector request. */ final GitHubConnectorRequest connectorRequest; + + /** + * Instantiates a new retry request exception. + */ RetryRequestException() { this(null); } + /** + * Instantiates a new retry request exception. + * + * @param connectorRequest + * the connector request + */ RetryRequestException(GitHubConnectorRequest connectorRequest) { this.connectorRequest = connectorRequest; } diff --git a/src/main/java/org/kohsuke/github/GitHubConnectorResponseErrorHandler.java b/src/main/java/org/kohsuke/github/GitHubConnectorResponseErrorHandler.java index da75944ac8..dc277ac856 100644 --- a/src/main/java/org/kohsuke/github/GitHubConnectorResponseErrorHandler.java +++ b/src/main/java/org/kohsuke/github/GitHubConnectorResponseErrorHandler.java @@ -11,6 +11,7 @@ import static java.net.HttpURLConnection.HTTP_BAD_REQUEST; import static java.net.HttpURLConnection.HTTP_NOT_FOUND; +// TODO: Auto-generated Javadoc /** * Pluggable strategy to detect and choose what to do when errors occur during an http request. * @@ -21,7 +22,11 @@ abstract class GitHubConnectorResponseErrorHandler { /** * Called to detect an error handled by this handler. * + * @param connectorResponse + * the connector response * @return {@code true} if there is an error and {@link #onError(GitHubConnectorResponse)} should be called + * @throws IOException + * Signals that an I/O exception has occurred. */ abstract boolean isError(@Nonnull GitHubConnectorResponse connectorResponse) throws IOException; @@ -42,6 +47,7 @@ abstract class GitHubConnectorResponseErrorHandler { */ public abstract void onError(@Nonnull GitHubConnectorResponse connectorResponse) throws IOException; + /** The status http bad request or greater. */ static GitHubConnectorResponseErrorHandler STATUS_HTTP_BAD_REQUEST_OR_GREATER = new GitHubConnectorResponseErrorHandler() { @Override public boolean isError(@NotNull GitHubConnectorResponse connectorResponse) throws IOException { diff --git a/src/main/java/org/kohsuke/github/GitHubInteractiveObject.java b/src/main/java/org/kohsuke/github/GitHubInteractiveObject.java index e6f84db05f..036b53f7c1 100644 --- a/src/main/java/org/kohsuke/github/GitHubInteractiveObject.java +++ b/src/main/java/org/kohsuke/github/GitHubInteractiveObject.java @@ -7,6 +7,7 @@ import java.util.Objects; +// TODO: Auto-generated Javadoc /** * Defines a base class that all classes in this library that interact with GitHub inherit from. * @@ -21,10 +22,19 @@ abstract class GitHubInteractiveObject { @CheckForNull private transient final GitHub root; + /** + * Instantiates a new git hub interactive object. + */ GitHubInteractiveObject() { root = null; } + /** + * Instantiates a new git hub interactive object. + * + * @param root + * the root + */ GitHubInteractiveObject(GitHub root) { this.root = root; } diff --git a/src/main/java/org/kohsuke/github/GitHubPageContentsIterable.java b/src/main/java/org/kohsuke/github/GitHubPageContentsIterable.java index 5468f8a5a7..0af3fe96c7 100644 --- a/src/main/java/org/kohsuke/github/GitHubPageContentsIterable.java +++ b/src/main/java/org/kohsuke/github/GitHubPageContentsIterable.java @@ -5,6 +5,7 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * {@link PagedIterable} implementation that take a {@link Consumer} that initializes all the items on each page as they * are retrieved. @@ -12,10 +13,9 @@ * {@link GitHubPageContentsIterable} is immutable and thread-safe, but the iterator returned from {@link #iterator()} * is not. Any one instance of iterator should only be called from a single thread. * + * @author Liam Newman * @param * the type of items on each page - * - * @author Liam Newman */ class GitHubPageContentsIterable extends PagedIterable { @@ -24,6 +24,18 @@ class GitHubPageContentsIterable extends PagedIterable { private final Class receiverType; private final Consumer itemInitializer; + /** + * Instantiates a new git hub page contents iterable. + * + * @param client + * the client + * @param request + * the request + * @param receiverType + * the receiver type + * @param itemInitializer + * the item initializer + */ GitHubPageContentsIterable(GitHubClient client, GitHubRequest request, Class receiverType, diff --git a/src/main/java/org/kohsuke/github/GitHubPageIterator.java b/src/main/java/org/kohsuke/github/GitHubPageIterator.java index c2a5b42fef..36da9cd24b 100644 --- a/src/main/java/org/kohsuke/github/GitHubPageIterator.java +++ b/src/main/java/org/kohsuke/github/GitHubPageIterator.java @@ -8,6 +8,7 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * May be used for any item that has pagination information. Iterates over paginated {@link T} objects (not the items * inside the page). Also exposes {@link #finalResponse()} to allow getting a full {@link GitHubResponse} after @@ -17,10 +18,9 @@ * * This class is not thread-safe. Any one instance should only be called from a single thread. * + * @author Liam Newman * @param * type of each page (not the items in the page). - * - * @author Liam Newman */ class GitHubPageIterator implements Iterator { @@ -64,12 +64,16 @@ private GitHubPageIterator(GitHubClient client, Class type, GitHubRequest req /** * Loads paginated resources. * + * @param + * type of each page (not the items in the page). * @param client * the {@link GitHubClient} from which to request responses * @param type * type of each page (not the items in the page). - * @param - * type of each page (not the items in the page). + * @param request + * the request + * @param pageSize + * the page size * @return iterator */ static GitHubPageIterator create(GitHubClient client, Class type, GitHubRequest request, int pageSize) { diff --git a/src/main/java/org/kohsuke/github/GitHubRateLimitChecker.java b/src/main/java/org/kohsuke/github/GitHubRateLimitChecker.java index 4f24eb2445..576cd6a660 100644 --- a/src/main/java/org/kohsuke/github/GitHubRateLimitChecker.java +++ b/src/main/java/org/kohsuke/github/GitHubRateLimitChecker.java @@ -7,6 +7,7 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * A GitHub API Rate Limit Checker called before each request. * @@ -45,10 +46,25 @@ class GitHubRateLimitChecker { private static final Logger LOGGER = Logger.getLogger(GitHubRateLimitChecker.class.getName()); + /** + * Instantiates a new git hub rate limit checker. + */ GitHubRateLimitChecker() { this(RateLimitChecker.NONE, RateLimitChecker.NONE, RateLimitChecker.NONE, RateLimitChecker.NONE); } + /** + * Instantiates a new git hub rate limit checker. + * + * @param core + * the core + * @param search + * the search + * @param graphql + * the graphql + * @param integrationManifest + * the integration manifest + */ GitHubRateLimitChecker(@Nonnull RateLimitChecker core, @Nonnull RateLimitChecker search, @Nonnull RateLimitChecker graphql, diff --git a/src/main/java/org/kohsuke/github/GitHubRateLimitHandler.java b/src/main/java/org/kohsuke/github/GitHubRateLimitHandler.java index d03ff54782..da4f6ad104 100644 --- a/src/main/java/org/kohsuke/github/GitHubRateLimitHandler.java +++ b/src/main/java/org/kohsuke/github/GitHubRateLimitHandler.java @@ -8,17 +8,26 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * Pluggable strategy to determine what to do when the API rate limit is reached. * * @author Kohsuke Kawaguchi + * @author Liam Newman * @see GitHubBuilder#withRateLimitHandler(RateLimitHandler) GitHubBuilder#withRateLimitHandler(RateLimitHandler) * @see GitHubAbuseLimitHandler - * - * @author Liam Newman */ public abstract class GitHubRateLimitHandler extends GitHubConnectorResponseErrorHandler { + /** + * Checks if is error. + * + * @param connectorResponse + * the connector response + * @return true, if is error + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Override boolean isError(@NotNull GitHubConnectorResponse connectorResponse) throws IOException { return connectorResponse.statusCode() == HttpURLConnection.HTTP_FORBIDDEN diff --git a/src/main/java/org/kohsuke/github/GitHubRequest.java b/src/main/java/org/kohsuke/github/GitHubRequest.java index 3d19f085e4..058f4d3b47 100644 --- a/src/main/java/org/kohsuke/github/GitHubRequest.java +++ b/src/main/java/org/kohsuke/github/GitHubRequest.java @@ -25,6 +25,7 @@ import static java.util.Arrays.asList; +// TODO: Auto-generated Javadoc /** * Class {@link GitHubRequest} represents an immutable instance used by the client to determine what information to * retrieve from a GitHub server. Use the {@link Builder} to construct a {@link GitHubRequest}. @@ -92,6 +93,11 @@ static Builder newBuilder() { /** * Gets the final GitHub API URL. * + * @param apiUrl + * the api url + * @param tailApiUrl + * the tail api url + * @return the api URL * @throws GHException * wrapping a {@link MalformedURLException} if the GitHub API URL cannot be constructed */ @@ -115,7 +121,7 @@ static URL getApiURL(String apiUrl, String tailApiUrl) { } /** - * Transform Java Enum into Github constants given its conventions + * Transform Java Enum into Github constants given its conventions. * * @param en * Enum to be transformed @@ -201,7 +207,7 @@ public Map injectedMappingValues() { } /** - * The base GitHub API URL for this request represented as a {@link String} + * The base GitHub API URL for this request represented as a {@link String}. * * @return the url string */ @@ -222,7 +228,7 @@ public String urlPath() { } /** - * The content type to to be sent by this request. + * The content type to be sent by this request. * * @return the content type. */ @@ -256,7 +262,7 @@ public URL url() { /** * Whether arguments for this request should be included in the URL or in the body of the request. * - * @return true if the arguements should be sent in the body of the request. + * @return true if the arguments should be sent in the body of the request. */ @Override public boolean hasBody() { @@ -481,10 +487,24 @@ public B injectMappingValue(@NonNull String name, Object value) { return (B) this; } + /** + * With preview. + * + * @param name + * the name + * @return the b + */ public B withPreview(String name) { return withHeader("Accept", name); } + /** + * With preview. + * + * @param preview + * the preview + * @return the b + */ public B withPreview(Previews preview) { return withPreview(preview.mediaType()); } @@ -603,6 +623,8 @@ public B with(String key, Map value) { * @param body * the body * @return the request builder + * @throws IOException + * Signals that an I/O exception has occurred. */ public B with(@WillClose InputStream body) throws IOException { this.body = IOUtils.toByteArray(body); @@ -641,7 +663,7 @@ public B with(String key, Object value) { } /** - * Unlike {@link #with(String, String)}, overrides the existing value + * Unlike {@link #with(String, String)}, overrides the existing value. * * @param key * the key @@ -738,6 +760,8 @@ B setRawUrlPath(@Nonnull String rawUrlPath) { * If urlPath starts with a slash, it will be URI encoded as a path. If it starts with anything else, it will be * used as is. * + * @param urlPath + * the url path * @param urlPathItems * the content type * @return the request builder @@ -777,10 +801,25 @@ public B inBody() { } } + /** + * The Class Entry. + */ protected static class Entry { + + /** The key. */ final String key; + + /** The value. */ final Object value; + /** + * Instantiates a new entry. + * + * @param key + * the key + * @param value + * the value + */ protected Entry(String key, Object value) { this.key = key; this.value = value; diff --git a/src/main/java/org/kohsuke/github/GitHubResponse.java b/src/main/java/org/kohsuke/github/GitHubResponse.java index 292b3b4524..3ec2e2b9fa 100644 --- a/src/main/java/org/kohsuke/github/GitHubResponse.java +++ b/src/main/java/org/kohsuke/github/GitHubResponse.java @@ -19,16 +19,16 @@ import javax.annotation.CheckForNull; import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * A GitHubResponse *

* A {@link GitHubResponse} generated by sending a {@link GitHubRequest} to a {@link GitHubClient}. *

* + * @author Liam Newman * @param * the type of the data parsed from the body of a {@link GitHubConnectorResponse}. - * - * @author Liam Newman */ class GitHubResponse { @@ -42,12 +42,28 @@ class GitHubResponse { @CheckForNull private final T body; + /** + * Instantiates a new git hub response. + * + * @param response + * the response + * @param body + * the body + */ GitHubResponse(GitHubResponse response, @CheckForNull T body) { this.statusCode = response.statusCode(); this.headers = response.headers; this.body = body; } + /** + * Instantiates a new git hub response. + * + * @param connectorResponse + * the connector response + * @param body + * the body + */ GitHubResponse(GitHubConnectorResponse connectorResponse, @CheckForNull T body) { this.statusCode = connectorResponse.statusCode(); this.headers = connectorResponse.allHeaders(); @@ -57,12 +73,12 @@ class GitHubResponse { /** * Parses a {@link GitHubConnectorResponse} body into a new instance of {@link T}. * + * @param + * the type * @param connectorResponse * response info to parse. * @param type * the type to be constructed. - * @param - * the type * @return a new instance of {@link T}. * @throws IOException * if there is an I/O Exception. @@ -96,12 +112,12 @@ static T parseBody(GitHubConnectorResponse connectorResponse, Class type) /** * Parses a {@link GitHubConnectorResponse} body into a new instance of {@link T}. * + * @param + * the type * @param connectorResponse * response info to parse. * @param instance * the object to fill with data parsed from body - * @param - * the type * @return a new instance of {@link T}. * @throws IOException * if there is an I/O Exception. @@ -142,8 +158,6 @@ static String getBodyAsString(GitHubConnectorResponse connectorResponse) throws * @param connectorResponse * the response to read * @return the body of the response as a {@link String}. - * @throws IOException - * if an I/O Exception occurs. */ static String getBodyAsStringOrNull(GitHubConnectorResponse connectorResponse) { try { @@ -165,6 +179,8 @@ public int statusCode() { /** * The headers for this response. * + * @param field + * the field * @return the headers for this response. */ @Nonnull @@ -190,7 +206,7 @@ public String header(String name) { } /** - * The body of the response parsed as a {@link T} + * The body of the response parsed as a {@link T}. * * @return body of the response */ diff --git a/src/main/java/org/kohsuke/github/GitUser.java b/src/main/java/org/kohsuke/github/GitUser.java index bf0b2e6b21..434cc92877 100644 --- a/src/main/java/org/kohsuke/github/GitUser.java +++ b/src/main/java/org/kohsuke/github/GitUser.java @@ -6,6 +6,7 @@ import javax.annotation.CheckForNull; +// TODO: Auto-generated Javadoc /** * Represents a user in Git who authors/commits a commit. *

@@ -55,4 +56,25 @@ public String getUsername() { public Date getDate() { return GitHubClient.parseDate(date); } + + /** + * Instantiates a new git user. + */ + public GitUser() { + // Empty constructor for Jackson binding + } + + /** + * Instantiates a new git user. + * + * @param user + * the user + */ + public GitUser(GitUser user) { + // Copy constructor to convert to GHCommit.GHAuthor + name = user.getName(); + email = user.getEmail(); + date = user.getDate().toString(); + username = user.getUsername(); + } } diff --git a/src/main/java/org/kohsuke/github/HttpConnector.java b/src/main/java/org/kohsuke/github/HttpConnector.java index 91471ec7d9..af4fc81536 100644 --- a/src/main/java/org/kohsuke/github/HttpConnector.java +++ b/src/main/java/org/kohsuke/github/HttpConnector.java @@ -6,14 +6,15 @@ import java.net.HttpURLConnection; import java.net.URL; +// TODO: Auto-generated Javadoc /** * Pluggability for customizing HTTP request behaviors or using altogether different library. * *

* For example, you can implement this to st custom timeouts. * - * @deprecated Use {@link org.kohsuke.github.connector.GitHubConnector} instead. * @author Kohsuke Kawaguchi + * @deprecated Use {@link org.kohsuke.github.connector.GitHubConnector} instead. */ @FunctionalInterface @Deprecated diff --git a/src/main/java/org/kohsuke/github/HttpException.java b/src/main/java/org/kohsuke/github/HttpException.java index f1bbd38f61..3ced606965 100644 --- a/src/main/java/org/kohsuke/github/HttpException.java +++ b/src/main/java/org/kohsuke/github/HttpException.java @@ -8,6 +8,7 @@ import javax.annotation.CheckForNull; +// TODO: Auto-generated Javadoc /** * {@link IOException} for http exceptions because {@link HttpURLConnection} throws un-discerned {@link IOException} and * it can help to know the http response code to decide how to handle an http exceptions. @@ -15,10 +16,15 @@ * @author Cyrille Le Clerc */ public class HttpException extends GHIOException { + + /** The Constant serialVersionUID. */ static final long serialVersionUID = 1L; + /** The response code for this exception. */ private final int responseCode; + /** The response message for this exception. */ private final String responseMessage; + /** The message for this exception. */ private final String url; /** @@ -123,7 +129,7 @@ public HttpException(GitHubConnectorResponse connectorResponse) { } /** - * Http response code of the request that cause the exception + * Http response code of the request that cause the exception. * * @return {@code -1} if no code can be discerned. */ @@ -132,7 +138,7 @@ public int getResponseCode() { } /** - * Http response message of the request that cause the exception + * Http response message of the request that cause the exception. * * @return {@code null} if no response message can be discerned. */ @@ -141,7 +147,7 @@ public String getResponseMessage() { } /** - * The http URL that caused the exception + * The http URL that caused the exception. * * @return url url */ diff --git a/src/main/java/org/kohsuke/github/JsonRateLimit.java b/src/main/java/org/kohsuke/github/JsonRateLimit.java index 89016fdb6f..24cdb71572 100644 --- a/src/main/java/org/kohsuke/github/JsonRateLimit.java +++ b/src/main/java/org/kohsuke/github/JsonRateLimit.java @@ -7,11 +7,15 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** + * The Class JsonRateLimit. + * * @author Kohsuke Kawaguchi */ class JsonRateLimit { + /** The resources. */ @Nonnull final GHRateLimit resources; diff --git a/src/main/java/org/kohsuke/github/MarkdownMode.java b/src/main/java/org/kohsuke/github/MarkdownMode.java index a4cb87f602..35a9e41c04 100644 --- a/src/main/java/org/kohsuke/github/MarkdownMode.java +++ b/src/main/java/org/kohsuke/github/MarkdownMode.java @@ -2,6 +2,7 @@ import java.util.Locale; +// TODO: Auto-generated Javadoc /** * Rendering mode of markdown. * @@ -22,6 +23,11 @@ public enum MarkdownMode { */ GFM; + /** + * To string. + * + * @return the string + */ public String toString() { return name().toLowerCase(Locale.ENGLISH); } diff --git a/src/main/java/org/kohsuke/github/PagedIterable.java b/src/main/java/org/kohsuke/github/PagedIterable.java index 87e61867ae..fc3528492e 100644 --- a/src/main/java/org/kohsuke/github/PagedIterable.java +++ b/src/main/java/org/kohsuke/github/PagedIterable.java @@ -11,13 +11,14 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * {@link Iterable} that returns {@link PagedIterator}. {@link PagedIterable} is thread-safe but {@link PagedIterator} * is not. Any one instance of {@link PagedIterator} should only be called from a single thread. * + * @author Kohsuke Kawaguchi * @param * the type of items on each page - * @author Kohsuke Kawaguchi */ public abstract class PagedIterable implements Iterable { /** diff --git a/src/main/java/org/kohsuke/github/PagedIterator.java b/src/main/java/org/kohsuke/github/PagedIterator.java index 801a0b8fab..73c8bf1a2d 100644 --- a/src/main/java/org/kohsuke/github/PagedIterator.java +++ b/src/main/java/org/kohsuke/github/PagedIterator.java @@ -10,6 +10,7 @@ import javax.annotation.CheckForNull; import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * Iterator over a paginated data source. Iterates of the content items of each page, automatically requesting new pages * as needed. @@ -19,12 +20,13 @@ * * This class is not thread-safe. Any one instance should only be called from a single thread. * + * @author Kohsuke Kawaguchi * @param * the type parameter - * @author Kohsuke Kawaguchi */ public class PagedIterator implements Iterator { + /** The base. */ @Nonnull protected final Iterator base; @@ -47,6 +49,14 @@ public class PagedIterator implements Iterator { */ private int nextItemIndex; + /** + * Instantiates a new paged iterator. + * + * @param base + * the base + * @param itemInitializer + * the item initializer + */ PagedIterator(@Nonnull Iterator base, @CheckForNull Consumer itemInitializer) { this.base = base; this.itemInitializer = itemInitializer; @@ -72,7 +82,7 @@ protected void wrapUp(T[] page) { */ public boolean hasNext() { fetch(); - return currentPage.length > nextItemIndex; + return (currentPage != null && currentPage.length > nextItemIndex); } /** diff --git a/src/main/java/org/kohsuke/github/PagedSearchIterable.java b/src/main/java/org/kohsuke/github/PagedSearchIterable.java index ec7c61da06..65f7442a2a 100644 --- a/src/main/java/org/kohsuke/github/PagedSearchIterable.java +++ b/src/main/java/org/kohsuke/github/PagedSearchIterable.java @@ -6,12 +6,13 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * {@link PagedIterable} enhanced to report search result specific information. * + * @author Kohsuke Kawaguchi * @param * the type parameter - * @author Kohsuke Kawaguchi */ @SuppressFBWarnings( value = { "UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD", "UWF_UNWRITTEN_FIELD", @@ -29,12 +30,29 @@ public class PagedSearchIterable extends PagedIterable { */ private SearchResult result; + /** + * Instantiates a new paged search iterable. + * + * @param root + * the root + * @param request + * the request + * @param receiverType + * the receiver type + */ PagedSearchIterable(GitHub root, GitHubRequest request, Class> receiverType) { this.root = root; this.request = request; this.receiverType = receiverType; } + /** + * With page size. + * + * @param size + * the size + * @return the paged search iterable + */ @Override public PagedSearchIterable withPageSize(int size) { return (PagedSearchIterable) super.withPageSize(size); @@ -65,6 +83,13 @@ private void populate() { iterator().hasNext(); } + /** + * Iterator. + * + * @param pageSize + * the page size + * @return the paged iterator + */ @Nonnull @Override public PagedIterator _iterator(int pageSize) { diff --git a/src/main/java/org/kohsuke/github/Preview.java b/src/main/java/org/kohsuke/github/Preview.java index cecddc484a..8e23022e15 100644 --- a/src/main/java/org/kohsuke/github/Preview.java +++ b/src/main/java/org/kohsuke/github/Preview.java @@ -6,6 +6,7 @@ import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; +// TODO: Auto-generated Javadoc /** * Indicates that the method/class/etc marked maps to GitHub API in the preview period. *

diff --git a/src/main/java/org/kohsuke/github/RateLimitChecker.java b/src/main/java/org/kohsuke/github/RateLimitChecker.java index c01576473d..76bc479ec0 100644 --- a/src/main/java/org/kohsuke/github/RateLimitChecker.java +++ b/src/main/java/org/kohsuke/github/RateLimitChecker.java @@ -3,6 +3,7 @@ import java.util.logging.Level; import java.util.logging.Logger; +// TODO: Auto-generated Javadoc /** * A GitHub API Rate Limit Checker called before each request * @@ -23,6 +24,7 @@ public abstract class RateLimitChecker { private static final Logger LOGGER = Logger.getLogger(RateLimitChecker.class.getName()); + /** The Constant NONE. */ public static final RateLimitChecker NONE = new RateLimitChecker() { }; @@ -60,6 +62,15 @@ protected boolean checkRateLimit(GHRateLimit.Record rateLimitRecord, long count) return false; } + /** + * Sleep until reset. + * + * @param record + * the record + * @return true, if successful + * @throws InterruptedException + * the interrupted exception + */ protected final boolean sleepUntilReset(GHRateLimit.Record record) throws InterruptedException { // Sleep until reset long sleepMilliseconds = record.getResetDate().getTime() - System.currentTimeMillis(); @@ -84,6 +95,12 @@ protected final boolean sleepUntilReset(GHRateLimit.Record record) throws Interr public static class LiteralValue extends RateLimitChecker { private final int sleepAtOrBelow; + /** + * Instantiates a new literal value. + * + * @param sleepAtOrBelow + * the sleep at or below + */ public LiteralValue(int sleepAtOrBelow) { if (sleepAtOrBelow < 0) { throw new IllegalArgumentException("sleepAtOrBelow must >= 0"); @@ -91,6 +108,17 @@ public LiteralValue(int sleepAtOrBelow) { this.sleepAtOrBelow = sleepAtOrBelow; } + /** + * Check rate limit. + * + * @param record + * the record + * @param count + * the count + * @return true, if successful + * @throws InterruptedException + * the interrupted exception + */ @Override protected boolean checkRateLimit(GHRateLimit.Record record, long count) throws InterruptedException { if (record.getRemaining() <= sleepAtOrBelow) { diff --git a/src/main/java/org/kohsuke/github/RateLimitHandler.java b/src/main/java/org/kohsuke/github/RateLimitHandler.java index 07ea4f99ca..a17e9a33b3 100644 --- a/src/main/java/org/kohsuke/github/RateLimitHandler.java +++ b/src/main/java/org/kohsuke/github/RateLimitHandler.java @@ -8,6 +8,7 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * Pluggable strategy to determine what to do when the API rate limit is reached. * diff --git a/src/main/java/org/kohsuke/github/RateLimitTarget.java b/src/main/java/org/kohsuke/github/RateLimitTarget.java index 994a33ba04..5fba008fed 100644 --- a/src/main/java/org/kohsuke/github/RateLimitTarget.java +++ b/src/main/java/org/kohsuke/github/RateLimitTarget.java @@ -1,5 +1,6 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * Specifies the rate limit record of an operation. * diff --git a/src/main/java/org/kohsuke/github/Reactable.java b/src/main/java/org/kohsuke/github/Reactable.java index 0e576faa6f..a6117cd54b 100644 --- a/src/main/java/org/kohsuke/github/Reactable.java +++ b/src/main/java/org/kohsuke/github/Reactable.java @@ -4,6 +4,7 @@ import static org.kohsuke.github.internal.Previews.SQUIRREL_GIRL; +// TODO: Auto-generated Javadoc /** * Those {@link GHObject}s that can have {@linkplain GHReaction reactions}. * @@ -30,4 +31,14 @@ public interface Reactable { */ @Preview(SQUIRREL_GIRL) GHReaction createReaction(ReactionContent content) throws IOException; + + /** + * Delete a reaction from this object. + * + * @param reaction + * the reaction to delete + * @throws IOException + * the io exception + */ + void deleteReaction(GHReaction reaction) throws IOException; } diff --git a/src/main/java/org/kohsuke/github/ReactionContent.java b/src/main/java/org/kohsuke/github/ReactionContent.java index f3bd43282c..15d3197d15 100644 --- a/src/main/java/org/kohsuke/github/ReactionContent.java +++ b/src/main/java/org/kohsuke/github/ReactionContent.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; +// TODO: Auto-generated Javadoc /** * Content of reactions. * @@ -11,17 +12,39 @@ * @see GHReaction */ public enum ReactionContent { + + /** The plus one. */ PLUS_ONE("+1"), + + /** The minus one. */ MINUS_ONE("-1"), + + /** The laugh. */ LAUGH("laugh"), + + /** The confused. */ CONFUSED("confused"), + + /** The heart. */ HEART("heart"), + + /** The hooray. */ HOORAY("hooray"), + + /** The rocket. */ ROCKET("rocket"), + + /** The eyes. */ EYES("eyes"); private final String content; + /** + * Instantiates a new reaction content. + * + * @param content + * the content + */ ReactionContent(String content) { this.content = content; } diff --git a/src/main/java/org/kohsuke/github/Refreshable.java b/src/main/java/org/kohsuke/github/Refreshable.java index d91614b829..c8a954b32f 100644 --- a/src/main/java/org/kohsuke/github/Refreshable.java +++ b/src/main/java/org/kohsuke/github/Refreshable.java @@ -2,6 +2,7 @@ import java.io.IOException; +// TODO: Auto-generated Javadoc /** * The interface Refreshable. * @@ -17,7 +18,7 @@ public interface Refreshable { void refresh() throws IOException; /** - * Calls refresh if the provided value is null + * Calls refresh if the provided value is null. * * @param value * the value diff --git a/src/main/java/org/kohsuke/github/Requester.java b/src/main/java/org/kohsuke/github/Requester.java index 54a3c9e86f..1e5e987657 100644 --- a/src/main/java/org/kohsuke/github/Requester.java +++ b/src/main/java/org/kohsuke/github/Requester.java @@ -36,21 +36,30 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** * A thin helper for {@link GitHubRequest.Builder} that includes {@link GitHubClient}. * * @author Kohsuke Kawaguchi */ class Requester extends GitHubRequest.Builder { + + /** The client. */ /* private */ final transient GitHubClient client; + /** + * Instantiates a new requester. + * + * @param client + * the client + */ Requester(GitHubClient client) { this.client = client; this.withApiUrl(client.getApiUrl()); } /** - * Sends a request to the specified URL and checks that it is sucessful. + * Sends a request to the specified URL and checks that it is successful. * * @throws IOException * the io exception @@ -110,6 +119,11 @@ public int fetchHttpStatusCode() throws IOException { * Response input stream. There are scenarios where direct stream reading is needed, however it is better to use * {@link #fetch(Class)} where possible. * + * @param + * the generic type + * @param handler + * the handler + * @return the t * @throws IOException * the io exception */ @@ -144,12 +158,12 @@ public static InputStream copyInputStream(InputStream inputStream) throws IOExce * or {@link Iterator#hasNext()} are called. *

* + * @param + * the element type for the pages returned from * @param type * the type of the pages to retrieve. * @param itemInitializer * the consumer to execute on each paged item retrieved. - * @param - * the element type for the pages returned from * @return the {@link PagedIterable} for this builder. */ public PagedIterable toIterable(Class type, Consumer itemInitializer) { diff --git a/src/main/java/org/kohsuke/github/SearchResult.java b/src/main/java/org/kohsuke/github/SearchResult.java index e3b86a9e97..62cded1886 100644 --- a/src/main/java/org/kohsuke/github/SearchResult.java +++ b/src/main/java/org/kohsuke/github/SearchResult.java @@ -2,20 +2,30 @@ import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; +// TODO: Auto-generated Javadoc /** - * Represents the result of a search + * Represents the result of a search. * * @author Kohsuke Kawaguchi + * @param + * the generic type */ abstract class SearchResult { + + /** The total count. */ @SuppressFBWarnings(value = "UWF_UNWRITTEN_FIELD", justification = "Field comes from JSON deserialization") int total_count; + /** The incomplete results. */ @SuppressFBWarnings(value = "UWF_UNWRITTEN_FIELD", justification = "Field comes from JSON deserialization") boolean incomplete_results; /** * Wraps up the retrieved object and return them. Only called once. + * + * @param root + * the root + * @return the items */ abstract T[] getItems(GitHub root); } diff --git a/src/main/java/org/kohsuke/github/SkipFromToString.java b/src/main/java/org/kohsuke/github/SkipFromToString.java index 67027a5e33..e9bc5f8680 100644 --- a/src/main/java/org/kohsuke/github/SkipFromToString.java +++ b/src/main/java/org/kohsuke/github/SkipFromToString.java @@ -6,7 +6,7 @@ import java.lang.annotation.Target; /** - * Ignores this field for {@link GHObject#toString()} + * Ignores this field for {@link GHObject#toString()}. * * @author Kohsuke Kawaguchi */ diff --git a/src/main/java/org/kohsuke/github/TrafficInfo.java b/src/main/java/org/kohsuke/github/TrafficInfo.java index a23e6c033f..241785a404 100644 --- a/src/main/java/org/kohsuke/github/TrafficInfo.java +++ b/src/main/java/org/kohsuke/github/TrafficInfo.java @@ -1,5 +1,6 @@ package org.kohsuke.github; +// TODO: Auto-generated Javadoc /** * The interface TrafficInfo. * diff --git a/src/main/java/org/kohsuke/github/authorization/AppInstallationAuthorizationProvider.java b/src/main/java/org/kohsuke/github/authorization/AppInstallationAuthorizationProvider.java new file mode 100644 index 0000000000..7ad33ede46 --- /dev/null +++ b/src/main/java/org/kohsuke/github/authorization/AppInstallationAuthorizationProvider.java @@ -0,0 +1,80 @@ +package org.kohsuke.github.authorization; + +import org.kohsuke.github.BetaApi; +import org.kohsuke.github.GHApp; +import org.kohsuke.github.GHAppInstallation; +import org.kohsuke.github.GHAppInstallationToken; +import org.kohsuke.github.GitHub; + +import java.io.IOException; +import java.time.Duration; +import java.time.Instant; +import java.util.Objects; + +import javax.annotation.Nonnull; + +/** + * An AuthorizationProvider that performs automatic token refresh for an organization's AppInstallation. + */ +public class AppInstallationAuthorizationProvider extends GitHub.DependentAuthorizationProvider { + + private final AppInstallationProvider appInstallationProvider; + + private String authorization; + + @Nonnull + private Instant validUntil = Instant.MIN; + + /** + * Provides an AuthorizationProvider that performs automatic token refresh, based on an previously authenticated + * github client. + * + * @param appInstallationProvider + * An AppInstallationProvider that the authorization provider will use to retrieve the App. + * @param authorizationProvider + * A authorization provider that returns a JWT token that can be used to refresh the App Installation + * token from GitHub. + */ + @BetaApi + public AppInstallationAuthorizationProvider(AppInstallationProvider appInstallationProvider, + AuthorizationProvider authorizationProvider) { + super(authorizationProvider); + this.appInstallationProvider = appInstallationProvider; + } + + @Override + public String getEncodedAuthorization() throws IOException { + synchronized (this) { + if (authorization == null || Instant.now().isAfter(this.validUntil)) { + String token = refreshToken(); + authorization = String.format("token %s", token); + } + return authorization; + } + } + + private String refreshToken() throws IOException { + GitHub gitHub = this.gitHub(); + GHAppInstallation installationByOrganization = appInstallationProvider.getAppInstallation(gitHub.getApp()); + GHAppInstallationToken ghAppInstallationToken = installationByOrganization.createToken().create(); + this.validUntil = ghAppInstallationToken.getExpiresAt().toInstant().minus(Duration.ofMinutes(5)); + return Objects.requireNonNull(ghAppInstallationToken.getToken()); + } + + /** + * Provides an interface that returns an app to be used by an AppInstallationAuthorizationProvider + */ + @FunctionalInterface + public interface AppInstallationProvider { + /** + * Provides a GHAppInstallation for the given GHApp + * + * @param app + * The GHApp to use + * @return The GHAppInstallation + * @throws IOException + * on error + */ + GHAppInstallation getAppInstallation(GHApp app) throws IOException; + } +} diff --git a/src/main/java/org/kohsuke/github/authorization/ImmutableAuthorizationProvider.java b/src/main/java/org/kohsuke/github/authorization/ImmutableAuthorizationProvider.java index 20c780b9ba..ebab1bcaef 100644 --- a/src/main/java/org/kohsuke/github/authorization/ImmutableAuthorizationProvider.java +++ b/src/main/java/org/kohsuke/github/authorization/ImmutableAuthorizationProvider.java @@ -13,6 +13,12 @@ public class ImmutableAuthorizationProvider implements AuthorizationProvider { private final String authorization; + /** + * ImmutableAuthorizationProvider constructor + * + * @param authorization + * the authorization string + */ public ImmutableAuthorizationProvider(String authorization) { this.authorization = authorization; } diff --git a/src/main/java/org/kohsuke/github/authorization/OrgAppInstallationAuthorizationProvider.java b/src/main/java/org/kohsuke/github/authorization/OrgAppInstallationAuthorizationProvider.java index d2437d3afb..5444e8ffef 100644 --- a/src/main/java/org/kohsuke/github/authorization/OrgAppInstallationAuthorizationProvider.java +++ b/src/main/java/org/kohsuke/github/authorization/OrgAppInstallationAuthorizationProvider.java @@ -1,28 +1,12 @@ package org.kohsuke.github.authorization; import org.kohsuke.github.BetaApi; -import org.kohsuke.github.GHAppInstallation; -import org.kohsuke.github.GHAppInstallationToken; -import org.kohsuke.github.GitHub; - -import java.io.IOException; -import java.time.Duration; -import java.time.Instant; -import java.util.Objects; - -import javax.annotation.Nonnull; /** * An AuthorizationProvider that performs automatic token refresh for an organization's AppInstallation. */ -public class OrgAppInstallationAuthorizationProvider extends GitHub.DependentAuthorizationProvider { - - private final String organizationName; - - private String authorization; - - @Nonnull - private Instant validUntil = Instant.MIN; +@Deprecated +public class OrgAppInstallationAuthorizationProvider extends AppInstallationAuthorizationProvider { /** * Provides an AuthorizationProvider that performs automatic token refresh, based on an previously authenticated @@ -33,31 +17,13 @@ public class OrgAppInstallationAuthorizationProvider extends GitHub.DependentAut * @param authorizationProvider * A authorization provider that returns a JWT token that can be used to refresh the App Installation * token from GitHub. + * + * @deprecated Replaced by {@link AppInstallationAuthorizationProvider} */ @BetaApi + @Deprecated public OrgAppInstallationAuthorizationProvider(String organizationName, AuthorizationProvider authorizationProvider) { - super(authorizationProvider); - this.organizationName = organizationName; - } - - @Override - public String getEncodedAuthorization() throws IOException { - synchronized (this) { - if (authorization == null || Instant.now().isAfter(this.validUntil)) { - String token = refreshToken(); - authorization = String.format("token %s", token); - } - return authorization; - } - } - - private String refreshToken() throws IOException { - GitHub gitHub = this.gitHub(); - GHAppInstallation installationByOrganization = gitHub.getApp() - .getInstallationByOrganization(this.organizationName); - GHAppInstallationToken ghAppInstallationToken = installationByOrganization.createToken().create(); - this.validUntil = ghAppInstallationToken.getExpiresAt().toInstant().minus(Duration.ofMinutes(5)); - return Objects.requireNonNull(ghAppInstallationToken.getToken()); + super(app -> app.getInstallationByOrganization(organizationName), authorizationProvider); } } diff --git a/src/main/java/org/kohsuke/github/connector/GitHubConnectorResponse.java b/src/main/java/org/kohsuke/github/connector/GitHubConnectorResponse.java index c73b2e0c8d..2b1b5a701c 100644 --- a/src/main/java/org/kohsuke/github/connector/GitHubConnectorResponse.java +++ b/src/main/java/org/kohsuke/github/connector/GitHubConnectorResponse.java @@ -37,6 +37,16 @@ public abstract class GitHubConnectorResponse implements Closeable { @Nonnull private final Map> headers; + /** + * GitHubConnectorResponse constructor + * + * @param request + * the request + * @param statusCode + * the status code + * @param headers + * the headers + */ protected GitHubConnectorResponse(@Nonnull GitHubConnectorRequest request, int statusCode, @Nonnull Map> headers) { @@ -158,12 +168,25 @@ public final int parseInt(String name) throws NumberFormatException { } } + /** + * A ByteArrayResponse class + */ public abstract static class ByteArrayResponse extends GitHubConnectorResponse { private boolean inputStreamRead = false; private byte[] inputBytes = null; private boolean isClosed = false; + /** + * Constructor for ByteArray Response + * + * @param request + * the request + * @param statusCode + * the status code + * @param headers + * the headers + */ protected ByteArrayResponse(@Nonnull GitHubConnectorRequest request, int statusCode, @Nonnull Map> headers) { diff --git a/src/main/java/org/kohsuke/github/example/dataobject/ReadOnlyObjects.java b/src/main/java/org/kohsuke/github/example/dataobject/ReadOnlyObjects.java index cc1432085a..fb6a517fdf 100644 --- a/src/main/java/org/kohsuke/github/example/dataobject/ReadOnlyObjects.java +++ b/src/main/java/org/kohsuke/github/example/dataobject/ReadOnlyObjects.java @@ -94,7 +94,7 @@ public interface GHMetaExample { *
    *
  • Easy to create
  • *
  • Not much code
  • - *
  • Mininal annotations
  • + *
  • Minimal annotations
  • *
* Con: *
    @@ -373,7 +373,7 @@ void setImporter(List importer) { *
      *
    • Very Easy to create
    • *
    • Minimal code
    • - *
    • Mininal annotations
    • + *
    • Minimal annotations
    • *
    • Fields effectively final and lists unmodifiable
    • *
    * Con: diff --git a/src/main/java/org/kohsuke/github/extras/authorization/JWTTokenProvider.java b/src/main/java/org/kohsuke/github/extras/authorization/JWTTokenProvider.java index e166524027..85ed1f69ed 100644 --- a/src/main/java/org/kohsuke/github/extras/authorization/JWTTokenProvider.java +++ b/src/main/java/org/kohsuke/github/extras/authorization/JWTTokenProvider.java @@ -3,6 +3,7 @@ import io.jsonwebtoken.JwtBuilder; import io.jsonwebtoken.Jwts; import io.jsonwebtoken.SignatureAlgorithm; +import io.jsonwebtoken.jackson.io.JacksonSerializer; import org.kohsuke.github.authorization.AuthorizationProvider; import java.io.File; @@ -41,23 +42,66 @@ public class JWTTokenProvider implements AuthorizationProvider { */ private final String applicationId; + /** + * Create a JWTTokenProvider + * + * @param applicationId + * the application id + * @param keyFile + * the key file + * @throws GeneralSecurityException + * when an error occurs + * @throws IOException + * when an error occurs + */ public JWTTokenProvider(String applicationId, File keyFile) throws GeneralSecurityException, IOException { this(applicationId, keyFile.toPath()); } + /** + * Create a JWTTokenProvider + * + * @param applicationId + * the application id + * @param keyPath + * the key path + * @throws GeneralSecurityException + * when an error occurs + * @throws IOException + * when an error occurs + */ public JWTTokenProvider(String applicationId, Path keyPath) throws GeneralSecurityException, IOException { this(applicationId, new String(Files.readAllBytes(keyPath), StandardCharsets.UTF_8)); } + /** + * Create a JWTTokenProvider + * + * @param applicationId + * the application id + * @param keyString + * the key string + * @throws GeneralSecurityException + * when an error occurs + */ public JWTTokenProvider(String applicationId, String keyString) throws GeneralSecurityException { this(applicationId, getPrivateKeyFromString(keyString)); } + /** + * Create a JWTTokenProvider + * + * @param applicationId + * the application id + * @param privateKey + * the private key + */ public JWTTokenProvider(String applicationId, PrivateKey privateKey) { this.privateKey = privateKey; this.applicationId = applicationId; } + /** {@inheritDoc} */ @Override public String getEncodedAuthorization() throws IOException { synchronized (this) { @@ -79,7 +123,7 @@ public String getEncodedAuthorization() throws IOException { *

    * Made internal for testing * - * @return false if the the token has been refreshed within the required window, otherwise true + * @return false if the token has been refreshed within the required window, otherwise true */ boolean isNotValid() { return Instant.now().isAfter(validUntil); @@ -138,7 +182,7 @@ private String refreshJWT() { validUntil = expiration.minus(Duration.ofMinutes(2)); // Builds the JWT and serializes it to a compact, URL-safe string - return builder.compact(); + return builder.serializeToJsonWith(new JacksonSerializer<>()).compact(); } Instant getIssuedAt(Instant now) { diff --git a/src/main/java/org/kohsuke/github/extras/okhttp3/ObsoleteUrlFactory.java b/src/main/java/org/kohsuke/github/extras/okhttp3/ObsoleteUrlFactory.java index bc0bc58571..dbbbae6a6c 100644 --- a/src/main/java/org/kohsuke/github/extras/okhttp3/ObsoleteUrlFactory.java +++ b/src/main/java/org/kohsuke/github/extras/okhttp3/ObsoleteUrlFactory.java @@ -53,7 +53,6 @@ import java.net.URLConnection; import java.net.URLStreamHandler; import java.net.URLStreamHandlerFactory; -import java.security.AccessControlException; import java.security.Permission; import java.security.Principal; import java.security.cert.Certificate; @@ -321,7 +320,7 @@ static String getSystemProperty(String key, @Nullable String defaultValue) { String value; try { value = System.getProperty(key); - } catch (AccessControlException ex) { + } catch (SecurityException | IllegalArgumentException ex) { return defaultValue; } return value != null ? value : defaultValue; diff --git a/src/main/java/org/kohsuke/github/internal/GitHubConnectorHttpConnectorAdapter.java b/src/main/java/org/kohsuke/github/internal/GitHubConnectorHttpConnectorAdapter.java index 01417e08dd..3dc0e9d7b0 100644 --- a/src/main/java/org/kohsuke/github/internal/GitHubConnectorHttpConnectorAdapter.java +++ b/src/main/java/org/kohsuke/github/internal/GitHubConnectorHttpConnectorAdapter.java @@ -83,7 +83,7 @@ public GitHubConnectorResponse send(GitHubConnectorRequest request) throws IOExc } // HttpUrlConnection is nuts. This call opens the connection and gets a response. - // Putting this on it's own line for ease of debugging if needed. + // Putting this on its own line for ease of debugging if needed. int statusCode = connection.getResponseCode(); Map> headers = connection.getHeaderFields(); diff --git a/src/main/java/org/kohsuke/github/internal/Previews.java b/src/main/java/org/kohsuke/github/internal/Previews.java index 66ef2d9e2c..8c7a6fd520 100644 --- a/src/main/java/org/kohsuke/github/internal/Previews.java +++ b/src/main/java/org/kohsuke/github/internal/Previews.java @@ -133,6 +133,11 @@ public enum Previews { this.mediaType = mediaType; } + /** + * Gets the mediaType + * + * @return the media type string + */ public String mediaType() { return mediaType; } diff --git a/src/site/apt/index.apt b/src/site/apt/index.apt index 2463ad1e16..abae7ae2b9 100644 --- a/src/site/apt/index.apt +++ b/src/site/apt/index.apt @@ -140,9 +140,9 @@ Pluggable HTTP client This library comes with a pluggable connector to use different HTTP client implementations through <<>>. In particular, this means you can use {{{https://square.github.io/okhttp/}OkHttp}}, - so we can make use of it's HTTP response cache. + so we can make use of its HTTP response cache. Making a conditional request against the GitHub API and receiving a 304 response - {{{https://developer.github.com/v3/#conditional-requests}does not count against the rate limit}}. + {{{https://docs.github.com/en/rest/overview/resources-in-the-rest-api?apiVersion=2022-11-28#conditional-requests}does not count against the rate limit}}. The following code shows an example of how to set up persistent cache on the disk: diff --git a/src/test/java/org/kohsuke/HookApp.java b/src/test/java/org/kohsuke/HookApp.java index 9ee51407a0..1b67eb67aa 100644 --- a/src/test/java/org/kohsuke/HookApp.java +++ b/src/test/java/org/kohsuke/HookApp.java @@ -8,6 +8,7 @@ import java.io.IOException; import java.io.StringReader; +// TODO: Auto-generated Javadoc /** * App to test the hook script. You need some internet-facing server that can forward the request to you (typically via * SSH reverse port forwarding.) @@ -15,6 +16,15 @@ * @author Kohsuke Kawaguchi */ public class HookApp { + + /** + * The main method. + * + * @param args + * the arguments + * @throws Exception + * the exception + */ public static void main(String[] args) throws Exception { // GitHub.connect().getMyself().getRepository("sandbox").createWebHook( // new URL("http://173.203.118.45:18080/"), EnumSet.of(GHEvent.PULL_REQUEST)); @@ -23,6 +33,14 @@ public static void main(String[] args) throws Exception { jr.start(); } + /** + * Do index. + * + * @param req + * the req + * @throws IOException + * Signals that an I/O exception has occurred. + */ public void doIndex(StaplerRequest req) throws IOException { String str = req.getParameter("payload"); // System.out.println(str); diff --git a/src/test/java/org/kohsuke/github/AbstractGHAppInstallationTest.java b/src/test/java/org/kohsuke/github/AbstractGHAppInstallationTest.java index 5849be0e75..da7d7f2f96 100644 --- a/src/test/java/org/kohsuke/github/AbstractGHAppInstallationTest.java +++ b/src/test/java/org/kohsuke/github/AbstractGHAppInstallationTest.java @@ -1,5 +1,6 @@ package org.kohsuke.github; +import com.google.common.collect.ImmutableSet; import io.jsonwebtoken.Jwts; import org.apache.commons.io.IOUtils; import org.kohsuke.github.authorization.AuthorizationProvider; @@ -9,6 +10,7 @@ import java.io.IOException; import java.nio.charset.StandardCharsets; import java.nio.file.Files; +import java.nio.file.Paths; import java.security.GeneralSecurityException; import java.security.KeyFactory; import java.security.PrivateKey; @@ -17,9 +19,19 @@ import java.time.temporal.ChronoUnit; import java.util.Base64; import java.util.Date; +import java.util.List; +// TODO: Auto-generated Javadoc +/** + * The Class AbstractGHAppInstallationTest. + */ public class AbstractGHAppInstallationTest extends AbstractGitHubWireMockTest { + private static String ENV_GITHUB_APP_ID = "GITHUB_APP_ID"; + private static String ENV_GITHUB_APP_JWK_PATH = "GITHUB_APP_JWK_PATH"; + private static String ENV_GITHUB_APP_ORG = "GITHUB_APP_ORG"; + private static String ENV_GITHUB_APP_REPO = "GITHUB_APP_REPO"; + private static String TEST_APP_ID_1 = "82994"; private static String TEST_APP_ID_2 = "83009"; private static String TEST_APP_ID_3 = "89368"; @@ -27,21 +39,36 @@ public class AbstractGHAppInstallationTest extends AbstractGitHubWireMockTest { private static String PRIVATE_KEY_FILE_APP_2 = "/ghapi-test-app-2.private-key.pem"; private static String PRIVATE_KEY_FILE_APP_3 = "/ghapi-test-app-3.private-key.pem"; + /** The jwt provider 1. */ protected final AuthorizationProvider jwtProvider1; + + /** The jwt provider 2. */ protected final AuthorizationProvider jwtProvider2; + + /** The jwt provider 3. */ protected final AuthorizationProvider jwtProvider3; + /** + * Instantiates a new abstract GH app installation test. + */ protected AbstractGHAppInstallationTest() { + String appId = System.getenv(ENV_GITHUB_APP_ID); + String appJwkPath = System.getenv(ENV_GITHUB_APP_JWK_PATH); try { - jwtProvider1 = new JWTTokenProvider(TEST_APP_ID_1, - new File(this.getClass().getResource(PRIVATE_KEY_FILE_APP_1).getFile())); - jwtProvider2 = new JWTTokenProvider(TEST_APP_ID_2, - new File(this.getClass().getResource(PRIVATE_KEY_FILE_APP_2).getFile()).toPath()); - jwtProvider3 = new JWTTokenProvider(TEST_APP_ID_3, - new String( - Files.readAllBytes( - new File(this.getClass().getResource(PRIVATE_KEY_FILE_APP_3).getFile()).toPath()), - StandardCharsets.UTF_8)); + if (appId != null && appJwkPath != null) { + jwtProvider1 = new JWTTokenProvider(appId, Paths.get(appJwkPath)); + jwtProvider2 = jwtProvider1; + jwtProvider3 = jwtProvider1; + } else { + jwtProvider1 = new JWTTokenProvider(TEST_APP_ID_1, + new File(this.getClass().getResource(PRIVATE_KEY_FILE_APP_1).getFile())); + jwtProvider2 = new JWTTokenProvider(TEST_APP_ID_2, + new File(this.getClass().getResource(PRIVATE_KEY_FILE_APP_2).getFile()).toPath()); + jwtProvider3 = new JWTTokenProvider(TEST_APP_ID_3, + new String(Files.readAllBytes( + new File(this.getClass().getResource(PRIVATE_KEY_FILE_APP_3).getFile()).toPath()), + StandardCharsets.UTF_8)); + } } catch (GeneralSecurityException | IOException e) { throw new RuntimeException("These should never fail", e); } @@ -67,18 +94,38 @@ private String createJwtToken(String keyFileResouceName, String appId) { } } + /** + * Gets the app installation with token. + * + * @param jwtToken + * the jwt token + * @return the app installation with token + * @throws IOException + * Signals that an I/O exception has occurred. + */ protected GHAppInstallation getAppInstallationWithToken(String jwtToken) throws IOException { + if (jwtToken.startsWith("Bearer ")) { + jwtToken = jwtToken.substring("Bearer ".length()); + } + GitHub gitHub = getGitHubBuilder().withJwtToken(jwtToken) .withEndpoint(mockGitHub.apiServer().baseUrl()) .build(); - GHAppInstallation appInstallation = gitHub.getApp() - .listInstallations() - .toList() - .stream() - .filter(it -> it.getAccount().login.equals("hub4j-test-org")) - .findFirst() - .get(); + GHApp app = gitHub.getApp(); + + GHAppInstallation appInstallation; + if (ImmutableSet.of(TEST_APP_ID_1, TEST_APP_ID_2, TEST_APP_ID_3).contains(Long.toString(app.getId()))) { + List installations = app.listInstallations().toList(); + appInstallation = installations.stream() + .filter(it -> it.getAccount().login.equals("hub4j-test-org")) + .findFirst() + .get(); + } else { + // We may be processing a custom JWK, for a custom GHApp: fetch a relevant repository dynamically + appInstallation = app.getInstallationByRepository(System.getenv(ENV_GITHUB_APP_ORG), + System.getenv(ENV_GITHUB_APP_REPO)); + } // TODO: this is odd // appInstallation diff --git a/src/test/java/org/kohsuke/github/AbstractGitHubWireMockTest.java b/src/test/java/org/kohsuke/github/AbstractGitHubWireMockTest.java index f65f00bea6..044a7122ec 100644 --- a/src/test/java/org/kohsuke/github/AbstractGitHubWireMockTest.java +++ b/src/test/java/org/kohsuke/github/AbstractGitHubWireMockTest.java @@ -24,20 +24,29 @@ import static org.junit.Assume.assumeFalse; import static org.junit.Assume.assumeTrue; +// TODO: Auto-generated Javadoc /** + * The Class AbstractGitHubWireMockTest. + * * @author Liam Newman */ public abstract class AbstractGitHubWireMockTest { private final GitHubBuilder githubBuilder = createGitHubBuilder(); + /** The Constant GITHUB_API_TEST_ORG. */ final static String GITHUB_API_TEST_ORG = "hub4j-test-org"; + /** The Constant STUBBED_USER_LOGIN. */ final static String STUBBED_USER_LOGIN = "placeholder-user"; + + /** The Constant STUBBED_USER_PASSWORD. */ final static String STUBBED_USER_PASSWORD = "placeholder-password"; + /** The use default git hub. */ protected boolean useDefaultGitHub = true; + /** The temp git hub repositories. */ protected final Set tempGitHubRepositories = new HashSet<>(); /** @@ -47,18 +56,31 @@ public abstract class AbstractGitHubWireMockTest { private GitHub nonRecordingGitHub; + /** The base files class path. */ protected final String baseFilesClassPath = this.getClass().getName().replace('.', '/'); + + /** The base record path. */ protected final String baseRecordPath = "src/test/resources/" + baseFilesClassPath + "/wiremock"; + /** The mock git hub. */ @Rule public final GitHubWireMockRule mockGitHub; + /** The templating. */ protected final TemplatingHelper templating = new TemplatingHelper(); + /** + * Instantiates a new abstract git hub wire mock test. + */ public AbstractGitHubWireMockTest() { mockGitHub = new GitHubWireMockRule(this.getWireMockOptions()); } + /** + * Gets the wire mock options. + * + * @return the wire mock options + */ protected WireMockConfiguration getWireMockOptions() { return WireMockConfiguration.options().dynamicPort().usingFilesUnderDirectory(baseRecordPath); } @@ -93,6 +115,11 @@ private static GitHubBuilder createGitHubBuilder() { return builder.withRateLimitHandler(RateLimitHandler.FAIL); } + /** + * Gets the git hub builder. + * + * @return the git hub builder + */ protected GitHubBuilder getGitHubBuilder() { GitHubBuilder builder = githubBuilder.clone(); @@ -106,6 +133,12 @@ protected GitHubBuilder getGitHubBuilder() { return builder; } + /** + * Wire mock setup. + * + * @throws Exception + * the exception + */ @Before public void wireMockSetup() throws Exception { GitHubBuilder builder = getGitHubBuilder().withEndpoint(mockGitHub.apiServer().baseUrl()); @@ -121,16 +154,31 @@ public void wireMockSetup() throws Exception { } } + /** + * Snapshot not allowed. + */ protected void snapshotNotAllowed() { assumeFalse("Test contains hand written mappings. Only valid when not taking a snapshot.", mockGitHub.isTakeSnapshot()); } + /** + * Require proxy. + * + * @param reason + * the reason + */ protected void requireProxy(String reason) { assumeTrue("Test only valid when proxying (-Dtest.github.useProxy to enable): " + reason, mockGitHub.isUseProxy()); } + /** + * Verify authenticated. + * + * @param instance + * the instance + */ protected void verifyAuthenticated(GitHub instance) { assertThat( "GitHub connection believes it is anonymous. Make sure you set GITHUB_OAUTH or both GITHUB_LOGIN and GITHUB_PASSWORD environment variables", @@ -138,10 +186,22 @@ protected void verifyAuthenticated(GitHub instance) { Matchers.is(false)); } + /** + * Gets the user. + * + * @return the user + */ protected GHUser getUser() { return getUser(gitHub); } + /** + * Gets the user. + * + * @param gitHub + * the git hub + * @return the user + */ protected static GHUser getUser(GitHub gitHub) { try { return gitHub.getMyself(); @@ -166,7 +226,7 @@ protected GHRepository getTempRepository() throws IOException { * Creates a temporary repository that will be deleted at the end of the test. * * @param name - * string name of the the repository + * string name of the repository * * @return a temporary repository * @throws IOException @@ -196,6 +256,12 @@ protected GHRepository getTempRepository(String name) throws IOException { return gitHub.getRepository(fullName); } + /** + * Cleanup temp repositories. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Before @After public void cleanupTempRepositories() throws IOException { @@ -206,6 +272,14 @@ public void cleanupTempRepositories() throws IOException { } } + /** + * Cleanup repository. + * + * @param fullName + * the full name + * @throws IOException + * Signals that an I/O exception has occurred. + */ protected void cleanupRepository(String fullName) throws IOException { if (mockGitHub.isUseProxy()) { tempGitHubRepositories.add(fullName); @@ -232,6 +306,9 @@ public GitHub getNonRecordingGitHub() { return nonRecordingGitHub; } + /** + * Kohsuke. + */ protected void kohsuke() { // No-op for now // Generally this means the test is doing something that requires additional access rights @@ -255,28 +332,78 @@ private String getOrganization() throws IOException { return mockGitHub.isTestWithOrg() ? GITHUB_API_TEST_ORG : gitHub.getMyself().getLogin(); } + /** + * Fail. + */ public static void fail() { Assert.fail(); } + + /** + * Fail. + * + * @param reason + * the reason + */ public static void fail(String reason) { Assert.fail(reason); } + /** + * Assert that. + * + * @param + * the generic type + * @param actual + * the actual + * @param matcher + * the matcher + */ public static void assertThat(T actual, Matcher matcher) { MatcherAssert.assertThat("", actual, matcher); } + /** + * Assert that. + * + * @param + * the generic type + * @param reason + * the reason + * @param actual + * the actual + * @param matcher + * the matcher + */ public static void assertThat(String reason, T actual, Matcher matcher) { MatcherAssert.assertThat(reason, actual, matcher); } + /** + * Assert that. + * + * @param reason + * the reason + * @param assertion + * the assertion + */ public static void assertThat(String reason, boolean assertion) { MatcherAssert.assertThat(reason, assertion); } + /** + * The Class TemplatingHelper. + */ protected static class TemplatingHelper { + + /** The test start date. */ public Date testStartDate = new Date(); + /** + * New response transformer. + * + * @return the response template transformer + */ public ResponseTemplateTransformer newResponseTransformer() { testStartDate = new Date(); return ResponseTemplateTransformer.builder() diff --git a/src/test/java/org/kohsuke/github/AbuseLimitHandlerTest.java b/src/test/java/org/kohsuke/github/AbuseLimitHandlerTest.java index bbd0751147..646eca6d00 100644 --- a/src/test/java/org/kohsuke/github/AbuseLimitHandlerTest.java +++ b/src/test/java/org/kohsuke/github/AbuseLimitHandlerTest.java @@ -18,6 +18,7 @@ import static org.hamcrest.CoreMatchers.notNullValue; import static org.hamcrest.core.IsInstanceOf.instanceOf; +// TODO: Auto-generated Javadoc /** * Test showing the behavior of OkHttpConnector with and without cache. *

    @@ -40,15 +41,29 @@ */ public class AbuseLimitHandlerTest extends AbstractGitHubWireMockTest { + /** + * Instantiates a new abuse limit handler test. + */ public AbuseLimitHandlerTest() { useDefaultGitHub = false; } + /** + * Gets the wire mock options. + * + * @return the wire mock options + */ @Override protected WireMockConfiguration getWireMockOptions() { return super.getWireMockOptions().extensions(templating.newResponseTransformer()); } + /** + * Test handler fail. + * + * @throws Exception + * the exception + */ @Test public void testHandler_Fail() throws Exception { // Customized response that templates the date to keep things working @@ -205,6 +220,12 @@ public void onError(IOException e, HttpURLConnection uc) throws IOException { } + /** + * Test handler http status fail. + * + * @throws Exception + * the exception + */ @Test public void testHandler_HttpStatus_Fail() throws Exception { // Customized response that templates the date to keep things working @@ -232,6 +253,12 @@ public void testHandler_HttpStatus_Fail() throws Exception { } + /** + * Test handler wait. + * + * @throws Exception + * the exception + */ @Test public void testHandler_Wait() throws Exception { // Customized response that templates the date to keep things working @@ -248,6 +275,12 @@ public void testHandler_Wait() throws Exception { assertThat(mockGitHub.getRequestCount(), equalTo(3)); } + /** + * Test handler wait stuck. + * + * @throws Exception + * the exception + */ @Test public void testHandler_WaitStuck() throws Exception { // Customized response that templates the date to keep things working diff --git a/src/test/java/org/kohsuke/github/AppInstallationAuthorizationProviderTest.java b/src/test/java/org/kohsuke/github/AppInstallationAuthorizationProviderTest.java new file mode 100644 index 0000000000..092a4dd1fd --- /dev/null +++ b/src/test/java/org/kohsuke/github/AppInstallationAuthorizationProviderTest.java @@ -0,0 +1,89 @@ +package org.kohsuke.github; + +import org.junit.Test; +import org.kohsuke.github.authorization.AppInstallationAuthorizationProvider; +import org.kohsuke.github.authorization.ImmutableAuthorizationProvider; +import org.kohsuke.github.authorization.OrgAppInstallationAuthorizationProvider; + +import java.io.IOException; + +import static org.hamcrest.CoreMatchers.equalTo; +import static org.hamcrest.CoreMatchers.notNullValue; +import static org.hamcrest.CoreMatchers.startsWith; + +// TODO: Auto-generated Javadoc + +/** + * The Class AppInstallationAuthorizationProviderTest. + */ +public class AppInstallationAuthorizationProviderTest extends AbstractGHAppInstallationTest { + + /** + * Instantiates a new org app installation authorization provider test. + */ + public AppInstallationAuthorizationProviderTest() { + useDefaultGitHub = false; + } + + /** + * Invalid JWT token raises exception. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ + @Test(expected = HttpException.class) + public void invalidJWTTokenRaisesException() throws IOException { + OrgAppInstallationAuthorizationProvider provider = new OrgAppInstallationAuthorizationProvider( + "testOrganization", + ImmutableAuthorizationProvider.fromJwtToken("myToken")); + gitHub = getGitHubBuilder().withAuthorizationProvider(provider) + .withEndpoint(mockGitHub.apiServer().baseUrl()) + .build(); + + provider.getEncodedAuthorization(); + } + + /** + * Valid JWT token allows oauth token request. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ + @Test + public void validJWTTokenAllowsOauthTokenRequest() throws IOException { + AppInstallationAuthorizationProvider provider = new AppInstallationAuthorizationProvider( + app -> app.getInstallationByOrganization("hub4j-test-org"), + ImmutableAuthorizationProvider.fromJwtToken("bogus-valid-token")); + gitHub = getGitHubBuilder().withAuthorizationProvider(provider) + .withEndpoint(mockGitHub.apiServer().baseUrl()) + .build(); + String encodedAuthorization = provider.getEncodedAuthorization(); + + assertThat(encodedAuthorization, notNullValue()); + assertThat(encodedAuthorization, equalTo("token v1.9a12d913f980a45a16ac9c3a9d34d9b7sa314cb6")); + } + + /** + * Lookup of an app by id works as expected + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ + @Test + public void validJWTTokenWhenLookingUpAppById() throws IOException { + AppInstallationAuthorizationProvider provider = new AppInstallationAuthorizationProvider( + // https://github.com/organizations/hub4j-test-org/settings/installations/12129901 + app -> app.getInstallationById(12129901L), + jwtProvider1); + gitHub = getGitHubBuilder().withAuthorizationProvider(provider) + .withEndpoint(mockGitHub.apiServer().baseUrl()) + .build(); + String encodedAuthorization = provider.getEncodedAuthorization(); + + assertThat(encodedAuthorization, notNullValue()); + // we could assert on the exact token with wiremock, but it would make the update of the test more complex + // do we really care, getting a token should be enough. + assertThat(encodedAuthorization, startsWith("token ghs_")); + } + +} diff --git a/src/test/java/org/kohsuke/github/AppTest.java b/src/test/java/org/kohsuke/github/AppTest.java index 2c1086ae29..3204b9b9ee 100755 --- a/src/test/java/org/kohsuke/github/AppTest.java +++ b/src/test/java/org/kohsuke/github/AppTest.java @@ -21,13 +21,23 @@ import java.util.stream.Collectors; import static org.hamcrest.Matchers.*; +import static org.junit.Assert.assertThrows; +// TODO: Auto-generated Javadoc /** * Unit test for simple App. */ public class AppTest extends AbstractGitHubWireMockTest { + + /** The Constant GITHUB_API_TEST_REPO. */ static final String GITHUB_API_TEST_REPO = "github-api-test"; + /** + * Test repo CRUD. + * + * @throws Exception + * the exception + */ @Test public void testRepoCRUD() throws Exception { String targetName = "github-api-test-rename2"; @@ -73,6 +83,12 @@ public void testRepoCRUD() throws Exception { r.delete(); } + /** + * Test repository with auto initialization CRUD. + * + * @throws Exception + * the exception + */ @Test public void testRepositoryWithAutoInitializationCRUD() throws Exception { String name = "github-api-test-autoinit"; @@ -96,6 +112,12 @@ private void cleanupUserRepository(final String name) throws IOException { } } + /** + * Test credential valid. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testCredentialValid() throws IOException { assertThat(gitHub.isCredentialValid(), is(true)); @@ -112,6 +134,12 @@ public void testCredentialValid() throws IOException { assertThat(gitHub.lastRateLimit().getCore().getLimit(), equalTo(60)); } + /** + * Test credential valid enterprise. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testCredentialValidEnterprise() throws IOException { // Simulated GHE: getRateLimit returns 404 @@ -133,6 +161,12 @@ public void testCredentialValidEnterprise() throws IOException { assertThat(gitHub.lastRateLimit(), sameInstance(GHRateLimit.DEFAULT)); } + /** + * Test issue with no comment. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testIssueWithNoComment() throws IOException { GHRepository repository = gitHub.getRepository("kohsuke/test"); @@ -142,6 +176,12 @@ public void testIssueWithNoComment() throws IOException { assertThat(v, is(empty())); } + /** + * Test issue with comment. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testIssueWithComment() throws IOException { GHRepository repository = gitHub.getRepository("kohsuke/test"); @@ -182,7 +222,12 @@ public void testIssueWithComment() throws IOException { ReactionContent.HOORAY, ReactionContent.ROCKET)); - reaction.delete(); + // test retired delete reaction API throws UnsupportedOperationException + final GHReaction reactionToDelete = reaction; + assertThrows(UnsupportedOperationException.class, () -> reactionToDelete.delete()); + + // test new delete reaction API + v.get(1).deleteReaction(reaction); reaction = null; v = i.getComments(); reactions = v.get(1).listReactions().toList(); @@ -190,11 +235,18 @@ public void testIssueWithComment() throws IOException { containsInAnyOrder(ReactionContent.EYES, ReactionContent.HOORAY, ReactionContent.ROCKET)); } finally { if (reaction != null) { - reaction.delete(); + v.get(1).deleteReaction(reaction); + reaction = null; } } } + /** + * Test create issue. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testCreateIssue() throws IOException { GHUser u = getUser(); @@ -222,6 +274,12 @@ public void testCreateIssue() throws IOException { o.close(); } + /** + * Test create and list deployments. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testCreateAndListDeployments() throws IOException { GHRepository repository = getTestRepository(); @@ -248,6 +306,12 @@ public void testCreateAndListDeployments() throws IOException { } } + /** + * Test get deployment statuses. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testGetDeploymentStatuses() throws IOException { GHRepository repository = getTestRepository(); @@ -281,6 +345,12 @@ public void testGetDeploymentStatuses() throws IOException { } } + /** + * Test get issues. + * + * @throws Exception + * the exception + */ @Test public void testGetIssues() throws Exception { List closedIssues = gitHub.getOrganization("hub4j") @@ -291,6 +361,12 @@ public void testGetIssues() throws Exception { String readRepoString = GitHub.getMappingObjectWriter().writeValueAsString(closedIssues.get(0)); } + /** + * Test query issues. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testQueryIssues() throws IOException { final GHRepository repo = gitHub.getOrganization("hub4j-test-org").getRepository("testQueryIssues"); @@ -366,6 +442,12 @@ private GHRepository getTestRepository() throws IOException { return getTempRepository(GITHUB_API_TEST_REPO); } + /** + * Test list issues. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testListIssues() throws IOException { Iterable closedIssues = gitHub.getOrganization("hub4j") @@ -381,11 +463,23 @@ public void testListIssues() throws IOException { assertThat(x, greaterThan(150)); } + /** + * Test rate limit. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testRateLimit() throws IOException { assertThat(gitHub.getRateLimit(), notNullValue()); } + /** + * Test my organizations. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testMyOrganizations() throws IOException { Map org = gitHub.getMyOrganizations(); @@ -393,6 +487,12 @@ public void testMyOrganizations() throws IOException { // System.out.println(org); } + /** + * Test my organizations contain my teams. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testMyOrganizationsContainMyTeams() throws IOException { Map> teams = gitHub.getMyTeams(); @@ -402,6 +502,12 @@ public void testMyOrganizationsContainMyTeams() throws IOException { assertThat(myOrganizations.keySet().containsAll(teams.keySet()), is(true)); } + /** + * Test my teams should include myself. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testMyTeamsShouldIncludeMyself() throws IOException { Map> teams = gitHub.getMyTeams(); @@ -415,6 +521,12 @@ public void testMyTeamsShouldIncludeMyself() throws IOException { } } + /** + * Test user public organizations when there are some. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testUserPublicOrganizationsWhenThereAreSome() throws IOException { // kohsuke had some public org memberships at the time Wiremock recorded the GitHub API responses @@ -425,6 +537,12 @@ public void testUserPublicOrganizationsWhenThereAreSome() throws IOException { assertThat(orgs.size(), greaterThan(0)); } + /** + * Test user public organizations when there are none. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testUserPublicOrganizationsWhenThereAreNone() throws IOException { // bitwiseman had no public org memberships at the time Wiremock recorded the GitHub API responses @@ -443,18 +561,27 @@ private boolean shouldBelongToTeam(String organizationName, String teamName) thr return team.hasMember(gitHub.getMyself()); } + /** + * Test fetching team from git hub instance throws exception. + * + * @throws Exception + * the exception + */ @Test - public void testShouldFetchTeam() throws Exception { + @SuppressWarnings("deprecation") + public void testFetchingTeamFromGitHubInstanceThrowsException() throws Exception { GHOrganization organization = gitHub.getOrganization(GITHUB_API_TEST_ORG); GHTeam teamByName = organization.getTeams().get("Core Developers"); - GHTeam teamById = gitHub.getTeam((int) teamByName.getId()); - assertThat(teamById, notNullValue()); - - assertThat(teamById.getId(), equalTo(teamByName.getId())); - assertThat(teamById.getDescription(), equalTo(teamByName.getDescription())); + assertThrows(UnsupportedOperationException.class, () -> gitHub.getTeam((int) teamByName.getId())); } + /** + * Test should fetch team from organization. + * + * @throws Exception + * the exception + */ @Test public void testShouldFetchTeamFromOrganization() throws Exception { GHOrganization organization = gitHub.getOrganization(GITHUB_API_TEST_ORG); @@ -474,6 +601,12 @@ public void testShouldFetchTeamFromOrganization() throws Exception { } + /** + * Test fetch pull request. + * + * @throws Exception + * the exception + */ @Ignore("Needs mocking check") @Test public void testFetchPullRequest() throws Exception { @@ -484,6 +617,12 @@ public void testFetchPullRequest() throws Exception { r.getPullRequests(GHIssueState.OPEN); } + /** + * Test fetch pull request as list. + * + * @throws Exception + * the exception + */ @Ignore("Needs mocking check") @Test public void testFetchPullRequestAsList() throws Exception { @@ -495,6 +634,12 @@ public void testFetchPullRequestAsList() throws Exception { assertThat(prs, is(not(empty()))); } + /** + * Test get app installations. + * + * @throws Exception + * the exception + */ @Test public void testGetAppInstallations() throws Exception { // To generate test data user-to-server OAuth access token was used @@ -509,6 +654,12 @@ public void testGetAppInstallations() throws Exception { assertThat(ghAppInstallation.getAccount().getLogin(), is("t0m4uk1991")); } + /** + * Test repo permissions. + * + * @throws Exception + * the exception + */ @Ignore("Needs mocking check") @Test public void testRepoPermissions() throws Exception { @@ -521,6 +672,12 @@ public void testRepoPermissions() throws Exception { assertThat(r.hasAdminAccess(), is(false)); } + /** + * Test get myself. + * + * @throws Exception + * the exception + */ @Test public void testGetMyself() throws Exception { GHMyself me = gitHub.getMyself(); @@ -531,6 +688,12 @@ public void testGetMyself() throws Exception { assertThat(ghRepositories, is(not(emptyIterable()))); } + /** + * Test public keys. + * + * @throws Exception + * the exception + */ @Ignore("Needs mocking check") @Test public void testPublicKeys() throws Exception { @@ -538,12 +701,24 @@ public void testPublicKeys() throws Exception { assertThat(keys, is(not(empty()))); } + /** + * Test org fork. + * + * @throws Exception + * the exception + */ @Test public void testOrgFork() throws Exception { cleanupRepository(GITHUB_API_TEST_ORG + "/rubywm"); gitHub.getRepository("kohsuke/rubywm").forkTo(gitHub.getOrganization(GITHUB_API_TEST_ORG)); } + /** + * Test get teams for repo. + * + * @throws Exception + * the exception + */ @Test public void testGetTeamsForRepo() throws Exception { kohsuke(); @@ -552,6 +727,12 @@ public void testGetTeamsForRepo() throws Exception { equalTo(2)); } + /** + * Test membership. + * + * @throws Exception + * the exception + */ @Test public void testMembership() throws Exception { Set members = gitHub.getOrganization(GITHUB_API_TEST_ORG) @@ -560,12 +741,24 @@ public void testMembership() throws Exception { // System.out.println(members.contains("kohsuke")); } + /** + * Test member orgs. + * + * @throws Exception + * the exception + */ @Test public void testMemberOrgs() throws Exception { HashSet o = gitHub.getUser("kohsuke").getOrganizations(); assertThat(o, hasItem(hasProperty("name", equalTo("CloudBees")))); } + /** + * Test org teams. + * + * @throws Exception + * the exception + */ @Test public void testOrgTeams() throws Exception { kohsuke(); @@ -577,6 +770,12 @@ public void testOrgTeams() throws Exception { assertThat(sz, lessThan(100)); } + /** + * Test org team by name. + * + * @throws Exception + * the exception + */ @Test public void testOrgTeamByName() throws Exception { kohsuke(); @@ -584,6 +783,12 @@ public void testOrgTeamByName() throws Exception { assertThat(e, notNullValue()); } + /** + * Test org team by slug. + * + * @throws Exception + * the exception + */ @Test public void testOrgTeamBySlug() throws Exception { kohsuke(); @@ -591,6 +796,12 @@ public void testOrgTeamBySlug() throws Exception { assertThat(e, notNullValue()); } + /** + * Test commit. + * + * @throws Exception + * the exception + */ @Test public void testCommit() throws Exception { GHCommit commit = gitHub.getUser("jenkinsci") @@ -632,6 +843,12 @@ public void testCommit() throws Exception { assertThat(t.getEntry("war").asTree(), notNullValue()); } + /** + * Test list commits. + * + * @throws Exception + * the exception + */ @Test public void testListCommits() throws Exception { List sha1 = new ArrayList(); @@ -642,6 +859,12 @@ public void testListCommits() throws Exception { assertThat(sha1.size(), equalTo(1)); } + /** + * Test branches. + * + * @throws Exception + * the exception + */ @Ignore("Needs mocking check") @Test public void testBranches() throws Exception { @@ -649,6 +872,12 @@ public void testBranches() throws Exception { // System.out.println(b); } + /** + * Test commit comment. + * + * @throws Exception + * the exception + */ @Test public void testCommitComment() throws Exception { GHRepository r = gitHub.getUser("jenkinsci").getRepository("jenkins"); @@ -660,6 +889,12 @@ public void testCommitComment() throws Exception { } } + /** + * Test create commit comment. + * + * @throws Exception + * the exception + */ @Test public void testCreateCommitComment() throws Exception { GHCommit commit = gitHub.getUser("kohsuke") @@ -685,11 +920,31 @@ public void testCreateCommitComment() throws Exception { assertThat(commit.getCommitShortInfo().getCommentCount(), equalTo(31)); + // testing reactions + List reactions = c.listReactions().toList(); + assertThat(reactions, is(empty())); + + GHReaction reaction = c.createReaction(ReactionContent.CONFUSED); + assertThat(reaction.getContent(), equalTo(ReactionContent.CONFUSED)); + + reactions = c.listReactions().toList(); + assertThat(reactions.size(), equalTo(1)); + + c.deleteReaction(reaction); + + reactions = c.listReactions().toList(); + assertThat(reactions.size(), equalTo(0)); } finally { c.delete(); } } + /** + * Try hook. + * + * @throws Exception + * the exception + */ @Test public void tryHook() throws Exception { final GHOrganization o = gitHub.getOrganization(GITHUB_API_TEST_ORG); @@ -757,6 +1012,12 @@ public void tryHook() throws Exception { } } + /** + * Test event api. + * + * @throws Exception + * the exception + */ @Test public void testEventApi() throws Exception { for (GHEventInfo ev : gitHub.getEvents()) { @@ -775,6 +1036,36 @@ public void testEventApi() throws Exception { } } + /** + * Test user public event api. + * + * @throws Exception + * the exception + */ + @Test + public void testUserPublicEventApi() throws Exception { + for (GHEventInfo ev : gitHub.getUserPublicEvents("PierreBtz")) { + if (ev.getType() == GHEvent.PULL_REQUEST) { + if (ev.getId() == 27449881624L) { + assertThat(ev.getActorLogin(), equalTo("PierreBtz")); + assertThat(ev.getOrganization().getLogin(), equalTo("hub4j")); + assertThat(ev.getRepository().getFullName(), equalTo("hub4j/github-api")); + assertThat(ev.getCreatedAt(), equalTo(GitHubClient.parseDate("2023-03-02T16:37:49Z"))); + assertThat(ev.getType(), equalTo(GHEvent.PULL_REQUEST)); + } + + GHEventPayload.PullRequest pr = ev.getPayload(GHEventPayload.PullRequest.class); + assertThat(pr.getNumber(), is(pr.getPullRequest().getNumber())); + } + } + } + + /** + * Test app. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Ignore("Needs mocking check") @Test public void testApp() throws IOException { @@ -867,6 +1158,12 @@ private void testPostCommitHook(GitHub gitHub) throws IOException { // System.out.println(hooks); } + /** + * Test org repositories. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testOrgRepositories() throws IOException { kohsuke(); @@ -877,6 +1174,12 @@ public void testOrgRepositories() throws IOException { // System.out.printf("%d repositories in %dms\n", repos.size(), end - start); } + /** + * Test organization. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testOrganization() throws IOException { kohsuke(); @@ -888,6 +1191,12 @@ public void testOrganization() throws IOException { // t.add(labs.getRepository("xyz")); } + /** + * Test commit status. + * + * @throws Exception + * the exception + */ @Test public void testCommitStatus() throws Exception { GHRepository r = gitHub.getRepository("hub4j/github-api"); @@ -905,6 +1214,12 @@ public void testCommitStatus() throws Exception { assertThat(state.getCreator().getLogin(), equalTo("kohsuke")); } + /** + * Test commit short info. + * + * @throws Exception + * the exception + */ @Test public void testCommitShortInfo() throws Exception { GHRepository r = gitHub.getRepository("hub4j/github-api"); @@ -919,6 +1234,12 @@ public void testCommitShortInfo() throws Exception { equalTo(1271650361L)); } + /** + * Test pull request populate. + * + * @throws Exception + * the exception + */ @Ignore("Needs mocking check") @Test public void testPullRequestPopulate() throws Exception { @@ -928,6 +1249,12 @@ public void testPullRequestPopulate() throws Exception { assertThat(u.getName(), notNullValue()); } + /** + * Test check membership. + * + * @throws Exception + * the exception + */ @Test public void testCheckMembership() throws Exception { kohsuke(); @@ -942,6 +1269,12 @@ public void testCheckMembership() throws Exception { assertThat(j.hasPublicMember(b), is(false)); } + /** + * Test ref. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testRef() throws IOException { GHRef mainRef = gitHub.getRepository("jenkinsci/jenkins").getRef("heads/main"); @@ -949,6 +1282,12 @@ public void testRef() throws IOException { equalTo(mockGitHub.apiServer().baseUrl() + "/repos/jenkinsci/jenkins/git/refs/heads/main")); } + /** + * Directory listing. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void directoryListing() throws IOException { List children = gitHub.getRepository("jenkinsci/jenkins").getDirectoryContent("core"); @@ -962,18 +1301,49 @@ public void directoryListing() throws IOException { } } - @Ignore("Needs mocking check") + /** + * Test add deploy key. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testAddDeployKey() throws IOException { GHRepository myRepository = getTestRepository(); final GHDeployKey newDeployKey = myRepository.addDeployKey("test", - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUt0RAycC5cS42JKh6SecfFZBR1RrF+2hYMctz4mk74/arBE+wFb7fnSHGzdGKX2h5CFOWODifRCJVhB7hlVxodxe+QkQQYAEL/x1WVCJnGgTGQGOrhOMj95V3UE5pQKhsKD608C+u5tSofcWXLToP1/wZ7U4/AHjqYi08OLsWToHCax55TZkvdt2jo0hbIoYU+XI9Q8Uv4ONDN1oabiOdgeKi8+crvHAuvNleiBhWVBzFh8KdfzaH5uNdw7ihhFjEd1vzqACsjCINCjdMfzl6jD9ExuWuE92nZJnucls2cEoNC6k2aPmrZDg9hA32FXVpyseY+bDUWFU6LO2LG6PB kohsuke@atlas"); + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIATWwMLytklB44O66isWRKOB3Qd7Ysc7q7EyWTmT0bG9 test@example.com"); + try { + assertThat(newDeployKey.getId(), notNullValue()); + + GHDeployKey k = Iterables.find(myRepository.getDeployKeys(), new Predicate() { + public boolean apply(GHDeployKey deployKey) { + return newDeployKey.getId() == deployKey.getId() && !deployKey.isRead_only(); + } + }); + assertThat(k, notNullValue()); + } finally { + newDeployKey.delete(); + } + } + + /** + * Test add deploy key read-only. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ + @Test + public void testAddDeployKeyAsReadOnly() throws IOException { + GHRepository myRepository = getTestRepository(); + final GHDeployKey newDeployKey = myRepository.addDeployKey("test", + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIATWwMLytklB44O66isWRKOB3Qd7Ysc7q7EyWTmT0bG9 test@example.com", + true); try { assertThat(newDeployKey.getId(), notNullValue()); GHDeployKey k = Iterables.find(myRepository.getDeployKeys(), new Predicate() { public boolean apply(GHDeployKey deployKey) { - return newDeployKey.getId() == deployKey.getId(); + return newDeployKey.getId() == deployKey.getId() && deployKey.isRead_only(); } }); assertThat(k, notNullValue()); @@ -982,6 +1352,12 @@ public boolean apply(GHDeployKey deployKey) { } } + /** + * Test commit status context. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Ignore("Needs mocking check") @Test public void testCommitStatusContext() throws IOException { @@ -993,6 +1369,12 @@ public void testCommitStatusContext() throws IOException { } + /** + * Test member pagenation. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Ignore("Needs mocking check") @Test public void testMemberPagenation() throws IOException { @@ -1004,6 +1386,12 @@ public void testMemberPagenation() throws IOException { assertThat(all, is(not(empty()))); } + /** + * Test commit search. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testCommitSearch() throws IOException { PagedSearchIterable r = gitHub.searchCommits() @@ -1018,6 +1406,12 @@ public void testCommitSearch() throws IOException { assertThat(firstCommit.getFiles(), is(not(empty()))); } + /** + * Test issue search. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testIssueSearch() throws IOException { PagedSearchIterable r = gitHub.searchIssues() @@ -1035,6 +1429,12 @@ public void testIssueSearch() throws IOException { } } + /** + * Test readme. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test // issue #99 public void testReadme() throws IOException { GHContent readme = gitHub.getRepository("hub4j-test-org/test-readme").getReadme(); @@ -1042,6 +1442,12 @@ public void testReadme() throws IOException { assertThat("This is a markdown readme.\n", equalTo(readme.getContent())); } + /** + * Test trees. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Ignore("Needs mocking check") @Test public void testTrees() throws IOException { @@ -1056,6 +1462,12 @@ public void testTrees() throws IOException { assertThat(foundReadme, is(true)); } + /** + * Test trees recursive. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testTreesRecursive() throws IOException { GHTree mainTree = gitHub.getRepository("hub4j/github-api").getTreeRecursive("main", 1); @@ -1079,6 +1491,12 @@ public void testTreesRecursive() throws IOException { assertThat(foundThisFile, is(true)); } + /** + * Test repo label. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testRepoLabel() throws IOException { cleanupLabel("test"); @@ -1188,6 +1606,12 @@ public void testRepoLabel() throws IOException { } } + /** + * Cleanup label. + * + * @param name + * the name + */ void cleanupLabel(String name) { if (mockGitHub.isUseProxy()) { try { @@ -1199,6 +1623,12 @@ void cleanupLabel(String name) { } } + /** + * Test subscribers. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testSubscribers() throws IOException { boolean bitwiseman = false; @@ -1215,6 +1645,12 @@ public void testSubscribers() throws IOException { assertThat(githubApiFound, is(true)); } + /** + * Notifications. + * + * @throws Exception + * the exception + */ @Test public void notifications() throws Exception { boolean found = false; @@ -1260,6 +1696,12 @@ public void notifications() throws Exception { gitHub.listNotifications().markAsRead(); } + /** + * Check to string. + * + * @throws Exception + * the exception + */ @Ignore("Needs mocking check") @Test public void checkToString() throws Exception { @@ -1271,6 +1713,12 @@ public void checkToString() throws Exception { // System.out.println(r.getIssue(1)); } + /** + * Reactions. + * + * @throws Exception + * the exception + */ @Test public void reactions() throws Exception { GHIssue i = gitHub.getRepository("hub4j/github-api").getIssue(311); @@ -1288,7 +1736,7 @@ public void reactions() throws Exception { a = i.createReaction(ReactionContent.HOORAY); assertThat(a.getUser().getLogin(), is(gitHub.getMyself().getLogin())); assertThat(a.getContent(), is(ReactionContent.HOORAY)); - a.delete(); + i.deleteReaction(a); l = i.listReactions().toList(); assertThat(l.size(), equalTo(1)); @@ -1322,15 +1770,21 @@ public void reactions() throws Exception { assertThat(l.get(4).getUser().getLogin(), is(gitHub.getMyself().getLogin())); assertThat(l.get(4).getContent(), is(ReactionContent.ROCKET)); - l.get(1).delete(); - l.get(2).delete(); - l.get(3).delete(); - l.get(4).delete(); + i.deleteReaction(l.get(1)); + i.deleteReaction(l.get(2)); + i.deleteReaction(l.get(3)); + i.deleteReaction(l.get(4)); l = i.listReactions().toList(); assertThat(l.size(), equalTo(1)); } + /** + * List org memberships. + * + * @throws Exception + * the exception + */ @Test public void listOrgMemberships() throws Exception { GHMyself me = gitHub.getMyself(); @@ -1341,6 +1795,12 @@ public void listOrgMemberships() throws Exception { } } + /** + * Blob. + * + * @throws Exception + * the exception + */ @Test public void blob() throws Exception { Assume.assumeFalse(SystemUtils.IS_OS_WINDOWS); diff --git a/src/test/java/org/kohsuke/github/ArchTests.java b/src/test/java/org/kohsuke/github/ArchTests.java index 529bf10808..a460dc7db8 100644 --- a/src/test/java/org/kohsuke/github/ArchTests.java +++ b/src/test/java/org/kohsuke/github/ArchTests.java @@ -25,12 +25,12 @@ import java.lang.reflect.Field; import java.nio.charset.Charset; import java.util.Arrays; +import java.util.stream.Collectors; import static com.google.common.base.Preconditions.checkNotNull; import static com.tngtech.archunit.core.domain.JavaCall.Predicates.target; import static com.tngtech.archunit.core.domain.JavaClass.Predicates.resideInAPackage; import static com.tngtech.archunit.core.domain.JavaClass.Predicates.type; -import static com.tngtech.archunit.core.domain.JavaClass.namesOf; import static com.tngtech.archunit.core.domain.properties.HasName.Predicates.name; import static com.tngtech.archunit.core.domain.properties.HasName.Predicates.nameContaining; import static com.tngtech.archunit.core.domain.properties.HasOwner.Predicates.With.owner; @@ -40,6 +40,10 @@ import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.greaterThan; +// TODO: Auto-generated Javadoc +/** + * The Class ArchTests. + */ public class ArchTests { private static final JavaClasses classFiles = new ClassFileImporter() @@ -57,18 +61,24 @@ public class ArchTests { "preview has no required media types defined") { @Override - public boolean apply(JavaAnnotation javaAnnotation) { + public boolean test(JavaAnnotation javaAnnotation) { boolean isPreview = javaAnnotation.getRawType().isEquivalentTo(Preview.class); Object[] values = (Object[]) javaAnnotation.getProperties().get("value"); return isPreview && values != null && values.length < 1; } }; + /** + * Before class. + */ @BeforeClass public static void beforeClass() { assertThat(classFiles.size(), greaterThan(0)); } + /** + * Test require use of assert that. + */ @Test public void testRequireUseOfAssertThat() { @@ -84,6 +94,9 @@ public void testRequireUseOfAssertThat() { onlyAssertThatRule.check(testClassFiles); } + /** + * Test api stability. + */ @Test public void testApiStability() { assertThat("OkHttpConnector must implement HttpConnector", @@ -91,6 +104,9 @@ public void testApiStability() { Matchers.containsInAnyOrder(HttpConnector.class)); } + /** + * Test require use of only specific apache commons. + */ @Test public void testRequireUseOfOnlySpecificApacheCommons() { @@ -112,6 +128,7 @@ public void testRequireUseOfOnlySpecificApacheCommons() { targetMethodIs(ToStringBuilder.class, "append", String.class, Object.class), targetMethodIs(ToStringBuilder.class, "append", String.class, long.class), targetMethodIs(ToStringBuilder.class, "append", String.class, int.class), + targetMethodIs(ToStringBuilder.class, "append", String.class, boolean.class), targetMethodIs(ToStringBuilder.class, "isEmpty"), targetMethodIs(ToStringBuilder.class, "equals"), targetMethodIs(ToStringBuilder.class, "capitalize"), @@ -135,6 +152,15 @@ public void testRequireUseOfOnlySpecificApacheCommons() { onlyApprovedApacheCommonsMethods.check(classFiles); } + /** + * Not call methods in package unless. + * + * @param packageIdentifier + * the package identifier + * @param unlessPredicates + * the unless predicates + * @return the arch condition + */ public static ArchCondition notCallMethodsInPackageUnless(final String packageIdentifier, final DescribedPredicate>... unlessPredicates) { DescribedPredicate> restrictedPackageCalls = target( @@ -150,6 +176,17 @@ public static ArchCondition notCallMethodsInPackageUnless(final Strin return not(callMethodWhere(restrictedPackageCalls)); } + /** + * Target method is. + * + * @param owner + * the owner + * @param methodName + * the method name + * @param parameterTypes + * the parameter types + * @return the described predicate + */ public static DescribedPredicate> targetMethodIs(Class owner, String methodName, Class... parameterTypes) { @@ -157,9 +194,24 @@ public static DescribedPredicate> targetMethodIs(Class owner, .and(JavaCall.Predicates.target(name(methodName))) .and(JavaCall.Predicates.target(rawParameterTypes(parameterTypes))) .as("method is %s", - Formatters.formatMethodSimple(owner.getSimpleName(), methodName, namesOf(parameterTypes))); + Formatters.formatMethodSimple(owner.getSimpleName(), + methodName, + Arrays.stream(parameterTypes) + .map(item -> item.getName()) + .collect(Collectors.toList()))); } + /** + * Unless. + * + * @param + * the generic type + * @param first + * the first + * @param second + * the second + * @return the described predicate + */ public static DescribedPredicate unless(DescribedPredicate first, DescribedPredicate second) { return new UnlessPredicate(first, second); @@ -176,8 +228,8 @@ private static class UnlessPredicate extends DescribedPredicate { } @Override - public boolean apply(T input) { - return current.apply(input) && !other.apply(input); + public boolean test(T input) { + return current.test(input) && !other.test(input); } } } diff --git a/src/test/java/org/kohsuke/github/BridgeMethodTest.java b/src/test/java/org/kohsuke/github/BridgeMethodTest.java index a08224e22c..eb9138eda4 100644 --- a/src/test/java/org/kohsuke/github/BridgeMethodTest.java +++ b/src/test/java/org/kohsuke/github/BridgeMethodTest.java @@ -15,11 +15,20 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc /** + * The Class BridgeMethodTest. + * * @author Kohsuke Kawaguchi */ public class BridgeMethodTest extends Assert { + /** + * Test bridge methods. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testBridgeMethods() throws IOException { @@ -55,10 +64,32 @@ public void testBridgeMethods() throws IOException { } + /** + * Verify bridge methods. + * + * @param targetClass + * the target class + * @param methodName + * the method name + * @param returnTypes + * the return types + */ void verifyBridgeMethods(@Nonnull Class targetClass, @Nonnull String methodName, Class... returnTypes) { verifyBridgeMethods(targetClass, methodName, 0, returnTypes); } + /** + * Verify bridge methods. + * + * @param targetClass + * the target class + * @param methodName + * the method name + * @param parameterCount + * the parameter count + * @param returnTypes + * the return types + */ void verifyBridgeMethods(@Nonnull Class targetClass, @Nonnull String methodName, int parameterCount, diff --git a/src/test/java/org/kohsuke/github/CommitTest.java b/src/test/java/org/kohsuke/github/CommitTest.java index 7234c479f1..257e681cca 100644 --- a/src/test/java/org/kohsuke/github/CommitTest.java +++ b/src/test/java/org/kohsuke/github/CommitTest.java @@ -11,18 +11,34 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc /** + * The Class CommitTest. + * * @author Kohsuke Kawaguchi */ public class CommitTest extends AbstractGitHubWireMockTest { + + /** + * Last status. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test // issue 152 public void lastStatus() throws IOException { GHTag t = gitHub.getRepository("stapler/stapler").listTags().iterator().next(); assertThat(t.getCommit().getLastStatus(), notNullValue()); } + /** + * Test get files. + * + * @throws Exception + * the exception + */ @Test // issue 230 - public void listFiles() throws Exception { + public void getFiles() throws Exception { GHRepository repo = gitHub.getRepository("stapler/stapler"); PagedIterable commits = repo.queryCommits().path("pom.xml").list(); for (GHCommit commit : Iterables.limit(commits, 10)) { @@ -31,6 +47,55 @@ public void listFiles() throws Exception { } } + /** + * Test list files where there are less than 300 files in a commit. + * + * @throws Exception + * the exception + */ + @Test // issue 1669 + public void listFilesWhereCommitHasSmallChange() throws Exception { + GHRepository repo = getRepository(); + GHCommit commit = repo.getCommit("dabf0e89fe7107d6e294a924561533ecf80f2384"); + + assertThat(commit.listFiles().toList().size(), equalTo(28)); + } + + /** + * Test list files where there are more than 300 files in a commit. + * + * @throws Exception + * the exception + */ + @Test // issue 1669 + public void listFilesWhereCommitHasLargeChange() throws Exception { + GHRepository repo = getRepository(); + GHCommit commit = repo.getCommit("b83812aa76bb7c3c43da96fbf8aec1e45db87624"); + + assertThat(commit.listFiles().toList().size(), equalTo(691)); + } + + /** + * Tests the commit message. + * + * @throws Exception + * the exception + */ + @Test + public void getMessage() throws Exception { + GHRepository repo = getRepository(); + GHCommit commit = repo.getCommit("dabf0e89fe7107d6e294a924561533ecf80f2384"); + + assertThat(commit.getCommitShortInfo().getMessage(), notNullValue()); + assertThat(commit.getCommitShortInfo().getMessage(), equalTo("A commit with a few files")); + } + + /** + * Test query commits. + * + * @throws Exception + * the exception + */ @Test public void testQueryCommits() throws Exception { List sha1 = new ArrayList(); @@ -112,6 +177,12 @@ public void testQueryCommits() throws Exception { } + /** + * List pull requests of not included commit. + * + * @throws Exception + * the exception + */ @Test public void listPullRequestsOfNotIncludedCommit() throws Exception { GHRepository repo = gitHub.getOrganization("hub4j-test-org").getRepository("listPrsListHeads"); @@ -122,6 +193,12 @@ public void listPullRequestsOfNotIncludedCommit() throws Exception { commit.listPullRequests().toList().isEmpty()); } + /** + * List pull requests. + * + * @throws Exception + * the exception + */ @Test public void listPullRequests() throws Exception { GHRepository repo = gitHub.getOrganization("hub4j-test-org").getRepository("listPrsListHeads"); @@ -137,6 +214,12 @@ public void listPullRequests() throws Exception { listedPrs.stream().findFirst().filter(it -> it.getNumber() == prNumber).isPresent()); } + /** + * List pull requests of commit with 2 pull requests. + * + * @throws Exception + * the exception + */ @Test public void listPullRequestsOfCommitWith2PullRequests() throws Exception { GHRepository repo = gitHub.getOrganization("hub4j-test-org").getRepository("listPrsListHeads"); @@ -153,6 +236,12 @@ public void listPullRequestsOfCommitWith2PullRequests() throws Exception { Arrays.stream(expectedPrs).anyMatch(prNumber -> prNumber.equals(pr.getNumber())))); } + /** + * List branches where head. + * + * @throws Exception + * the exception + */ @Test public void listBranchesWhereHead() throws Exception { GHRepository repo = gitHub.getOrganization("hub4j-test-org").getRepository("listPrsListHeads"); @@ -168,6 +257,12 @@ public void listBranchesWhereHead() throws Exception { .isPresent()); } + /** + * List branches where head 2 heads. + * + * @throws Exception + * the exception + */ @Test public void listBranchesWhereHead2Heads() throws Exception { GHRepository repo = gitHub.getOrganization("hub4j-test-org").getRepository("listPrsListHeads"); @@ -179,6 +274,12 @@ public void listBranchesWhereHead2Heads() throws Exception { equalTo(2)); } + /** + * List branches where head of commit with head nowhere. + * + * @throws Exception + * the exception + */ @Test public void listBranchesWhereHeadOfCommitWithHeadNowhere() throws Exception { GHRepository repo = gitHub.getOrganization("hub4j-test-org").getRepository("listPrsListHeads"); @@ -189,6 +290,12 @@ public void listBranchesWhereHeadOfCommitWithHeadNowhere() throws Exception { commit.listBranchesWhereHead().toList().isEmpty()); } + /** + * Commit signature verification. + * + * @throws Exception + * the exception + */ @Test // issue 737 public void commitSignatureVerification() throws Exception { GHRepository repo = gitHub.getRepository("stapler/stapler"); @@ -206,6 +313,12 @@ public void commitSignatureVerification() throws Exception { } } + /** + * Commit date not null. + * + * @throws Exception + * the exception + */ @Test // issue 883 public void commitDateNotNull() throws Exception { GHRepository repo = gitHub.getRepository("hub4j/github-api"); @@ -218,4 +331,19 @@ public void commitDateNotNull() throws Exception { assertThat(commit.getCommitShortInfo().getCommitDate(), equalTo(commit.getCommitShortInfo().getCommitter().getDate())); } + + /** + * Gets the repository. + * + * @return the repository + * @throws IOException + * Signals that an I/O exception has occurred. + */ + protected GHRepository getRepository() throws IOException { + return getRepository(gitHub); + } + + private GHRepository getRepository(GitHub gitHub) throws IOException { + return gitHub.getOrganization("hub4j-test-org").getRepository("CommitTest"); + } } diff --git a/src/test/java/org/kohsuke/github/EnumTest.java b/src/test/java/org/kohsuke/github/EnumTest.java index 1fce260aef..939c6360e3 100644 --- a/src/test/java/org/kohsuke/github/EnumTest.java +++ b/src/test/java/org/kohsuke/github/EnumTest.java @@ -5,6 +5,7 @@ import static org.hamcrest.CoreMatchers.*; +// TODO: Auto-generated Javadoc /** * Unit test for {@link GitHub} static helpers. * @@ -12,6 +13,9 @@ */ public class EnumTest extends AbstractGitHubWireMockTest { + /** + * Touch enums. + */ @Test public void touchEnums() { assertThat(GHCheckRun.AnnotationLevel.values().length, equalTo(3)); @@ -28,7 +32,7 @@ public void touchEnums() { assertThat(GHDirection.values().length, equalTo(2)); - assertThat(GHEvent.values().length, equalTo(64)); + assertThat(GHEvent.values().length, equalTo(65)); assertThat(GHEvent.ALL.symbol(), equalTo("*")); assertThat(GHEvent.PULL_REQUEST.symbol(), equalTo(GHEvent.PULL_REQUEST.toString().toLowerCase())); @@ -51,7 +55,7 @@ public void touchEnums() { assertThat(GHOrganization.Role.values().length, equalTo(2)); assertThat(GHOrganization.Permission.values().length, equalTo(5)); - assertThat(GHPermissionType.values().length, equalTo(4)); + assertThat(GHPermissionType.values().length, equalTo(5)); assertThat(GHProject.ProjectState.values().length, equalTo(2)); assertThat(GHProject.ProjectStateFilter.values().length, equalTo(3)); diff --git a/src/test/java/org/kohsuke/github/GHAppExtendedTest.java b/src/test/java/org/kohsuke/github/GHAppExtendedTest.java new file mode 100644 index 0000000000..a419f0945a --- /dev/null +++ b/src/test/java/org/kohsuke/github/GHAppExtendedTest.java @@ -0,0 +1,59 @@ +package org.kohsuke.github; + +import org.junit.Test; + +import java.io.IOException; + +import static org.hamcrest.Matchers.equalTo; +import static org.hamcrest.Matchers.is; + +/** + * Tests for the GitHub App Api Test + * + * @author Daniel Baur + */ +public class GHAppExtendedTest extends AbstractGitHubWireMockTest { + + private static final String APP_SLUG = "ghapi-test-app-4"; + + /** + * Gets the GitHub App by its slug. + * + * @throws IOException + * An IOException has occurred. + */ + @Test + public void getAppBySlugTest() throws IOException { + GHApp app = gitHub.getApp(APP_SLUG); + + assertThat(app.getId(), is((long) 330762)); + assertThat(app.getSlug(), equalTo(APP_SLUG)); + assertThat(app.getName(), equalTo("GHApi Test app 4")); + assertThat(app.getExternalUrl(), equalTo("https://github.com/organizations/hub4j-test-org")); + assertThat(app.getHtmlUrl().toString(), equalTo("https://github.com/apps/ghapi-test-app-4")); + assertThat(app.getDescription(), equalTo("An app to test the GitHub getApp(slug) method.")); + } + + /** + * Tests App creation via the App Manifest Flow. + * + * The used code defined below was only valid for a short time, meaning that you can not replay the test against the + * GitHub API. Use the stored wire snapshot for executing those tests. + * + * @throws IOException + * An IOException has occurred. + */ + @Test + public void createAppByManifestFlowTest() throws IOException { + snapshotNotAllowed(); + GHAppFromManifest appFromManifest = gitHub.createAppFromManifest("46fbe5453b245dee21b96753f80eace209a3cf01"); + + assertThat(appFromManifest.getClientId(), equalTo("Iv1.1c63d0b87c03d42e")); + assertThat(appFromManifest.getWebhookSecret(), equalTo("f4dafa9b05d8248d81f65f0e6cb108cb8bb76a0c")); + assertThat(appFromManifest.getClientSecret(), equalTo("f4b60603e85b3965492b393bca0809a914dcdf18")); + assertThat(appFromManifest.getPem(), + equalTo("-----BEGIN RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEA4UT2qvDbMK3hQtvrK7wu7y7B6hypYhsXyD6GN22Bcn3JZdSI\nWm/zhRMH/vKwU5r67YKcJCchHVbvLRWNt911r85D0uLMPIjOkdL+cnSOa5yRhTJy\nI/RhZqx8yoXHSSE5ToKwfPAn3hiv8N2gQEsEpWxdycqPOg7paFsAJ5hjstmS09uU\nKwrFcCQdWuidRnwn6bdgGt+bL9dsvRd4RDoP5sZj5pLNo1y8N9DnFvHihd1rQxQS\nIf9sRgGPDLasNkLvMdxKnsDTsufRBmmw72iaTJXc+EVZw2jYKrOjRVechTMEfbRp\nQRVZw9vysT2XhDB9J4bbJ6NopP/c7JC1ihUJfQIDAQABAoIBAQC0DwubVyncnx+O\n8XnoW2KojBczqfU6Fa3MwS1G4KC3gxOX8WmL4DAmDjA1+IY4TYiEkAF+ZEhzyyki\nQDgm3z1SaOyNg/r75941cRExKzkritpGPSw+0PeJuhWFS6kfKw9DUfL/6nXzcIgx\nXvTYbx4nm5bb1KznG0Q1xYc6HvSR3xb3DcXWXkRX6sMEX4J3M/x0PWxPWnDGvlBJ\nQyDgfqpOa6kra5uSm8qoHtb7httwE/a5NZ9P5jeLk3wXaQmCEl4RDEgSGeR4AOf5\nXVTWP936sVA3vBLd6LmddO3ZEE1HZhlb2XWnxCnGSKL4LoFZE7Jhf2Alp32nm0gm\nwsrQoVgBAoGBAPjxzs3Umlle0EZbfJa8c4rFPOJmMkL07aQu8PAAHiNGcbzzfUmK\n7kfNYXktHKB6pjyjkXEQrLCm9wdqCqI70wJ+AVn6E/0Z1ojPALIxdrjQuNS9xjRo\nCUAQqEXe+IWBZVArgy7t3to7XkAHrj+ky96eAhlsb88c9qiWtS7biXPtAoGBAOen\nYgTe8SbWdBRh7mqDgx9eruB6UCOt8BUlb1uFyt1kpCLZVelw1JYs7hq+roTdKds0\ny9pu+E6I7+g6LsVtjkMqf/VXuY0qomf9hbNE9Yj/Tqty5B4xU+gj01MCm5RRln9M\nKGKCeJAPDB5AEmyidPvLbPp5U6Rniu0Ds+AJ0FnRAoGBAMro/bGTuwNhXs4aP+D1\nVhAkWE4JEqq0zQZoJIba8bW683YZ2WMaVMI9y1djx9OeZOVERYYtGzUZwnxOmMBH\nluSPJDbcuXIxn0X/xAd6fdSCfEUbMfUBX5jSevYImfTn1VaVQOX9iQnEHjx+hi7l\n+i5ICFoEotXkO8CKpr+8vbq5AoGAOCfkZAfjb6XHB/XhhOKSk7UxMWuVJ8EPlSC5\nCPe7AMZX37bN08QtVKZZphQZXE38yo3W6QHDoc4iUipgki2HshKIaGI2sdjm+8yC\nb73Ew8wYNwmn8QXGMF0W6mWUb3UDxaIhnBfCwDFVn7Oqg7kyIKPkrCdjNlR/Ygtm\nvGXEozECgYAFpzntJpUdYN4OxutpNXdnTgN0CJ3TECkk/+0xbTHoWNuMpJ5dR/yQ\n7RLxwcu8CqizXCB750jSgHlWk5GF1yAQzFO9ozjx/mxdPp1PxHaeN/5kmx8VjT8W\nL7zhUMfZLeDMpIbQ/3gyq0EUxxHIEJc2Mx42C9/OY/fkEuZPFSEL2A==\n-----END RSA PRIVATE KEY-----\n")); + + } + +} diff --git a/src/test/java/org/kohsuke/github/GHAppInstallationTest.java b/src/test/java/org/kohsuke/github/GHAppInstallationTest.java index 3317f868b6..1a380a9739 100644 --- a/src/test/java/org/kohsuke/github/GHAppInstallationTest.java +++ b/src/test/java/org/kohsuke/github/GHAppInstallationTest.java @@ -7,8 +7,18 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc +/** + * The Class GHAppInstallationTest. + */ public class GHAppInstallationTest extends AbstractGHAppInstallationTest { + /** + * Test list repositories two repos. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testListRepositoriesTwoRepos() throws IOException { GHAppInstallation appInstallation = getAppInstallationWithToken(jwtProvider1.getEncodedAuthorization()); @@ -20,6 +30,12 @@ public void testListRepositoriesTwoRepos() throws IOException { arrayContainingInAnyOrder("empty", "test-readme")); } + /** + * Test list repositories no permissions. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testListRepositoriesNoPermissions() throws IOException { GHAppInstallation appInstallation = getAppInstallationWithToken(jwtProvider2.getEncodedAuthorization()); @@ -28,4 +44,21 @@ public void testListRepositoriesNoPermissions() throws IOException { appInstallation.listRepositories().toList().isEmpty()); } + /** + * Test list repositories no permissions. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ + @Test + public void testGetMarketplaceAccount() throws IOException { + GHAppInstallation appInstallation = getAppInstallationWithToken(jwtProvider3.getEncodedAuthorization()); + + GHMarketplaceAccountPlan marketplaceAccount = appInstallation.getMarketplaceAccount(); + GHMarketplacePlanTest.testMarketplaceAccount(marketplaceAccount); + + GHMarketplaceAccountPlan plan = marketplaceAccount.getPlan(); + assertThat(plan.getType(), equalTo(GHMarketplaceAccountType.ORGANIZATION)); + } + } diff --git a/src/test/java/org/kohsuke/github/GHAppTest.java b/src/test/java/org/kohsuke/github/GHAppTest.java index c3ebb3c6bb..91c1bb9d17 100644 --- a/src/test/java/org/kohsuke/github/GHAppTest.java +++ b/src/test/java/org/kohsuke/github/GHAppTest.java @@ -12,34 +12,51 @@ import static org.hamcrest.Matchers.*; import static org.junit.Assert.assertThrows; +// TODO: Auto-generated Javadoc /** - * Tests for the GitHub App API methods + * Tests for the GitHub App API methods. * * @author Paulo Miguel Almeida */ -public class GHAppTest extends AbstractGitHubWireMockTest { +public class GHAppTest extends AbstractGHAppInstallationTest { + /** + * Gets the git hub builder. + * + * @return the git hub builder + */ protected GitHubBuilder getGitHubBuilder() { return super.getGitHubBuilder() // ensure that only JWT will be used against the tests below .withPassword(null, null) - .withJwtToken("bogus"); + // Note that we used to provide a bogus token here and to rely on (apparently) manually crafted/edited + // Wiremock recordings, so most of the tests cannot actually be executed against GitHub without + // relying on the Wiremock recordings. + // Some tests have been updated, though (getGitHubApp in particular). + .withAuthorizationProvider(jwtProvider1); } + /** + * Gets the git hub app. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void getGitHubApp() throws IOException { GHApp app = gitHub.getApp(); - assertThat(app.getId(), is((long) 11111)); - assertThat(app.getOwner().getId(), is((long) 111111111)); - assertThat(app.getOwner().login, is("bogus")); - assertThat(app.getName(), is("Bogus-Development")); + assertThat(app.getId(), is((long) 82994)); + assertThat(app.getOwner().getId(), is((long) 7544739)); + assertThat(app.getOwner().getLogin(), is("hub4j-test-org")); + assertThat(app.getName(), is("GHApi Test app 1")); + assertThat(app.getSlug(), is("ghapi-test-app-1")); assertThat(app.getDescription(), is("")); - assertThat(app.getExternalUrl(), is("https://bogus.domain.com")); - assertThat(app.getHtmlUrl().toString(), is("https://github.com/apps/bogus-development")); - assertThat(app.getCreatedAt(), is(GitHubClient.parseDate("2019-06-10T04:21:41Z"))); - assertThat(app.getUpdatedAt(), is(GitHubClient.parseDate("2019-06-10T04:21:41Z"))); - assertThat(app.getPermissions().size(), is(4)); - assertThat(app.getEvents().size(), is(2)); + assertThat(app.getExternalUrl(), is("http://localhost")); + assertThat(app.getHtmlUrl().toString(), is("https://github.com/apps/ghapi-test-app-1")); + assertThat(app.getCreatedAt(), is(GitHubClient.parseDate("2020-09-30T13:40:56Z"))); + assertThat(app.getUpdatedAt(), is(GitHubClient.parseDate("2020-09-30T13:40:56Z"))); + assertThat(app.getPermissions().size(), is(2)); + assertThat(app.getEvents().size(), is(0)); assertThat(app.getInstallationsCount(), is((long) 1)); // Deprecated methods @@ -52,6 +69,12 @@ public void getGitHubApp() throws IOException { assertThrows(RuntimeException.class, () -> app.setPermissions(null)); } + /** + * List installations. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void listInstallations() throws IOException { GHApp app = gitHub.getApp(); @@ -62,6 +85,12 @@ public void listInstallations() throws IOException { testAppInstallation(appInstallation); } + /** + * Gets the installation by id. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void getInstallationById() throws IOException { GHApp app = gitHub.getApp(); @@ -69,6 +98,12 @@ public void getInstallationById() throws IOException { testAppInstallation(installation); } + /** + * Gets the installation by organization. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void getInstallationByOrganization() throws IOException { GHApp app = gitHub.getApp(); @@ -76,6 +111,12 @@ public void getInstallationByOrganization() throws IOException { testAppInstallation(installation); } + /** + * Gets the installation by repository. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void getInstallationByRepository() throws IOException { GHApp app = gitHub.getApp(); @@ -83,6 +124,12 @@ public void getInstallationByRepository() throws IOException { testAppInstallation(installation); } + /** + * Gets the installation by user. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void getInstallationByUser() throws IOException { GHApp app = gitHub.getApp(); @@ -90,6 +137,12 @@ public void getInstallationByUser() throws IOException { testAppInstallation(installation); } + /** + * Delete installation. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void deleteInstallation() throws IOException { GHApp app = gitHub.getApp(); @@ -101,6 +154,12 @@ public void deleteInstallation() throws IOException { } } + /** + * Creates the token. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void createToken() throws IOException { GHApp app = gitHub.getApp(); @@ -146,6 +205,33 @@ public void createToken() throws IOException { assertThat(installationToken2.getRepositories(), nullValue());; } + /** + * Creates the token with repositories. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ + @Test + public void createTokenWithRepositories() throws IOException { + GHApp app = gitHub.getApp(); + GHAppInstallation installation = app.getInstallationByUser("bogus"); + + // Create token specifying repositories (not repository_ids!) + GHAppInstallationToken installationToken = installation.createToken() + .repositories(Collections.singletonList("bogus")) + .create(); + + assertThat(installationToken.getToken(), is("bogus")); + assertThat(installationToken.getPermissions().entrySet(), hasSize(4)); + assertThat(installationToken.getRepositorySelection(), is(GHRepositorySelection.SELECTED)); + assertThat(installationToken.getExpiresAt(), is(GitHubClient.parseDate("2022-07-27T21:38:33Z"))); + + GHRepository repository = installationToken.getRepositories().get(0); + assertThat(installationToken.getRepositories().size(), is(1)); + assertThat(repository.getId(), is((long) 11111111)); + assertThat(repository.getName(), is("bogus")); + } + private void testAppInstallation(GHAppInstallation appInstallation) throws IOException { Map appPermissions = appInstallation.getPermissions(); GHUser appAccount = appInstallation.getAccount(); diff --git a/src/test/java/org/kohsuke/github/GHAuthenticatedAppInstallationTest.java b/src/test/java/org/kohsuke/github/GHAuthenticatedAppInstallationTest.java new file mode 100644 index 0000000000..4461ccbc8a --- /dev/null +++ b/src/test/java/org/kohsuke/github/GHAuthenticatedAppInstallationTest.java @@ -0,0 +1,48 @@ +package org.kohsuke.github; + +import org.junit.Test; +import org.kohsuke.github.authorization.AppInstallationAuthorizationProvider; + +import java.io.IOException; +import java.util.List; + +import static org.hamcrest.Matchers.arrayContainingInAnyOrder; +import static org.hamcrest.Matchers.equalTo; + +// TODO: Auto-generated Javadoc +/** + * The Class GHAuthenticatedAppInstallationTest. + */ +public class GHAuthenticatedAppInstallationTest extends AbstractGHAppInstallationTest { + + /** + * Gets the git hub builder. + * + * @return the git hub builder + */ + @Override + protected GitHubBuilder getGitHubBuilder() { + AppInstallationAuthorizationProvider provider = new AppInstallationAuthorizationProvider( + app -> app.getInstallationByOrganization("hub4j-test-org"), + jwtProvider1); + return super.getGitHubBuilder().withAuthorizationProvider(provider); + } + + /** + * Test list repositories two repos. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ + @Test + public void testListRepositoriesTwoRepos() throws IOException { + GHAuthenticatedAppInstallation appInstallation = gitHub.getInstallation(); + + List repositories = appInstallation.listRepositories().toList(); + + assertThat(repositories.size(), equalTo(2)); + assertThat(repositories.stream().map(GHRepository::getName).toArray(), + arrayContainingInAnyOrder("empty", "test-readme")); + } + +} diff --git a/src/test/java/org/kohsuke/github/GHBranchProtectionTest.java b/src/test/java/org/kohsuke/github/GHBranchProtectionTest.java index 6cd115a6bf..3624068ee5 100755 --- a/src/test/java/org/kohsuke/github/GHBranchProtectionTest.java +++ b/src/test/java/org/kohsuke/github/GHBranchProtectionTest.java @@ -8,6 +8,10 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc +/** + * The Class GHBranchProtectionTest. + */ public class GHBranchProtectionTest extends AbstractGitHubWireMockTest { private static final String BRANCH = "main"; private static final String BRANCH_REF = "heads/" + BRANCH; @@ -16,12 +20,24 @@ public class GHBranchProtectionTest extends AbstractGitHubWireMockTest { private GHRepository repo; + /** + * Sets the up. + * + * @throws Exception + * the exception + */ @Before public void setUp() throws Exception { repo = getTempRepository(); branch = repo.getBranch(BRANCH); } + /** + * Test enable branch protections. + * + * @throws Exception + * the exception + */ @Test public void testEnableBranchProtections() throws Exception { // team/user restrictions require an organization repo to test against @@ -58,12 +74,24 @@ private void verifyBranchProtection(GHBranchProtection protection) { assertThat(enforceAdmins.isEnabled(), is(true)); } + /** + * Test enable protection only. + * + * @throws Exception + * the exception + */ @Test public void testEnableProtectionOnly() throws Exception { branch.enableProtection().enable(); assertThat(repo.getBranch(BRANCH).isProtected(), is(true)); } + /** + * Test disable protection only. + * + * @throws Exception + * the exception + */ @Test public void testDisableProtectionOnly() throws Exception { GHBranchProtection protection = branch.enableProtection().enable(); @@ -72,6 +100,12 @@ public void testDisableProtectionOnly() throws Exception { assertThat(repo.getBranch(BRANCH).isProtected(), is(false)); } + /** + * Test enable require reviews only. + * + * @throws Exception + * the exception + */ @Test public void testEnableRequireReviewsOnly() throws Exception { GHBranchProtection protection = branch.enableProtection().requireReviews().enable(); @@ -92,6 +126,12 @@ public void testEnableRequireReviewsOnly() throws Exception { assertThat(protection.getRequiredReviews().getRequiredReviewers(), equalTo(1)); } + /** + * Test signed commits. + * + * @throws Exception + * the exception + */ @Test public void testSignedCommits() throws Exception { GHBranchProtection protection = branch.enableProtection().enable(); @@ -105,6 +145,12 @@ public void testSignedCommits() throws Exception { assertThat(protection.getRequiredSignatures(), is(false)); } + /** + * Test get protection. + * + * @throws Exception + * the exception + */ @Test public void testGetProtection() throws Exception { GHBranchProtection protection = branch.enableProtection().enable(); diff --git a/src/test/java/org/kohsuke/github/GHBranchTest.java b/src/test/java/org/kohsuke/github/GHBranchTest.java index 38e20b74e8..f28554160d 100644 --- a/src/test/java/org/kohsuke/github/GHBranchTest.java +++ b/src/test/java/org/kohsuke/github/GHBranchTest.java @@ -4,12 +4,22 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc +/** + * The Class GHBranchTest. + */ public class GHBranchTest extends AbstractGitHubWireMockTest { private static final String BRANCH_1 = "testBranch1"; private static final String BRANCH_2 = "testBranch2"; private GHRepository repository; + /** + * Test merge branch. + * + * @throws Exception + * the exception + */ @Test public void testMergeBranch() throws Exception { repository = getTempRepository(); diff --git a/src/test/java/org/kohsuke/github/GHCheckRunBuilderTest.java b/src/test/java/org/kohsuke/github/GHCheckRunBuilderTest.java index c658a2446f..9f8f11571e 100644 --- a/src/test/java/org/kohsuke/github/GHCheckRunBuilderTest.java +++ b/src/test/java/org/kohsuke/github/GHCheckRunBuilderTest.java @@ -32,13 +32,30 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc +/** + * The Class GHCheckRunBuilderTest. + */ @SuppressWarnings("deprecation") // preview public class GHCheckRunBuilderTest extends AbstractGHAppInstallationTest { + /** + * Gets the installation github. + * + * @return the installation github + * @throws IOException + * Signals that an I/O exception has occurred. + */ protected GitHub getInstallationGithub() throws IOException { return getAppInstallationWithToken(jwtProvider3.getEncodedAuthorization()).root(); } + /** + * Creates the check run. + * + * @throws Exception + * the exception + */ @Test public void createCheckRun() throws Exception { GHCheckRun checkRun = getInstallationGithub().getRepository("hub4j-test-org/test-checks") @@ -65,6 +82,12 @@ public void createCheckRun() throws Exception { assertThat(checkRun.getOutput().getText(), equalTo("Hello Text!")); } + /** + * Creates the check run many annotations. + * + * @throws Exception + * the exception + */ @Test public void createCheckRunManyAnnotations() throws Exception { GHCheckRunBuilder.Output output = new GHCheckRunBuilder.Output("Big Run", "Lots of stuff here Âģ") @@ -87,6 +110,12 @@ public void createCheckRunManyAnnotations() throws Exception { assertThat(checkRun.getId(), equalTo(1424883599L)); } + /** + * Creates the check run no annotations. + * + * @throws Exception + * the exception + */ @Test public void createCheckRunNoAnnotations() throws Exception { GHCheckRun checkRun = getInstallationGithub().getRepository("hub4j-test-org/test-checks") @@ -99,6 +128,12 @@ public void createCheckRunNoAnnotations() throws Exception { assertThat(checkRun.getId(), equalTo(1424883957L)); } + /** + * Creates the pending check run. + * + * @throws Exception + * the exception + */ @Test public void createPendingCheckRun() throws Exception { GHCheckRun checkRun = getInstallationGithub().getRepository("hub4j-test-org/test-checks") @@ -110,6 +145,12 @@ public void createPendingCheckRun() throws Exception { assertThat(checkRun.getId(), equalTo(1424883451L)); } + /** + * Creates the check run err missing conclusion. + * + * @throws Exception + * the exception + */ @Test public void createCheckRunErrMissingConclusion() throws Exception { try { @@ -126,6 +167,12 @@ public void createCheckRunErrMissingConclusion() throws Exception { } } + /** + * Update check run. + * + * @throws Exception + * the exception + */ @Test public void updateCheckRun() throws Exception { GHCheckRun checkRun = getInstallationGithub().getRepository("hub4j-test-org/test-checks") diff --git a/src/test/java/org/kohsuke/github/GHCodeownersErrorTest.java b/src/test/java/org/kohsuke/github/GHCodeownersErrorTest.java new file mode 100644 index 0000000000..b4294be64e --- /dev/null +++ b/src/test/java/org/kohsuke/github/GHCodeownersErrorTest.java @@ -0,0 +1,55 @@ +package org.kohsuke.github; + +import org.junit.Test; + +import java.io.IOException; +import java.util.List; + +import static org.hamcrest.Matchers.*; + +/** + * Test class for listing errors in CODEOWNERS files. + * + * @author Michael Grant + */ +public class GHCodeownersErrorTest extends AbstractGitHubWireMockTest { + + /** + * Gets the {@code CODEOWNERS} errors. + * + * @throws IOException + * the exception + */ + @Test + public void testGetCodeownersErrors() throws IOException { + final GHRepository repo = getRepository(gitHub); + final List codeownersErrors = repo.listCodeownersErrors(); + assertThat(codeownersErrors.size(), is(1)); + final GHCodeownersError firstError = codeownersErrors.get(0); + assertThat(firstError.getLine(), is(1)); + assertThat(firstError.getColumn(), is(3)); + assertThat(firstError.getKind(), is("Unknown owner")); + assertThat(firstError.getSource(), + is("* @nonexistent-user # Deliberate error to test response to repo.listCodeownersErrors()\n")); + assertThat(firstError.getSuggestion(), + is("make sure @nonexistent-user exists and has write access to the repository")); + assertThat(firstError.getMessage(), + is("Unknown owner on line 1: make sure @nonexistent-user exists and has write access to the repository\n\n * @nonexistent-user # Deliberate error to test response to repo.listCodeownersErrors()\n ^")); + assertThat(firstError.getPath(), is(".github/CODEOWNERS")); + } + + /** + * Gets the repository. + * + * @return the repository + * @throws IOException + * Signals that an I/O exception has occurred. + */ + protected GHRepository getRepository() throws IOException { + return getRepository(gitHub); + } + + private GHRepository getRepository(GitHub gitHub) throws IOException { + return gitHub.getOrganization(GITHUB_API_TEST_ORG).getRepository("github-api"); + } +} diff --git a/src/test/java/org/kohsuke/github/GHContentIntegrationTest.java b/src/test/java/org/kohsuke/github/GHContentIntegrationTest.java index 6f8416ba17..580675b10d 100644 --- a/src/test/java/org/kohsuke/github/GHContentIntegrationTest.java +++ b/src/test/java/org/kohsuke/github/GHContentIntegrationTest.java @@ -2,18 +2,22 @@ import org.apache.commons.io.IOUtils; import org.junit.After; +import org.junit.Assert; import org.junit.Before; import org.junit.Test; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Method; import java.nio.charset.StandardCharsets; import java.util.List; import static org.hamcrest.Matchers.*; import static org.hamcrest.Matchers.equalTo; +// TODO: Auto-generated Javadoc /** * Integration test for {@link GHContent}. */ @@ -25,6 +29,12 @@ public class GHContentIntegrationTest extends AbstractGitHubWireMockTest { private final String createdDirectory = "test+directory #50"; private final String createdFilename = createdDirectory + "/test file-to+create-#1.txt"; + /** + * Cleanup. + * + * @throws Exception + * the exception + */ @Before @After public void cleanup() throws Exception { @@ -40,11 +50,23 @@ public void cleanup() throws Exception { } } + /** + * Sets the up. + * + * @throws Exception + * the exception + */ @Before public void setUp() throws Exception { repo = gitHub.getRepository("hub4j-test-org/GHContentIntegrationTest"); } + /** + * Test get repository. + * + * @throws Exception + * the exception + */ @Test public void testGetRepository() throws Exception { GHRepository testRepo = gitHub.getRepositoryById(repo.getId()); @@ -53,6 +75,12 @@ public void testGetRepository() throws Exception { assertThat(testRepo.getName(), equalTo(repo.getName())); } + /** + * Test get file content. + * + * @throws Exception + * the exception + */ @Test public void testGetFileContent() throws Exception { repo = gitHub.getRepository("hub4j-test-org/GHContentIntegrationTest"); @@ -62,6 +90,12 @@ public void testGetFileContent() throws Exception { assertThat(content.getContent(), equalTo("thanks for reading me\n")); } + /** + * Test get empty file content. + * + * @throws Exception + * the exception + */ @Test public void testGetEmptyFileContent() throws Exception { GHContent content = repo.getFileContent("ghcontent-ro/an-empty-file"); @@ -70,6 +104,12 @@ public void testGetEmptyFileContent() throws Exception { assertThat(content.getContent(), is(emptyString())); } + /** + * Test get directory content. + * + * @throws Exception + * the exception + */ @Test public void testGetDirectoryContent() throws Exception { List entries = repo.getDirectoryContent("ghcontent-ro/a-dir-with-3-entries"); @@ -77,6 +117,12 @@ public void testGetDirectoryContent() throws Exception { assertThat(entries.size(), equalTo(3)); } + /** + * Test get directory content trailing slash. + * + * @throws Exception + * the exception + */ @Test public void testGetDirectoryContentTrailingSlash() throws Exception { // Used to truncate the ?ref=main, see gh-224 https://github.com/kohsuke/github-api/pull/224 @@ -85,6 +131,12 @@ public void testGetDirectoryContentTrailingSlash() throws Exception { assertThat(entries.get(0).getUrl(), endsWith("?ref=main")); } + /** + * Test CRUD content. + * + * @throws Exception + * the exception + */ @Test public void testCRUDContent() throws Exception { GHContentUpdateResponse created = repo.createContent("this is an awesome file I created\n", @@ -94,48 +146,16 @@ public void testCRUDContent() throws Exception { GHContent createdContent = created.getContent(); assertThat(mockGitHub.getRequestCount(), equalTo(expectedRequestCount)); - assertThat(created.getCommit(), notNullValue()); - assertThat(created.getContent(), notNullValue()); + expectedRequestCount = checkCreatedCommits(created.getCommit(), getGHCommit(created), expectedRequestCount); + + assertThat(created.getContent(), notNullValue()); assertThat(createdContent.getPath(), equalTo(createdFilename)); assertThat(mockGitHub.getRequestCount(), equalTo(expectedRequestCount)); - assertThat(createdContent.getContent(), notNullValue()); assertThat(createdContent.getContent(), equalTo("this is an awesome file I created\n")); - - ; assertThat(mockGitHub.getRequestCount(), equalTo(expectedRequestCount += 1)); - assertThat(created.getCommit().getSHA1(), notNullValue()); - assertThat(mockGitHub.getRequestCount(), equalTo(expectedRequestCount)); - assertThat(created.getCommit().getUrl().toString(), - endsWith( - "/repos/hub4j-test-org/GHContentIntegrationTest/git/commits/" + created.getCommit().getSHA1())); - - assertThat(mockGitHub.getRequestCount(), equalTo(expectedRequestCount)); - - assertThat(created.getCommit().getCommitShortInfo().getMessage(), - equalTo("Creating a file for integration tests.")); - - assertThat(mockGitHub.getRequestCount(), equalTo(expectedRequestCount += 1)); - - assertThat(created.getCommit().getAuthor().getName(), equalTo("Liam Newman")); - assertThat(created.getCommit().getAuthor().getEmail(), equalTo("bitwiseman@gmail.com")); - assertThat(created.getCommit().getCommitter().getName(), equalTo("Liam Newman")); - assertThat(created.getCommit().getCommitter().getEmail(), equalTo("bitwiseman@gmail.com")); - - assertThat("Resolving GHUser", mockGitHub.getRequestCount(), equalTo(expectedRequestCount += 1)); - - assertThat(created.getCommit().getTree().getSha(), notNullValue()); - - assertThat("Resolving GHTree", mockGitHub.getRequestCount(), equalTo(expectedRequestCount += 1)); - - assertThat(created.getCommit().getTree().getUrl().toString(), - endsWith("/repos/hub4j-test-org/GHContentIntegrationTest/git/trees/" - + created.getCommit().getTree().getSha())); - - assertThat("Resolving GHTree is not cached", mockGitHub.getRequestCount(), equalTo(expectedRequestCount += 2)); - GHContent content = repo.getFileContent(createdFilename); assertThat(content, is(notNullValue())); assertThat(content.getSha(), equalTo(createdContent.getSha())); @@ -159,7 +179,6 @@ public void testCRUDContent() throws Exception { assertThat(mockGitHub.getRequestCount(), equalTo(expectedRequestCount)); - assertThat(updatedContentResponse.getCommit(), notNullValue()); assertThat(updatedContentResponse.getContent(), notNullValue()); assertThat(mockGitHub.getRequestCount(), equalTo(expectedRequestCount)); @@ -171,40 +190,14 @@ public void testCRUDContent() throws Exception { assertThat(mockGitHub.getRequestCount(), equalTo(expectedRequestCount += 1)); - assertThat(updatedContentResponse.getCommit().getSHA1(), notNullValue()); - assertThat(updatedContentResponse.getCommit().getUrl().toString(), - endsWith("/repos/hub4j-test-org/GHContentIntegrationTest/git/commits/" - + updatedContentResponse.getCommit().getSHA1())); - - assertThat(mockGitHub.getRequestCount(), equalTo(expectedRequestCount)); - - assertThat(updatedContentResponse.getCommit().getCommitShortInfo().getMessage(), - equalTo("Updated file for integration tests.")); - - assertThat(mockGitHub.getRequestCount(), equalTo(expectedRequestCount += 1)); - - assertThat(updatedContentResponse.getCommit().getAuthor().getName(), equalTo("Liam Newman")); - assertThat(updatedContentResponse.getCommit().getAuthor().getEmail(), equalTo("bitwiseman@gmail.com")); - assertThat(updatedContentResponse.getCommit().getCommitter().getName(), equalTo("Liam Newman")); - assertThat(updatedContentResponse.getCommit().getCommitter().getEmail(), equalTo("bitwiseman@gmail.com")); - - assertThat("Resolving GHUser - was already resolved", - mockGitHub.getRequestCount(), - equalTo(expectedRequestCount)); - - assertThat(updatedContentResponse.getCommit().getTree().getSha(), notNullValue()); - - assertThat("Resolving GHTree", mockGitHub.getRequestCount(), equalTo(expectedRequestCount += 1)); - - assertThat(updatedContentResponse.getCommit().getTree().getUrl().toString(), - endsWith("/repos/hub4j-test-org/GHContentIntegrationTest/git/trees/" - + updatedContentResponse.getCommit().getTree().getSha())); - - assertThat("Resolving GHTree is not cached", mockGitHub.getRequestCount(), equalTo(expectedRequestCount + 2)); + expectedRequestCount = checkUpdatedContentResponseCommits(updatedContentResponse.getCommit(), + getGHCommit(updatedContentResponse), + expectedRequestCount); GHContentUpdateResponse deleteResponse = updatedContent.delete("Enough of this foolishness!"); assertThat(deleteResponse.getCommit(), notNullValue()); + assertThat(deleteResponse.getContent(), nullValue()); try { @@ -217,6 +210,285 @@ public void testCRUDContent() throws Exception { } } + /** + * Check created commits. + * + * @param gitCommit + * the git commit + * @param ghCommit + * the gh commit + * @param expectedRequestCount + * the expected request count + * @return the int + * @throws Exception + * the exception + */ + int checkCreatedCommits(GitCommit gitCommit, GHCommit ghCommit, int expectedRequestCount) throws Exception { + expectedRequestCount = checkBasicCommitInfo(gitCommit, ghCommit, expectedRequestCount); + assertThat(mockGitHub.getRequestCount(), equalTo(expectedRequestCount)); + + assertThat(gitCommit.getMessage(), equalTo("Creating a file for integration tests.")); + assertThat(gitCommit.getAuthoredDate(), equalTo(GitHubClient.parseDate("2021-06-28T20:37:49Z"))); + assertThat(gitCommit.getCommitDate(), equalTo(GitHubClient.parseDate("2021-06-28T20:37:49Z"))); + + assertThat(ghCommit.getCommitShortInfo().getMessage(), equalTo("Creating a file for integration tests.")); + assertThat("Message already resolved", mockGitHub.getRequestCount(), equalTo(expectedRequestCount)); + Assert.assertThrows(GHException.class, () -> ghCommit.getCommitShortInfo().getCommentCount()); + + ghCommit.populate(); + assertThat("Populate GHCommit", mockGitHub.getRequestCount(), equalTo(expectedRequestCount += 1)); + + expectedRequestCount = checkCommitUserInfo(gitCommit, ghCommit, expectedRequestCount); + assertThat("Resolved GHUser for GHCommit", mockGitHub.getRequestCount(), equalTo(expectedRequestCount += 1)); + + expectedRequestCount = checkCommitTree(gitCommit, ghCommit, expectedRequestCount); + + expectedRequestCount = checkCommitParents(gitCommit, ghCommit, expectedRequestCount); + + return expectedRequestCount; + } + + /** + * Gets the GH commit. + * + * @param resp + * the resp + * @return the GH commit + * @throws Exception + * the exception + */ + GHCommit getGHCommit(GHContentUpdateResponse resp) throws Exception { + for (Method method : resp.getClass().getMethods()) { + if (method.getName().equals("getCommit") && method.getReturnType().equals(GHCommit.class)) { + return (GHCommit) method.invoke(resp); + } + } + System.out.println("Unable to find bridge method"); + return null; + } + + /** + * Check updated content response commits. + * + * @param gitCommit + * the git commit + * @param ghCommit + * the gh commit + * @param expectedRequestCount + * the expected request count + * @return the int + * @throws Exception + * the exception + */ + int checkUpdatedContentResponseCommits(GitCommit gitCommit, GHCommit ghCommit, int expectedRequestCount) + throws Exception { + + expectedRequestCount = checkBasicCommitInfo(gitCommit, ghCommit, expectedRequestCount); + assertThat(mockGitHub.getRequestCount(), equalTo(expectedRequestCount)); + + assertThat(gitCommit.getMessage(), equalTo("Updated file for integration tests.")); + assertThat(gitCommit.getAuthoredDate(), equalTo(GitHubClient.parseDate("2021-06-28T20:37:51Z"))); + assertThat(gitCommit.getCommitDate(), equalTo(GitHubClient.parseDate("2021-06-28T20:37:51Z"))); + + assertThat(ghCommit.getCommitShortInfo().getMessage(), equalTo("Updated file for integration tests.")); + assertThat("Message already resolved", mockGitHub.getRequestCount(), equalTo(expectedRequestCount)); + + ghCommit.populate(); + assertThat("Populate GHCommit", mockGitHub.getRequestCount(), equalTo(expectedRequestCount += 1)); + + expectedRequestCount = checkCommitUserInfo(gitCommit, ghCommit, expectedRequestCount); + assertThat("GHUser already resolved", mockGitHub.getRequestCount(), equalTo(expectedRequestCount)); + + expectedRequestCount = checkCommitTree(gitCommit, ghCommit, expectedRequestCount); + + return expectedRequestCount; + } + + /** + * Check basic commit info. + * + * @param gitCommit + * the git commit + * @param ghCommit + * the gh commit + * @param expectedRequestCount + * the expected request count + * @return the int + * @throws IOException + * Signals that an I/O exception has occurred. + */ + int checkBasicCommitInfo(GitCommit gitCommit, GHCommit ghCommit, int expectedRequestCount) throws IOException { + assertThat(gitCommit, notNullValue()); + assertThat(gitCommit.getSHA1(), notNullValue()); + assertThat(gitCommit.getUrl().toString(), + endsWith("/repos/hub4j-test-org/GHContentIntegrationTest/git/commits/" + gitCommit.getSHA1())); + assertThat(gitCommit.getNodeId(), notNullValue()); + assertThat(gitCommit.getHtmlUrl().toString(), + equalTo("https://github.com/hub4j-test-org/GHContentIntegrationTest/commit/" + gitCommit.getSHA1())); + assertThat(gitCommit.getVerification(), notNullValue()); + + assertThat(ghCommit, notNullValue()); + assertThat(ghCommit.getSHA1(), notNullValue()); + assertThat(ghCommit.getUrl().toString(), + endsWith("/repos/hub4j-test-org/GHContentIntegrationTest/git/commits/" + ghCommit.getSHA1())); + + return expectedRequestCount; + } + + /** + * Check commit user info. + * + * @param gitCommit + * the git commit + * @param ghCommit + * the gh commit + * @param expectedRequestCount + * the expected request count + * @return the int + * @throws Exception + * the exception + */ + int checkCommitUserInfo(GitCommit gitCommit, GHCommit ghCommit, int expectedRequestCount) throws Exception { + assertThat(gitCommit.getAuthor().getName(), equalTo("Liam Newman")); + assertThat(gitCommit.getAuthor().getEmail(), equalTo("bitwiseman@gmail.com")); + + // Check that GHCommit.GHAuthor bridge method still works + assertThat(getGHAuthor(gitCommit).getName(), equalTo("Liam Newman")); + assertThat(getGHAuthor(gitCommit).getEmail(), equalTo("bitwiseman@gmail.com")); + + assertThat(gitCommit.getAuthor().getName(), equalTo("Liam Newman")); + assertThat(gitCommit.getAuthor().getEmail(), equalTo("bitwiseman@gmail.com")); + assertThat(gitCommit.getCommitter().getName(), equalTo("Liam Newman")); + assertThat(gitCommit.getCommitter().getEmail(), equalTo("bitwiseman@gmail.com")); + assertThat("GHUser already resolved", mockGitHub.getRequestCount(), equalTo(expectedRequestCount)); + + assertThat(ghCommit.getAuthor().getName(), equalTo("Liam Newman")); + assertThat(ghCommit.getAuthor().getEmail(), equalTo("bitwiseman@gmail.com")); + + // Check that GHCommit.GHAuthor bridge method still works + assertThat(getGHAuthor(ghCommit.getCommitShortInfo()).getName(), equalTo("Liam Newman")); + assertThat(getGHAuthor(ghCommit.getCommitShortInfo()).getEmail(), equalTo("bitwiseman@gmail.com")); + + assertThat(ghCommit.getCommitter().getName(), equalTo("Liam Newman")); + assertThat(ghCommit.getCommitter().getEmail(), equalTo("bitwiseman@gmail.com")); + + return expectedRequestCount; + } + + /** + * Gets the GH author. + * + * @param commit + * the commit + * @return the GH author + * @throws GHException + * the GH exception + * @throws IllegalAccessException + * the illegal access exception + * @throws IllegalArgumentException + * the illegal argument exception + * @throws InvocationTargetException + * the invocation target exception + */ + GHCommit.GHAuthor getGHAuthor(GitCommit commit) + throws GHException, IllegalAccessException, IllegalArgumentException, InvocationTargetException { + for (Method method : commit.getClass().getMethods()) { + if (method.getName().equals("getAuthor") && method.getReturnType().equals(GHCommit.GHAuthor.class)) { + return (GHCommit.GHAuthor) method.invoke(commit); + } + } + System.out.println("Unable to find bridge method"); + return null; + } + + /** + * Gets the GH author. + * + * @param commit + * the commit + * @return the GH author + * @throws GHException + * the GH exception + * @throws IllegalAccessException + * the illegal access exception + * @throws IllegalArgumentException + * the illegal argument exception + * @throws InvocationTargetException + * the invocation target exception + */ + GHCommit.GHAuthor getGHAuthor(GHCommit.ShortInfo commit) + throws GHException, IllegalAccessException, IllegalArgumentException, InvocationTargetException { + for (Method method : commit.getClass().getMethods()) { + if (method.getName().equals("getAuthor") && method.getReturnType().equals(GHCommit.GHAuthor.class)) { + return (GHCommit.GHAuthor) method.invoke(commit); + } + } + System.out.println("Unable to find bridge method"); + return null; + } + + /** + * Check commit tree. + * + * @param gitCommit + * the git commit + * @param ghCommit + * the gh commit + * @param expectedRequestCount + * the expected request count + * @return the int + * @throws IOException + * Signals that an I/O exception has occurred. + */ + int checkCommitTree(GitCommit gitCommit, GHCommit ghCommit, int expectedRequestCount) throws IOException { + assertThat(gitCommit.getTreeSHA1(), notNullValue()); + assertThat(gitCommit.getTreeUrl(), + endsWith("/repos/hub4j-test-org/GHContentIntegrationTest/git/trees/" + gitCommit.getTree().getSha())); + assertThat("GHTree already resolved", mockGitHub.getRequestCount(), equalTo(expectedRequestCount)); + + assertThat(ghCommit.getTree().getSha(), notNullValue()); + assertThat("GHCommit has to resolve GHTree", mockGitHub.getRequestCount(), equalTo(expectedRequestCount += 1)); + assertThat(ghCommit.getTree().getUrl().toString(), + endsWith("/repos/hub4j-test-org/GHContentIntegrationTest/git/trees/" + ghCommit.getTree().getSha())); + assertThat("GHCommit resolving GHTree is not cached", + mockGitHub.getRequestCount(), + equalTo(expectedRequestCount += 2)); + + return expectedRequestCount; + } + + /** + * Check commit parents. + * + * @param gitCommit + * the git commit + * @param ghCommit + * the gh commit + * @param expectedRequestCount + * the expected request count + * @return the int + * @throws IOException + * Signals that an I/O exception has occurred. + */ + int checkCommitParents(GitCommit gitCommit, GHCommit ghCommit, int expectedRequestCount) throws IOException { + assertThat(gitCommit.getParentSHA1s().size(), is(greaterThan(0))); + assertThat(ghCommit.getParentSHA1s().size(), is(greaterThan(0))); + assertThat(gitCommit.getParentSHA1s().get(0), notNullValue()); + assertThat(ghCommit.getParentSHA1s().get(0), notNullValue()); + return expectedRequestCount; + } + + // @Test + // public void testGitCommit2GHCommitExceptions() { + + // } + + /** + * Test MIME small. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testMIMESmall() throws IOException { GHRepository ghRepository = getTempRepository(); @@ -227,6 +499,12 @@ public void testMIMESmall() throws IOException { ghContentBuilder.commit(); } + /** + * Test MIME long. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testMIMELong() throws IOException { GHRepository ghRepository = getTempRepository(); @@ -236,6 +514,13 @@ public void testMIMELong() throws IOException { ghContentBuilder.content("1234567890123456789012345678901234567890123456789012345678"); ghContentBuilder.commit(); } + + /** + * Test MIME longer. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testMIMELonger() throws IOException { GHRepository ghRepository = getTempRepository(); @@ -249,6 +534,12 @@ public void testMIMELonger() throws IOException { ghContentBuilder.commit(); } + /** + * Test get file content with non ascii path. + * + * @throws Exception + * the exception + */ @Test public void testGetFileContentWithNonAsciiPath() throws Exception { final GHRepository repo = gitHub.getRepository("hub4j-test-org/GHContentIntegrationTest"); @@ -259,6 +550,12 @@ public void testGetFileContentWithNonAsciiPath() throws Exception { assertThat(IOUtils.readLines(fileContent2.read(), StandardCharsets.UTF_8), hasItems("test")); } + /** + * Test get file content with symlink. + * + * @throws Exception + * the exception + */ @Test public void testGetFileContentWithSymlink() throws Exception { final GHRepository repo = gitHub.getRepository("hub4j-test-org/GHContentIntegrationTest"); @@ -278,4 +575,5 @@ public void testGetFileContentWithSymlink() throws Exception { // this needs special handling and will 404 from GitHub // assertThat(IOUtils.toString(fileContent.read(), StandardCharsets.UTF_8), is("")); } + } diff --git a/src/test/java/org/kohsuke/github/GHDeployKeyTest.java b/src/test/java/org/kohsuke/github/GHDeployKeyTest.java new file mode 100644 index 0000000000..35d321888c --- /dev/null +++ b/src/test/java/org/kohsuke/github/GHDeployKeyTest.java @@ -0,0 +1,81 @@ +package org.kohsuke.github; + +import org.junit.Test; + +import java.io.IOException; +import java.time.Instant; +import java.util.Date; +import java.util.List; +import java.util.Optional; + +import static com.github.npathai.hamcrestopt.OptionalMatchers.isPresent; +import static org.hamcrest.Matchers.*; + +/** + * The Class GHDeployKeyTest. + * + * @author Jonas van Vliet + */ +public class GHDeployKeyTest extends AbstractGitHubWireMockTest { + private static final String DEPLOY_KEY_TEST_REPO_NAME = "hub4j-test-org/GHDeployKeyTest"; + private static final String ED_25519_READONLY = "DeployKey - ed25519 - readonly"; + private static final String RSA_4096_READWRITE = "Deploykey - rsa4096 - readwrite"; + private static final String KEY_CREATOR_USERNAME = "van-vliet"; + + /** + * Test get deploymentkeys. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ + @Test + public void testGetDeployKeys() throws IOException { + final GHRepository repo = getRepository(); + final List deployKeys = repo.getDeployKeys(); + assertThat("There should be 2 deploykeys in " + DEPLOY_KEY_TEST_REPO_NAME, deployKeys, hasSize(2)); + + Optional ed25519Key = deployKeys.stream() + .filter(key -> key.getTitle().equals(ED_25519_READONLY)) + .findAny(); + assertThat("The key exists", ed25519Key, isPresent()); + assertThat("The key was created at the specified date", + ed25519Key.get().getCreatedAt(), + is(Date.from(Instant.parse("2023-02-08T10:00:15.00Z")))); + assertThat("The key is created by " + KEY_CREATOR_USERNAME, + ed25519Key.get().getAdded_by(), + is(KEY_CREATOR_USERNAME)); + assertThat("The key has a last_used value", + ed25519Key.get().getLastUsedAt(), + is(Date.from(Instant.parse("2023-02-08T10:02:11.00Z")))); + assertThat("The key only has read access", ed25519Key.get().isRead_only(), is(true)); + assertThat("Object has a toString()", ed25519Key.get().toString(), is(notNullValue())); + + Optional rsa_4096Key = deployKeys.stream() + .filter(key -> key.getTitle().equals(RSA_4096_READWRITE)) + .findAny(); + assertThat("The key exists", rsa_4096Key, isPresent()); + assertThat("The key was created at the specified date", + rsa_4096Key.get().getCreatedAt(), + is(Date.from(Instant.parse("2023-01-26T14:12:12.00Z")))); + assertThat("The key is created by " + KEY_CREATOR_USERNAME, + rsa_4096Key.get().getAdded_by(), + is(KEY_CREATOR_USERNAME)); + assertThat("The key has never been used", rsa_4096Key.get().getLastUsedAt(), is(nullValue())); + assertThat("The key only has read/write access", rsa_4096Key.get().isRead_only(), is(false)); + } + + /** + * Gets the repository. + * + * @return the repository + * @throws IOException + * Signals that an I/O exception has occurred. + */ + protected GHRepository getRepository() throws IOException { + return getRepository(gitHub); + } + + private GHRepository getRepository(final GitHub gitHub) throws IOException { + return gitHub.getRepository(DEPLOY_KEY_TEST_REPO_NAME); + } +} diff --git a/src/test/java/org/kohsuke/github/GHDeploymentTest.java b/src/test/java/org/kohsuke/github/GHDeploymentTest.java index aa41bea2d3..32be0ceadd 100644 --- a/src/test/java/org/kohsuke/github/GHDeploymentTest.java +++ b/src/test/java/org/kohsuke/github/GHDeploymentTest.java @@ -8,11 +8,20 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc /** + * The Class GHDeploymentTest. + * * @author Martin van Zijl */ public class GHDeploymentTest extends AbstractGitHubWireMockTest { + /** + * Test get deployment by id string payload. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testGetDeploymentByIdStringPayload() throws IOException { final GHRepository repo = getRepository(); @@ -30,6 +39,12 @@ public void testGetDeploymentByIdStringPayload() throws IOException { assertThat(deployment.isTransientEnvironment(), equalTo(true)); } + /** + * Test get deployment by id object payload. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testGetDeploymentByIdObjectPayload() throws IOException { final GHRepository repo = getRepository(); @@ -51,6 +66,13 @@ public void testGetDeploymentByIdObjectPayload() throws IOException { assertThat(deployment.isTransientEnvironment(), equalTo(true)); } + /** + * Gets the repository. + * + * @return the repository + * @throws IOException + * Signals that an I/O exception has occurred. + */ protected GHRepository getRepository() throws IOException { return getRepository(gitHub); } diff --git a/src/test/java/org/kohsuke/github/GHDiscussionTest.java b/src/test/java/org/kohsuke/github/GHDiscussionTest.java index af9ff77d61..c2ea7f270b 100644 --- a/src/test/java/org/kohsuke/github/GHDiscussionTest.java +++ b/src/test/java/org/kohsuke/github/GHDiscussionTest.java @@ -10,18 +10,33 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc /** + * The Class GHDiscussionTest. + * * @author Charles Moulliard */ public class GHDiscussionTest extends AbstractGitHubWireMockTest { private final String TEAM_SLUG = "dummy-team"; private GHTeam team; + /** + * Sets the up. + * + * @throws Exception + * the exception + */ @Before public void setUp() throws Exception { team = gitHub.getOrganization(GITHUB_API_TEST_ORG).getTeamBySlug(TEAM_SLUG); } + /** + * Cleanup discussions. + * + * @throws Exception + * the exception + */ @After public void cleanupDiscussions() throws Exception { // only need to clean up if we're pointing to the live site @@ -34,6 +49,12 @@ public void cleanupDiscussions() throws Exception { } } + /** + * Test created discussion. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testCreatedDiscussion() throws IOException { GHDiscussion discussion = team.createDiscussion("Some Discussion").body("This is a public discussion").done(); @@ -73,6 +94,12 @@ public void testCreatedDiscussion() throws IOException { } } + /** + * Test get and edit discussion. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testGetAndEditDiscussion() throws IOException { GHDiscussion created = team.createDiscussion("Some Discussion").body("This is a test discussion").done(); @@ -116,6 +143,12 @@ public void testGetAndEditDiscussion() throws IOException { } + /** + * Test list discussion. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testListDiscussion() throws IOException { team.createDiscussion("Some Discussion A").body("This is a test discussion").done(); @@ -126,6 +159,12 @@ public void testListDiscussion() throws IOException { assertThat(all.size(), equalTo(3)); } + /** + * Test to delete discussion. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testToDeleteDiscussion() throws IOException { GHDiscussion discussion = team.createDiscussion("Some Discussion").body("This is a test discussion").done(); diff --git a/src/test/java/org/kohsuke/github/GHEventPayloadTest.java b/src/test/java/org/kohsuke/github/GHEventPayloadTest.java index f245250a96..2400218a16 100644 --- a/src/test/java/org/kohsuke/github/GHEventPayloadTest.java +++ b/src/test/java/org/kohsuke/github/GHEventPayloadTest.java @@ -4,6 +4,8 @@ import org.junit.Test; import org.kohsuke.github.GHCheckRun.Conclusion; import org.kohsuke.github.GHCheckRun.Status; +import org.kohsuke.github.GHProjectsV2Item.ContentType; +import org.kohsuke.github.GHProjectsV2ItemChanges.FieldType; import java.io.IOException; import java.text.SimpleDateFormat; @@ -11,18 +13,43 @@ import java.util.List; import java.util.TimeZone; -import static org.hamcrest.Matchers.*; +import static org.hamcrest.Matchers.aMapWithSize; +import static org.hamcrest.Matchers.contains; +import static org.hamcrest.Matchers.endsWith; +import static org.hamcrest.Matchers.equalTo; +import static org.hamcrest.Matchers.hasProperty; +import static org.hamcrest.Matchers.hasToString; +import static org.hamcrest.Matchers.is; +import static org.hamcrest.Matchers.lessThanOrEqualTo; +import static org.hamcrest.Matchers.notNullValue; +import static org.hamcrest.Matchers.nullValue; +import static org.hamcrest.Matchers.sameInstance; +import static org.hamcrest.Matchers.startsWith; import static org.junit.Assert.assertThrows; +// TODO: Auto-generated Javadoc +/** + * The Class GHEventPayloadTest. + */ public class GHEventPayloadTest extends AbstractGitHubWireMockTest { + /** The payload. */ @Rule public final PayloadRule payload = new PayloadRule(".json"); + /** + * Instantiates a new GH event payload test. + */ public GHEventPayloadTest() { useDefaultGitHub = false; } + /** + * Commit comment. + * + * @throws Exception + * the exception + */ @Test public void commit_comment() throws Exception { final GHEventPayload.CommitComment event = GitHub.offline() @@ -44,6 +71,12 @@ public void commit_comment() throws Exception { assertThrows(RuntimeException.class, () -> event.setSender(null)); } + /** + * Creates the. + * + * @throws Exception + * the exception + */ @Test public void create() throws Exception { final GHEventPayload.Create event = GitHub.offline() @@ -57,6 +90,12 @@ public void create() throws Exception { assertThat(event.getSender().getLogin(), is("baxterthehacker")); } + /** + * Delete. + * + * @throws Exception + * the exception + */ @Test public void delete() throws Exception { final GHEventPayload.Delete event = GitHub.offline() @@ -68,6 +107,12 @@ public void delete() throws Exception { assertThat(event.getSender().getLogin(), is("baxterthehacker")); } + /** + * Deployment. + * + * @throws Exception + * the exception + */ @Test public void deployment() throws Exception { final GHEventPayload.Deployment event = GitHub.offline() @@ -82,6 +127,12 @@ public void deployment() throws Exception { assertThat(event.getDeployment().getOwner(), sameInstance(event.getRepository())); } + /** + * Deployment status. + * + * @throws Exception + * the exception + */ @Test public void deployment_status() throws Exception { final GHEventPayload.DeploymentStatus event = GitHub.offline() @@ -102,6 +153,12 @@ public void deployment_status() throws Exception { assertThrows(RuntimeException.class, () -> event.setDeploymentStatus(null)); } + /** + * Fork. + * + * @throws Exception + * the exception + */ @Test public void fork() throws Exception { final GHEventPayload.Fork event = GitHub.offline() @@ -133,6 +190,12 @@ public void fork() throws Exception { // assertThat(event.getSender().getLogin(), is("baxterthehacker")); // } + /** + * Issue comment. + * + * @throws Exception + * the exception + */ @Test public void issue_comment() throws Exception { final GHEventPayload.IssueComment event = GitHub.offline() @@ -156,6 +219,12 @@ public void issue_comment() throws Exception { assertThrows(RuntimeException.class, () -> event.setIssue(null)); } + /** + * Issue comment edited. + * + * @throws Exception + * the exception + */ @Test public void issue_comment_edited() throws Exception { final GHEventPayload.IssueComment event = GitHub.offline() @@ -165,6 +234,12 @@ public void issue_comment_edited() throws Exception { assertThat(event.getChanges().getBody().getFrom(), is("This is the issue comment BEFORE edit.")); } + /** + * Issues. + * + * @throws Exception + * the exception + */ @Test public void issues() throws Exception { final GHEventPayload.Issue event = GitHub.offline() @@ -182,6 +257,12 @@ public void issues() throws Exception { assertThat(event.getIssue().getRepository(), sameInstance(event.getRepository())); } + /** + * Issue labeled. + * + * @throws Exception + * the exception + */ @Test public void issue_labeled() throws Exception { final GHEventPayload.Issue event = GitHub.offline() @@ -194,6 +275,12 @@ public void issue_labeled() throws Exception { assertThat(event.getLabel().getName(), is("enhancement")); } + /** + * Issue unlabeled. + * + * @throws Exception + * the exception + */ @Test public void issue_unlabeled() throws Exception { final GHEventPayload.Issue event = GitHub.offline() @@ -205,6 +292,12 @@ public void issue_unlabeled() throws Exception { assertThat(event.getLabel().getName(), is("enhancement")); } + /** + * Issue title edited. + * + * @throws Exception + * the exception + */ @Test public void issue_title_edited() throws Exception { final GHEventPayload.Issue event = GitHub.offline() @@ -215,6 +308,12 @@ public void issue_title_edited() throws Exception { assertThat(event.getChanges().getTitle().getFrom(), is("Test GHEventPayload.Issue changes")); } + /** + * Issue body edited. + * + * @throws Exception + * the exception + */ @Test public void issue_body_edited() throws Exception { final GHEventPayload.Issue event = GitHub.offline() @@ -245,6 +344,12 @@ public void issue_body_edited() throws Exception { // @Test // public void page_build() throws Exception {} + /** + * Ping. + * + * @throws Exception + * the exception + */ @Test public void ping() throws Exception { final GHEventPayload.Ping event = GitHub.offline() @@ -256,6 +361,12 @@ public void ping() throws Exception { assertThat(event.getOrganization(), nullValue()); } + /** + * Public. + * + * @throws Exception + * the exception + */ @Test @Payload("public") public void public_() throws Exception { @@ -266,6 +377,12 @@ public void public_() throws Exception { assertThat(event.getSender().getLogin(), is("baxterthehacker")); } + /** + * Pull request. + * + * @throws Exception + * the exception + */ @Test public void pull_request() throws Exception { final GHEventPayload.PullRequest event = GitHub.offline() @@ -301,6 +418,12 @@ public void pull_request() throws Exception { assertThat(event.getPullRequest().getRepository(), sameInstance(event.getRepository())); } + /** + * Pull request edited base. + * + * @throws Exception + * the exception + */ @Test public void pull_request_edited_base() throws Exception { final GHEventPayload.PullRequest event = GitHub.offline() @@ -316,6 +439,12 @@ public void pull_request_edited_base() throws Exception { assertThat(event.getChanges().getBody(), nullValue()); } + /** + * Pull request edited title. + * + * @throws Exception + * the exception + */ @Test public void pull_request_edited_title() throws Exception { final GHEventPayload.PullRequest event = GitHub.offline() @@ -330,6 +459,12 @@ public void pull_request_edited_title() throws Exception { assertThat(event.getChanges().getBody(), nullValue()); } + /** + * Pull request labeled. + * + * @throws Exception + * the exception + */ @Test public void pull_request_labeled() throws Exception { final GHEventPayload.PullRequest event = GitHub.offline() @@ -370,6 +505,12 @@ public void pull_request_labeled() throws Exception { assertThat(event.getOrganization().getLogin(), is("trilogy-group")); } + /** + * Pull request review. + * + * @throws Exception + * the exception + */ @Test public void pull_request_review() throws Exception { final GHEventPayload.PullRequestReview event = GitHub.offline() @@ -404,6 +545,12 @@ public void pull_request_review() throws Exception { assertThat(event.getReview().getParent(), sameInstance(event.getPullRequest())); } + /** + * Pull request review comment. + * + * @throws Exception + * the exception + */ @Test public void pull_request_review_comment() throws Exception { final GHEventPayload.PullRequestReviewComment event = GitHub.offline() @@ -435,6 +582,12 @@ public void pull_request_review_comment() throws Exception { assertThat(event.getComment().getParent(), sameInstance(event.getPullRequest())); } + /** + * Pull request review comment edited. + * + * @throws Exception + * the exception + */ @Test public void pull_request_review_comment_edited() throws Exception { final GHEventPayload.PullRequestReviewComment event = GitHub.offline() @@ -445,6 +598,12 @@ public void pull_request_review_comment_edited() throws Exception { assertThat(event.getChanges().getBody().getFrom(), is("This is the pull request review comment BEFORE edit.")); } + /** + * Push. + * + * @throws Exception + * the exception + */ @Test public void push() throws Exception { final GHEventPayload.Push event = GitHub.offline() @@ -465,6 +624,18 @@ public void push() throws Exception { assertThat(event.getCommits().get(0).getRemoved().size(), is(0)); assertThat(event.getCommits().get(0).getModified().size(), is(1)); assertThat(event.getCommits().get(0).getModified().get(0), is("README.md")); + + assertThat(event.getHeadCommit().getSha(), is("0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c")); + assertThat(event.getHeadCommit().getAuthor().getEmail(), is("baxterthehacker@users.noreply.github.com")); + assertThat(event.getHeadCommit().getAuthor().getUsername(), is("baxterthehacker")); + assertThat(event.getHeadCommit().getCommitter().getEmail(), is("baxterthehacker@users.noreply.github.com")); + assertThat(event.getHeadCommit().getCommitter().getUsername(), is("baxterthehacker")); + assertThat(event.getHeadCommit().getAdded().size(), is(0)); + assertThat(event.getHeadCommit().getRemoved().size(), is(0)); + assertThat(event.getHeadCommit().getModified().size(), is(1)); + assertThat(event.getHeadCommit().getModified().get(0), is("README.md")); + assertThat(event.getHeadCommit().getMessage(), is("Update README.md")); + SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'"); formatter.setTimeZone(TimeZone.getTimeZone("UTC")); assertThat(formatter.format(event.getCommits().get(0).getTimestamp()), is("2015-05-05T23:40:15Z")); @@ -484,6 +655,12 @@ public void push() throws Exception { } + /** + * Push to fork. + * + * @throws Exception + * the exception + */ @Test @Payload("push.fork") public void pushToFork() throws Exception { @@ -554,6 +731,12 @@ public void pushToFork() throws Exception { } + /** + * Release published. + * + * @throws Exception + * the exception + */ @Test public void release_published() throws Exception { final GHEventPayload.Release event = GitHub.offline() @@ -571,6 +754,12 @@ public void release_published() throws Exception { assertThrows(RuntimeException.class, () -> event.setRelease(null)); } + /** + * Repository. + * + * @throws Exception + * the exception + */ @Test public void repository() throws Exception { final GHEventPayload.Repository event = GitHub.offline() @@ -582,6 +771,12 @@ public void repository() throws Exception { assertThat(event.getSender().getLogin(), is("baxterthehacker")); } + /** + * Status. + * + * @throws Exception + * the exception + */ @Test public void status() throws Exception { final GHEventPayload.Status event = GitHub.offline() @@ -598,6 +793,12 @@ public void status() throws Exception { assertThrows(RuntimeException.class, () -> event.setState(GHCommitState.ERROR)); } + /** + * Status 2. + * + * @throws Exception + * the exception + */ @Test public void status2() throws Exception { final GHEventPayload.Status event = GitHub.offline() @@ -615,6 +816,12 @@ public void status2() throws Exception { // @Test // public void watch() throws Exception {} + /** + * Check run event. + * + * @throws Exception + * the exception + */ @Test @Payload("check-run") public void checkRunEvent() throws Exception { @@ -630,7 +837,7 @@ public void checkRunEvent() throws Exception { GHEventPayload.CheckRun.class); final GHCheckRun checkRun2 = verifyBasicCheckRunEvent(event2); - int expectedRequestCount = mockGitHub.isUseProxy() ? 3 : 2; + int expectedRequestCount = 2; assertThat("pull body should be populated", checkRun2.getPullRequests().get(0).getBody(), equalTo("This is a pretty simple change that we need to pull into main.")); @@ -683,6 +890,12 @@ private GHCheckRun verifyBasicCheckRunEvent(final GHEventPayload.CheckRun event) return checkRun; } + /** + * Check suite event. + * + * @throws Exception + * the exception + */ @Test @Payload("check-suite") public void checkSuiteEvent() throws Exception { @@ -743,6 +956,12 @@ private GHCheckSuite verifyBasicCheckSuiteEvent(final GHEventPayload.CheckSuite return checkSuite; } + /** + * Installation repositories event. + * + * @throws Exception + * the exception + */ @Test @Payload("installation_repositories") public void InstallationRepositoriesEvent() throws Exception { @@ -764,10 +983,17 @@ public void InstallationRepositoriesEvent() throws Exception { assertThat(event.getSender().getLogin(), is("Codertocat")); } + /** + * Installation event. + * + * @throws Exception + * the exception + */ @Test @Payload("installation") public void InstallationEvent() throws Exception { - final GHEventPayload.Installation event = GitHub.offline() + final GHEventPayload.Installation event = getGitHubBuilder().withEndpoint(mockGitHub.apiServer().baseUrl()) + .build() .parseEventPayload(payload.asReader(), GHEventPayload.Installation.class); assertThat(event.getAction(), is("deleted")); @@ -775,14 +1001,21 @@ public void InstallationEvent() throws Exception { assertThat(event.getInstallation().getAccount().getLogin(), is("octocat")); assertThat(event.getRepositories().get(0).getId(), is(1296269L)); - assertThat(event.getRepositories().get(0).getNodeId(), is("MDEwOlJlcG9zaXRvcnkxODY4NTMwMDc=")); + assertThat(event.getRepositories().get(0).getNodeId(), is("MDEwOlJlcG9zaXRvcnkxMjk2MjY5")); assertThat(event.getRepositories().get(0).getName(), is("Hello-World")); assertThat(event.getRepositories().get(0).getFullName(), is("octocat/Hello-World")); assertThat(event.getRepositories().get(0).isPrivate(), is(false)); + assertThat(event.getRepositories().get(0).getOwner().getLogin(), is("octocat")); assertThat(event.getSender().getLogin(), is("octocat")); } + /** + * Workflow dispatch. + * + * @throws Exception + * the exception + */ @Test public void workflow_dispatch() throws Exception { final GHEventPayload.WorkflowDispatch workflowDispatchPayload = GitHub.offline() @@ -798,6 +1031,12 @@ public void workflow_dispatch() throws Exception { assertThat(workflowDispatchPayload.getSender().getLogin(), is("gsmet")); } + /** + * Workflow run. + * + * @throws Exception + * the exception + */ @Test public void workflow_run() throws Exception { final GHEventPayload.WorkflowRun workflowRunPayload = GitHub.offline() @@ -823,6 +1062,7 @@ public void workflow_run() throws Exception { assertThat(workflowRun.getId(), is(680604745L)); assertThat(workflowRun.getName(), is("CI")); assertThat(workflowRun.getHeadBranch(), is("main")); + assertThat(workflowRun.getDisplayTitle(), is("its-display-title")); assertThat(workflowRun.getHeadSha(), is("dbea8d8b6ed2cf764dfd84a215f3f9040b3d4423")); assertThat(workflowRun.getRunNumber(), is(6L)); assertThat(workflowRun.getEvent(), is(GHEvent.WORKFLOW_DISPATCH)); @@ -849,6 +1089,8 @@ public void workflow_run() throws Exception { is("https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/workflows/7087581")); assertThat(workflowRun.getCreatedAt().getTime(), is(1616524526000L)); assertThat(workflowRun.getUpdatedAt().getTime(), is(1616524543000L)); + assertThat(workflowRun.getRunAttempt(), is(1L)); + assertThat(workflowRun.getRunStartedAt().getTime(), is(1616524526000L)); assertThat(workflowRun.getHeadCommit().getId(), is("dbea8d8b6ed2cf764dfd84a215f3f9040b3d4423")); assertThat(workflowRun.getHeadCommit().getTreeId(), is("b17089e6a2574ec1002566fe980923e62dce3026")); assertThat(workflowRun.getHeadCommit().getMessage(), is("Update main.yml")); @@ -861,6 +1103,12 @@ public void workflow_run() throws Exception { assertThat(workflowRun.getRepository(), sameInstance(workflowRunPayload.getRepository())); } + /** + * Workflow run pull request. + * + * @throws Exception + * the exception + */ @Test public void workflow_run_pull_request() throws Exception { final GHEventPayload.WorkflowRun workflowRunPayload = GitHub.offline() @@ -872,9 +1120,14 @@ public void workflow_run_pull_request() throws Exception { GHPullRequest pullRequest = pullRequests.get(0); assertThat(pullRequest.getId(), is(599098265L)); assertThat(pullRequest.getRepository(), sameInstance(workflowRunPayload.getRepository())); - } + /** + * Workflow run other repository. + * + * @throws Exception + * the exception + */ @Test public void workflow_run_other_repository() throws Exception { final GHEventPayload.WorkflowRun workflowRunPayload = GitHub.offline() @@ -888,6 +1141,52 @@ public void workflow_run_other_repository() throws Exception { assertThat(workflowRunPayload.getWorkflow().getRepository(), sameInstance(workflowRunPayload.getRepository())); } + /** + * Workflow job. + * + * @throws Exception + * the exception + */ + @Test + public void workflow_job() throws Exception { + final GHEventPayload.WorkflowJob workflowJobPayload = GitHub.offline() + .parseEventPayload(payload.asReader(), GHEventPayload.WorkflowJob.class); + + assertThat(workflowJobPayload.getAction(), is("completed")); + assertThat(workflowJobPayload.getRepository().getFullName(), is("gsmet/quarkus-bot-java-playground")); + assertThat(workflowJobPayload.getSender().getLogin(), is("gsmet")); + + GHWorkflowJob workflowJob = workflowJobPayload.getWorkflowJob(); + assertThat(workflowJob.getId(), is(6653410527L)); + assertThat(workflowJob.getRunId(), is(2408553341L)); + assertThat(workflowJob.getRunAttempt(), is(1)); + assertThat(workflowJob.getUrl().toString(), + is("https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/jobs/6653410527")); + assertThat(workflowJob.getHtmlUrl().toString(), + is("https://github.com/gsmet/quarkus-bot-java-playground/runs/6653410527?check_suite_focus=true")); + assertThat(workflowJob.getNodeId(), is("CR_kwDOEq3cwc8AAAABjJL83w")); + assertThat(workflowJob.getHeadSha(), is("5dd2dadfbdc2a722c08a8ad42ae4e26e3e731042")); + assertThat(workflowJob.getStatus(), is(GHWorkflowRun.Status.COMPLETED)); + assertThat(workflowJob.getConclusion(), is(GHWorkflowRun.Conclusion.FAILURE)); + assertThat(workflowJob.getStartedAt().getTime(), is(1653908125000L)); + assertThat(workflowJob.getCompletedAt().getTime(), is(1653908157000L)); + assertThat(workflowJob.getName(), is("JVM Tests - JDK JDK16")); + assertThat(workflowJob.getSteps(), + contains(hasProperty("name", is("Set up job")), + hasProperty("name", is("Run actions/checkout@v2")), + hasProperty("name", is("Build with Maven")), + hasProperty("name", is("Post Run actions/checkout@v2")), + hasProperty("name", is("Complete job")))); + assertThat(workflowJob.getCheckRunUrl().toString(), + is("https://api.github.com/repos/gsmet/quarkus-bot-java-playground/check-runs/6653410527")); + } + + /** + * Label created. + * + * @throws Exception + * the exception + */ @Test public void label_created() throws Exception { final GHEventPayload.Label labelPayload = GitHub.offline() @@ -904,6 +1203,12 @@ public void label_created() throws Exception { assertThat(label.getDescription(), is("description")); } + /** + * Label edited. + * + * @throws Exception + * the exception + */ @Test public void label_edited() throws Exception { final GHEventPayload.Label labelPayload = GitHub.offline() @@ -923,6 +1228,12 @@ public void label_edited() throws Exception { assertThat(labelPayload.getChanges().getColor().getFrom(), is("f9d0c4")); } + /** + * Label deleted. + * + * @throws Exception + * the exception + */ @Test public void label_deleted() throws Exception { GHEventPayload.Label labelPayload = GitHub.offline() @@ -939,6 +1250,12 @@ public void label_deleted() throws Exception { assertThat(label.getDescription(), is("description")); } + /** + * Discussion created. + * + * @throws Exception + * the exception + */ @Test public void discussion_created() throws Exception { final GHEventPayload.Discussion discussionPayload = GitHub.offline() @@ -987,6 +1304,12 @@ public void discussion_created() throws Exception { assertThat(discussion.getBody(), is("Body of discussion.")); } + /** + * Discussion answered. + * + * @throws Exception + * the exception + */ @Test public void discussion_answered() throws Exception { final GHEventPayload.Discussion discussionPayload = GitHub.offline() @@ -1036,6 +1359,12 @@ public void discussion_answered() throws Exception { assertThat(discussion.getBody(), is("Body of discussion.")); } + /** + * Discussion labeled. + * + * @throws Exception + * the exception + */ @Test public void discussion_labeled() throws Exception { final GHEventPayload.Discussion discussionPayload = GitHub.offline() @@ -1093,4 +1422,149 @@ public void discussion_labeled() throws Exception { assertThat(label.isDefault(), is(false)); assertThat(label.getDescription(), is(nullValue())); } + + /** + * Starred. + * + * @throws Exception + * the exception + */ + @Test + public void starred() throws Exception { + final GHEventPayload.Star starPayload = GitHub.offline() + .parseEventPayload(payload.asReader(), GHEventPayload.Star.class); + + assertThat(starPayload.getAction(), is("created")); + assertThat(starPayload.getRepository().getFullName(), is("gsmet/quarkus-bot-java-playground")); + assertThat(starPayload.getSender().getLogin(), is("gsmet")); + assertThat(starPayload.getStarredAt().getTime(), is(1654017876000L)); + } + + /** + * Projectsv 2 item created. + * + * @throws Exception + * the exception + */ + @Test + public void projectsv2item_created() throws Exception { + final GHEventPayload.ProjectsV2Item projectsV2ItemPayload = GitHub.offline() + .parseEventPayload(payload.asReader(), GHEventPayload.ProjectsV2Item.class); + + assertThat(projectsV2ItemPayload.getAction(), is("created")); + + assertThat(projectsV2ItemPayload.getProjectsV2Item().getId(), is(8083254L)); + assertThat(projectsV2ItemPayload.getProjectsV2Item().getNodeId(), is("PVTI_lADOBNft-M4AEjBWzgB7VzY")); + assertThat(projectsV2ItemPayload.getProjectsV2Item().getProjectNodeId(), is("PVT_kwDOBNft-M4AEjBW")); + assertThat(projectsV2ItemPayload.getProjectsV2Item().getContentNodeId(), is("I_kwDOFOkjw85Ozz26")); + assertThat(projectsV2ItemPayload.getProjectsV2Item().getContentType(), is(ContentType.ISSUE)); + assertThat(projectsV2ItemPayload.getProjectsV2Item().getCreator().getLogin(), is("gsmet")); + assertThat(projectsV2ItemPayload.getProjectsV2Item().getCreator().getNodeId(), is("MDQ6VXNlcjEyNzk3NDk=")); + assertThat(projectsV2ItemPayload.getProjectsV2Item().getCreatedAt().getTime(), is(1659532028000L)); + assertThat(projectsV2ItemPayload.getProjectsV2Item().getUpdatedAt().getTime(), is(1659532028000L)); + assertThat(projectsV2ItemPayload.getProjectsV2Item().getArchivedAt(), is(nullValue())); + + assertThat(projectsV2ItemPayload.getOrganization().getLogin(), is("gsmet-bot-playground")); + assertThat(projectsV2ItemPayload.getOrganization().getId(), is(81260024L)); + assertThat(projectsV2ItemPayload.getOrganization().getNodeId(), is("MDEyOk9yZ2FuaXphdGlvbjgxMjYwMDI0")); + + assertThat(projectsV2ItemPayload.getSender().getLogin(), is("gsmet")); + assertThat(projectsV2ItemPayload.getSender().getId(), is(1279749L)); + assertThat(projectsV2ItemPayload.getSender().getNodeId(), is("MDQ6VXNlcjEyNzk3NDk=")); + + assertThat(projectsV2ItemPayload.getInstallation().getId(), is(16779846L)); + assertThat(projectsV2ItemPayload.getInstallation().getNodeId(), + is("MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTY3Nzk4NDY=")); + } + + /** + * Projectsv 2 item edited. + * + * @throws Exception + * the exception + */ + @Test + public void projectsv2item_edited() throws Exception { + final GHEventPayload.ProjectsV2Item projectsV2ItemPayload = GitHub.offline() + .parseEventPayload(payload.asReader(), GHEventPayload.ProjectsV2Item.class); + + assertThat(projectsV2ItemPayload.getAction(), is("edited")); + + assertThat(projectsV2ItemPayload.getProjectsV2Item().getId(), is(8083254L)); + assertThat(projectsV2ItemPayload.getProjectsV2Item().getCreatedAt().getTime(), is(1659532028000L)); + assertThat(projectsV2ItemPayload.getProjectsV2Item().getUpdatedAt().getTime(), is(1659532033000L)); + assertThat(projectsV2ItemPayload.getProjectsV2Item().getArchivedAt(), is(nullValue())); + + assertThat(projectsV2ItemPayload.getChanges().getFieldValue().getFieldNodeId(), + is("PVTF_lADOBNft-M4AEjBWzgCnp5Q")); + assertThat(projectsV2ItemPayload.getChanges().getFieldValue().getFieldType(), is(FieldType.SINGLE_SELECT)); + } + + /** + * Projectsv 2 item archived. + * + * @throws Exception + * the exception + */ + @Test + public void projectsv2item_archived() throws Exception { + final GHEventPayload.ProjectsV2Item projectsV2ItemPayload = GitHub.offline() + .parseEventPayload(payload.asReader(), GHEventPayload.ProjectsV2Item.class); + + assertThat(projectsV2ItemPayload.getAction(), is("archived")); + + assertThat(projectsV2ItemPayload.getProjectsV2Item().getId(), is(8083794L)); + assertThat(projectsV2ItemPayload.getProjectsV2Item().getCreatedAt().getTime(), is(1659532431000L)); + assertThat(projectsV2ItemPayload.getProjectsV2Item().getUpdatedAt().getTime(), is(1660086629000L)); + assertThat(projectsV2ItemPayload.getProjectsV2Item().getArchivedAt().getTime(), is(1660086629000L)); + + assertThat(projectsV2ItemPayload.getChanges().getArchivedAt().getFrom(), is(nullValue())); + assertThat(projectsV2ItemPayload.getChanges().getArchivedAt().getTo().getTime(), is(1660086629000L)); + } + + /** + * Projectsv 2 item restored. + * + * @throws Exception + * the exception + */ + @Test + public void projectsv2item_restored() throws Exception { + final GHEventPayload.ProjectsV2Item projectsV2ItemPayload = GitHub.offline() + .parseEventPayload(payload.asReader(), GHEventPayload.ProjectsV2Item.class); + + assertThat(projectsV2ItemPayload.getAction(), is("restored")); + + assertThat(projectsV2ItemPayload.getProjectsV2Item().getId(), is(8083254L)); + assertThat(projectsV2ItemPayload.getProjectsV2Item().getCreatedAt().getTime(), is(1659532028000L)); + assertThat(projectsV2ItemPayload.getProjectsV2Item().getUpdatedAt().getTime(), is(1659532419000L)); + assertThat(projectsV2ItemPayload.getProjectsV2Item().getArchivedAt(), is(nullValue())); + + assertThat(projectsV2ItemPayload.getChanges().getArchivedAt().getFrom().getTime(), is(1659532142000L)); + assertThat(projectsV2ItemPayload.getChanges().getArchivedAt().getTo(), is(nullValue())); + } + + /** + * Projectsv 2 item reordered. + * + * @throws Exception + * the exception + */ + @Test + public void projectsv2item_reordered() throws Exception { + final GHEventPayload.ProjectsV2Item projectsV2ItemPayload = GitHub.offline() + .parseEventPayload(payload.asReader(), GHEventPayload.ProjectsV2Item.class); + + assertThat(projectsV2ItemPayload.getAction(), is("reordered")); + + assertThat(projectsV2ItemPayload.getProjectsV2Item().getId(), is(8083794L)); + assertThat(projectsV2ItemPayload.getProjectsV2Item().getCreatedAt().getTime(), is(1659532431000L)); + assertThat(projectsV2ItemPayload.getProjectsV2Item().getUpdatedAt().getTime(), is(1659532439000L)); + assertThat(projectsV2ItemPayload.getProjectsV2Item().getArchivedAt(), is(nullValue())); + + assertThat(projectsV2ItemPayload.getChanges().getPreviousProjectsV2ItemNodeId().getFrom(), + is("PVTI_lADOBNft-M4AEjBWzgB7VzY")); + assertThat(projectsV2ItemPayload.getChanges().getPreviousProjectsV2ItemNodeId().getTo(), + is("PVTI_lADOBNft-M4AEjBWzgB7VzY")); + } } diff --git a/src/test/java/org/kohsuke/github/GHEventTest.java b/src/test/java/org/kohsuke/github/GHEventTest.java index aea0fa14b1..4b43202da2 100644 --- a/src/test/java/org/kohsuke/github/GHEventTest.java +++ b/src/test/java/org/kohsuke/github/GHEventTest.java @@ -5,6 +5,10 @@ import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; +// TODO: Auto-generated Javadoc +/** + * The Class GHEventTest. + */ public class GHEventTest { /** @@ -23,6 +27,9 @@ private static GHEvent oldTransformationFunction(String t) { return GHEvent.UNKNOWN; } + /** + * Regression test. + */ @Test public void regressionTest() { assertThat(GHEventInfo.transformTypeToGHEvent("NewlyAddedOrBogusEvent"), is(GHEvent.UNKNOWN)); diff --git a/src/test/java/org/kohsuke/github/GHGistTest.java b/src/test/java/org/kohsuke/github/GHGistTest.java index 9334df9ae2..142247a18f 100644 --- a/src/test/java/org/kohsuke/github/GHGistTest.java +++ b/src/test/java/org/kohsuke/github/GHGistTest.java @@ -6,10 +6,20 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc /** + * The Class GHGistTest. + * * @author Kohsuke Kawaguchi */ public class GHGistTest extends AbstractGitHubWireMockTest { + + /** + * Lifecycle test. + * + * @throws Exception + * the exception + */ @Test public void lifecycleTest() throws Exception { // CRUD operation @@ -96,6 +106,12 @@ public void lifecycleTest() throws Exception { } } + /** + * Star test. + * + * @throws Exception + * the exception + */ @Test public void starTest() throws Exception { GHGist gist = gitHub.getGist("9903708"); @@ -126,6 +142,12 @@ public void starTest() throws Exception { } } + /** + * Gist file. + * + * @throws Exception + * the exception + */ @Test public void gistFile() throws Exception { GHGist gist = gitHub.getGist("9903708"); diff --git a/src/test/java/org/kohsuke/github/GHGistUpdaterTest.java b/src/test/java/org/kohsuke/github/GHGistUpdaterTest.java index c217cd034e..5ec2590c59 100644 --- a/src/test/java/org/kohsuke/github/GHGistUpdaterTest.java +++ b/src/test/java/org/kohsuke/github/GHGistUpdaterTest.java @@ -9,13 +9,22 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc /** + * The Class GHGistUpdaterTest. + * * @author Martin van Zijl */ public class GHGistUpdaterTest extends AbstractGitHubWireMockTest { private GHGist gist; + /** + * Sets the up. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Before public void setUp() throws IOException { GHGistBuilder builder = new GHGistBuilder(gitHub); @@ -28,6 +37,12 @@ public void setUp() throws IOException { .create(); } + /** + * Clean up. + * + * @throws Exception + * the exception + */ @After public void cleanUp() throws Exception { // Cleanup is only needed when proxying @@ -38,6 +53,12 @@ public void cleanUp() throws Exception { gist.delete(); } + /** + * Test git updater. + * + * @throws Exception + * the exception + */ @Test public void testGitUpdater() throws Exception { GHGistUpdater updater = gist.update(); diff --git a/src/test/java/org/kohsuke/github/GHHookTest.java b/src/test/java/org/kohsuke/github/GHHookTest.java index 3f3b40cbc9..247505fb1d 100644 --- a/src/test/java/org/kohsuke/github/GHHookTest.java +++ b/src/test/java/org/kohsuke/github/GHHookTest.java @@ -16,11 +16,20 @@ import static org.hamcrest.Matchers.hasKey; import static org.hamcrest.core.IsInstanceOf.instanceOf; +// TODO: Auto-generated Javadoc /** + * The Class GHHookTest. + * * @author Kanstantsin Shautsou */ public class GHHookTest { + /** + * Expose responce headers. + * + * @throws Exception + * the exception + */ @Ignore @Test public void exposeResponceHeaders() throws Exception { diff --git a/src/test/java/org/kohsuke/github/GHIssueEventAttributeTest.java b/src/test/java/org/kohsuke/github/GHIssueEventAttributeTest.java index 5a9e1bbca3..58f0587e74 100644 --- a/src/test/java/org/kohsuke/github/GHIssueEventAttributeTest.java +++ b/src/test/java/org/kohsuke/github/GHIssueEventAttributeTest.java @@ -15,6 +15,10 @@ import static org.hamcrest.Matchers.hasSize; import static org.hamcrest.Matchers.notNullValue; +// TODO: Auto-generated Javadoc +/** + * The Class GHIssueEventAttributeTest. + */ public class GHIssueEventAttributeTest extends AbstractGitHubWireMockTest { private enum Type implements Predicate, Consumer { @@ -49,6 +53,12 @@ private List listEvents(final Type type) throws IOException { .collect(toList()); } + /** + * Test event specific attributes. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testEventSpecificAttributes() throws IOException { for (Type type : Type.values()) { diff --git a/src/test/java/org/kohsuke/github/GHIssueEventTest.java b/src/test/java/org/kohsuke/github/GHIssueEventTest.java index f4fdb8fa25..6ff51e0a46 100644 --- a/src/test/java/org/kohsuke/github/GHIssueEventTest.java +++ b/src/test/java/org/kohsuke/github/GHIssueEventTest.java @@ -8,11 +8,20 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc /** + * The Class GHIssueEventTest. + * * @author Martin van Zijl */ public class GHIssueEventTest extends AbstractGitHubWireMockTest { + /** + * Test events for single issue. + * + * @throws Exception + * the exception + */ @Test public void testEventsForSingleIssue() throws Exception { // Create the issue. @@ -40,6 +49,12 @@ public void testEventsForSingleIssue() throws Exception { issue.close(); } + /** + * Test issue review requested event. + * + * @throws Exception + * the exception + */ @Test public void testIssueReviewRequestedEvent() throws Exception { // Create the PR. @@ -65,6 +80,12 @@ public void testIssueReviewRequestedEvent() throws Exception { pullRequest.close(); } + /** + * Test events for issue rename. + * + * @throws Exception + * the exception + */ @Test public void testEventsForIssueRename() throws Exception { // Create the issue. @@ -99,6 +120,12 @@ public void testEventsForIssueRename() throws Exception { issue.close(); } + /** + * Test repository events. + * + * @throws Exception + * the exception + */ @Test public void testRepositoryEvents() throws Exception { GHRepository repo = getRepository(); @@ -113,6 +140,13 @@ public void testRepositoryEvents() throws Exception { } } + /** + * Gets the repository. + * + * @return the repository + * @throws IOException + * Signals that an I/O exception has occurred. + */ protected GHRepository getRepository() throws IOException { return getRepository(gitHub); } diff --git a/src/test/java/org/kohsuke/github/GHIssueTest.java b/src/test/java/org/kohsuke/github/GHIssueTest.java new file mode 100644 index 0000000000..b86910cf2f --- /dev/null +++ b/src/test/java/org/kohsuke/github/GHIssueTest.java @@ -0,0 +1,336 @@ +package org.kohsuke.github; + +import org.junit.After; +import org.junit.Before; +import org.junit.Test; + +import java.io.IOException; +import java.time.temporal.ChronoUnit; +import java.util.Collection; +import java.util.Date; +import java.util.List; + +import static org.hamcrest.Matchers.contains; +import static org.hamcrest.Matchers.containsInAnyOrder; +import static org.hamcrest.Matchers.containsString; +import static org.hamcrest.Matchers.equalTo; +import static org.hamcrest.Matchers.hasProperty; +import static org.hamcrest.Matchers.hasSize; +import static org.hamcrest.Matchers.is; +import static org.hamcrest.Matchers.notNullValue; + +// TODO: Auto-generated Javadoc +/** + * The Class GHIssueTest. + * + * @author Kohsuke Kawaguchi + * @author Yoann Rodiere + */ +public class GHIssueTest extends AbstractGitHubWireMockTest { + + /** + * Clean up. + * + * @throws Exception + * the exception + */ + @Before + @After + public void cleanUp() throws Exception { + // Cleanup is only needed when proxying + if (!mockGitHub.isUseProxy()) { + return; + } + + for (GHIssue issue : getRepository(this.getNonRecordingGitHub()).getIssues(GHIssueState.OPEN)) { + issue.close(); + } + } + + /** + * Creates the issue. + * + * @throws Exception + * the exception + */ + @Test + public void createIssue() throws Exception { + String name = "createIssue"; + GHRepository repo = getRepository(); + GHIssue issue = repo.createIssue(name).body("## test").create(); + assertThat(issue.getTitle(), equalTo(name)); + } + + /** + * Issue comment. + * + * @throws Exception + * the exception + */ + @Test + public void issueComment() throws Exception { + String name = "createIssueComment"; + GHIssue issue = getRepository().createIssue(name).body("## test").create(); + + List comments; + comments = issue.listComments().toList(); + assertThat(comments, hasSize(0)); + comments = issue.queryComments().list().toList(); + assertThat(comments, hasSize(0)); + + GHIssueComment firstComment = issue.comment("First comment"); + Date firstCommentCreatedAt = firstComment.getCreatedAt(); + Date firstCommentCreatedAtPlus1Second = Date + .from(firstComment.getCreatedAt().toInstant().plus(1, ChronoUnit.SECONDS)); + + comments = issue.listComments().toList(); + assertThat(comments, hasSize(1)); + assertThat(comments, contains(hasProperty("body", equalTo("First comment")))); + + comments = issue.queryComments().list().toList(); + assertThat(comments, hasSize(1)); + assertThat(comments, contains(hasProperty("body", equalTo("First comment")))); + + // Test "since" + comments = issue.queryComments().since(firstCommentCreatedAt).list().toList(); + assertThat(comments, hasSize(1)); + assertThat(comments, contains(hasProperty("body", equalTo("First comment")))); + comments = issue.queryComments().since(firstCommentCreatedAtPlus1Second).list().toList(); + assertThat(comments, hasSize(0)); + + // "since" is only precise up to the second, + // so if we want to differentiate comments, we need to be completely sure they're created + // at least 1 second from each other. + // Waiting 2 seconds to avoid edge cases. + Thread.sleep(2000); + + GHIssueComment secondComment = issue.comment("Second comment"); + Date secondCommentCreatedAt = secondComment.getCreatedAt(); + Date secondCommentCreatedAtPlus1Second = Date + .from(secondComment.getCreatedAt().toInstant().plus(1, ChronoUnit.SECONDS)); + assertThat( + "There's an error in the setup of this test; please fix it." + + " The second comment should be created at least one second after the first one.", + firstCommentCreatedAtPlus1Second.getTime() <= secondCommentCreatedAt.getTime()); + + comments = issue.listComments().toList(); + assertThat(comments, hasSize(2)); + assertThat(comments, + contains(hasProperty("body", equalTo("First comment")), + hasProperty("body", equalTo("Second comment")))); + comments = issue.queryComments().list().toList(); + assertThat(comments, hasSize(2)); + assertThat(comments, + contains(hasProperty("body", equalTo("First comment")), + hasProperty("body", equalTo("Second comment")))); + + // Test "since" + comments = issue.queryComments().since(firstCommentCreatedAt).list().toList(); + assertThat(comments, hasSize(2)); + assertThat(comments, + contains(hasProperty("body", equalTo("First comment")), + hasProperty("body", equalTo("Second comment")))); + comments = issue.queryComments().since(firstCommentCreatedAtPlus1Second).list().toList(); + assertThat(comments, hasSize(1)); + assertThat(comments, contains(hasProperty("body", equalTo("Second comment")))); + comments = issue.queryComments().since(secondCommentCreatedAt).list().toList(); + assertThat(comments, hasSize(1)); + assertThat(comments, contains(hasProperty("body", equalTo("Second comment")))); + comments = issue.queryComments().since(secondCommentCreatedAtPlus1Second).list().toList(); + assertThat(comments, hasSize(0)); + + // Test "since" with timestamp instead of Date + comments = issue.queryComments().since(secondCommentCreatedAt.getTime()).list().toList(); + assertThat(comments, hasSize(1)); + assertThat(comments, contains(hasProperty("body", equalTo("Second comment")))); + } + + /** + * Close issue. + * + * @throws Exception + * the exception + */ + @Test + public void closeIssue() throws Exception { + String name = "closeIssue"; + GHIssue issue = getRepository().createIssue(name).body("## test").create(); + assertThat(issue.getTitle(), equalTo(name)); + assertThat(getRepository().getIssue(issue.getNumber()).getState(), equalTo(GHIssueState.OPEN)); + issue.close(); + assertThat(getRepository().getIssue(issue.getNumber()).getState(), equalTo(GHIssueState.CLOSED)); + } + + /** + * Sets the labels. + * + * @throws Exception + * the exception + */ + @Test + // Requires push access to the test repo to pass + public void setLabels() throws Exception { + GHIssue issue = getRepository().createIssue("setLabels").body("## test").create(); + String label = "setLabels_label_name"; + issue.setLabels(label); + + Collection labels = getRepository().getIssue(issue.getNumber()).getLabels(); + assertThat(labels.size(), equalTo(1)); + GHLabel savedLabel = labels.iterator().next(); + assertThat(savedLabel.getName(), equalTo(label)); + assertThat(savedLabel.getId(), notNullValue()); + assertThat(savedLabel.getNodeId(), notNullValue()); + assertThat(savedLabel.isDefault(), is(false)); + } + + /** + * Adds the labels. + * + * @throws Exception + * the exception + */ + @Test + // Requires push access to the test repo to pass + public void addLabels() throws Exception { + GHIssue issue = getRepository().createIssue("addLabels").body("## test").create(); + String addedLabel1 = "addLabels_label_name_1"; + String addedLabel2 = "addLabels_label_name_2"; + String addedLabel3 = "addLabels_label_name_3"; + + List resultingLabels = issue.addLabels(addedLabel1); + assertThat(resultingLabels.size(), equalTo(1)); + GHLabel ghLabel = resultingLabels.get(0); + assertThat(ghLabel.getName(), equalTo(addedLabel1)); + + int requestCount = mockGitHub.getRequestCount(); + resultingLabels = issue.addLabels(addedLabel2, addedLabel3); + // multiple labels can be added with one api call + assertThat(mockGitHub.getRequestCount(), equalTo(requestCount + 1)); + + assertThat(resultingLabels.size(), equalTo(3)); + assertThat(resultingLabels, + containsInAnyOrder(hasProperty("name", equalTo(addedLabel1)), + hasProperty("name", equalTo(addedLabel2)), + hasProperty("name", equalTo(addedLabel3)))); + + // Adding a label which is already present does not throw an error + resultingLabels = issue.addLabels(ghLabel); + assertThat(resultingLabels.size(), equalTo(3)); + } + + /** + * Adds the labels concurrency issue. + * + * @throws Exception + * the exception + */ + @Test + // Requires push access to the test repo to pass + public void addLabelsConcurrencyIssue() throws Exception { + String addedLabel1 = "addLabelsConcurrencyIssue_label_name_1"; + String addedLabel2 = "addLabelsConcurrencyIssue_label_name_2"; + + GHIssue issue1 = getRepository().createIssue("addLabelsConcurrencyIssue").body("## test").create(); + issue1.getLabels(); + + GHIssue issue2 = getRepository().getIssue(issue1.getNumber()); + issue2.addLabels(addedLabel2); + + Collection labels = issue1.addLabels(addedLabel1); + + assertThat(labels.size(), equalTo(2)); + assertThat(labels, + containsInAnyOrder(hasProperty("name", equalTo(addedLabel1)), + hasProperty("name", equalTo(addedLabel2)))); + } + + /** + * Removes the labels. + * + * @throws Exception + * the exception + */ + @Test + // Requires push access to the test repo to pass + public void removeLabels() throws Exception { + GHIssue issue = getRepository().createIssue("removeLabels").body("## test").create(); + String label1 = "removeLabels_label_name_1"; + String label2 = "removeLabels_label_name_2"; + String label3 = "removeLabels_label_name_3"; + issue.setLabels(label1, label2, label3); + + Collection labels = getRepository().getIssue(issue.getNumber()).getLabels(); + assertThat(labels.size(), equalTo(3)); + GHLabel ghLabel3 = labels.stream().filter(label -> label3.equals(label.getName())).findFirst().get(); + + int requestCount = mockGitHub.getRequestCount(); + List resultingLabels = issue.removeLabels(label2, label3); + // each label deleted is a separate api call + assertThat(mockGitHub.getRequestCount(), equalTo(requestCount + 2)); + + assertThat(resultingLabels.size(), equalTo(1)); + assertThat(resultingLabels.get(0).getName(), equalTo(label1)); + + // Removing some labels that are not present does not throw + // This is consistent with earlier behavior and with addLabels() + issue.removeLabels(ghLabel3); + + // Calling removeLabel() on label that is not present will throw + try { + issue.removeLabel(label3); + fail("Expected GHFileNotFoundException"); + } catch (GHFileNotFoundException e) { + assertThat(e.getMessage(), containsString("Label does not exist")); + } + } + + /** + * Sets the assignee. + * + * @throws Exception + * the exception + */ + @Test + // Requires push access to the test repo to pass + public void setAssignee() throws Exception { + GHIssue issue = getRepository().createIssue("setAssignee").body("## test").create(); + GHMyself user = gitHub.getMyself(); + issue.assignTo(user); + + assertThat(getRepository().getIssue(issue.getNumber()).getAssignee(), equalTo(user)); + } + + /** + * Gets the user test. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ + @Test + public void getUserTest() throws IOException { + GHIssue issue = getRepository().createIssue("getUserTest").create(); + GHIssue issueSingle = getRepository().getIssue(issue.getNumber()); + assertThat(issueSingle.getUser().root(), notNullValue()); + + PagedIterable ghIssues = getRepository().listIssues(GHIssueState.OPEN); + for (GHIssue otherIssue : ghIssues) { + assertThat(otherIssue.getUser().root(), notNullValue()); + } + } + + /** + * Gets the repository. + * + * @return the repository + * @throws IOException + * Signals that an I/O exception has occurred. + */ + protected GHRepository getRepository() throws IOException { + return getRepository(gitHub); + } + + private GHRepository getRepository(GitHub gitHub) throws IOException { + return gitHub.getOrganization(GITHUB_API_TEST_ORG).getRepository("GHIssueTest"); + } + +} diff --git a/src/test/java/org/kohsuke/github/GHLicenseTest.java b/src/test/java/org/kohsuke/github/GHLicenseTest.java index 083ac343a9..0ae1730b0f 100644 --- a/src/test/java/org/kohsuke/github/GHLicenseTest.java +++ b/src/test/java/org/kohsuke/github/GHLicenseTest.java @@ -32,13 +32,16 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc /** + * The Class GHLicenseTest. + * * @author Duncan Dickinson */ public class GHLicenseTest extends AbstractGitHubWireMockTest { /** - * Basic test to ensure that the list of licenses from {@link GitHub#listLicenses()} is returned + * Basic test to ensure that the list of licenses from {@link GitHub#listLicenses()} is returned. * * @throws IOException * if test fails @@ -69,7 +72,7 @@ public void listLicensesCheckIndividualLicense() throws IOException { /** * Checks that the request for an individual license using {@link GitHub#getLicense(String)} returns expected values - * (not all properties are checked) + * (not all properties are checked). * * @throws IOException * if test fails @@ -97,7 +100,7 @@ public void getLicense() throws IOException { /** * Accesses the 'kohsuke/github-api' repo using {@link GitHub#getRepository(String)} and checks that the license is - * correct + * correct. * * @throws IOException * if test failss @@ -115,7 +118,7 @@ public void checkRepositoryLicense() throws IOException { } /** - * Accesses the 'atom/atom' repo using {@link GitHub#getRepository(String)} and checks that the license is correct + * Accesses the 'atom/atom' repo using {@link GitHub#getRepository(String)} and checks that the license is correct. * * @throws IOException * if test fails @@ -133,7 +136,8 @@ public void checkRepositoryLicenseAtom() throws IOException { } /** - * Accesses the 'pomes/pomes' repo using {@link GitHub#getRepository(String)} and checks that the license is correct + * Accesses the 'pomes/pomes' repo using {@link GitHub#getRepository(String)} and checks that the license is + * correct. * * @throws IOException * if test fails @@ -152,7 +156,7 @@ public void checkRepositoryLicensePomes() throws IOException { /** * Accesses the 'dedickinson/test-repo' repo using {@link GitHub#getRepository(String)} and checks that *no* license - * is returned as the repo doesn't have one + * is returned as the repo doesn't have one. * * @throws IOException * if test fails @@ -166,7 +170,7 @@ public void checkRepositoryWithoutLicense() throws IOException { /** * Accesses the 'kohsuke/github-api' repo using {@link GitHub#getRepository(String)} and then calls - * {@link GHRepository#getLicense()} and checks that certain properties are correct + * {@link GHRepository#getLicense()} and checks that certain properties are correct. * * @throws IOException * if test fails @@ -188,7 +192,7 @@ public void checkRepositoryFullLicense() throws IOException { /** * Accesses the 'pomes/pomes' repo using {@link GitHub#getRepository(String)} and then calls - * {@link GHRepository#getLicenseContent()} and checks that certain properties are correct + * {@link GHRepository#getLicenseContent()} and checks that certain properties are correct. * * @throws IOException * if test fails diff --git a/src/test/java/org/kohsuke/github/GHMarketplacePlanTest.java b/src/test/java/org/kohsuke/github/GHMarketplacePlanTest.java index 3856f6dddf..90e697ce37 100644 --- a/src/test/java/org/kohsuke/github/GHMarketplacePlanTest.java +++ b/src/test/java/org/kohsuke/github/GHMarketplacePlanTest.java @@ -1,8 +1,10 @@ package org.kohsuke.github; +import org.hamcrest.Matchers; import org.junit.Test; import java.io.IOException; +import java.util.Arrays; import java.util.List; import static org.hamcrest.Matchers.*; @@ -10,13 +12,19 @@ import static org.kohsuke.github.GHMarketplaceAccountType.ORGANIZATION; import static org.kohsuke.github.GHMarketplaceListAccountBuilder.Sort.UPDATED; +// TODO: Auto-generated Javadoc /** - * Tests for the GitHub MarketPlace Plan API methods + * Tests for the GitHub MarketPlace Plan API methods. * * @author Paulo Miguel Almeida */ public class GHMarketplacePlanTest extends AbstractGitHubWireMockTest { + /** + * Gets the git hub builder. + * + * @return the git hub builder + */ protected GitHubBuilder getGitHubBuilder() { return super.getGitHubBuilder() // ensure that only JWT will be used against the tests below @@ -24,22 +32,40 @@ protected GitHubBuilder getGitHubBuilder() { .withJwtToken("bogus"); } + /** + * List marketplace plans. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void listMarketplacePlans() throws IOException { List plans = gitHub.listMarketplacePlans().toList(); assertThat(plans.size(), equalTo(3)); - plans.forEach(this::testMarketplacePlan); + plans.forEach(GHMarketplacePlanTest::testMarketplacePlan); } + /** + * List accounts. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void listAccounts() throws IOException { List plans = gitHub.listMarketplacePlans().toList(); assertThat(plans.size(), equalTo(3)); List marketplaceUsers = plans.get(0).listAccounts().createRequest().toList(); assertThat(marketplaceUsers.size(), equalTo(2)); - marketplaceUsers.forEach(this::testMarketplaceAccount); + marketplaceUsers.forEach(GHMarketplacePlanTest::testMarketplaceAccount); } + /** + * List accounts with direction. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void listAccountsWithDirection() throws IOException { List plans = gitHub.listMarketplacePlans().toList(); @@ -51,11 +77,17 @@ public void listAccountsWithDirection() throws IOException { .createRequest() .toList(); assertThat(marketplaceUsers.size(), equalTo(2)); - marketplaceUsers.forEach(this::testMarketplaceAccount); + marketplaceUsers.forEach(GHMarketplacePlanTest::testMarketplaceAccount); } } + /** + * List accounts with sort and direction. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void listAccountsWithSortAndDirection() throws IOException { List plans = gitHub.listMarketplacePlans().toList(); @@ -68,12 +100,12 @@ public void listAccountsWithSortAndDirection() throws IOException { .createRequest() .toList(); assertThat(marketplaceUsers.size(), equalTo(2)); - marketplaceUsers.forEach(this::testMarketplaceAccount); + marketplaceUsers.forEach(GHMarketplacePlanTest::testMarketplaceAccount); } } - private void testMarketplacePlan(GHMarketplacePlan plan) { + static void testMarketplacePlan(GHMarketplacePlan plan) { // Non-nullable fields assertThat(plan.getUrl(), notNullValue()); assertThat(plan.getAccountsUrl(), notNullValue()); @@ -88,10 +120,10 @@ private void testMarketplacePlan(GHMarketplacePlan plan) { assertThat(plan.getMonthlyPriceInCents(), greaterThanOrEqualTo(0L)); // list - assertThat(plan.getBullets().size(), equalTo(2)); + assertThat(plan.getBullets().size(), Matchers.in(Arrays.asList(2, 3))); } - private void testMarketplaceAccount(GHMarketplaceAccountPlan account) { + static void testMarketplaceAccount(GHMarketplaceAccountPlan account) { // Non-nullable fields assertThat(account.getLogin(), notNullValue()); assertThat(account.getUrl(), notNullValue()); @@ -116,7 +148,7 @@ private void testMarketplaceAccount(GHMarketplaceAccountPlan account) { testMarketplacePendingChange(account.getMarketplacePendingChange()); } - private void testMarketplacePurchase(GHMarketplacePurchase marketplacePurchase) { + static void testMarketplacePurchase(GHMarketplacePurchase marketplacePurchase) { // Non-nullable fields assertThat(marketplacePurchase.getBillingCycle(), notNullValue()); assertThat(marketplacePurchase.getNextBillingDate(), notNullValue()); @@ -135,11 +167,11 @@ private void testMarketplacePurchase(GHMarketplacePurchase marketplacePurchase) if (marketplacePurchase.getPlan().getPriceModel() == GHMarketplacePriceModel.PER_UNIT) assertThat(marketplacePurchase.getUnitCount(), notNullValue()); else - assertThat(marketplacePurchase.getUnitCount(), nullValue()); + assertThat(marketplacePurchase.getUnitCount(), Matchers.anyOf(nullValue(), is(1L))); } - private void testMarketplacePendingChange(GHMarketplacePendingChange marketplacePendingChange) { + static void testMarketplacePendingChange(GHMarketplacePendingChange marketplacePendingChange) { // Non-nullable fields assertThat(marketplacePendingChange.getEffectiveDate(), notNullValue()); testMarketplacePlan(marketplacePendingChange.getPlan()); diff --git a/src/test/java/org/kohsuke/github/GHMilestoneTest.java b/src/test/java/org/kohsuke/github/GHMilestoneTest.java index 448bc7f227..f5da382cc2 100644 --- a/src/test/java/org/kohsuke/github/GHMilestoneTest.java +++ b/src/test/java/org/kohsuke/github/GHMilestoneTest.java @@ -10,11 +10,20 @@ import static org.hamcrest.Matchers.*; import static org.hamcrest.Matchers.containsString; +// TODO: Auto-generated Javadoc /** + * The Class GHMilestoneTest. + * * @author Martin van Zijl */ public class GHMilestoneTest extends AbstractGitHubWireMockTest { + /** + * Clean up. + * + * @throws Exception + * the exception + */ @Before @After public void cleanUp() throws Exception { @@ -31,6 +40,12 @@ public void cleanUp() throws Exception { } } + /** + * Test update milestone. + * + * @throws Exception + * the exception + */ @Test public void testUpdateMilestone() throws Exception { GHRepository repo = getRepository(); @@ -60,6 +75,12 @@ public void testUpdateMilestone() throws Exception { assertThat(milestone.getOpenIssues(), equalTo(0)); } + /** + * Test unset milestone. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testUnsetMilestone() throws IOException { GHRepository repo = getRepository(); @@ -77,6 +98,12 @@ public void testUnsetMilestone() throws IOException { assertThat(issue.getMilestone(), nullValue()); } + /** + * Test unset milestone from pull request. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testUnsetMilestoneFromPullRequest() throws IOException { GHRepository repo = getRepository(); @@ -95,6 +122,13 @@ public void testUnsetMilestoneFromPullRequest() throws IOException { assertThat(p.getMilestone(), nullValue()); } + /** + * Gets the repository. + * + * @return the repository + * @throws IOException + * Signals that an I/O exception has occurred. + */ protected GHRepository getRepository() throws IOException { return getRepository(gitHub); } diff --git a/src/test/java/org/kohsuke/github/GHObjectTest.java b/src/test/java/org/kohsuke/github/GHObjectTest.java index f6cda3a1da..66388e55ee 100644 --- a/src/test/java/org/kohsuke/github/GHObjectTest.java +++ b/src/test/java/org/kohsuke/github/GHObjectTest.java @@ -4,14 +4,31 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc +/** + * The Class GHObjectTest. + */ public class GHObjectTest extends org.kohsuke.github.AbstractGitHubWireMockTest { + /** + * Test to string. + * + * @throws Exception + * the exception + */ @Test public void test_toString() throws Exception { GHOrganization org = gitHub.getOrganization(GITHUB_API_TEST_ORG); - assertThat(org.toString(), - containsString( - "login=hub4j-test-org,location=,blog=,email=,bio=,name=,company=,type=Organization,followers=0,following=0,hireable=false")); + assertThat(org.toString(), containsString("login=hub4j-test-org")); + assertThat(org.toString(), containsString("location=")); + assertThat(org.toString(), containsString("blog=")); + assertThat(org.toString(), containsString("email=")); + assertThat(org.toString(), containsString("bio=")); + assertThat(org.toString(), containsString("name=")); + assertThat(org.toString(), containsString("company=")); + assertThat(org.toString(), containsString("type=Organization")); + assertThat(org.toString(), containsString("followers=0")); + assertThat(org.toString(), containsString("hireable=false")); // getResponseHeaderFields is deprecated but we should not break it. assertThat(org.getResponseHeaderFields(), notNullValue()); diff --git a/src/test/java/org/kohsuke/github/GHOrganizationTest.java b/src/test/java/org/kohsuke/github/GHOrganizationTest.java index e7c48d714f..6edd1e172e 100644 --- a/src/test/java/org/kohsuke/github/GHOrganizationTest.java +++ b/src/test/java/org/kohsuke/github/GHOrganizationTest.java @@ -4,6 +4,7 @@ import org.junit.Before; import org.junit.Test; import org.kohsuke.github.GHOrganization.Permission; +import org.kohsuke.github.GHOrganization.RepositoryRole; import java.io.IOException; import java.util.List; @@ -11,12 +12,27 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc +/** + * The Class GHOrganizationTest. + */ public class GHOrganizationTest extends AbstractGitHubWireMockTest { + /** The Constant GITHUB_API_TEST. */ public static final String GITHUB_API_TEST = "github-api-test"; + + /** The Constant GITHUB_API_TEMPLATE_TEST. */ public static final String GITHUB_API_TEMPLATE_TEST = "github-api-template-test"; + + /** The Constant TEAM_NAME_CREATE. */ public static final String TEAM_NAME_CREATE = "create-team-test"; + /** + * Clean up team. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Before @After public void cleanUpTeam() throws IOException { @@ -33,6 +49,12 @@ public void cleanUpTeam() throws IOException { getNonRecordingGitHub().getOrganization(GITHUB_API_TEST_ORG).enableOrganizationProjects(true); } + /** + * Test create repository. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testCreateRepository() throws IOException { cleanupRepository(GITHUB_API_TEST_ORG + '/' + GITHUB_API_TEST); @@ -47,6 +69,12 @@ public void testCreateRepository() throws IOException { assertThat(repository, notNullValue()); } + /** + * Test create repository with auto initialization. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testCreateRepositoryWithAutoInitialization() throws IOException { cleanupRepository(GITHUB_API_TEST_ORG + '/' + GITHUB_API_TEST); @@ -62,6 +90,12 @@ public void testCreateRepositoryWithAutoInitialization() throws IOException { assertThat(repository.getReadme(), notNullValue()); } + /** + * Test create repository with parameter is template. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testCreateRepositoryWithParameterIsTemplate() throws IOException { cleanupRepository(GITHUB_API_TEST_ORG + '/' + GITHUB_API_TEMPLATE_TEST); @@ -99,6 +133,12 @@ public void testCreateRepositoryWithParameterIsTemplate() throws IOException { } + /** + * Test create repository with template. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testCreateRepositoryWithTemplate() throws IOException { cleanupRepository(GITHUB_API_TEST_ORG + '/' + GITHUB_API_TEST); @@ -114,6 +154,12 @@ public void testCreateRepositoryWithTemplate() throws IOException { } + /** + * Test invite user. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testInviteUser() throws IOException { GHOrganization org = gitHub.getOrganization(GITHUB_API_TEST_ORG); @@ -135,6 +181,12 @@ public void testInviteUser() throws IOException { // assertTrue(org.hasMember(user)); } + /** + * Test list members with filter. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testListMembersWithFilter() throws IOException { GHOrganization org = gitHub.getOrganization(GITHUB_API_TEST_ORG); @@ -159,6 +211,12 @@ public void testListMembersWithFilter() throws IOException { "timja")); } + /** + * Test list members with role. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testListMembersWithRole() throws IOException { GHOrganization org = gitHub.getOrganization(GITHUB_API_TEST_ORG); @@ -183,6 +241,71 @@ public void testListMembersWithRole() throws IOException { "timja")); } + /** + * Test list outside collaborators. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ + @Test + public void testListOutsideCollaborators() throws IOException { + GHOrganization org = gitHub.getOrganization(GITHUB_API_TEST_ORG); + + List admins = org.listOutsideCollaborators().toList(); + + assertThat(admins, notNullValue()); + // In case more are added in the future + assertThat(admins.size(), greaterThanOrEqualTo(12)); + assertThat(admins.stream().map(GHUser::getLogin).collect(Collectors.toList()), + hasItems("alexanderrtaylor", + "asthinasthi", + "bitwiseman", + "farmdawgnation", + "halkeye", + "jberglund-BSFT", + "kohsuke", + "kohsuke2", + "martinvanzijl", + "PauloMigAlmeida", + "Sage-Pierce", + "timja")); + } + /** + * Test list outside collaborators with filter. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ + @Test + public void testListOutsideCollaboratorsWithFilter() throws IOException { + GHOrganization org = gitHub.getOrganization(GITHUB_API_TEST_ORG); + + List admins = org.listOutsideCollaboratorsWithFilter("all").toList(); + + assertThat(admins, notNullValue()); + // In case more are added in the future + assertThat(admins.size(), greaterThanOrEqualTo(12)); + assertThat(admins.stream().map(GHUser::getLogin).collect(Collectors.toList()), + hasItems("alexanderrtaylor", + "asthinasthi", + "bitwiseman", + "farmdawgnation", + "halkeye", + "jberglund-BSFT", + "kohsuke", + "kohsuke2", + "martinvanzijl", + "PauloMigAlmeida", + "Sage-Pierce", + "timja")); + } + + /** + * Test create team with repo access. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testCreateTeamWithRepoAccess() throws IOException { String REPO_NAME = "github-api"; @@ -196,6 +319,99 @@ public void testCreateTeamWithRepoAccess() throws IOException { assertThat(team.getPermission(), equalTo(Permission.PUSH.toString().toLowerCase())); } + /** + * Test create team with null perm. + * + * @throws Exception + * the exception + */ + @Test + public void testCreateTeamWithNullPerm() throws Exception { + String REPO_NAME = "github-api"; + + GHOrganization org = gitHub.getOrganization(GITHUB_API_TEST_ORG); + GHRepository repo = org.getRepository(REPO_NAME); + + // Create team with access to repository. Check access was granted. + GHTeam team = org.createTeam(TEAM_NAME_CREATE).create(); + + team.add(repo); + + assertThat( + repo.getTeams() + .stream() + .filter(t -> TEAM_NAME_CREATE.equals(t.getName())) + .findFirst() + .get() + .getPermission(), + equalTo(Permission.PULL.toString().toLowerCase())); + } + + /** + * Test create team with repo perm. + * + * @throws Exception + * the exception + */ + @Test + public void testCreateTeamWithRepoPerm() throws Exception { + String REPO_NAME = "github-api"; + + GHOrganization org = gitHub.getOrganization(GITHUB_API_TEST_ORG); + GHRepository repo = org.getRepository(REPO_NAME); + + // Create team with access to repository. Check access was granted. + GHTeam team = org.createTeam(TEAM_NAME_CREATE).create(); + + team.add(repo, GHOrganization.Permission.PUSH); + + assertThat( + repo.getTeams() + .stream() + .filter(t -> TEAM_NAME_CREATE.equals(t.getName())) + .findFirst() + .get() + .getPermission(), + equalTo(Permission.PUSH.toString().toLowerCase())); + + } + + /** + * Test create team with repo role. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ + @Test + public void testCreateTeamWithRepoRole() throws IOException { + String REPO_NAME = "github-api"; + + GHOrganization org = gitHub.getOrganization(GITHUB_API_TEST_ORG); + GHRepository repo = org.getRepository(REPO_NAME); + + // Create team with access to repository. Check access was granted. + GHTeam team = org.createTeam(TEAM_NAME_CREATE).create(); + + RepositoryRole role = RepositoryRole.from(GHOrganization.Permission.TRIAGE); + team.add(repo, role); + + // 'getPermission' does not return triage even though the UI shows that value + // assertThat( + // repo.getTeams() + // .stream() + // .filter(t -> TEAM_NAME_CREATE.equals(t.getName())) + // .findFirst() + // .get() + // .getPermission(), + // equalTo(role.toString())); + } + + /** + * Test create team. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testCreateTeam() throws IOException { String REPO_NAME = "github-api"; @@ -210,6 +426,12 @@ public void testCreateTeam() throws IOException { assertThat(team.getPermission(), equalTo(DEFAULT_PERMISSION)); } + /** + * Test create visible team. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testCreateVisibleTeam() throws IOException { GHOrganization org = gitHub.getOrganization(GITHUB_API_TEST_ORG); @@ -218,6 +440,12 @@ public void testCreateVisibleTeam() throws IOException { assertThat(team.getPrivacy(), equalTo(GHTeam.Privacy.CLOSED)); } + /** + * Test create all args team. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testCreateAllArgsTeam() throws IOException { String REPO_NAME = "github-api"; @@ -234,6 +462,12 @@ public void testCreateAllArgsTeam() throws IOException { assertThat(team.getPrivacy(), equalTo(GHTeam.Privacy.CLOSED)); } + /** + * Test are organization projects enabled. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testAreOrganizationProjectsEnabled() throws IOException { // Arrange @@ -246,6 +480,12 @@ public void testAreOrganizationProjectsEnabled() throws IOException { assertThat(result, is(true)); } + /** + * Test enable organization projects. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testEnableOrganizationProjects() throws IOException { // Arrange diff --git a/src/test/java/org/kohsuke/github/GHPersonTest.java b/src/test/java/org/kohsuke/github/GHPersonTest.java index 2546515a1c..efadce263a 100644 --- a/src/test/java/org/kohsuke/github/GHPersonTest.java +++ b/src/test/java/org/kohsuke/github/GHPersonTest.java @@ -7,10 +7,20 @@ import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.notNullValue; +// TODO: Auto-generated Javadoc /** + * The Class GHPersonTest. + * * @author Martin van Zijl */ public class GHPersonTest extends AbstractGitHubWireMockTest { + + /** + * Test fields for organization. + * + * @throws Exception + * the exception + */ @Test public void testFieldsForOrganization() throws Exception { GHRepository repo = getRepository(); @@ -19,6 +29,12 @@ public void testFieldsForOrganization() throws Exception { assertThat(owner.isSiteAdmin(), notNullValue()); } + /** + * Test fields for user. + * + * @throws Exception + * the exception + */ @Test public void testFieldsForUser() throws Exception { GHUser user = gitHub.getUser("kohsuke2"); @@ -26,6 +42,13 @@ public void testFieldsForUser() throws Exception { assertThat(user.isSiteAdmin(), notNullValue()); } + /** + * Gets the repository. + * + * @return the repository + * @throws IOException + * Signals that an I/O exception has occurred. + */ protected GHRepository getRepository() throws IOException { return getRepository(gitHub); } diff --git a/src/test/java/org/kohsuke/github/GHProjectCardTest.java b/src/test/java/org/kohsuke/github/GHProjectCardTest.java index c43a335d01..7370ac9de5 100644 --- a/src/test/java/org/kohsuke/github/GHProjectCardTest.java +++ b/src/test/java/org/kohsuke/github/GHProjectCardTest.java @@ -9,7 +9,10 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc /** + * The Class GHProjectCardTest. + * * @author Gunnar Skjold */ public class GHProjectCardTest extends AbstractGitHubWireMockTest { @@ -18,6 +21,12 @@ public class GHProjectCardTest extends AbstractGitHubWireMockTest { private GHProjectColumn column; private GHProjectCard card; + /** + * Sets the up. + * + * @throws Exception + * the exception + */ @Before public void setUp() throws Exception { org = gitHub.getOrganization(GITHUB_API_TEST_ORG); @@ -26,12 +35,21 @@ public void setUp() throws Exception { card = column.createCard("This is a card"); } + /** + * Test created card. + */ @Test public void testCreatedCard() { assertThat(card.getNote(), equalTo("This is a card")); assertThat(card.isArchived(), is(false)); } + /** + * Test edit card note. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testEditCardNote() throws IOException { card.setNote("New note"); @@ -40,6 +58,12 @@ public void testEditCardNote() throws IOException { assertThat(card.isArchived(), is(false)); } + /** + * Test archive card. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testArchiveCard() throws IOException { card.setArchived(true); @@ -48,6 +72,12 @@ public void testArchiveCard() throws IOException { assertThat(card.isArchived(), is(true)); } + /** + * Test create card from issue. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testCreateCardFromIssue() throws IOException { GHRepository repo = org.createRepository("repo-for-project-card").create(); @@ -62,6 +92,12 @@ public void testCreateCardFromIssue() throws IOException { } } + /** + * Test create card from PR. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testCreateCardFromPR() throws IOException { GHRepository repo = org.createRepository("repo-for-project-card").autoInit(true).create(); @@ -88,6 +124,12 @@ public void testCreateCardFromPR() throws IOException { } } + /** + * Test delete card. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testDeleteCard() throws IOException { card.delete(); @@ -99,6 +141,12 @@ public void testDeleteCard() throws IOException { } } + /** + * After. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @After public void after() throws IOException { if (mockGitHub.isUseProxy()) { diff --git a/src/test/java/org/kohsuke/github/GHProjectColumnTest.java b/src/test/java/org/kohsuke/github/GHProjectColumnTest.java index 3a377d8e47..afbdaf5bbd 100644 --- a/src/test/java/org/kohsuke/github/GHProjectColumnTest.java +++ b/src/test/java/org/kohsuke/github/GHProjectColumnTest.java @@ -10,24 +10,42 @@ import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.nullValue; +// TODO: Auto-generated Javadoc /** + * The Class GHProjectColumnTest. + * * @author Gunnar Skjold */ public class GHProjectColumnTest extends AbstractGitHubWireMockTest { private GHProject project; private GHProjectColumn column; + /** + * Sets the up. + * + * @throws Exception + * the exception + */ @Before public void setUp() throws Exception { project = gitHub.getOrganization(GITHUB_API_TEST_ORG).createProject("test-project", "This is a test project"); column = project.createColumn("column-one"); } + /** + * Test created column. + */ @Test public void testCreatedColumn() { assertThat(column.getName(), equalTo("column-one")); } + /** + * Test edit column name. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testEditColumnName() throws IOException { column.setName("new-name"); @@ -35,6 +53,12 @@ public void testEditColumnName() throws IOException { assertThat(column.getName(), equalTo("new-name")); } + /** + * Test delete column. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testDeleteColumn() throws IOException { column.delete(); @@ -46,6 +70,12 @@ public void testDeleteColumn() throws IOException { } } + /** + * After. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @After public void after() throws IOException { if (mockGitHub.isUseProxy()) { diff --git a/src/test/java/org/kohsuke/github/GHProjectTest.java b/src/test/java/org/kohsuke/github/GHProjectTest.java index 976ef2d393..cf2707e205 100644 --- a/src/test/java/org/kohsuke/github/GHProjectTest.java +++ b/src/test/java/org/kohsuke/github/GHProjectTest.java @@ -9,17 +9,32 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc /** + * The Class GHProjectTest. + * * @author Gunnar Skjold */ public class GHProjectTest extends AbstractGitHubWireMockTest { private GHProject project; + /** + * Sets the up. + * + * @throws Exception + * the exception + */ @Before public void setUp() throws Exception { project = gitHub.getOrganization(GITHUB_API_TEST_ORG).createProject("test-project", "This is a test project"); } + /** + * Test created project. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testCreatedProject() throws IOException { assertThat(project, notNullValue()); @@ -30,6 +45,12 @@ public void testCreatedProject() throws IOException { assertThat(project.getUrl().toString(), containsString("/projects/")); } + /** + * Test edit project name. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testEditProjectName() throws IOException { project.setName("new-name"); @@ -39,6 +60,12 @@ public void testEditProjectName() throws IOException { assertThat(project.getState(), equalTo(GHProject.ProjectState.OPEN)); } + /** + * Test edit project body. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testEditProjectBody() throws IOException { project.setBody("New body"); @@ -48,6 +75,12 @@ public void testEditProjectBody() throws IOException { assertThat(project.getState(), equalTo(GHProject.ProjectState.OPEN)); } + /** + * Test edit project state. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testEditProjectState() throws IOException { project.setState(GHProject.ProjectState.CLOSED); @@ -57,6 +90,12 @@ public void testEditProjectState() throws IOException { assertThat(project.getState(), equalTo(GHProject.ProjectState.CLOSED)); } + /** + * Test delete project. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testDeleteProject() throws IOException { project.delete(); @@ -68,6 +107,12 @@ public void testDeleteProject() throws IOException { } } + /** + * After. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @After public void after() throws IOException { if (mockGitHub.isUseProxy()) { diff --git a/src/test/java/org/kohsuke/github/GHPublicKeyTest.java b/src/test/java/org/kohsuke/github/GHPublicKeyTest.java new file mode 100644 index 0000000000..4bd505b168 --- /dev/null +++ b/src/test/java/org/kohsuke/github/GHPublicKeyTest.java @@ -0,0 +1,33 @@ +package org.kohsuke.github; + +import org.junit.Test; + +/** + * The Class GHPublicKeyTest. + * + * @author Jonas van Vliet + */ +public class GHPublicKeyTest extends AbstractGitHubWireMockTest { + + private static final String TMP_KEY_NAME = "Temporary user key"; + private static final String WIREMOCK_SSH_PUBLIC_KEY = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDepW2/BSVFM2AfuGGsvi+vjQzC0EBD3R+/7PNEvP0/nvTWxiC/tthfvvCJR6TKrsprCir5tiJFm73gX+K18W0RKYpkyg8H6d1eZu3q/JOiGvoDPeN8Oe9hOGeeexw1WOiz7ESPHzZYXI981evzHAzxxn8zibr2EryopVNsXyoenw=="; + + /** + * Test adding a public key to the user + * + * @throws Exception + * the exception + */ + @Test + public void testAddPublicKey() throws Exception { + GHKey newPublicKey = null; + try { + GHMyself me = gitHub.getMyself(); + newPublicKey = me.addPublicKey(TMP_KEY_NAME, WIREMOCK_SSH_PUBLIC_KEY); + } finally { + if (newPublicKey != null) { + newPublicKey.delete(); + } + } + } +} diff --git a/src/test/java/org/kohsuke/github/GHPullRequestMockTest.java b/src/test/java/org/kohsuke/github/GHPullRequestMockTest.java index cbb84c4d41..852a442cca 100644 --- a/src/test/java/org/kohsuke/github/GHPullRequestMockTest.java +++ b/src/test/java/org/kohsuke/github/GHPullRequestMockTest.java @@ -8,8 +8,18 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; +// TODO: Auto-generated Javadoc +/** + * The Class GHPullRequestMockTest. + */ public class GHPullRequestMockTest { + /** + * Should mock GH pull request. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void shouldMockGHPullRequest() throws IOException { GHPullRequest pullRequest = mock(GHPullRequest.class); diff --git a/src/test/java/org/kohsuke/github/GHPullRequestTest.java b/src/test/java/org/kohsuke/github/GHPullRequestTest.java index 165e50ba0b..98a50a8d09 100644 --- a/src/test/java/org/kohsuke/github/GHPullRequestTest.java +++ b/src/test/java/org/kohsuke/github/GHPullRequestTest.java @@ -6,18 +6,29 @@ import org.kohsuke.github.GHPullRequest.AutoMerge; import java.io.IOException; +import java.time.temporal.ChronoUnit; import java.util.Collection; import java.util.Collections; +import java.util.Date; import java.util.List; import java.util.Optional; import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc /** + * The Class GHPullRequestTest. + * * @author Kohsuke Kawaguchi */ public class GHPullRequestTest extends AbstractGitHubWireMockTest { + /** + * Clean up. + * + * @throws Exception + * the exception + */ @Before @After public void cleanUp() throws Exception { @@ -31,6 +42,12 @@ public void cleanUp() throws Exception { } } + /** + * Creates the pull request. + * + * @throws Exception + * the exception + */ @Test public void createPullRequest() throws Exception { String name = "createPullRequest"; @@ -49,6 +66,12 @@ public void createPullRequest() throws Exception { assertThat(autoMerge.getEnabledBy(), is(notNullValue())); } + /** + * Creates the draft pull request. + * + * @throws Exception + * the exception + */ @Test public void createDraftPullRequest() throws Exception { String name = "createDraftPullRequest"; @@ -72,13 +95,95 @@ public void createDraftPullRequest() throws Exception { assertThat(p.isDraft(), is(true)); } + /** + * Pull request comment. + * + * @throws Exception + * the exception + */ @Test - public void createPullRequestComment() throws Exception { + public void pullRequestComment() throws Exception { String name = "createPullRequestComment"; GHPullRequest p = getRepository().createPullRequest(name, "test/stable", "main", "## test"); - p.comment("Some comment"); + + List comments; + comments = p.listComments().toList(); + assertThat(comments, hasSize(0)); + comments = p.queryComments().list().toList(); + assertThat(comments, hasSize(0)); + + GHIssueComment firstComment = p.comment("First comment"); + Date firstCommentCreatedAt = firstComment.getCreatedAt(); + Date firstCommentCreatedAtPlus1Second = Date + .from(firstComment.getCreatedAt().toInstant().plus(1, ChronoUnit.SECONDS)); + + comments = p.listComments().toList(); + assertThat(comments, hasSize(1)); + assertThat(comments, contains(hasProperty("body", equalTo("First comment")))); + comments = p.queryComments().list().toList(); + assertThat(comments, hasSize(1)); + assertThat(comments, contains(hasProperty("body", equalTo("First comment")))); + + // Test "since" + comments = p.queryComments().since(firstCommentCreatedAt).list().toList(); + assertThat(comments, hasSize(1)); + assertThat(comments, contains(hasProperty("body", equalTo("First comment")))); + comments = p.queryComments().since(firstCommentCreatedAtPlus1Second).list().toList(); + assertThat(comments, hasSize(0)); + + // "since" is only precise up to the second, + // so if we want to differentiate comments, we need to be completely sure they're created + // at least 1 second from each other. + // Waiting 2 seconds to avoid edge cases. + Thread.sleep(2000); + + GHIssueComment secondComment = p.comment("Second comment"); + Date secondCommentCreatedAt = secondComment.getCreatedAt(); + Date secondCommentCreatedAtPlus1Second = Date + .from(secondComment.getCreatedAt().toInstant().plus(1, ChronoUnit.SECONDS)); + assertThat( + "There's an error in the setup of this test; please fix it." + + " The second comment should be created at least one second after the first one.", + firstCommentCreatedAtPlus1Second.getTime() <= secondCommentCreatedAt.getTime()); + + comments = p.listComments().toList(); + assertThat(comments, hasSize(2)); + assertThat(comments, + contains(hasProperty("body", equalTo("First comment")), + hasProperty("body", equalTo("Second comment")))); + comments = p.queryComments().list().toList(); + assertThat(comments, hasSize(2)); + assertThat(comments, + contains(hasProperty("body", equalTo("First comment")), + hasProperty("body", equalTo("Second comment")))); + + // Test "since" + comments = p.queryComments().since(firstCommentCreatedAt).list().toList(); + assertThat(comments, hasSize(2)); + assertThat(comments, + contains(hasProperty("body", equalTo("First comment")), + hasProperty("body", equalTo("Second comment")))); + comments = p.queryComments().since(firstCommentCreatedAtPlus1Second).list().toList(); + assertThat(comments, hasSize(1)); + assertThat(comments, contains(hasProperty("body", equalTo("Second comment")))); + comments = p.queryComments().since(secondCommentCreatedAt).list().toList(); + assertThat(comments, hasSize(1)); + assertThat(comments, contains(hasProperty("body", equalTo("Second comment")))); + comments = p.queryComments().since(secondCommentCreatedAtPlus1Second).list().toList(); + assertThat(comments, hasSize(0)); + + // Test "since" with timestamp instead of Date + comments = p.queryComments().since(secondCommentCreatedAt.getTime()).list().toList(); + assertThat(comments, hasSize(1)); + assertThat(comments, contains(hasProperty("body", equalTo("Second comment")))); } + /** + * Close pull request. + * + * @throws Exception + * the exception + */ @Test public void closePullRequest() throws Exception { String name = "closePullRequest"; @@ -90,6 +195,12 @@ public void closePullRequest() throws Exception { assertThat(getRepository().getPullRequest(p.getNumber()).getState(), equalTo(GHIssueState.CLOSED)); } + /** + * Pull request reviews. + * + * @throws Exception + * the exception + */ @Test public void pullRequestReviews() throws Exception { String name = "testPullRequestReviews"; @@ -116,6 +227,12 @@ public void pullRequestReviews() throws Exception { draftReview.delete(); } + /** + * Pull request review comments. + * + * @throws Exception + * the exception + */ @Test public void pullRequestReviewComments() throws Exception { String name = "pullRequestReviewComments"; @@ -131,20 +248,64 @@ public void pullRequestReviewComments() throws Exception { assertThat(comment.getInReplyToId(), equalTo(-1L)); assertThat(comment.getPath(), equalTo("README.md")); assertThat(comment.getPosition(), equalTo(1)); + assertThat(comment.getDiffHunk(), equalTo("@@ -1,3 +1,4 @@\n-Java API for GitHub")); + assertThat(comment.getCommitId(), equalTo("07374fe73aff1c2024a8d4114b32406c7a8e89b7")); + assertThat(comment.getOriginalCommitId(), equalTo("07374fe73aff1c2024a8d4114b32406c7a8e89b7")); + assertThat(comment.getAuthorAssociation(), equalTo(GHCommentAuthorAssociation.MEMBER)); assertThat(comment.getUser(), notNullValue()); + assertThat(comment.getStartLine(), equalTo(-1)); + assertThat(comment.getOriginalStartLine(), equalTo(-1)); + assertThat(comment.getStartSide(), equalTo(GHPullRequestReviewComment.Side.UNKNOWN)); + assertThat(comment.getLine(), equalTo(1)); + assertThat(comment.getOriginalLine(), equalTo(1)); + assertThat(comment.getSide(), equalTo(GHPullRequestReviewComment.Side.LEFT)); + assertThat(comment.getPullRequestUrl(), notNullValue()); + assertThat(comment.getPullRequestUrl().toString(), containsString("hub4j-test-org/github-api/pulls/")); + assertThat(comment.getBodyHtml(), nullValue()); + assertThat(comment.getBodyText(), nullValue()); // Assert htmlUrl is not null assertThat(comment.getHtmlUrl(), notNullValue()); assertThat(comment.getHtmlUrl().toString(), containsString("hub4j-test-org/github-api/pull/" + p.getNumber())); + comment.createReaction(ReactionContent.EYES); + GHReaction toBeRemoved = comment.createReaction(ReactionContent.CONFUSED); + comment.createReaction(ReactionContent.ROCKET); + comment.createReaction(ReactionContent.HOORAY); + comment.createReaction(ReactionContent.HEART); + comment.createReaction(ReactionContent.MINUS_ONE); + comment.createReaction(ReactionContent.PLUS_ONE); + comment.createReaction(ReactionContent.LAUGH); + GHPullRequestReviewCommentReactions commentReactions = p.listReviewComments() + .toList() + .get(0) + .getReactions(); + assertThat(commentReactions.getUrl().toString(), equalTo(comment.getUrl().toString().concat("/reactions"))); + assertThat(commentReactions.getTotalCount(), equalTo(8)); + assertThat(commentReactions.getPlusOne(), equalTo(1)); + assertThat(commentReactions.getMinusOne(), equalTo(1)); + assertThat(commentReactions.getLaugh(), equalTo(1)); + assertThat(commentReactions.getHooray(), equalTo(1)); + assertThat(commentReactions.getConfused(), equalTo(1)); + assertThat(commentReactions.getHeart(), equalTo(1)); + assertThat(commentReactions.getRocket(), equalTo(1)); + assertThat(commentReactions.getEyes(), equalTo(1)); + + comment.deleteReaction(toBeRemoved); + List reactions = comment.listReactions().toList(); - assertThat(reactions, is(empty())); + assertThat(reactions.size(), equalTo(7)); GHReaction reaction = comment.createReaction(ReactionContent.CONFUSED); assertThat(reaction.getContent(), equalTo(ReactionContent.CONFUSED)); reactions = comment.listReactions().toList(); - assertThat(reactions.size(), equalTo(1)); + assertThat(reactions.size(), equalTo(8)); + + comment.deleteReaction(reaction); + + reactions = comment.listReactions().toList(); + assertThat(reactions.size(), equalTo(7)); GHPullRequestReviewComment reply = comment.reply("This is a reply."); assertThat(reply.getInReplyToId(), equalTo(comment.getId())); @@ -168,6 +329,12 @@ public void pullRequestReviewComments() throws Exception { } } + /** + * Test pull request review requests. + * + * @throws Exception + * the exception + */ @Test public void testPullRequestReviewRequests() throws Exception { String name = "testPullRequestReviewRequests"; @@ -181,6 +348,12 @@ public void testPullRequestReviewRequests() throws Exception { assertThat(p.getRequestedReviewers(), is(not(empty()))); } + /** + * Test pull request team review requests. + * + * @throws Exception + * the exception + */ @Test public void testPullRequestTeamReviewRequests() throws Exception { String name = "testPullRequestTeamReviewRequests"; @@ -210,6 +383,12 @@ public void testPullRequestTeamReviewRequests() throws Exception { equalTo(2)); } + /** + * Merge commit SHA. + * + * @throws Exception + * the exception + */ @Test public void mergeCommitSHA() throws Exception { String name = "mergeCommitSHA"; @@ -243,6 +422,12 @@ public void mergeCommitSHA() throws Exception { fail(); } + /** + * Sets the base branch. + * + * @throws Exception + * the exception + */ @Test public void setBaseBranch() throws Exception { String prName = "testSetBaseBranch"; @@ -262,6 +447,12 @@ public void setBaseBranch() throws Exception { equalTo(newBaseBranch)); } + /** + * Sets the base branch non existing. + * + * @throws Exception + * the exception + */ @Test public void setBaseBranchNonExisting() throws Exception { String prName = "testSetBaseBranchNonExisting"; @@ -284,6 +475,12 @@ public void setBaseBranchNonExisting() throws Exception { pullRequest.close(); } + /** + * Update outdated branches unexpected head. + * + * @throws Exception + * the exception + */ @Test public void updateOutdatedBranchesUnexpectedHead() throws Exception { String prName = "testUpdateOutdatedBranches"; @@ -316,6 +513,12 @@ public void updateOutdatedBranchesUnexpectedHead() throws Exception { outdatedPullRequest.close(); } + /** + * Update outdated branches. + * + * @throws Exception + * the exception + */ @Test public void updateOutdatedBranches() throws Exception { String prName = "testUpdateOutdatedBranches"; @@ -343,6 +546,12 @@ public void updateOutdatedBranches() throws Exception { outdatedPullRequest.close(); } + /** + * Squash merge. + * + * @throws Exception + * the exception + */ @Test public void squashMerge() throws Exception { String name = "squashMerge"; @@ -357,6 +566,12 @@ public void squashMerge() throws Exception { p.merge("squash merge", null, GHPullRequest.MergeMethod.SQUASH); } + /** + * Update content squash merge. + * + * @throws Exception + * the exception + */ @Test public void updateContentSquashMerge() throws Exception { String name = "updateContentSquashMerge"; @@ -380,6 +595,12 @@ public void updateContentSquashMerge() throws Exception { p.merge("squash merge", null, GHPullRequest.MergeMethod.SQUASH); } + /** + * Query pull requests qualified head. + * + * @throws Exception + * the exception + */ @Test public void queryPullRequestsQualifiedHead() throws Exception { GHRepository repo = getRepository(); @@ -399,6 +620,12 @@ public void queryPullRequestsQualifiedHead() throws Exception { assertThat(prs.get(0).getHead().getRef(), equalTo("test/stable")); } + /** + * Query pull requests unqualified head. + * + * @throws Exception + * the exception + */ @Test public void queryPullRequestsUnqualifiedHead() throws Exception { GHRepository repo = getRepository(); @@ -418,6 +645,12 @@ public void queryPullRequestsUnqualifiedHead() throws Exception { assertThat(prs.get(0).getHead().getRef(), equalTo("test/stable")); } + /** + * Sets the labels. + * + * @throws Exception + * the exception + */ @Test // Requires push access to the test repo to pass public void setLabels() throws Exception { @@ -434,6 +667,12 @@ public void setLabels() throws Exception { assertThat(savedLabel.isDefault(), is(false)); } + /** + * Adds the labels. + * + * @throws Exception + * the exception + */ @Test // Requires push access to the test repo to pass public void addLabels() throws Exception { @@ -463,6 +702,12 @@ public void addLabels() throws Exception { assertThat(resultingLabels.size(), equalTo(3)); } + /** + * Adds the labels concurrency issue. + * + * @throws Exception + * the exception + */ @Test // Requires push access to the test repo to pass public void addLabelsConcurrencyIssue() throws Exception { @@ -484,6 +729,12 @@ public void addLabelsConcurrencyIssue() throws Exception { hasProperty("name", equalTo(addedLabel2)))); } + /** + * Removes the labels. + * + * @throws Exception + * the exception + */ @Test // Requires push access to the test repo to pass public void removeLabels() throws Exception { @@ -518,6 +769,12 @@ public void removeLabels() throws Exception { } } + /** + * Sets the assignee. + * + * @throws Exception + * the exception + */ @Test // Requires push access to the test repo to pass public void setAssignee() throws Exception { @@ -528,6 +785,12 @@ public void setAssignee() throws Exception { assertThat(getRepository().getPullRequest(p.getNumber()).getAssignee(), equalTo(user)); } + /** + * Gets the user test. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void getUserTest() throws IOException { GHPullRequest p = getRepository().createPullRequest("getUserTest", "test/stable", "main", "## test"); @@ -544,6 +807,12 @@ public void getUserTest() throws IOException { } } + /** + * Check non existent reviewer. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void checkNonExistentReviewer() throws IOException { // PR id is based on https://github.com/sahansera/TestRepo/pull/1 @@ -556,6 +825,12 @@ public void checkNonExistentReviewer() throws IOException { assertThat(reviewer, is(nullValue())); } + /** + * Check non existent author. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void checkNonExistentAuthor() throws IOException { // PR id is based on https://github.com/sahansera/TestRepo/pull/2 @@ -565,6 +840,12 @@ public void checkNonExistentAuthor() throws IOException { assertThat(pullRequest.getUser().login, is("ghost")); } + /** + * Check pull request reviewer. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void checkPullRequestReviewer() throws IOException { // PR id is based on https://github.com/sahansera/TestRepo/pull/6 @@ -576,6 +857,13 @@ public void checkPullRequestReviewer() throws IOException { assertThat(reviewer, notNullValue()); } + /** + * Gets the repository. + * + * @return the repository + * @throws IOException + * Signals that an I/O exception has occurred. + */ protected GHRepository getRepository() throws IOException { return getRepository(gitHub); } diff --git a/src/test/java/org/kohsuke/github/GHRateLimitTest.java b/src/test/java/org/kohsuke/github/GHRateLimitTest.java index 4464813552..7d3001b7a4 100644 --- a/src/test/java/org/kohsuke/github/GHRateLimitTest.java +++ b/src/test/java/org/kohsuke/github/GHRateLimitTest.java @@ -15,6 +15,7 @@ import static org.hamcrest.Matchers.*; import static org.hamcrest.core.IsInstanceOf.instanceOf; +// TODO: Auto-generated Javadoc /** * Test showing the behavior of OkHttpGitHubConnector with and without cache. *

    @@ -37,18 +38,35 @@ */ public class GHRateLimitTest extends AbstractGitHubWireMockTest { + /** The rate limit. */ GHRateLimit rateLimit = null; + + /** The previous limit. */ GHRateLimit previousLimit = null; + /** + * Instantiates a new GH rate limit test. + */ public GHRateLimitTest() { useDefaultGitHub = false; } + /** + * Gets the wire mock options. + * + * @return the wire mock options + */ @Override protected WireMockConfiguration getWireMockOptions() { return super.getWireMockOptions().extensions(templating.newResponseTransformer()); } + /** + * Test git hub rate limit. + * + * @throws Exception + * the exception + */ @Test public void testGitHubRateLimit() throws Exception { // Customized response that templates the date to keep things working @@ -234,6 +252,12 @@ private void verifyRateLimitValues(GHRateLimit previousLimit, int remaining, boo assertThat(rateLimit.reset.getTime(), equalTo(rateLimit.getResetEpochSeconds())); } + /** + * Test git hub enterprise does not have rate limit. + * + * @throws Exception + * the exception + */ @Test public void testGitHubEnterpriseDoesNotHaveRateLimit() throws Exception { // Customized response that results in file not found the same as GitHub Enterprise @@ -414,6 +438,12 @@ public void testGitHubEnterpriseDoesNotHaveRateLimit() throws Exception { } + /** + * Test git hub rate limit with bad data. + * + * @throws Exception + * the exception + */ @Test public void testGitHubRateLimitWithBadData() throws Exception { snapshotNotAllowed(); @@ -442,12 +472,24 @@ public void testGitHubRateLimitWithBadData() throws Exception { } + /** + * Test git hub rate limit expiration server five minutes ahead. + * + * @throws Exception + * the exception + */ // These tests should behave the same, showing server time adjustment working @Test public void testGitHubRateLimitExpirationServerFiveMinutesAhead() throws Exception { executeExpirationTest(); } + /** + * Test git hub rate limit expiration server five minutes behind. + * + * @throws Exception + * the exception + */ @Test public void testGitHubRateLimitExpirationServerFiveMinutesBehind() throws Exception { executeExpirationTest(); diff --git a/src/test/java/org/kohsuke/github/GHReleaseTest.java b/src/test/java/org/kohsuke/github/GHReleaseTest.java index 535d2acc08..548c839305 100644 --- a/src/test/java/org/kohsuke/github/GHReleaseTest.java +++ b/src/test/java/org/kohsuke/github/GHReleaseTest.java @@ -1,12 +1,23 @@ package org.kohsuke.github; import org.junit.Test; +import org.kohsuke.github.GHReleaseBuilder.MakeLatest; import static org.hamcrest.Matchers.*; import static org.junit.Assert.assertThrows; +// TODO: Auto-generated Javadoc +/** + * The Class GHReleaseTest. + */ public class GHReleaseTest extends AbstractGitHubWireMockTest { + /** + * Test create simple release. + * + * @throws Exception + * the exception + */ @Test public void testCreateSimpleRelease() throws Exception { GHRepository repo = gitHub.getRepository("hub4j-test-org/testCreateRelease"); @@ -26,6 +37,12 @@ public void testCreateSimpleRelease() throws Exception { } } + /** + * Test create simple release without discussion. + * + * @throws Exception + * the exception + */ @Test public void testCreateSimpleReleaseWithoutDiscussion() throws Exception { GHRepository repo = gitHub.getRepository("hub4j-test-org/testCreateRelease"); @@ -45,6 +62,12 @@ public void testCreateSimpleReleaseWithoutDiscussion() throws Exception { } } + /** + * Test create double release fails. + * + * @throws Exception + * the exception + */ @Test public void testCreateDoubleReleaseFails() throws Exception { GHRepository repo = gitHub.getRepository("hub4j-test-org/testCreateRelease"); @@ -68,6 +91,12 @@ public void testCreateDoubleReleaseFails() throws Exception { } } + /** + * Test create release with unknown category fails. + * + * @throws Exception + * the exception + */ @Test public void testCreateReleaseWithUnknownCategoryFails() throws Exception { GHRepository repo = gitHub.getRepository("hub4j-test-org/testCreateRelease"); @@ -84,6 +113,12 @@ public void testCreateReleaseWithUnknownCategoryFails() throws Exception { }); } + /** + * Test update release. + * + * @throws Exception + * the exception + */ @Test public void testUpdateRelease() throws Exception { GHRepository repo = gitHub.getRepository("hub4j-test-org/testCreateRelease"); @@ -110,6 +145,12 @@ public void testUpdateRelease() throws Exception { } } + /** + * Test delete release. + * + * @throws Exception + * the exception + */ @Test public void testDeleteRelease() throws Exception { GHRepository repo = gitHub.getRepository("hub4j-test-org/testCreateRelease"); @@ -122,4 +163,39 @@ public void testDeleteRelease() throws Exception { assertThat(repo.getRelease(release.getId()), nullValue()); } + + /** + * Test making a release the latest + * + * @throws Exception + * the exception + */ + @Test + public void testMakeLatestRelease() throws Exception { + GHRepository repo = getTempRepository(); + + GHRelease release1 = repo.createRelease("tag1").create(); + GHRelease release2 = null; + + try { + // Newly created release should also be the latest. + GHRelease latestRelease = repo.getLatestRelease(); + assertThat(release1.getNodeId(), is(latestRelease.getNodeId())); + + // Create a second release, explicitly set it not to be latest, confirm it isn't + release2 = repo.createRelease("tag2").makeLatest(MakeLatest.FALSE).create(); + latestRelease = repo.getLatestRelease(); + assertThat(release1.getNodeId(), is(latestRelease.getNodeId())); + + // Update the second release to be latest, confirm it is. + release2.update().makeLatest(MakeLatest.TRUE).update(); + latestRelease = repo.getLatestRelease(); + assertThat(release2.getNodeId(), is(latestRelease.getNodeId())); + } finally { + release1.delete(); + if (release2 != null) { + release2.delete(); + } + } + } } diff --git a/src/test/java/org/kohsuke/github/GHRepositoryStatisticsTest.java b/src/test/java/org/kohsuke/github/GHRepositoryStatisticsTest.java index cb76ebec60..56cf3d954a 100644 --- a/src/test/java/org/kohsuke/github/GHRepositoryStatisticsTest.java +++ b/src/test/java/org/kohsuke/github/GHRepositoryStatisticsTest.java @@ -8,11 +8,26 @@ import static org.hamcrest.Matchers.equalTo; +// TODO: Auto-generated Javadoc +/** + * The Class GHRepositoryStatisticsTest. + */ public class GHRepositoryStatisticsTest extends AbstractGitHubWireMockTest { + /** The max iterations. */ public static int MAX_ITERATIONS = 3; + + /** The sleep interval. */ public static int SLEEP_INTERVAL = 5000; + /** + * Test contributor stats. + * + * @throws IOException + * Signals that an I/O exception has occurred. + * @throws InterruptedException + * the interrupted exception + */ @Test public void testContributorStats() throws IOException, InterruptedException { // get the statistics @@ -62,6 +77,14 @@ public void testContributorStats() throws IOException, InterruptedException { assertThat("Did not find author " + authorLogin, developerFound); } + /** + * Test commit activity. + * + * @throws IOException + * Signals that an I/O exception has occurred. + * @throws InterruptedException + * the interrupted exception + */ @Test @SuppressWarnings("SleepWhileInLoop") public void testCommitActivity() throws IOException, InterruptedException { @@ -107,6 +130,14 @@ public void testCommitActivity() throws IOException, InterruptedException { assertThat("Could not find week starting 1546128000", foundWeek); } + /** + * Test code frequency. + * + * @throws IOException + * Signals that an I/O exception has occurred. + * @throws InterruptedException + * the interrupted exception + */ @Test @SuppressWarnings("SleepWhileInLoop") public void testCodeFrequency() throws IOException, InterruptedException { @@ -144,6 +175,14 @@ public void testCodeFrequency() throws IOException, InterruptedException { assertThat("Could not find week starting 1535241600", foundWeek); } + /** + * Test participation. + * + * @throws IOException + * Signals that an I/O exception has occurred. + * @throws InterruptedException + * the interrupted exception + */ @Test public void testParticipation() throws IOException, InterruptedException { // get the statistics @@ -174,6 +213,14 @@ public void testParticipation() throws IOException, InterruptedException { // The values depend on who is running the test. } + /** + * Test punch card. + * + * @throws IOException + * Signals that an I/O exception has occurred. + * @throws InterruptedException + * the interrupted exception + */ @Test @SuppressWarnings("SleepWhileInLoop") public void testPunchCard() throws IOException, InterruptedException { @@ -210,6 +257,13 @@ public void testPunchCard() throws IOException, InterruptedException { assertThat("Hour 10 for Day 2 not found.", hourFound); } + /** + * Gets the repository. + * + * @return the repository + * @throws IOException + * Signals that an I/O exception has occurred. + */ protected GHRepository getRepository() throws IOException { return getRepository(gitHub); } diff --git a/src/test/java/org/kohsuke/github/GHRepositoryTest.java b/src/test/java/org/kohsuke/github/GHRepositoryTest.java index b5b0042f0e..61ca35c9c8 100644 --- a/src/test/java/org/kohsuke/github/GHRepositoryTest.java +++ b/src/test/java/org/kohsuke/github/GHRepositoryTest.java @@ -1,9 +1,12 @@ package org.kohsuke.github; import com.fasterxml.jackson.databind.JsonMappingException; +import com.google.common.collect.Sets; import org.apache.commons.io.IOUtils; +import org.junit.Assert; import org.junit.Test; import org.kohsuke.github.GHCheckRun.Conclusion; +import org.kohsuke.github.GHOrganization.RepositoryRole; import org.kohsuke.github.GHRepository.Visibility; import java.io.ByteArrayInputStream; @@ -24,11 +27,21 @@ import static org.junit.Assert.assertThrows; import static org.kohsuke.github.GHVerification.Reason.*; +// TODO: Auto-generated Javadoc /** + * The Class GHRepositoryTest. + * * @author Liam Newman */ public class GHRepositoryTest extends AbstractGitHubWireMockTest { + /** + * Gets the repository. + * + * @return the repository + * @throws IOException + * Signals that an I/O exception has occurred. + */ protected GHRepository getRepository() throws IOException { return getRepository(gitHub); } @@ -37,6 +50,12 @@ private GHRepository getRepository(GitHub gitHub) throws IOException { return gitHub.getOrganization("hub4j-test-org").getRepository("github-api"); } + /** + * Test zipball. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testZipball() throws IOException { getTempRepository().readZip((InputStream inputstream) -> { @@ -44,6 +63,12 @@ public void testZipball() throws IOException { }, null); } + /** + * Test tarball. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testTarball() throws IOException { getTempRepository().readTar((InputStream inputstream) -> { @@ -51,6 +76,12 @@ public void testTarball() throws IOException { }, null); } + /** + * Test getters. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testGetters() throws IOException { GHRepository r = getTempRepository(); @@ -67,6 +98,7 @@ public void testGetters() throws IOException { assertThat(r.isAllowMergeCommit(), is(true)); assertThat(r.isAllowRebaseMerge(), is(true)); assertThat(r.isAllowSquashMerge(), is(true)); + assertThat(r.isAllowForking(), is(false)); String httpTransport = "https://github.com/hub4j-test-org/temp-testGetters.git"; assertThat(r.getHttpTransportUrl(), equalTo(httpTransport)); @@ -76,6 +108,12 @@ public void testGetters() throws IOException { assertThat(r.getFullName(), equalTo("hub4j-test-org/temp-testGetters")); } + /** + * Archive. + * + * @throws Exception + * the exception + */ @Test public void archive() throws Exception { // Archive is a one-way action in the API. @@ -92,6 +130,38 @@ public void archive() throws Exception { assertThat(getRepository().isArchived(), is(true)); } + /** + * Checks if is disabled. + * + * @throws Exception + * the exception + */ + @Test + public void isDisabled() throws Exception { + GHRepository r = getRepository(); + + assertThat(r.isDisabled(), is(false)); + } + + /** + * Checks if is disabled true. + * + * @throws Exception + * the exception + */ + @Test + public void isDisabledTrue() throws Exception { + GHRepository r = getRepository(); + + assertThat(r.isDisabled(), is(true)); + } + + /** + * Gets the branch URL encoded. + * + * @throws Exception + * the exception + */ @Test public void getBranch_URLEncoded() throws Exception { GHRepository repo = getRepository(); @@ -99,6 +169,12 @@ public void getBranch_URLEncoded() throws Exception { assertThat(branch.getName(), is("test/#UrlEncode")); } + /** + * Creates the signed commit verify error. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void createSignedCommitVerifyError() throws IOException { GHRepository repository = getRepository(); @@ -116,6 +192,12 @@ public void createSignedCommitVerifyError() throws IOException { assertThat(verification.getReason(), equalTo(GPGVERIFY_ERROR)); } + /** + * Creates the signed commit unknown signature type. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void createSignedCommitUnknownSignatureType() throws IOException { GHRepository repository = getRepository(); @@ -133,6 +215,12 @@ public void createSignedCommitUnknownSignatureType() throws IOException { assertThat(verification.getReason(), equalTo(UNKNOWN_SIGNATURE_TYPE)); } + /** + * List stargazers. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void listStargazers() throws IOException { GHRepository repository = getRepository(); @@ -146,6 +234,12 @@ public void listStargazers() throws IOException { assertThat(stargazer.getRepository(), sameInstance(repository)); } + /** + * Gets the branch non existent but 200 status. + * + * @throws Exception + * the exception + */ // Issue #607 @Test public void getBranchNonExistentBut200Status() throws Exception { @@ -167,6 +261,12 @@ public void getBranchNonExistentBut200Status() throws Exception { } } + /** + * Subscription. + * + * @throws Exception + * the exception + */ @Test public void subscription() throws Exception { GHRepository r = getRepository(); @@ -189,6 +289,12 @@ public void subscription() throws Exception { assertThat(r.getSubscription(), nullValue()); } + /** + * Test set public. + * + * @throws Exception + * the exception + */ @Test public void testSetPublic() throws Exception { kohsuke(); @@ -206,6 +312,63 @@ public void testSetPublic() throws Exception { } } + /** + * Tests the creation of repositories with alternating visibilities for orgs. + * + * @throws Exception + * the exception + */ + @Test + public void testCreateVisibilityForOrganization() throws Exception { + GHOrganization organization = gitHub.getOrganization(GITHUB_API_TEST_ORG); + + // can not test for internal, as test org is not assigned to an enterprise + for (Visibility visibility : Sets.newHashSet(Visibility.PUBLIC, Visibility.PRIVATE)) { + String repoName = String.format("test-repo-visibility-%s", visibility.toString()); + GHRepository repository = organization.createRepository(repoName).visibility(visibility).create(); + try { + assertThat(repository.getVisibility(), is(visibility)); + assertThat(organization.getRepository(repoName).getVisibility(), is(visibility)); + } finally { + repository.delete(); + } + } + } + + /** + * Tests the creation of repositories with alternating visibilities for users. + * + * @throws Exception + * the exception + */ + @Test + public void testCreateVisibilityForUser() throws Exception { + + GHUser myself = gitHub.getMyself(); + + // can not test for internal, as test org is not assigned to an enterprise + for (Visibility visibility : Sets.newHashSet(Visibility.PUBLIC, Visibility.PRIVATE)) { + String repoName = String.format("test-repo-visibility-%s", visibility.toString()); + boolean isPrivate = visibility.equals(Visibility.PRIVATE); + GHRepository repository = gitHub.createRepository(repoName) + .private_(isPrivate) + .visibility(visibility) + .create(); + try { + assertThat(repository.getVisibility(), is(visibility)); + assertThat(myself.getRepository(repoName).getVisibility(), is(visibility)); + } finally { + repository.delete(); + } + } + } + + /** + * Test update repository. + * + * @throws Exception + * the exception + */ @Test public void testUpdateRepository() throws Exception { String homepage = "https://github-api.kohsuke.org/apidocs/index.html"; @@ -218,6 +381,7 @@ public void testUpdateRepository() throws Exception { GHRepository updated = builder.allowRebaseMerge(false) .allowSquashMerge(false) .deleteBranchOnMerge(true) + .allowForking(true) .description(description) .downloads(false) .downloads(false) @@ -232,6 +396,7 @@ public void testUpdateRepository() throws Exception { assertThat(updated.isAllowRebaseMerge(), is(false)); assertThat(updated.isAllowSquashMerge(), is(false)); assertThat(updated.isDeleteBranchOnMerge(), is(true)); + assertThat(updated.isAllowForking(), is(true)); assertThat(updated.isPrivate(), is(true)); assertThat(updated.hasDownloads(), is(false)); assertThat(updated.hasIssues(), is(false)); @@ -254,6 +419,12 @@ public void testUpdateRepository() throws Exception { assertThat(redux.getDescription(), equalTo(updatedDescription)); } + /** + * Test get repository with visibility. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testGetRepositoryWithVisibility() throws IOException { snapshotNotAllowed(); @@ -278,6 +449,12 @@ public void testGetRepositoryWithVisibility() throws IOException { equalTo(Visibility.UNKNOWN)); } + /** + * List contributors. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void listContributors() throws IOException { GHRepository r = gitHub.getOrganization("hub4j").getRepository("github-api"); @@ -297,6 +474,12 @@ public void listContributors() throws IOException { assertThat(kohsuke, is(true)); } + /** + * Gets the permission. + * + * @throws Exception + * the exception + */ @Test public void getPermission() throws Exception { kohsuke(); @@ -324,6 +507,44 @@ public void getPermission() throws Exception { } } + /** + * Checks for permission. + * + * @throws Exception + * the exception + */ + @Test + public void hasPermission() throws Exception { + kohsuke(); + GHRepository publicRepository = gitHub.getRepository("hub4j-test-org/test-permission"); + assertThat(publicRepository.hasPermission("kohsuke", GHPermissionType.ADMIN), equalTo(true)); + assertThat(publicRepository.hasPermission("kohsuke", GHPermissionType.WRITE), equalTo(true)); + assertThat(publicRepository.hasPermission("kohsuke", GHPermissionType.READ), equalTo(true)); + assertThat(publicRepository.hasPermission("kohsuke", GHPermissionType.NONE), equalTo(false)); + + assertThat(publicRepository.hasPermission("dude", GHPermissionType.ADMIN), equalTo(false)); + assertThat(publicRepository.hasPermission("dude", GHPermissionType.WRITE), equalTo(false)); + assertThat(publicRepository.hasPermission("dude", GHPermissionType.READ), equalTo(true)); + assertThat(publicRepository.hasPermission("dude", GHPermissionType.NONE), equalTo(false)); + + // also check the GHUser method + GHUser kohsuke = gitHub.getUser("kohsuke"); + assertThat(publicRepository.hasPermission(kohsuke, GHPermissionType.ADMIN), equalTo(true)); + assertThat(publicRepository.hasPermission(kohsuke, GHPermissionType.WRITE), equalTo(true)); + assertThat(publicRepository.hasPermission(kohsuke, GHPermissionType.READ), equalTo(true)); + assertThat(publicRepository.hasPermission(kohsuke, GHPermissionType.NONE), equalTo(false)); + + // check NONE on a private project + GHRepository privateRepository = gitHub.getRepository("hub4j-test-org/test-permission-private"); + assertThat(privateRepository.hasPermission("dude", GHPermissionType.ADMIN), equalTo(false)); + assertThat(privateRepository.hasPermission("dude", GHPermissionType.WRITE), equalTo(false)); + assertThat(privateRepository.hasPermission("dude", GHPermissionType.READ), equalTo(false)); + assertThat(privateRepository.hasPermission("dude", GHPermissionType.NONE), equalTo(true)); + } + + /** + * Latest repository exist. + */ @Test public void LatestRepositoryExist() { try { @@ -336,23 +557,51 @@ public void LatestRepositoryExist() { } } + /** + * Adds the collaborators. + * + * @throws Exception + * the exception + */ @Test public void addCollaborators() throws Exception { GHRepository repo = getRepository(); GHUser user = getUser(); - List users = new ArrayList(); + List users = new ArrayList<>(); users.add(user); users.add(gitHub.getUser("jimmysombrero2")); repo.addCollaborators(users, GHOrganization.Permission.PUSH); GHPersonSet collabs = repo.getCollaborators(); - GHUser colabUser = collabs.byLogin("jimmysombrero"); assertThat(user.getName(), equalTo(colabUser.getName())); } + /** + * Adds the collaborators repo perm. + * + * @throws Exception + * the exception + */ + @Test + public void addCollaboratorsRepoPerm() throws Exception { + GHRepository repo = getRepository(); + GHUser user = getUser(); + + RepositoryRole role = RepositoryRole.from(GHOrganization.Permission.PULL); + repo.addCollaborators(role, user); + + GHPersonSet collabs = repo.getCollaborators(); + GHUser colabUser = collabs.byLogin("jgangemi"); + + assertThat(user.getName(), equalTo(colabUser.getName())); + } + + /** + * Latest repository not exist. + */ @Test public void LatestRepositoryNotExist() { try { @@ -365,24 +614,48 @@ public void LatestRepositoryNotExist() { } } + /** + * List releases. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void listReleases() throws IOException { PagedIterable releases = gitHub.getOrganization("github").getRepository("hub").listReleases(); assertThat(releases, is(not(emptyIterable()))); } + /** + * Gets the release exists. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void getReleaseExists() throws IOException { GHRelease release = gitHub.getOrganization("github").getRepository("hub").getRelease(6839710); assertThat(release.getTagName(), equalTo("v2.3.0-pre10")); } + /** + * Gets the release does not exist. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void getReleaseDoesNotExist() throws IOException { GHRelease release = gitHub.getOrganization("github").getRepository("hub").getRelease(Long.MAX_VALUE); assertThat(release, nullValue()); } + /** + * Gets the release by tag name exists. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void getReleaseByTagNameExists() throws IOException { GHRelease release = gitHub.getOrganization("github").getRepository("hub").getReleaseByTagName("v2.3.0-pre10"); @@ -390,12 +663,24 @@ public void getReleaseByTagNameExists() throws IOException { assertThat(release.getTagName(), equalTo("v2.3.0-pre10")); } + /** + * Gets the release by tag name does not exist. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void getReleaseByTagNameDoesNotExist() throws IOException { GHRelease release = getRepository().getReleaseByTagName("foo-bar-baz"); assertThat(release, nullValue()); } + /** + * List languages. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void listLanguages() throws IOException { GHRepository r = gitHub.getRepository("hub4j/github-api"); @@ -406,6 +691,12 @@ public void listLanguages() throws IOException { assertThat(languages.get("Java"), greaterThan(100000L)); } + /** + * List commit comments no comments. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void listCommitCommentsNoComments() throws IOException { List commitComments = getRepository() @@ -419,6 +710,12 @@ public void listCommitCommentsNoComments() throws IOException { assertThat("Commit has no comments", commitComments.isEmpty()); } + /** + * Search all public and forked repos. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void searchAllPublicAndForkedRepos() throws IOException { PagedSearchIterable list = gitHub.searchRepositories() @@ -432,6 +729,12 @@ public void searchAllPublicAndForkedRepos() throws IOException { assertThat(u.stream().filter(item -> item.getName().equals("Complete-Python-3-Bootcamp")).count(), is(1L)); } + /** + * Search for public forked only repos. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void searchForPublicForkedOnlyRepos() throws IOException { PagedSearchIterable list = gitHub.searchRepositories() @@ -445,6 +748,9 @@ public void searchForPublicForkedOnlyRepos() throws IOException { assertThat(u.get(1).getName(), is("Complete-Python-3-Bootcamp")); } + /** + * Gh repository search builder ignores unknown visibility. + */ @Test public void ghRepositorySearchBuilderIgnoresUnknownVisibility() { GHRepositorySearchBuilder ghRepositorySearchBuilder; @@ -464,6 +770,9 @@ public void ghRepositorySearchBuilderIgnoresUnknownVisibility() { assertThat(ghRepositorySearchBuilder.terms.stream().filter(item -> item.contains("is:")).count(), is(1L)); } + /** + * Gh repository search builder fork default reset forks search terms. + */ @Test public void ghRepositorySearchBuilderForkDefaultResetForksSearchTerms() { GHRepositorySearchBuilder ghRepositorySearchBuilder = new GHRepositorySearchBuilder(gitHub); @@ -480,6 +789,9 @@ public void ghRepositorySearchBuilderForkDefaultResetForksSearchTerms() { assertThat(ghRepositorySearchBuilder.terms.stream().filter(item -> item.contains("fork:")).count(), is(0L)); } + /** + * Gh repository search builder fork deprecated enum. + */ @Test public void ghRepositorySearchBuilderForkDeprecatedEnum() { GHRepositorySearchBuilder ghRepositorySearchBuilder = new GHRepositorySearchBuilder(gitHub); @@ -495,6 +807,9 @@ public void ghRepositorySearchBuilderForkDeprecatedEnum() { assertThat(ghRepositorySearchBuilder.terms.stream().filter(item -> item.contains("fork:")).count(), is(0L)); } + /** + * Gh repository search builder fork deprecated string. + */ @Test public void ghRepositorySearchBuilderForkDeprecatedString() { GHRepositorySearchBuilder ghRepositorySearchBuilder = new GHRepositorySearchBuilder(gitHub); @@ -510,6 +825,12 @@ public void ghRepositorySearchBuilderForkDeprecatedString() { assertThat(ghRepositorySearchBuilder.terms.stream().filter(item -> item.contains("fork:")).count(), is(0L)); } + /** + * List commit comments some comments. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void listCommitCommentsSomeComments() throws IOException { List commitComments = getRepository() @@ -529,6 +850,12 @@ public void listCommitCommentsSomeComments() throws IOException { containsInAnyOrder("comment 1", "comment 2")); } + /** + * List empty contributors. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test // Issue #261 public void listEmptyContributors() throws IOException { assertThat("This list should be empty, but should return a valid empty iterable.", @@ -536,6 +863,12 @@ public void listEmptyContributors() throws IOException { is(emptyIterable())); } + /** + * Search repositories. + * + * @throws Exception + * the exception + */ @Test public void searchRepositories() throws Exception { PagedSearchIterable r = gitHub.searchRepositories() @@ -550,6 +883,26 @@ public void searchRepositories() throws Exception { assertThat(r.getTotalCount(), greaterThan(0)); } + /** + * Search org for repositories. + * + * @throws Exception + * the exception + */ + @Test + public void searchOrgForRepositories() throws Exception { + PagedSearchIterable r = gitHub.searchRepositories().org("hub4j-test-org").list(); + GHRepository u = r.iterator().next(); + assertThat(u.getOwnerName(), equalTo("hub4j-test-org")); + assertThat(r.getTotalCount(), greaterThan(0)); + } + + /** + * Test issue 162. + * + * @throws Exception + * the exception + */ @Test // issue #162 public void testIssue162() throws Exception { GHRepository r = gitHub.getRepository("hub4j/github-api"); @@ -564,6 +917,12 @@ public void testIssue162() throws Exception { } } + /** + * Mark down. + * + * @throws Exception + * the exception + */ @Test public void markDown() throws Exception { assertThat(IOUtils.toString(gitHub.renderMarkdown("**Testæ—ĨæœŦčĒž**")).trim(), @@ -579,6 +938,12 @@ public void markDown() throws Exception { assertThat(actual, containsString("to fix issue")); } + /** + * Sets the merge options. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void setMergeOptions() throws IOException { // String repoName = "hub4j-test-org/test-mergeoptions"; @@ -607,12 +972,24 @@ public void setMergeOptions() throws IOException { assertThat(r.isAllowSquashMerge(), is(false)); } + /** + * Gets the delete branch on merge. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void getDeleteBranchOnMerge() throws IOException { GHRepository r = getRepository(); assertThat(r.isDeleteBranchOnMerge(), notNullValue()); } + /** + * Sets the delete branch on merge. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void setDeleteBranchOnMerge() throws IOException { GHRepository r = getRepository(); @@ -630,6 +1007,12 @@ public void setDeleteBranchOnMerge() throws IOException { assertThat(r.isDeleteBranchOnMerge(), is(false)); } + /** + * Test set topics. + * + * @throws Exception + * the exception + */ @Test public void testSetTopics() throws Exception { GHRepository repo = getRepository(gitHub); @@ -665,6 +1048,12 @@ public void testSetTopics() throws Exception { assertThat("Topics can be set to empty", repo.listTopics(), is(empty())); } + /** + * Gets the collaborators. + * + * @throws Exception + * the exception + */ @Test public void getCollaborators() throws Exception { GHRepository repo = getRepository(gitHub); @@ -672,6 +1061,12 @@ public void getCollaborators() throws Exception { assertThat(collaborators.size(), greaterThan(0)); } + /** + * Gets the post commit hooks. + * + * @throws Exception + * the exception + */ @Test public void getPostCommitHooks() throws Exception { GHRepository repo = getRepository(gitHub); @@ -679,6 +1074,12 @@ public void getPostCommitHooks() throws Exception { assertThat(postcommitHooks, is(empty())); } + /** + * Gets the refs. + * + * @throws Exception + * the exception + */ @Test public void getRefs() throws Exception { GHRepository repo = getTempRepository(); @@ -688,6 +1089,27 @@ public void getRefs() throws Exception { assertThat(refs[0].getRef(), equalTo("refs/heads/main")); } + /** + * Gets the public key. + * + * @throws Exception + * the exception + */ + @Test + public void getPublicKey() throws Exception { + GHRepository repo = getTempRepository(); + GHRepositoryPublicKey publicKey = repo.getPublicKey(); + assertThat(publicKey, notNullValue()); + assertThat(publicKey.getKey(), equalTo("test-key")); + assertThat(publicKey.getKeyId(), equalTo("key-id")); + } + + /** + * Gets the refs heads. + * + * @throws Exception + * the exception + */ @Test public void getRefsHeads() throws Exception { GHRepository repo = getTempRepository(); @@ -697,6 +1119,12 @@ public void getRefsHeads() throws Exception { assertThat(refs[0].getRef(), equalTo("refs/heads/main")); } + /** + * Gets the refs empty tags. + * + * @throws Exception + * the exception + */ @Test public void getRefsEmptyTags() throws Exception { GHRepository repo = getTempRepository(); @@ -711,6 +1139,12 @@ public void getRefsEmptyTags() throws Exception { } } + /** + * List refs. + * + * @throws Exception + * the exception + */ @Test public void listRefs() throws Exception { GHRepository repo = getRepository(); @@ -755,6 +1189,12 @@ public void listRefs() throws Exception { } } + /** + * Gets the ref. + * + * @throws Exception + * the exception + */ @Test public void getRef() throws Exception { GHRepository repo = getRepository(); @@ -800,6 +1240,12 @@ public void getRef() throws Exception { } } + /** + * List refs heads. + * + * @throws Exception + * the exception + */ @Test public void listRefsHeads() throws Exception { GHRepository repo = getTempRepository(); @@ -809,6 +1255,12 @@ public void listRefsHeads() throws Exception { assertThat(refs.get(0).getRef(), equalTo("refs/heads/main")); } + /** + * List refs empty tags. + * + * @throws Exception + * the exception + */ @Test public void listRefsEmptyTags() throws Exception { try { @@ -821,6 +1273,12 @@ public void listRefsEmptyTags() throws Exception { } } + /** + * List tags empty. + * + * @throws Exception + * the exception + */ @Test public void listTagsEmpty() throws Exception { GHRepository repo = getTempRepository(); @@ -829,6 +1287,12 @@ public void listTagsEmpty() throws Exception { assertThat(refs, is(empty())); } + /** + * List tags. + * + * @throws Exception + * the exception + */ @Test public void listTags() throws Exception { GHRepository repo = getRepository(); @@ -837,6 +1301,12 @@ public void listTags() throws Exception { assertThat(refs.size(), greaterThan(90)); } + /** + * Check watchers count. + * + * @throws Exception + * the exception + */ @Test public void checkWatchersCount() throws Exception { snapshotNotAllowed(); @@ -845,6 +1315,12 @@ public void checkWatchersCount() throws Exception { assertThat(watchersCount, equalTo(10)); } + /** + * Check stargazers count. + * + * @throws Exception + * the exception + */ @Test public void checkStargazersCount() throws Exception { snapshotNotAllowed(); @@ -853,6 +1329,12 @@ public void checkStargazersCount() throws Exception { assertThat(stargazersCount, equalTo(10)); } + /** + * List collaborators. + * + * @throws Exception + * the exception + */ @Test public void listCollaborators() throws Exception { GHRepository repo = getRepository(); @@ -860,6 +1342,12 @@ public void listCollaborators() throws Exception { assertThat(collaborators.size(), greaterThan(10)); } + /** + * List collaborators filtered. + * + * @throws Exception + * the exception + */ @Test public void listCollaboratorsFiltered() throws Exception { GHRepository repo = getRepository(); @@ -869,6 +1357,25 @@ public void listCollaboratorsFiltered() throws Exception { assertThat(filteredCollaborators.size(), lessThan(allCollaborators.size())); } + /** + * User is collaborator. + * + * @throws Exception + * the exception + */ + @Test + public void userIsCollaborator() throws Exception { + GHRepository repo = getRepository(); + GHUser collaborator = repo.listCollaborators().toList().get(0); + assertThat(repo.isCollaborator(collaborator), is(true)); + } + + /** + * Gets the check runs. + * + * @throws Exception + * the exception + */ @Test public void getCheckRuns() throws Exception { final int expectedCount = 8; @@ -893,6 +1400,37 @@ public void getCheckRuns() throws Exception { } } + /** + * Filter out the checks from a reference + * + * @throws Exception + * the exception + */ + @Test + public void getCheckRunsWithParams() throws Exception { + final int expectedCount = 1; + // Use github-api repository as it has checks set up + final Map params = new HashMap<>(1); + params.put("check_name", "build-only (Java 17)"); + PagedIterable checkRuns = gitHub.getOrganization("hub4j") + .getRepository("github-api") + .getCheckRuns("54d60fbb53b4efa19f3081417bfb6a1de30c55e4", params); + + // Check if the checkruns are all succeeded and if we got all of them + int checkRunsCount = 0; + for (GHCheckRun checkRun : checkRuns) { + assertThat(checkRun.getConclusion(), equalTo(Conclusion.SUCCESS)); + checkRunsCount++; + } + assertThat(checkRunsCount, equalTo(expectedCount)); + } + + /** + * Gets the last commit status. + * + * @throws Exception + * the exception + */ @Test public void getLastCommitStatus() throws Exception { GHCommitStatus status = getRepository().getLastCommitStatus("8051615eff597f4e49f4f47625e6fc2b49f26bfc"); @@ -901,6 +1439,12 @@ public void getLastCommitStatus() throws Exception { assertThat(status.getContext(), equalTo("ci/circleci: build")); } + /** + * List commits between. + * + * @throws Exception + * the exception + */ @Test public void listCommitsBetween() throws Exception { GHRepository repository = getRepository(); @@ -917,6 +1461,12 @@ public void listCommitsBetween() throws Exception { assertThat(mockGitHub.getRequestCount(), equalTo(startingCount + 1)); } + /** + * List commits between paginated. + * + * @throws Exception + * the exception + */ @Test public void listCommitsBetweenPaginated() throws Exception { GHRepository repository = getRepository(); @@ -934,6 +1484,12 @@ public void listCommitsBetweenPaginated() throws Exception { assertThat(mockGitHub.getRequestCount(), equalTo(startingCount + 3)); } + /** + * Gets the commits between over 250. + * + * @throws Exception + * the exception + */ @Test public void getCommitsBetweenOver250() throws Exception { GHRepository repository = getRepository(); @@ -1002,6 +1558,12 @@ public void getCommitsBetweenOver250() throws Exception { endsWith("/raw/94ff089e60064bfa43e374baeb10846f7ce82f40/.github/PULL_REQUEST_TEMPLATE.md")); } + /** + * Gets the commits between paged. + * + * @throws Exception + * the exception + */ @Test public void getCommitsBetweenPaged() throws Exception { GHRepository repository = getRepository(); @@ -1019,12 +1581,24 @@ public void getCommitsBetweenPaged() throws Exception { assertThat(mockGitHub.getRequestCount(), equalTo(startingCount + 4)); } + /** + * Creates the dispatch event without client payload. + * + * @throws Exception + * the exception + */ @Test public void createDispatchEventWithoutClientPayload() throws Exception { GHRepository repository = getTempRepository(); repository.dispatch("test", null); } + /** + * Creates the dispatch event with client payload. + * + * @throws Exception + * the exception + */ @Test public void createDispatchEventWithClientPayload() throws Exception { GHRepository repository = getTempRepository(); @@ -1034,4 +1608,108 @@ public void createDispatchEventWithClientPayload() throws Exception { repository.dispatch("test", clientPayload); } + /** + * Creates the secret. + * + * @throws Exception + * the exception + */ + @Test + public void createSecret() throws Exception { + GHRepository repo = getTempRepository(); + repo.createSecret("secret", "encrypted", "public"); + } + + /** + * Test to check star method by verifying stargarzer count. + * + * @throws Exception + * the exception + */ + @Test + public void starTest() throws Exception { + String owner = "hub4j-test-org"; + GHRepository repository = getRepository(); + assertThat(repository.getOwner().getLogin(), equalTo(owner)); + assertThat(repository.getStargazersCount(), is(0)); + repository.star(); + assertThat(repository.listStargazers2().toList().size(), is(1)); + repository.unstar(); + assertThat(repository.listStargazers().toList().size(), is(0)); + } + + /** + * Test to check getRepoVariable method. + * + * @throws Exception + * the exception + */ + @Test + public void testRepoActionVariable() throws Exception { + GHRepository repository = getRepository(); + GHRepositoryVariable variable = repository.getRepoVariable("myvar"); + assertThat(variable.getValue(), is("this is my var value")); + } + + /** + * Test create repo action variable. + * + * @throws IOException + * the exception + */ + @Test + public void testCreateRepoActionVariable() throws IOException { + GHRepository repository = getRepository(); + repository.createVariable("MYNEWVARIABLE", "mynewvalue"); + GHRepositoryVariable variable = repository.getVariable("mynewvariable"); + assertThat(variable.getName(), is("MYNEWVARIABLE")); + assertThat(variable.getValue(), is("mynewvalue")); + } + + /** + * Test update repo action variable. + * + * @throws IOException + * the exception + */ + @Test + public void testUpdateRepoActionVariable() throws IOException { + GHRepository repository = getRepository(); + GHRepositoryVariable variable = repository.getVariable("MYNEWVARIABLE"); + variable.set().value("myupdatevalue"); + variable = repository.getVariable("MYNEWVARIABLE"); + assertThat(variable.getValue(), is("myupdatevalue")); + } + + /** + * Test delete repo action variable. + * + * @throws IOException + * the exception + */ + @Test + public void testDeleteRepoActionVariable() throws IOException { + GHRepository repository = getRepository(); + GHRepositoryVariable variable = repository.getVariable("mynewvariable"); + variable.delete(); + Assert.assertThrows(GHFileNotFoundException.class, () -> repository.getVariable("mynewvariable")); + } + + /** + * Test demoing the issue with a user having the maintain permission on a repository. + * + * Test checking the permission fallback mechanism in case the Github API changes. The test was recorded at a time a + * new permission was added by mistake. If a re-recording it is needed, you'll like have to manually edit the + * generated mocks to get a non existing permission See + * https://github.com/hub4j/github-api/issues/1671#issuecomment-1577515662 for the details. + * + * @throws IOException + * the exception + */ + @Test + public void cannotRetrievePermissionMaintainUser() throws IOException { + GHRepository r = gitHub.getRepository("hub4j-test-org/maintain-permission-issue"); + GHPermissionType permission = r.getPermission("alecharp"); + assertThat(permission.toString(), is("UNKNOWN")); + } } diff --git a/src/test/java/org/kohsuke/github/GHTagTest.java b/src/test/java/org/kohsuke/github/GHTagTest.java index e54e0e57a6..d4536ed929 100644 --- a/src/test/java/org/kohsuke/github/GHTagTest.java +++ b/src/test/java/org/kohsuke/github/GHTagTest.java @@ -8,12 +8,20 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc /** + * The Class GHTagTest. * * @author Martin van Zijl */ public class GHTagTest extends AbstractGitHubWireMockTest { + /** + * Clean up tags. + * + * @throws Exception + * the exception + */ @Before @After public void cleanUpTags() throws Exception { @@ -33,6 +41,12 @@ public void cleanUpTags() throws Exception { } } + /** + * Test create tag. + * + * @throws Exception + * the exception + */ @Test public void testCreateTag() throws Exception { GHRepository repo = getRepository(); @@ -58,6 +72,13 @@ public void testCreateTag() throws Exception { assertThat(ref, notNullValue()); } + /** + * Gets the repository. + * + * @return the repository + * @throws IOException + * Signals that an I/O exception has occurred. + */ protected GHRepository getRepository() throws IOException { return getRepository(gitHub); } diff --git a/src/test/java/org/kohsuke/github/GHTeamBuilderTest.java b/src/test/java/org/kohsuke/github/GHTeamBuilderTest.java index 2b87138d69..60148acd7c 100644 --- a/src/test/java/org/kohsuke/github/GHTeamBuilderTest.java +++ b/src/test/java/org/kohsuke/github/GHTeamBuilderTest.java @@ -6,8 +6,18 @@ import static org.hamcrest.Matchers.equalTo; +// TODO: Auto-generated Javadoc +/** + * The Class GHTeamBuilderTest. + */ public class GHTeamBuilderTest extends AbstractGitHubWireMockTest { + /** + * Test create child team. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testCreateChildTeam() throws IOException { String parentTeamSlug = "dummy-team"; diff --git a/src/test/java/org/kohsuke/github/GHTeamTest.java b/src/test/java/org/kohsuke/github/GHTeamTest.java index 79c46058a0..b1db8ddf0f 100644 --- a/src/test/java/org/kohsuke/github/GHTeamTest.java +++ b/src/test/java/org/kohsuke/github/GHTeamTest.java @@ -2,15 +2,31 @@ import org.junit.Test; import org.kohsuke.github.GHTeam.Privacy; +import org.kohsuke.github.GHTeam.Role; import java.io.IOException; import java.util.List; import java.util.Set; -import static org.hamcrest.Matchers.*; - +import static org.hamcrest.Matchers.containsInAnyOrder; +import static org.hamcrest.Matchers.empty; +import static org.hamcrest.Matchers.equalTo; +import static org.hamcrest.Matchers.hasProperty; +import static org.hamcrest.Matchers.is; +import static org.hamcrest.Matchers.notNullValue; + +// TODO: Auto-generated Javadoc +/** + * The Class GHTeamTest. + */ public class GHTeamTest extends AbstractGitHubWireMockTest { + /** + * Test set description. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testSetDescription() throws IOException { @@ -36,6 +52,12 @@ public void testSetDescription() throws IOException { assertThat(team.getDescription(), equalTo(description)); } + /** + * Gets the members. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void getMembers() throws IOException { String teamSlug = "dummy-team"; @@ -50,6 +72,12 @@ public void getMembers() throws IOException { admins.stream().anyMatch(ghUser -> ghUser.getLogin().equals("bitwiseman"))); } + /** + * List members. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void listMembers() throws IOException { String teamSlug = "dummy-team"; @@ -64,6 +92,12 @@ public void listMembers() throws IOException { admins.stream().anyMatch(ghUser -> ghUser.getLogin().equals("bitwiseman"))); } + /** + * List members admin. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void listMembersAdmin() throws IOException { String teamSlug = "dummy-team"; @@ -78,6 +112,12 @@ public void listMembersAdmin() throws IOException { admins.stream().anyMatch(ghUser -> ghUser.getLogin().equals("bitwiseman"))); } + /** + * List members no match. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void listMembersNoMatch() throws IOException { String teamSlug = "dummy-team"; @@ -89,9 +129,17 @@ public void listMembersNoMatch() throws IOException { assertThat("No regular members in team", justMembers.isEmpty()); } + /** + * Test set privacy. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @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. @@ -112,6 +160,12 @@ public void testSetPrivacy() throws IOException { assertThat(team.getPrivacy(), equalTo(privacy)); } + /** + * Test fetch child teams. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testFetchChildTeams() throws IOException { String teamSlug = "dummy-team"; @@ -124,6 +178,12 @@ public void testFetchChildTeams() throws IOException { assertThat(result.toArray(new GHTeam[]{})[0].getName(), equalTo("child-team-for-dummy")); } + /** + * Test fetch empty child teams. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testFetchEmptyChildTeams() throws IOException { String teamSlug = "simple-team"; @@ -135,4 +195,72 @@ public void testFetchEmptyChildTeams() throws IOException { assertThat(result, is(empty())); } + /** + * Adds the remove member. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ + @Test + public void addRemoveMember() throws IOException { + String teamSlug = "dummy-team"; + + GHTeam team = gitHub.getOrganization(GITHUB_API_TEST_ORG).getTeamBySlug(teamSlug); + + List members = team.listMembers().toList(); + + assertThat(members, notNullValue()); + assertThat("One admin in dummy team", members.size(), equalTo(1)); + assertThat("Specific user in admin team", + members.stream().anyMatch(ghUser -> ghUser.getLogin().equals("bitwiseman"))); + + GHUser user = gitHub.getUser("gsmet"); + + try { + team.add(user, Role.MAINTAINER); + + // test all + members = team.listMembers().toList(); + + assertThat(members, notNullValue()); + assertThat("Two members for all roles in dummy team", members.size(), equalTo(2)); + assertThat("Specific users in team", + members, + containsInAnyOrder(hasProperty("login", equalTo("bitwiseman")), + hasProperty("login", equalTo("gsmet")))); + + // test maintainer role filter + members = team.listMembers(Role.MAINTAINER).toList(); + + assertThat(members, notNullValue()); + assertThat("Two members for all roles in dummy team", members.size(), equalTo(2)); + assertThat("Specific users in team", + members, + containsInAnyOrder(hasProperty("login", equalTo("bitwiseman")), + hasProperty("login", equalTo("gsmet")))); + + // test member role filter + // it's hard to test this as owner of the org are automatically made maintainer + // so let's just test that we don't have any members around + members = team.listMembers(Role.MEMBER).toList(); + + assertThat(members, notNullValue()); + assertThat("No members in dummy team", members.size(), equalTo(0)); + + // test removing the user has effect + team.remove(user); + + members = team.listMembers().toList(); + + assertThat(members, notNullValue()); + assertThat("One member for all roles in dummy team", members.size(), equalTo(1)); + assertThat("Specific user in team", + members, + containsInAnyOrder(hasProperty("login", equalTo("bitwiseman")))); + } finally { + if (team.hasMember(user)) { + team.remove(user); + } + } + } } diff --git a/src/test/java/org/kohsuke/github/GHTreeBuilderTest.java b/src/test/java/org/kohsuke/github/GHTreeBuilderTest.java index a1ce88e9aa..9071477889 100644 --- a/src/test/java/org/kohsuke/github/GHTreeBuilderTest.java +++ b/src/test/java/org/kohsuke/github/GHTreeBuilderTest.java @@ -11,6 +11,10 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc +/** + * The Class GHTreeBuilderTest. + */ public class GHTreeBuilderTest extends AbstractGitHubWireMockTest { private static String REPO_NAME = "hub4j-test-org/GHTreeBuilderTest"; @@ -30,6 +34,12 @@ public class GHTreeBuilderTest extends AbstractGitHubWireMockTest { private GHRef mainRef; private GHTreeBuilder treeBuilder; + /** + * Cleanup. + * + * @throws Exception + * the exception + */ @Before @After public void cleanup() throws Exception { @@ -47,6 +57,12 @@ public void cleanup() throws Exception { } } + /** + * Sets the up. + * + * @throws Exception + * the exception + */ @Before public void setUp() throws Exception { repo = gitHub.getRepository(REPO_NAME); @@ -55,6 +71,12 @@ public void setUp() throws Exception { treeBuilder = repo.createTree().baseTree(mainTreeSha); } + /** + * Test text entry. + * + * @throws Exception + * the exception + */ @Test @Ignore("It seems that GitHub no longer supports the 'content' parameter") public void testTextEntry() throws Exception { @@ -67,6 +89,12 @@ public void testTextEntry() throws Exception { assertThat(getFileSize(PATH_README), equalTo(CONTENT_README.length())); } + /** + * Test sha entry. + * + * @throws Exception + * the exception + */ @Test public void testShaEntry() throws Exception { String dataSha1 = new GHBlobBuilder(repo).binaryContent(CONTENT_DATA1).create().getSha(); @@ -81,6 +109,12 @@ public void testShaEntry() throws Exception { assertThat(getFileSize(PATH_DATA2), equalTo((long) CONTENT_DATA2.length)); } + /** + * Test add. + * + * @throws Exception + * the exception + */ @Test public void testAdd() throws Exception { treeBuilder.add(PATH_SCRIPT, CONTENT_SCRIPT, true); @@ -100,6 +134,46 @@ public void testAdd() throws Exception { } + /** + * Test delete. + * + * @throws Exception + * the exception + */ + @Test + public void testDelete() throws Exception { + // add test tree + treeBuilder.add(PATH_README, CONTENT_README, false); + treeBuilder.add(PATH_DATA1, CONTENT_DATA1, false); + + GHCommit commit = updateTree(); + + assertThat(getFileSize(PATH_README), equalTo((long) CONTENT_README.length())); + assertThat(getFileSize(PATH_DATA1), equalTo((long) CONTENT_DATA1.length)); + + assertThat(commit.getCommitShortInfo().getAuthor().getEmail(), equalTo("author@author.com")); + assertThat(commit.getCommitShortInfo().getCommitter().getEmail(), equalTo("committer@committer.com")); + + // remove a file from tree + mainRef = repo.getRef("heads/main"); + treeBuilder = repo.createTree().baseTree(commit.getTree().getSha()); + treeBuilder.delete(PATH_DATA1); + + GHCommit deleteCommit = updateTree(); + + assertThat(getFileSize(PATH_README), equalTo((long) CONTENT_README.length())); + + assertThat(deleteCommit.getCommitShortInfo().getAuthor().getEmail(), equalTo("author@author.com")); + assertThat(deleteCommit.getCommitShortInfo().getCommitter().getEmail(), equalTo("committer@committer.com")); + + try { + getFileSize(PATH_DATA1); + fail("File " + PATH_DATA1 + " should not exist"); + } catch (IOException e) { + assertThat(e.getMessage(), stringContainsInOrder(PATH_DATA1, "Not Found")); + } + } + private GHCommit updateTree() throws IOException { String treeSha = treeBuilder.create().getSha(); GHCommit commit = new GHCommitBuilder(repo).message("Add files") diff --git a/src/test/java/org/kohsuke/github/GHUserTest.java b/src/test/java/org/kohsuke/github/GHUserTest.java index d682d1a566..61a89a2389 100644 --- a/src/test/java/org/kohsuke/github/GHUserTest.java +++ b/src/test/java/org/kohsuke/github/GHUserTest.java @@ -6,14 +6,25 @@ import java.util.*; import static org.hamcrest.CoreMatchers.*; +import static org.hamcrest.Matchers.emptyString; import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.greaterThan; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.not; import static org.hamcrest.Matchers.notNullValue; +// TODO: Auto-generated Javadoc +/** + * The Class GHUserTest. + */ public class GHUserTest extends AbstractGitHubWireMockTest { + /** + * Checks if is member of. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void isMemberOf() throws IOException { GHUser u = gitHub.getUser("bitwiseman"); @@ -35,6 +46,12 @@ public void isMemberOf() throws IOException { assertThat(u.isPublicMemberOf(org), is(false)); } + /** + * List follows and followers. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void listFollowsAndFollowers() throws IOException { GHUser u = gitHub.getUser("rtyler"); @@ -51,6 +68,12 @@ private Set count30(PagedIterable l) { return users; } + /** + * Gets the keys. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void getKeys() throws IOException { GHUser u = gitHub.getUser("rtyler"); @@ -87,6 +110,12 @@ public int compare(GHKey ghKey, GHKey t1) { equalTo("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC3JhH2FZBDmHLjXTcBoV6tdcYKmsQ7sgu8k1RsUhwxGsXm65+Cuas6GcMVoA1DncKfJGQkulHDFiTxIROIBmedh9/otHWBlZ4HqYZ4MQ1A8W5quULkXwX/kF+UdRBUxFvjigibEbuHB+LARVxRRzFlPnTSE9rAfAv8OOEsb3lNUGT/IGhN8w1vwe8GclB90tgqN1RBDgrVqwLFwn5AfrW9kUIa2f2oT4RjYu1OrhKhVIIzfHADo85aD+s8wEhqwI96BCJG3qTWrypoHwBUoj1O6Ak5CGc1iKz9o8XyTMjudRt2ddCjfOtxsuwSlTbVtQXJGIpgKviX1sgh4pPvGh7BVAFP+mdAK4F+mEugDnuj47GO/K5KGGDRCL56kh9+h28l4q/+fZvp7DhtmSN2EzrVAdQFskF8yY/6Xit/aAvjeKm03DcjbylSXbG26EJefaLHlwYFq2mUFRMak25wuuCZS71GF3RC3Sl/bMoxBKRYkyfYtGafeaYTFNGn8Dbd+hfVUCz31ebI8cvmlQR5b5AbCre3T7HTVgw8FKbAxWRf1Fio56PnqHsj+sT1KVj255Zo1F8iD9GrgERSVAlkh5bY/CKszQ8ZSd01c9Qp2a47/gR7XAAbxhzGHP+cSOlrqDlJ24fbPtcpVsM0llqKUcxpmoOBFNboRmE1QqnSmAf9ww==")); } + /** + * List public repositories. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void listPublicRepositories() throws IOException { GHUser user = gitHub.getUser("kohsuke"); @@ -103,6 +132,12 @@ public void listPublicRepositories() throws IOException { assertThat(i, equalTo(115)); } + /** + * List projects. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void listProjects() throws IOException { GHUser user = gitHub.getUser("t0m4uk1991"); @@ -114,6 +149,12 @@ public void listProjects() throws IOException { assertThat(projects.get(2).getName(), is("Project 3")); } + /** + * List public repositories page size 62. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void listPublicRepositoriesPageSize62() throws IOException { GHUser user = gitHub.getUser("kohsuke"); @@ -130,6 +171,12 @@ public void listPublicRepositoriesPageSize62() throws IOException { assertThat(i, equalTo(115)); } + /** + * Creates the and count private repos. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void createAndCountPrivateRepos() throws IOException { String login = gitHub.getMyself().getLogin(); @@ -149,6 +196,12 @@ public void createAndCountPrivateRepos() throws IOException { } } + /** + * Verify bio and hireable. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void verifyBioAndHireable() throws IOException { GHUser u = gitHub.getUser("Chew"); @@ -162,4 +215,16 @@ public void verifyBioAndHireable() throws IOException { assertThat(u.getPublicGistCount(), equalTo(4)); assertThat(u.getPublicRepoCount(), equalTo(96)); } + + /** + * Verify ldapdn. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ + @Test + public void verifyLdapdn() throws IOException { + GHUser u = gitHub.getUser("kartikpatodi"); + assertThat(u.getLdapDn().orElse(""), not(emptyString())); + } } diff --git a/src/test/java/org/kohsuke/github/GHVerificationReasonTest.java b/src/test/java/org/kohsuke/github/GHVerificationReasonTest.java index 53a5cb63c1..42b3292c72 100644 --- a/src/test/java/org/kohsuke/github/GHVerificationReasonTest.java +++ b/src/test/java/org/kohsuke/github/GHVerificationReasonTest.java @@ -4,10 +4,20 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc /** + * The Class GHVerificationReasonTest. + * * @author Sourabh Sarvotham Parkala */ public class GHVerificationReasonTest extends AbstractGitHubWireMockTest { + + /** + * Test expired key. + * + * @throws Exception + * the exception + */ // Issue 737 @Test public void testExpiredKey() throws Exception { @@ -19,6 +29,12 @@ public void testExpiredKey() throws Exception { equalTo(GHVerification.Reason.EXPIRED_KEY)); } + /** + * Test not signing key. + * + * @throws Exception + * the exception + */ @Test public void testNotSigningKey() throws Exception { GHRepository r = gitHub.getRepository("hub4j/github-api"); @@ -29,6 +45,12 @@ public void testNotSigningKey() throws Exception { equalTo(GHVerification.Reason.NOT_SIGNING_KEY)); } + /** + * Test gpgverify error. + * + * @throws Exception + * the exception + */ @Test public void testGpgverifyError() throws Exception { GHRepository r = gitHub.getRepository("hub4j/github-api"); @@ -39,6 +61,12 @@ public void testGpgverifyError() throws Exception { equalTo(GHVerification.Reason.GPGVERIFY_ERROR)); } + /** + * Test gpgverify unavailable. + * + * @throws Exception + * the exception + */ @Test public void testGpgverifyUnavailable() throws Exception { GHRepository r = gitHub.getRepository("hub4j/github-api"); @@ -49,6 +77,12 @@ public void testGpgverifyUnavailable() throws Exception { equalTo(GHVerification.Reason.GPGVERIFY_UNAVAILABLE)); } + /** + * Test unsigned. + * + * @throws Exception + * the exception + */ @Test public void testUnsigned() throws Exception { GHRepository r = gitHub.getRepository("hub4j/github-api"); @@ -58,6 +92,12 @@ public void testUnsigned() throws Exception { assertThat(commit.getCommitShortInfo().getVerification().getReason(), equalTo(GHVerification.Reason.UNSIGNED)); } + /** + * Test unknown signature type. + * + * @throws Exception + * the exception + */ @Test public void testUnknownSignatureType() throws Exception { GHRepository r = gitHub.getRepository("hub4j/github-api"); @@ -68,6 +108,12 @@ public void testUnknownSignatureType() throws Exception { equalTo(GHVerification.Reason.UNKNOWN_SIGNATURE_TYPE)); } + /** + * Test no user. + * + * @throws Exception + * the exception + */ @Test public void testNoUser() throws Exception { GHRepository r = gitHub.getRepository("hub4j/github-api"); @@ -77,6 +123,12 @@ public void testNoUser() throws Exception { assertThat(commit.getCommitShortInfo().getVerification().getReason(), equalTo(GHVerification.Reason.NO_USER)); } + /** + * Test unverified email. + * + * @throws Exception + * the exception + */ @Test public void testUnverifiedEmail() throws Exception { GHRepository r = gitHub.getRepository("hub4j/github-api"); @@ -87,6 +139,12 @@ public void testUnverifiedEmail() throws Exception { equalTo(GHVerification.Reason.UNVERIFIED_EMAIL)); } + /** + * Test bad email. + * + * @throws Exception + * the exception + */ @Test public void testBadEmail() throws Exception { GHRepository r = gitHub.getRepository("hub4j/github-api"); @@ -96,6 +154,12 @@ public void testBadEmail() throws Exception { assertThat(commit.getCommitShortInfo().getVerification().getReason(), equalTo(GHVerification.Reason.BAD_EMAIL)); } + /** + * Test unknown key. + * + * @throws Exception + * the exception + */ @Test public void testUnknownKey() throws Exception { GHRepository r = gitHub.getRepository("hub4j/github-api"); @@ -106,6 +170,12 @@ public void testUnknownKey() throws Exception { equalTo(GHVerification.Reason.UNKNOWN_KEY)); } + /** + * Test malformed signature. + * + * @throws Exception + * the exception + */ @Test public void testMalformedSignature() throws Exception { GHRepository r = gitHub.getRepository("hub4j/github-api"); @@ -116,6 +186,12 @@ public void testMalformedSignature() throws Exception { equalTo(GHVerification.Reason.MALFORMED_SIGNATURE)); } + /** + * Test invalid. + * + * @throws Exception + * the exception + */ @Test public void testInvalid() throws Exception { GHRepository r = gitHub.getRepository("hub4j/github-api"); @@ -125,6 +201,12 @@ public void testInvalid() throws Exception { assertThat(commit.getCommitShortInfo().getVerification().getReason(), equalTo(GHVerification.Reason.INVALID)); } + /** + * Test valid. + * + * @throws Exception + * the exception + */ @Test public void testValid() throws Exception { GHRepository r = gitHub.getRepository("hub4j/github-api"); @@ -135,4 +217,88 @@ public void testValid() throws Exception { assertThat(commit.getCommitShortInfo().getVerification().getPayload(), notNullValue()); assertThat(commit.getCommitShortInfo().getVerification().getSignature(), notNullValue()); } + + /** + * Test bad cert. + * + * @throws Exception + * the exception + */ + @Test + public void testBadCert() throws Exception { + GHRepository r = gitHub.getRepository("hub4j/github-api"); + GHCommit commit = r.getCommit("86a2e245aa6d71d54923655066049d9e21a15f01"); + assertThat(commit.getCommitShortInfo().getAuthor().getName(), equalTo("Sourabh Parkala")); + assertThat(commit.getCommitShortInfo().getVerification().getSignature(), notNullValue()); + assertThat(commit.getCommitShortInfo().getVerification().isVerified(), is(false)); + assertThat(commit.getCommitShortInfo().getVerification().getReason(), equalTo(GHVerification.Reason.BAD_CERT)); + } + + /** + * Test malformed sig. + * + * @throws Exception + * the exception + */ + @Test + public void testMalformedSig() throws Exception { + GHRepository r = gitHub.getRepository("hub4j/github-api"); + GHCommit commit = r.getCommit("86a2e245aa6d71d54923655066049d9e21a15f01"); + assertThat(commit.getCommitShortInfo().getAuthor().getName(), equalTo("Sourabh Parkala")); + assertThat(commit.getCommitShortInfo().getVerification().getSignature(), notNullValue()); + assertThat(commit.getCommitShortInfo().getVerification().isVerified(), is(false)); + assertThat(commit.getCommitShortInfo().getVerification().getReason(), + equalTo(GHVerification.Reason.MALFORMED_SIG)); + } + + /** + * Test OSCP error. + * + * @throws Exception + * the exception + */ + @Test + public void testOcspError() throws Exception { + GHRepository r = gitHub.getRepository("hub4j/github-api"); + GHCommit commit = r.getCommit("86a2e245aa6d71d54923655066049d9e21a15f01"); + assertThat(commit.getCommitShortInfo().getAuthor().getName(), equalTo("Sourabh Parkala")); + assertThat(commit.getCommitShortInfo().getVerification().getSignature(), notNullValue()); + assertThat(commit.getCommitShortInfo().getVerification().isVerified(), is(false)); + assertThat(commit.getCommitShortInfo().getVerification().getReason(), + equalTo(GHVerification.Reason.OCSP_ERROR)); + } + + /** + * Test OSCP pending. + * + * @throws Exception + * the exception + */ + @Test + public void testOscpPending() throws Exception { + GHRepository r = gitHub.getRepository("hub4j/github-api"); + GHCommit commit = r.getCommit("86a2e245aa6d71d54923655066049d9e21a15f01"); + assertThat(commit.getCommitShortInfo().getAuthor().getName(), equalTo("Sourabh Parkala")); + assertThat(commit.getCommitShortInfo().getVerification().getSignature(), notNullValue()); + assertThat(commit.getCommitShortInfo().getVerification().isVerified(), is(false)); + assertThat(commit.getCommitShortInfo().getVerification().getReason(), + equalTo(GHVerification.Reason.OCSP_PENDING)); + } + + /** + * Test OCSP revoked. + * + * @throws Exception + * the exception + */ + @Test + public void testOscpRevoked() throws Exception { + GHRepository r = gitHub.getRepository("hub4j/github-api"); + GHCommit commit = r.getCommit("86a2e245aa6d71d54923655066049d9e21a15f01"); + assertThat(commit.getCommitShortInfo().getAuthor().getName(), equalTo("Sourabh Parkala")); + assertThat(commit.getCommitShortInfo().getVerification().getSignature(), notNullValue()); + assertThat(commit.getCommitShortInfo().getVerification().isVerified(), is(false)); + assertThat(commit.getCommitShortInfo().getVerification().getReason(), + equalTo(GHVerification.Reason.OCSP_REVOKED)); + } } diff --git a/src/test/java/org/kohsuke/github/GHWorkflowRunTest.java b/src/test/java/org/kohsuke/github/GHWorkflowRunTest.java index d7b5442716..6f555fe02f 100644 --- a/src/test/java/org/kohsuke/github/GHWorkflowRunTest.java +++ b/src/test/java/org/kohsuke/github/GHWorkflowRunTest.java @@ -3,6 +3,7 @@ import org.awaitility.Awaitility; import org.junit.Before; import org.junit.Test; +import org.kohsuke.github.GHPullRequestQueryBuilder.Sort; import org.kohsuke.github.GHWorkflowJob.Step; import org.kohsuke.github.GHWorkflowRun.Conclusion; import org.kohsuke.github.GHWorkflowRun.Status; @@ -21,6 +22,10 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc +/** + * The Class GHWorkflowRunTest. + */ public class GHWorkflowRunTest extends AbstractGitHubWireMockTest { private static final String REPO_NAME = "hub4j-test-org/GHWorkflowRunTest"; @@ -39,14 +44,27 @@ public class GHWorkflowRunTest extends AbstractGitHubWireMockTest { private static final String MULTI_JOBS_WORKFLOW_PATH = "multi-jobs-workflow.yml"; private static final String MULTI_JOBS_WORKFLOW_NAME = "Multi jobs workflow"; private static final String RUN_A_ONE_LINE_SCRIPT_STEP_NAME = "Run a one-line script"; + private static final String UBUNTU_LABEL = "ubuntu-latest"; private GHRepository repo; + /** + * Sets the up. + * + * @throws Exception + * the exception + */ @Before public void setUp() throws Exception { repo = gitHub.getRepository(REPO_NAME); } + /** + * Test manual run and basic information. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testManualRunAndBasicInformation() throws IOException { GHWorkflow workflow = repo.getWorkflow(FAST_WORKFLOW_PATH); @@ -93,6 +111,12 @@ public void testManualRunAndBasicInformation() throws IOException { assertThat(workflowRun.getHeadSha(), notNullValue()); } + /** + * Test cancel and rerun. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testCancelAndRerun() throws IOException { GHWorkflow workflow = repo.getWorkflow(SLOW_WORKFLOW_PATH); @@ -137,6 +161,12 @@ public void testCancelAndRerun() throws IOException { workflowRun.cancel(); } + /** + * Test delete. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testDelete() throws IOException { GHWorkflow workflow = repo.getWorkflow(FAST_WORKFLOW_PATH); @@ -169,6 +199,12 @@ public void testDelete() throws IOException { } } + /** + * Test search on branch. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testSearchOnBranch() throws IOException { GHWorkflow workflow = repo.getWorkflow(FAST_WORKFLOW_PATH); @@ -196,6 +232,12 @@ public void testSearchOnBranch() throws IOException { assertThat(workflowRun.getConclusion(), equalTo(Conclusion.SUCCESS)); } + /** + * Test logs. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testLogs() throws IOException { GHWorkflow workflow = repo.getWorkflow(FAST_WORKFLOW_PATH); @@ -233,6 +275,12 @@ public void testLogs() throws IOException { } } + /** + * Test artifacts. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @SuppressWarnings("resource") @Test public void testArtifacts() throws IOException { @@ -314,6 +362,12 @@ public void testArtifacts() throws IOException { } } + /** + * Test jobs. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testJobs() throws IOException { GHWorkflow workflow = repo.getWorkflow(MULTI_JOBS_WORKFLOW_PATH); @@ -361,18 +415,63 @@ public void testJobs() throws IOException { assertThat(allJobs.size(), greaterThanOrEqualTo(2)); } - private void await(Function condition) throws IOException { + /** + * Test approval. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ + @Test + public void testApproval() throws IOException { + List pullRequests = repo.queryPullRequests() + .base(MAIN_BRANCH) + .sort(Sort.CREATED) + .direction(GHDirection.DESC) + .state(GHIssueState.OPEN) + .list() + .toList(); + + assertThat(pullRequests.size(), greaterThanOrEqualTo(1)); + GHPullRequest pullRequest = pullRequests.get(0); + + await("Waiting for workflow run to be pending", + (nonRecordingRepo) -> getWorkflowRun(nonRecordingRepo, + FAST_WORKFLOW_NAME, + MAIN_BRANCH, + Conclusion.ACTION_REQUIRED).isPresent()); + + GHWorkflowRun workflowRun = getWorkflowRun(FAST_WORKFLOW_NAME, MAIN_BRANCH, Conclusion.ACTION_REQUIRED) + .orElseThrow(() -> new IllegalStateException("We must have a valid workflow run starting from here")); + + workflowRun.approve(); + + await("Waiting for workflow run to be approved", + (nonRecordingRepo) -> getWorkflowRun(nonRecordingRepo, + FAST_WORKFLOW_NAME, + pullRequest.getHead().getRef(), + Conclusion.SUCCESS).isPresent()); + + workflowRun = repo.getWorkflowRun(workflowRun.getId()); + + assertThat(workflowRun.getConclusion(), is(Conclusion.SUCCESS)); + } + + private void await(String alias, Function condition) throws IOException { if (!mockGitHub.isUseProxy()) { return; } GHRepository nonRecordingRepo = getNonRecordingGitHub().getRepository(REPO_NAME); - Awaitility.await().pollInterval(Duration.ofSeconds(5)).atMost(Duration.ofSeconds(60)).until(() -> { + Awaitility.await(alias).pollInterval(Duration.ofSeconds(5)).atMost(Duration.ofSeconds(60)).until(() -> { return condition.apply(nonRecordingRepo); }); } + private void await(Function condition) throws IOException { + await(null, condition); + } + private long getLatestPreexistingWorkflowRunId() { return repo.queryWorkflowRuns().list().withPageSize(1).iterator().next().getId(); } @@ -406,6 +505,31 @@ private Optional getWorkflowRun(String workflowName, return getWorkflowRun(this.repo, workflowName, branch, status, latestPreexistingWorkflowRunId); } + private static Optional getWorkflowRun(GHRepository repository, + String workflowName, + String branch, + Conclusion conclusion) { + List workflowRuns = repository.queryWorkflowRuns() + .branch(branch) + .conclusion(conclusion) + .event(GHEvent.PULL_REQUEST) + .list() + .withPageSize(20) + .iterator() + .nextPage(); + + for (GHWorkflowRun workflowRun : workflowRuns) { + if (workflowRun.getName().equals(workflowName)) { + return Optional.of(workflowRun); + } + } + return Optional.empty(); + } + + private Optional getWorkflowRun(String workflowName, String branch, Conclusion conclusion) { + return getWorkflowRun(this.repo, workflowName, branch, conclusion); + } + private static Status getWorkflowRunStatus(GHRepository repository, long workflowRunId) { try { return repository.getWorkflowRun(workflowRunId).getStatus(); @@ -477,6 +601,10 @@ private static void checkJobProperties(long workflowRunId, GHWorkflowJob job, St assertThat(job.getUrl().getPath(), containsString("/actions/jobs/")); assertThat(job.getHtmlUrl().getPath(), containsString("/runs/" + job.getId())); assertThat(job.getCheckRunUrl().getPath(), containsString("/check-runs/")); + assertThat(job.getRunnerId(), is(1)); + assertThat(job.getRunnerName(), containsString("my runner")); + assertThat(job.getRunnerGroupId(), is(2)); + assertThat(job.getRunnerGroupName(), containsString("my runner group")); // we only test the step we have control over, the others are added by GitHub Optional step = job.getSteps() @@ -487,6 +615,11 @@ private static void checkJobProperties(long workflowRunId, GHWorkflowJob job, St fail("Unable to find " + RUN_A_ONE_LINE_SCRIPT_STEP_NAME + " step"); } + Optional labelOptional = job.getLabels().stream().filter(s -> s.equals(UBUNTU_LABEL)).findFirst(); + if (!labelOptional.isPresent()) { + fail("Unable to find " + UBUNTU_LABEL + " label"); + } + checkStepProperties(step.get(), RUN_A_ONE_LINE_SCRIPT_STEP_NAME, 2); } diff --git a/src/test/java/org/kohsuke/github/GHWorkflowTest.java b/src/test/java/org/kohsuke/github/GHWorkflowTest.java index a91f9f4ca9..cfcca971f3 100644 --- a/src/test/java/org/kohsuke/github/GHWorkflowTest.java +++ b/src/test/java/org/kohsuke/github/GHWorkflowTest.java @@ -15,12 +15,22 @@ import static org.hamcrest.Matchers.*; import static org.hamcrest.Matchers.notNullValue; +// TODO: Auto-generated Javadoc +/** + * The Class GHWorkflowTest. + */ public class GHWorkflowTest extends AbstractGitHubWireMockTest { private static String REPO_NAME = "hub4j-test-org/GHWorkflowTest"; private GHRepository repo; + /** + * Cleanup. + * + * @throws Exception + * the exception + */ @Before @After public void cleanup() throws Exception { @@ -35,11 +45,23 @@ public void cleanup() throws Exception { } } + /** + * Sets the up. + * + * @throws Exception + * the exception + */ @Before public void setUp() throws Exception { repo = gitHub.getRepository(REPO_NAME); } + /** + * Test basic information. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testBasicInformation() throws IOException { GHWorkflow workflow = repo.getWorkflow("test-workflow.yml"); @@ -59,6 +81,12 @@ public void testBasicInformation() throws IOException { assertThat(workflowById.getNodeId(), equalTo(workflow.getNodeId())); } + /** + * Test disable enable. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testDisableEnable() throws IOException { GHWorkflow workflow = repo.getWorkflow("test-workflow.yml"); @@ -76,6 +104,12 @@ public void testDisableEnable() throws IOException { assertThat(workflow.getState(), equalTo("active")); } + /** + * Test dispatch. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testDispatch() throws IOException { GHWorkflow workflow = repo.getWorkflow("test-workflow.yml"); @@ -92,6 +126,12 @@ public void testDispatch() throws IOException { .withRequestBody(containing("value"))); } + /** + * Test list workflows. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testListWorkflows() throws IOException { List workflows = repo.listWorkflows().toList(); @@ -110,12 +150,18 @@ public void testListWorkflows() throws IOException { equalTo("/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg")); } + /** + * Test list workflow runs. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testListWorkflowRuns() throws IOException { GHWorkflow workflow = repo.getWorkflow("test-workflow.yml"); List workflowRuns = workflow.listRuns().toList(); - assertThat(workflowRuns.size(), is(2)); + assertThat(workflowRuns.size(), greaterThan(2)); checkWorkflowRunProperties(workflowRuns.get(0), workflow.getId()); checkWorkflowRunProperties(workflowRuns.get(1), workflow.getId()); diff --git a/src/test/java/org/kohsuke/github/GitHubConnectionTest.java b/src/test/java/org/kohsuke/github/GitHubConnectionTest.java index 94f0d6f4e8..fd3d6ebffb 100644 --- a/src/test/java/org/kohsuke/github/GitHubConnectionTest.java +++ b/src/test/java/org/kohsuke/github/GitHubConnectionTest.java @@ -18,15 +18,25 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc /** * Unit test for {@link GitHub}. */ public class GitHubConnectionTest extends AbstractGitHubWireMockTest { + /** + * Instantiates a new git hub connection test. + */ public GitHubConnectionTest() { useDefaultGitHub = false; } + /** + * Test offline. + * + * @throws Exception + * the exception + */ @Test public void testOffline() throws Exception { GitHub hub = GitHub.offline(); @@ -41,6 +51,12 @@ public void testOffline() throws Exception { } } + /** + * Test git hub server with http. + * + * @throws Exception + * the exception + */ @Test public void testGitHubServerWithHttp() throws Exception { GitHub hub = GitHub.connectToEnterprise("http://enterprise.kohsuke.org/api/v3", "bogus", "bogus"); @@ -48,6 +64,12 @@ public void testGitHubServerWithHttp() throws Exception { equalTo("http://enterprise.kohsuke.org/api/v3/test")); } + /** + * Test git hub server with https. + * + * @throws Exception + * the exception + */ @Test public void testGitHubServerWithHttps() throws Exception { GitHub hub = GitHub.connectToEnterprise("https://enterprise.kohsuke.org/api/v3", "bogus", "bogus"); @@ -55,6 +77,12 @@ public void testGitHubServerWithHttps() throws Exception { equalTo("https://enterprise.kohsuke.org/api/v3/test")); } + /** + * Test git hub server without server. + * + * @throws Exception + * the exception + */ @Test public void testGitHubServerWithoutServer() throws Exception { GitHub hub = GitHub.connectUsingPassword("kohsuke", "bogus"); @@ -62,6 +90,12 @@ public void testGitHubServerWithoutServer() throws Exception { equalTo("https://api.github.com/test")); } + /** + * Test git hub builder from environment. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testGitHubBuilderFromEnvironment() throws IOException { // we disable this test for JDK 16+ as the current hacks in setupEnvironment() don't work with JDK 16+ @@ -106,6 +140,12 @@ public void testGitHubBuilderFromEnvironment() throws IOException { } + /** + * Test git hub builder from custom environment. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testGitHubBuilderFromCustomEnvironment() throws IOException { // we disable this test for JDK 16+ as the current hacks in setupEnvironment() don't work with JDK 16+ @@ -143,6 +183,12 @@ public void testGitHubBuilderFromCustomEnvironment() throws IOException { assertThat(((UserAuthorizationProvider) builder.authorizationProvider).getLogin(), equalTo("bogus login")); } + /** + * Test git hub builder from credentials with environment. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testGitHubBuilderFromCredentialsWithEnvironment() throws IOException { // we disable this test for JDK 16+ as the current hacks in setupEnvironment() don't work with JDK 16+ @@ -187,6 +233,12 @@ public void testGitHubBuilderFromCredentialsWithEnvironment() throws IOException assertThat(((UserAuthorizationProvider) builder.authorizationProvider).getLogin(), equalTo("bogus login")); } + /** + * Test git hub builder from credentials with property file. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testGitHubBuilderFromCredentialsWithPropertyFile() throws IOException { // we disable this test for JDK 16+ as the current hacks in setupEnvironment() don't work with JDK 16+ @@ -266,6 +318,12 @@ private String getTestDirectory() { return new File("target").getAbsolutePath(); } + /** + * Test anonymous. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testAnonymous() throws IOException { // we disable this test for JDK 16+ as the current hacks in setupEnvironment() don't work with JDK 16+ @@ -284,6 +342,12 @@ public void testAnonymous() throws IOException { assertThat(builder.authorizationProvider, sameInstance(AuthorizationProvider.ANONYMOUS)); } + /** + * Test github builder with app installation token. + * + * @throws Exception + * the exception + */ @Test public void testGithubBuilderWithAppInstallationToken() throws Exception { @@ -299,6 +363,12 @@ public void testGithubBuilderWithAppInstallationToken() throws Exception { assertThat(github.getClient().getLogin(), is(emptyString())); } + /** + * Test git hub is api url valid. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testGitHubIsApiUrlValid() throws IOException { // NOTE: We cannot test connectAnonymously on a general basis because it can hang if @@ -327,6 +397,12 @@ public void testGitHubIsApiUrlValid() throws IOException { } } + /** + * Test git hub O auth user query. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testGitHubOAuthUserQuery() throws IOException { snapshotNotAllowed(); diff --git a/src/test/java/org/kohsuke/github/GitHubStaticTest.java b/src/test/java/org/kohsuke/github/GitHubStaticTest.java index 37f67aa2ca..16ac75b524 100644 --- a/src/test/java/org/kohsuke/github/GitHubStaticTest.java +++ b/src/test/java/org/kohsuke/github/GitHubStaticTest.java @@ -22,6 +22,7 @@ import static org.junit.Assert.assertThrows; import static org.junit.Assert.fail; +// TODO: Auto-generated Javadoc /** * Unit test for {@link GitHub} static helpers. * @@ -29,6 +30,12 @@ */ public class GitHubStaticTest extends AbstractGitHubWireMockTest { + /** + * Test parse URL. + * + * @throws Exception + * the exception + */ @Test public void testParseURL() throws Exception { assertThat(GitHubClient.parseURL("https://api.github.com"), equalTo(new URL("https://api.github.com"))); @@ -42,11 +49,23 @@ public void testParseURL() throws Exception { } } + /** + * Test parse instant. + * + * @throws Exception + * the exception + */ @Test public void testParseInstant() throws Exception { assertThat(GitHubClient.parseInstant(null), nullValue()); } + /** + * Test raw url path invalid. + * + * @throws Exception + * the exception + */ @Test public void testRawUrlPathInvalid() throws Exception { try { @@ -57,6 +76,12 @@ public void testRawUrlPathInvalid() throws Exception { } } + /** + * Time round trip. + * + * @throws Exception + * the exception + */ @Test public void timeRoundTrip() throws Exception { final long stableInstantEpochMilli = 1533721222255L; @@ -116,6 +141,12 @@ public void timeRoundTrip() throws Exception { } } + /** + * Test from record. + * + * @throws Exception + * the exception + */ @Test public void testFromRecord() throws Exception { final long stableInstantEpochSeconds = 11610674762L; @@ -172,6 +203,12 @@ public void testFromRecord() throws Exception { assertThat(rateLimit_core.toString(), containsString("search {remaining=999999, limit=1000000")); } + /** + * Test git hub rate limit should replace rate limit. + * + * @throws Exception + * the exception + */ @Test public void testGitHubRateLimitShouldReplaceRateLimit() throws Exception { @@ -309,6 +346,12 @@ public void testGitHubRateLimitShouldReplaceRateLimit() throws Exception { } + /** + * Test mapping reader writer. + * + * @throws Exception + * the exception + */ @Test public void testMappingReaderWriter() throws Exception { @@ -348,6 +391,12 @@ public void testMappingReaderWriter() throws Exception { } + /** + * Test git hub request get api URL. + * + * @throws Exception + * the exception + */ @Test public void testGitHubRequest_getApiURL() throws Exception { assertThat(GitHubRequest.getApiURL("github.com", "/endpoint").toString(), @@ -380,10 +429,30 @@ public void testGitHubRequest_getApiURL() throws Exception { } + /** + * Format date. + * + * @param dt + * the dt + * @param format + * the format + * @return the string + */ static String formatDate(Date dt, String format) { return formatZonedDate(dt, format, "GMT"); } + /** + * Format zoned date. + * + * @param dt + * the dt + * @param format + * the format + * @param timeZone + * the time zone + * @return the string + */ static String formatZonedDate(Date dt, String format, String timeZone) { SimpleDateFormat df = new SimpleDateFormat(format); df.setTimeZone(TimeZone.getTimeZone(timeZone)); diff --git a/src/test/java/org/kohsuke/github/GitHubTest.java b/src/test/java/org/kohsuke/github/GitHubTest.java index 73002f4ae4..4b4a848545 100644 --- a/src/test/java/org/kohsuke/github/GitHubTest.java +++ b/src/test/java/org/kohsuke/github/GitHubTest.java @@ -11,11 +11,18 @@ import static org.hamcrest.Matchers.*; import static org.kohsuke.github.GHMarketplaceAccountType.ORGANIZATION; +// TODO: Auto-generated Javadoc /** * Unit test for {@link GitHub}. */ public class GitHubTest extends AbstractGitHubWireMockTest { + /** + * List users. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void listUsers() throws IOException { for (GHUser u : Iterables.limit(gitHub.listUsers(), 10)) { @@ -24,6 +31,12 @@ public void listUsers() throws IOException { } } + /** + * Gets the repository. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void getRepository() throws IOException { GHRepository repo = gitHub.getRepository("hub4j/github-api"); @@ -35,11 +48,25 @@ public void getRepository() throws IOException { try { gitHub.getRepository("hub4j_github-api"); + fail(); + } catch (IllegalArgumentException e) { + assertThat(e.getMessage(), equalTo("Repository name must be in format owner/repo")); + } + + try { + gitHub.getRepository("hub4j/github/api"); + fail(); } catch (IllegalArgumentException e) { assertThat(e.getMessage(), equalTo("Repository name must be in format owner/repo")); } } + /** + * Gets the orgs. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void getOrgs() throws IOException { int iterations = 10; @@ -63,6 +90,12 @@ public void getOrgs() throws IOException { assertThat(org, not(sameInstance(org2))); } + /** + * Search users. + * + * @throws Exception + * the exception + */ @Test public void searchUsers() throws Exception { PagedSearchIterable r = gitHub.searchUsers().q("tom").repos(">42").followers(">1000").list(); @@ -72,6 +105,12 @@ public void searchUsers() throws Exception { assertThat(r.getTotalCount(), greaterThan(0)); } + /** + * Test list all repositories. + * + * @throws Exception + * the exception + */ @Test public void testListAllRepositories() throws Exception { Iterator itr = gitHub.listAllPublicRepositories().iterator(); @@ -92,6 +131,12 @@ public void testListAllRepositories() throws Exception { } } + /** + * Search content. + * + * @throws Exception + * the exception + */ @Test public void searchContent() throws Exception { PagedSearchIterable r = gitHub.searchContent() @@ -160,6 +205,9 @@ public void searchContent() throws Exception { assertThat(e.getMessage(), equalTo("qualifier cannot be null or empty")); } + /** + * Search content with forks. + */ @Test public void searchContentWithForks() { final PagedSearchIterable results = gitHub.searchContent() @@ -204,6 +252,12 @@ public void searchContentWithForks() { } } + /** + * Test list my authorizations. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testListMyAuthorizations() throws IOException { PagedIterable list = gitHub.listMyAuthorizations(); @@ -213,6 +267,12 @@ public void testListMyAuthorizations() throws IOException { } } + /** + * Gets the meta. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void getMeta() throws IOException { GHMeta meta = gitHub.getMeta(); @@ -246,6 +306,12 @@ public void getMeta() throws IOException { } } + /** + * Gets the my marketplace purchases. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void getMyMarketplacePurchases() throws IOException { List userPurchases = gitHub.getMyMarketplacePurchases().toList(); @@ -291,6 +357,12 @@ public void getMyMarketplacePurchases() throws IOException { } } + /** + * Gzip. + * + * @throws Exception + * the exception + */ @Test public void gzip() throws Exception { @@ -304,6 +376,12 @@ public void gzip() throws Exception { assertThat(org.getResponseHeaderFields().get("Content-eNcoding").get(0), is("gzip")); } + /** + * Test header field name. + * + * @throws Exception + * the exception + */ @Test public void testHeaderFieldName() throws Exception { diff --git a/src/test/java/org/kohsuke/github/Github2faTest.java b/src/test/java/org/kohsuke/github/Github2faTest.java index c5be139321..a76661a8d0 100644 --- a/src/test/java/org/kohsuke/github/Github2faTest.java +++ b/src/test/java/org/kohsuke/github/Github2faTest.java @@ -8,11 +8,20 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc /** + * The Class Github2faTest. + * * @author Kevin Harrington mad.hephaestus@gmail.com */ public class Github2faTest extends AbstractGitHubWireMockTest { + /** + * Test 2 fa token. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void test2faToken() throws IOException { assertThat("Test only valid when not proxying", mockGitHub.isUseProxy(), is(false)); diff --git a/src/test/java/org/kohsuke/github/LifecycleTest.java b/src/test/java/org/kohsuke/github/LifecycleTest.java index e2ca6904fd..2651346f78 100644 --- a/src/test/java/org/kohsuke/github/LifecycleTest.java +++ b/src/test/java/org/kohsuke/github/LifecycleTest.java @@ -12,7 +12,18 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc +/** + * The Class LifecycleTest. + */ public class LifecycleTest extends AbstractGitHubWireMockTest { + + /** + * Test create repository. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testCreateRepository() throws IOException { Assume.assumeFalse(SystemUtils.IS_OS_WINDOWS); diff --git a/src/test/java/org/kohsuke/github/OrgAppInstallationAuthorizationProviderTest.java b/src/test/java/org/kohsuke/github/OrgAppInstallationAuthorizationProviderTest.java deleted file mode 100644 index 987e9a64a2..0000000000 --- a/src/test/java/org/kohsuke/github/OrgAppInstallationAuthorizationProviderTest.java +++ /dev/null @@ -1,43 +0,0 @@ -package org.kohsuke.github; - -import org.junit.Test; -import org.kohsuke.github.authorization.ImmutableAuthorizationProvider; -import org.kohsuke.github.authorization.OrgAppInstallationAuthorizationProvider; - -import java.io.IOException; - -import static org.hamcrest.CoreMatchers.equalTo; -import static org.hamcrest.CoreMatchers.notNullValue; - -public class OrgAppInstallationAuthorizationProviderTest extends AbstractGHAppInstallationTest { - - public OrgAppInstallationAuthorizationProviderTest() { - useDefaultGitHub = false; - } - - @Test(expected = HttpException.class) - public void invalidJWTTokenRaisesException() throws IOException { - OrgAppInstallationAuthorizationProvider provider = new OrgAppInstallationAuthorizationProvider( - "testOrganization", - ImmutableAuthorizationProvider.fromJwtToken("myToken")); - gitHub = getGitHubBuilder().withAuthorizationProvider(provider) - .withEndpoint(mockGitHub.apiServer().baseUrl()) - .build(); - - provider.getEncodedAuthorization(); - } - - @Test - public void validJWTTokenAllowsOauthTokenRequest() throws IOException { - OrgAppInstallationAuthorizationProvider provider = new OrgAppInstallationAuthorizationProvider("hub4j-test-org", - ImmutableAuthorizationProvider.fromJwtToken("bogus-valid-token")); - gitHub = getGitHubBuilder().withAuthorizationProvider(provider) - .withEndpoint(mockGitHub.apiServer().baseUrl()) - .build(); - String encodedAuthorization = provider.getEncodedAuthorization(); - - assertThat(encodedAuthorization, notNullValue()); - assertThat(encodedAuthorization, equalTo("token v1.9a12d913f980a45a16ac9c3a9d34d9b7sa314cb6")); - } - -} diff --git a/src/test/java/org/kohsuke/github/Payload.java b/src/test/java/org/kohsuke/github/Payload.java index 7365468d24..74754b17a6 100644 --- a/src/test/java/org/kohsuke/github/Payload.java +++ b/src/test/java/org/kohsuke/github/Payload.java @@ -5,8 +5,18 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; +// TODO: Auto-generated Javadoc +/** + * The Interface Payload. + */ @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface Payload { + + /** + * Value. + * + * @return the string + */ String value(); } diff --git a/src/test/java/org/kohsuke/github/PayloadRule.java b/src/test/java/org/kohsuke/github/PayloadRule.java index c12a5ff45a..dcd41cae0f 100644 --- a/src/test/java/org/kohsuke/github/PayloadRule.java +++ b/src/test/java/org/kohsuke/github/PayloadRule.java @@ -16,7 +16,10 @@ import javax.annotation.Nonnull; +// TODO: Auto-generated Javadoc /** + * The Class PayloadRule. + * * @author Stephen Connolly */ public class PayloadRule implements TestRule { @@ -27,10 +30,25 @@ public class PayloadRule implements TestRule { private String resourceName; + /** + * Instantiates a new payload rule. + * + * @param type + * the type + */ public PayloadRule(String type) { this.type = type; } + /** + * Apply. + * + * @param base + * the base + * @param description + * the description + * @return the statement + */ public Statement apply(final Statement base, final Description description) { return new Statement() { @Override @@ -47,6 +65,13 @@ public void evaluate() throws Throwable { }; } + /** + * As input stream. + * + * @return the input stream + * @throws FileNotFoundException + * the file not found exception + */ public InputStream asInputStream() throws FileNotFoundException { String name = resourceName.startsWith("/") ? resourceName + type @@ -58,6 +83,13 @@ public InputStream asInputStream() throws FileNotFoundException { return stream; } + /** + * As bytes. + * + * @return the byte[] + * @throws IOException + * Signals that an I/O exception has occurred. + */ public byte[] asBytes() throws IOException { InputStream input = asInputStream(); try { @@ -67,31 +99,90 @@ public byte[] asBytes() throws IOException { } } + /** + * As string. + * + * @param encoding + * the encoding + * @return the string + * @throws IOException + * Signals that an I/O exception has occurred. + */ public String asString(Charset encoding) throws IOException { return new String(asBytes(), encoding.name()); } + /** + * As string. + * + * @param encoding + * the encoding + * @return the string + * @throws IOException + * Signals that an I/O exception has occurred. + */ public String asString(String encoding) throws IOException { return new String(asBytes(), encoding); } + /** + * As string. + * + * @return the string + * @throws IOException + * Signals that an I/O exception has occurred. + */ public String asString() throws IOException { return new String(asBytes(), Charset.defaultCharset().name()); } + /** + * As reader. + * + * @return the reader + * @throws FileNotFoundException + * the file not found exception + */ public Reader asReader() throws FileNotFoundException { return new InputStreamReader(asInputStream(), Charset.defaultCharset()); } + /** + * As reader. + * + * @param transformer + * the transformer + * @return the reader + * @throws IOException + * Signals that an I/O exception has occurred. + */ public Reader asReader(@Nonnull Function transformer) throws IOException { String payloadString = asString(); return new StringReader(transformer.apply(payloadString)); } + /** + * As reader. + * + * @param encoding + * the encoding + * @return the reader + * @throws IOException + * Signals that an I/O exception has occurred. + */ public Reader asReader(String encoding) throws IOException { return new InputStreamReader(asInputStream(), encoding); } + /** + * As reader. + * + * @param encoding + * the encoding + * @return the reader + * @throws FileNotFoundException + * the file not found exception + */ public Reader asReader(Charset encoding) throws FileNotFoundException { return new InputStreamReader(asInputStream(), encoding); } diff --git a/src/test/java/org/kohsuke/github/RateLimitCheckerTest.java b/src/test/java/org/kohsuke/github/RateLimitCheckerTest.java index 9650032480..8192ce0359 100644 --- a/src/test/java/org/kohsuke/github/RateLimitCheckerTest.java +++ b/src/test/java/org/kohsuke/github/RateLimitCheckerTest.java @@ -8,6 +8,7 @@ import static org.hamcrest.CoreMatchers.*; +// TODO: Auto-generated Javadoc /** * Test showing the behavior of the {@link GitHubRateLimitChecker} and {@link RateLimitChecker.LiteralValue}. * @@ -16,18 +17,35 @@ */ public class RateLimitCheckerTest extends AbstractGitHubWireMockTest { + /** The rate limit. */ GHRateLimit rateLimit = null; + + /** The previous limit. */ GHRateLimit previousLimit = null; + /** + * Instantiates a new rate limit checker test. + */ public RateLimitCheckerTest() { useDefaultGitHub = false; } + /** + * Gets the wire mock options. + * + * @return the wire mock options + */ @Override protected WireMockConfiguration getWireMockOptions() { return super.getWireMockOptions().extensions(templating.newResponseTransformer()); } + /** + * Test git hub rate limit. + * + * @throws Exception + * the exception + */ @Test public void testGitHubRateLimit() throws Exception { // Customized response that templates the date to keep things working @@ -84,6 +102,9 @@ public void testGitHubRateLimit() throws Exception { assertThat(rateLimit.getCore().getRemaining(), equalTo(4601)); } + /** + * Update test rate limit. + */ protected void updateTestRateLimit() { previousLimit = rateLimit; rateLimit = gitHub.lastRateLimit(); diff --git a/src/test/java/org/kohsuke/github/RateLimitHandlerTest.java b/src/test/java/org/kohsuke/github/RateLimitHandlerTest.java index 7f304e7fbc..b624409152 100644 --- a/src/test/java/org/kohsuke/github/RateLimitHandlerTest.java +++ b/src/test/java/org/kohsuke/github/RateLimitHandlerTest.java @@ -9,6 +9,7 @@ import static org.hamcrest.CoreMatchers.*; import static org.hamcrest.core.IsInstanceOf.instanceOf; +// TODO: Auto-generated Javadoc /** * Test showing the behavior of OkHttpConnector with and without cache. *

    @@ -31,15 +32,29 @@ */ public class RateLimitHandlerTest extends AbstractGitHubWireMockTest { + /** + * Instantiates a new rate limit handler test. + */ public RateLimitHandlerTest() { useDefaultGitHub = false; } + /** + * Gets the wire mock options. + * + * @return the wire mock options + */ @Override protected WireMockConfiguration getWireMockOptions() { return super.getWireMockOptions().extensions(templating.newResponseTransformer()); } + /** + * Test handler fail. + * + * @throws Exception + * the exception + */ @Test public void testHandler_Fail() throws Exception { // Customized response that templates the date to keep things working @@ -64,6 +79,12 @@ public void testHandler_Fail() throws Exception { } + /** + * Test handler http status fail. + * + * @throws Exception + * the exception + */ @Test public void testHandler_HttpStatus_Fail() throws Exception { // Customized response that templates the date to keep things working @@ -91,6 +112,12 @@ public void testHandler_HttpStatus_Fail() throws Exception { } + /** + * Test handler wait. + * + * @throws Exception + * the exception + */ @Test public void testHandler_Wait() throws Exception { // Customized response that templates the date to keep things working @@ -107,6 +134,12 @@ public void testHandler_Wait() throws Exception { assertThat(mockGitHub.getRequestCount(), equalTo(3)); } + /** + * Test handler wait stuck. + * + * @throws Exception + * the exception + */ @Test public void testHandler_WaitStuck() throws Exception { // Customized response that templates the date to keep things working diff --git a/src/test/java/org/kohsuke/github/RepositoryTrafficTest.java b/src/test/java/org/kohsuke/github/RepositoryTrafficTest.java index 6ebf39d82c..416c510710 100644 --- a/src/test/java/org/kohsuke/github/RepositoryTrafficTest.java +++ b/src/test/java/org/kohsuke/github/RepositoryTrafficTest.java @@ -9,6 +9,10 @@ import java.util.Iterator; import java.util.List; +// TODO: Auto-generated Javadoc +/** + * The Class RepositoryTrafficTest. + */ public class RepositoryTrafficTest extends AbstractGitHubWireMockTest { final private String repositoryName = "github-api"; @@ -39,6 +43,12 @@ private static GHRepository getRepository(GitHub gitHub) throws IOException { return gitHub.getOrganization("hub4j").getRepository("github-api"); } + /** + * Test get views. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testGetViews() throws IOException { // Would change all the time @@ -66,6 +76,12 @@ public void testGetViews() throws IOException { checkResponse(expectedResult, views); } + /** + * Test get clones. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testGetClones() throws IOException { // Would change all the time @@ -91,6 +107,12 @@ public void testGetClones() throws IOException { checkResponse(expectedResult, clones); } + /** + * Test get traffic stats access failure due to insufficient permissions. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testGetTrafficStatsAccessFailureDueToInsufficientPermissions() throws IOException { // Snapshot taken without permissions diff --git a/src/test/java/org/kohsuke/github/RequesterRetryTest.java b/src/test/java/org/kohsuke/github/RequesterRetryTest.java index 523acff7b4..5a635c3a0f 100644 --- a/src/test/java/org/kohsuke/github/RequesterRetryTest.java +++ b/src/test/java/org/kohsuke/github/RequesterRetryTest.java @@ -37,7 +37,10 @@ import static com.github.tomakehurst.wiremock.client.WireMock.*; import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc /** + * The Class RequesterRetryTest. + * * @author Victor Martinez */ public class RequesterRetryTest extends AbstractGitHubWireMockTest { @@ -46,13 +49,27 @@ public class RequesterRetryTest extends AbstractGitHubWireMockTest { // class private static OutputStream logCapturingStream; private static StreamHandler customLogHandler; + + /** The connection. */ HttpURLConnection connection; + + /** The base request count. */ int baseRequestCount; + /** + * Instantiates a new requester retry test. + */ public RequesterRetryTest() { useDefaultGitHub = false; } + /** + * Gets the repository. + * + * @return the repository + * @throws IOException + * Signals that an I/O exception has occurred. + */ protected GHRepository getRepository() throws IOException { return getRepository(gitHub); } @@ -61,6 +78,9 @@ private GHRepository getRepository(GitHub gitHub) throws IOException { return gitHub.getOrganization("hub4j-test-org").getRepository("github-api"); } + /** + * Attach log capturer. + */ @Before public void attachLogCapturer() { logCapturingStream = new ByteArrayOutputStream(); @@ -69,11 +89,24 @@ public void attachLogCapturer() { Logger.getLogger(OkHttpClient.class.getName()).addHandler(customLogHandler); } + /** + * Gets the test captured log. + * + * @return the test captured log + * @throws IOException + * Signals that an I/O exception has occurred. + */ public String getTestCapturedLog() throws IOException { customLogHandler.flush(); return logCapturingStream.toString(); } + /** + * Reset test captured log. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ public void resetTestCapturedLog() throws IOException { Logger.getLogger(GitHubClient.class.getName()).removeHandler(customLogHandler); Logger.getLogger(OkHttpClient.class.getName()).removeHandler(customLogHandler); @@ -81,6 +114,12 @@ public void resetTestCapturedLog() throws IOException { attachLogCapturer(); } + /** + * Test git hub is api url valid. + * + * @throws Exception + * the exception + */ @Ignore("Used okhttp3 and this to verify connection closing. Too flaky for CI system.") @Test public void testGitHubIsApiUrlValid() throws Exception { @@ -109,6 +148,12 @@ public void testGitHubIsApiUrlValid() throws Exception { assertThat(capturedLog, not(containsString("leaked"))); } + /** + * Test socket connection and retry. + * + * @throws Exception + * the exception + */ // Issue #539 @Test public void testSocketConnectionAndRetry() throws Exception { @@ -139,6 +184,12 @@ public void testSocketConnectionAndRetry() throws Exception { assertThat(this.mockGitHub.getRequestCount(), equalTo(baseRequestCount + 6)); } + /** + * Test socket connection and retry status code. + * + * @throws Exception + * the exception + */ // Issue #539 @Test public void testSocketConnectionAndRetry_StatusCode() throws Exception { @@ -171,6 +222,12 @@ public void testSocketConnectionAndRetry_StatusCode() throws Exception { assertThat(this.mockGitHub.getRequestCount(), equalTo(baseRequestCount + 6)); } + /** + * Test socket connection and retry success. + * + * @throws Exception + * the exception + */ @Test public void testSocketConnectionAndRetry_Success() throws Exception { // Only implemented for HttpURLConnection connectors @@ -224,6 +281,12 @@ public void testSocketConnectionAndRetry_Success() throws Exception { assertThat(this.mockGitHub.getRequestCount(), equalTo(baseRequestCount + 6)); } + /** + * Test response code failure exceptions. + * + * @throws Exception + * the exception + */ @Test public void testResponseCodeFailureExceptions() throws Exception { // No retry for these Exceptions @@ -271,6 +334,12 @@ public void testResponseCodeFailureExceptions() throws Exception { } } + /** + * Test input stream failure exceptions. + * + * @throws Exception + * the exception + */ @Test public void testInputStreamFailureExceptions() throws Exception { // No retry for these Exceptions @@ -330,6 +399,12 @@ public void testInputStreamFailureExceptions() throws Exception { assertThat(this.mockGitHub.getRequestCount(), equalTo(baseRequestCount + 1)); } + /** + * Test response code connection exceptions. + * + * @throws Exception + * the exception + */ @Test public void testResponseCodeConnectionExceptions() throws Exception { // Because the test throws at the very start of getResponseCode, there is only one connection for 3 retries @@ -352,6 +427,12 @@ public void testResponseCodeConnectionExceptions() throws Exception { runConnectionExceptionStatusCodeTest(connector, 1); } + /** + * Test input stream connection exceptions. + * + * @throws Exception + * the exception + */ @Test public void testInputStreamConnectionExceptions() throws Exception { // InputStream is where most exceptions get thrown whether connection or simple FNF @@ -422,8 +503,20 @@ private void runConnectionExceptionStatusCodeTest(HttpConnector connector, int e } } + /** + * The Class ResponseCodeThrowingHttpConnector. + * + * @param + * the element type + */ class ResponseCodeThrowingHttpConnector extends ImpatientHttpConnector { + /** + * Instantiates a new response code throwing http connector. + * + * @param thrower + * the thrower + */ ResponseCodeThrowingHttpConnector(final Thrower thrower) { super(new HttpConnector() { final int[] count = { 0 }; @@ -454,8 +547,20 @@ public int getResponseCode() throws IOException { } + /** + * The Class InputStreamThrowingHttpConnector. + * + * @param + * the element type + */ class InputStreamThrowingHttpConnector extends ImpatientHttpConnector { + /** + * Instantiates a new input stream throwing http connector. + * + * @param thrower + * the thrower + */ InputStreamThrowingHttpConnector(final Thrower thrower) { super(new HttpConnector() { final int[] count = { 0 }; @@ -486,8 +591,21 @@ public InputStream getInputStream() throws IOException { } } + /** + * The Interface Thrower. + * + * @param + * the element type + */ @FunctionalInterface public interface Thrower { + + /** + * Throw error. + * + * @throws E + * the e + */ void throwError() throws E; } @@ -497,226 +615,561 @@ public interface Thrower { */ static class HttpURLConnectionWrapper extends HttpURLConnection { + /** The http URL connection. */ protected final HttpURLConnection httpURLConnection; + /** + * Instantiates a new http URL connection wrapper. + * + * @param url + * the url + * @throws IOException + * Signals that an I/O exception has occurred. + */ HttpURLConnectionWrapper(URL url) throws IOException { super(new URL("http://nonexistant")); httpURLConnection = (HttpURLConnection) url.openConnection(); } + /** + * Connect. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ public void connect() throws IOException { httpURLConnection.connect(); } + /** + * Sets the connect timeout. + * + * @param timeout + * the new connect timeout + */ public void setConnectTimeout(int timeout) { httpURLConnection.setConnectTimeout(timeout); } + /** + * Gets the connect timeout. + * + * @return the connect timeout + */ public int getConnectTimeout() { return httpURLConnection.getConnectTimeout(); } + /** + * Sets the read timeout. + * + * @param timeout + * the new read timeout + */ public void setReadTimeout(int timeout) { httpURLConnection.setReadTimeout(timeout); } + /** + * Gets the read timeout. + * + * @return the read timeout + */ public int getReadTimeout() { return httpURLConnection.getReadTimeout(); } + /** + * Gets the url. + * + * @return the url + */ public URL getURL() { return httpURLConnection.getURL(); } + /** + * Gets the content length. + * + * @return the content length + */ public int getContentLength() { return httpURLConnection.getContentLength(); } + /** + * Gets the content length long. + * + * @return the content length long + */ public long getContentLengthLong() { return httpURLConnection.getContentLengthLong(); } + /** + * Gets the content type. + * + * @return the content type + */ public String getContentType() { return httpURLConnection.getContentType(); } + /** + * Gets the content encoding. + * + * @return the content encoding + */ public String getContentEncoding() { return httpURLConnection.getContentEncoding(); } + /** + * Gets the expiration. + * + * @return the expiration + */ public long getExpiration() { return httpURLConnection.getExpiration(); } + /** + * Gets the date. + * + * @return the date + */ public long getDate() { return httpURLConnection.getDate(); } + /** + * Gets the last modified. + * + * @return the last modified + */ public long getLastModified() { return httpURLConnection.getLastModified(); } + /** + * Gets the header field. + * + * @param name + * the name + * @return the header field + */ public String getHeaderField(String name) { return httpURLConnection.getHeaderField(name); } + /** + * Gets the header fields. + * + * @return the header fields + */ public Map> getHeaderFields() { return httpURLConnection.getHeaderFields(); } + /** + * Gets the header field int. + * + * @param name + * the name + * @param Default + * the default + * @return the header field int + */ public int getHeaderFieldInt(String name, int Default) { return httpURLConnection.getHeaderFieldInt(name, Default); } + /** + * Gets the header field long. + * + * @param name + * the name + * @param Default + * the default + * @return the header field long + */ public long getHeaderFieldLong(String name, long Default) { return httpURLConnection.getHeaderFieldLong(name, Default); } + /** + * Gets the content. + * + * @return the content + * @throws IOException + * Signals that an I/O exception has occurred. + */ public Object getContent() throws IOException { return httpURLConnection.getContent(); } + /** + * Gets the content. + * + * @param classes + * the classes + * @return the content + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Override public Object getContent(Class[] classes) throws IOException { return httpURLConnection.getContent(classes); } + /** + * Gets the input stream. + * + * @return the input stream + * @throws IOException + * Signals that an I/O exception has occurred. + */ public InputStream getInputStream() throws IOException { return httpURLConnection.getInputStream(); } + /** + * Gets the output stream. + * + * @return the output stream + * @throws IOException + * Signals that an I/O exception has occurred. + */ public OutputStream getOutputStream() throws IOException { return httpURLConnection.getOutputStream(); } + /** + * To string. + * + * @return the string + */ public String toString() { return httpURLConnection.toString(); } + /** + * Sets the do input. + * + * @param doinput + * the new do input + */ public void setDoInput(boolean doinput) { httpURLConnection.setDoInput(doinput); } + /** + * Gets the do input. + * + * @return the do input + */ public boolean getDoInput() { return httpURLConnection.getDoInput(); } + /** + * Sets the do output. + * + * @param dooutput + * the new do output + */ public void setDoOutput(boolean dooutput) { httpURLConnection.setDoOutput(dooutput); } + /** + * Gets the do output. + * + * @return the do output + */ public boolean getDoOutput() { return httpURLConnection.getDoOutput(); } + /** + * Sets the allow user interaction. + * + * @param allowuserinteraction + * the new allow user interaction + */ public void setAllowUserInteraction(boolean allowuserinteraction) { httpURLConnection.setAllowUserInteraction(allowuserinteraction); } + /** + * Gets the allow user interaction. + * + * @return the allow user interaction + */ public boolean getAllowUserInteraction() { return httpURLConnection.getAllowUserInteraction(); } + /** + * Sets the use caches. + * + * @param usecaches + * the new use caches + */ public void setUseCaches(boolean usecaches) { httpURLConnection.setUseCaches(usecaches); } + /** + * Gets the use caches. + * + * @return the use caches + */ public boolean getUseCaches() { return httpURLConnection.getUseCaches(); } + /** + * Sets the if modified since. + * + * @param ifmodifiedsince + * the new if modified since + */ public void setIfModifiedSince(long ifmodifiedsince) { httpURLConnection.setIfModifiedSince(ifmodifiedsince); } + /** + * Gets the if modified since. + * + * @return the if modified since + */ public long getIfModifiedSince() { return httpURLConnection.getIfModifiedSince(); } + /** + * Gets the default use caches. + * + * @return the default use caches + */ public boolean getDefaultUseCaches() { return httpURLConnection.getDefaultUseCaches(); } + /** + * Sets the default use caches. + * + * @param defaultusecaches + * the new default use caches + */ public void setDefaultUseCaches(boolean defaultusecaches) { httpURLConnection.setDefaultUseCaches(defaultusecaches); } + /** + * Sets the request property. + * + * @param key + * the key + * @param value + * the value + */ public void setRequestProperty(String key, String value) { httpURLConnection.setRequestProperty(key, value); } + /** + * Adds the request property. + * + * @param key + * the key + * @param value + * the value + */ public void addRequestProperty(String key, String value) { httpURLConnection.addRequestProperty(key, value); } + /** + * Gets the request property. + * + * @param key + * the key + * @return the request property + */ public String getRequestProperty(String key) { return httpURLConnection.getRequestProperty(key); } + /** + * Gets the request properties. + * + * @return the request properties + */ public Map> getRequestProperties() { return httpURLConnection.getRequestProperties(); } + /** + * Gets the header field key. + * + * @param n + * the n + * @return the header field key + */ public String getHeaderFieldKey(int n) { return httpURLConnection.getHeaderFieldKey(n); } + /** + * Sets the fixed length streaming mode. + * + * @param contentLength + * the new fixed length streaming mode + */ public void setFixedLengthStreamingMode(int contentLength) { httpURLConnection.setFixedLengthStreamingMode(contentLength); } + /** + * Sets the fixed length streaming mode. + * + * @param contentLength + * the new fixed length streaming mode + */ public void setFixedLengthStreamingMode(long contentLength) { httpURLConnection.setFixedLengthStreamingMode(contentLength); } + /** + * Sets the chunked streaming mode. + * + * @param chunklen + * the new chunked streaming mode + */ public void setChunkedStreamingMode(int chunklen) { httpURLConnection.setChunkedStreamingMode(chunklen); } + /** + * Gets the header field. + * + * @param n + * the n + * @return the header field + */ public String getHeaderField(int n) { return httpURLConnection.getHeaderField(n); } + /** + * Sets the instance follow redirects. + * + * @param followRedirects + * the new instance follow redirects + */ public void setInstanceFollowRedirects(boolean followRedirects) { httpURLConnection.setInstanceFollowRedirects(followRedirects); } + /** + * Gets the instance follow redirects. + * + * @return the instance follow redirects + */ public boolean getInstanceFollowRedirects() { return httpURLConnection.getInstanceFollowRedirects(); } + /** + * Sets the request method. + * + * @param method + * the new request method + * @throws ProtocolException + * the protocol exception + */ public void setRequestMethod(String method) throws ProtocolException { httpURLConnection.setRequestMethod(method); } + /** + * Gets the request method. + * + * @return the request method + */ public String getRequestMethod() { return httpURLConnection.getRequestMethod(); } + /** + * Gets the response code. + * + * @return the response code + * @throws IOException + * Signals that an I/O exception has occurred. + */ public int getResponseCode() throws IOException { return httpURLConnection.getResponseCode(); } + /** + * Gets the response message. + * + * @return the response message + * @throws IOException + * Signals that an I/O exception has occurred. + */ public String getResponseMessage() throws IOException { return httpURLConnection.getResponseMessage(); } + /** + * Gets the header field date. + * + * @param name + * the name + * @param Default + * the default + * @return the header field date + */ public long getHeaderFieldDate(String name, long Default) { return httpURLConnection.getHeaderFieldDate(name, Default); } + /** + * Disconnect. + */ public void disconnect() { httpURLConnection.disconnect(); } + /** + * Using proxy. + * + * @return true, if successful + */ public boolean usingProxy() { return httpURLConnection.usingProxy(); } + /** + * Gets the permission. + * + * @return the permission + * @throws IOException + * Signals that an I/O exception has occurred. + */ public Permission getPermission() throws IOException { return httpURLConnection.getPermission(); } + /** + * Gets the error stream. + * + * @return the error stream + */ public InputStream getErrorStream() { return httpURLConnection.getErrorStream(); } diff --git a/src/test/java/org/kohsuke/github/WireMockStatusReporterTest.java b/src/test/java/org/kohsuke/github/WireMockStatusReporterTest.java index 1fbb597612..07eab6a2f0 100644 --- a/src/test/java/org/kohsuke/github/WireMockStatusReporterTest.java +++ b/src/test/java/org/kohsuke/github/WireMockStatusReporterTest.java @@ -8,6 +8,7 @@ import static org.junit.Assume.assumeFalse; import static org.junit.Assume.assumeTrue; +// TODO: Auto-generated Javadoc /** * Tests in this class are meant to show the behavior of {@link AbstractGitHubWireMockTest} with proxying on or off. * @@ -18,6 +19,12 @@ */ public class WireMockStatusReporterTest extends AbstractGitHubWireMockTest { + /** + * User when proxying auth correctly configured. + * + * @throws Exception + * the exception + */ @Test public void user_whenProxying_AuthCorrectlyConfigured() throws Exception { snapshotNotAllowed(); @@ -40,6 +47,12 @@ public void user_whenProxying_AuthCorrectlyConfigured() throws Exception { System.out.println(); } + /** + * User when not proxying stubbed. + * + * @throws Exception + * the exception + */ @Test public void user_whenNotProxying_Stubbed() throws Exception { snapshotNotAllowed(); @@ -58,6 +71,12 @@ public void user_whenNotProxying_Stubbed() throws Exception { // System.out.println("GitHub proxying and user auth correctly configured for user login: " + user.getLogin()); } + /** + * Basic behaviors when not proxying. + * + * @throws Exception + * the exception + */ @Ignore("Can't run this as WireMock will report failure after the test method completes.") @Test public void BasicBehaviors_whenNotProxying() throws Exception { @@ -95,6 +114,12 @@ public void BasicBehaviors_whenNotProxying() throws Exception { assertThat(e.getMessage(), containsString("Request was not matched")); } + /** + * Basic behaviors when proxying. + * + * @throws Exception + * the exception + */ @Test public void BasicBehaviors_whenProxying() throws Exception { snapshotNotAllowed(); @@ -122,9 +147,15 @@ public void BasicBehaviors_whenProxying() throws Exception { assertThat(e, Matchers.instanceOf(GHFileNotFoundException.class)); assertThat(e.getMessage(), containsString( - "{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/reference/repos#get-a-repository\"}")); + "{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/repos/repos#get-a-repository\"}")); } + /** + * When snapshot ensure proxy. + * + * @throws Exception + * the exception + */ @Test public void whenSnapshot_EnsureProxy() throws Exception { assumeTrue("Test only valid when Snapshotting (-Dtest.github.takeSnapshot to enable)", @@ -133,6 +164,12 @@ public void whenSnapshot_EnsureProxy() throws Exception { assertThat("When taking a snapshot, proxy should automatically be enabled", mockGitHub.isUseProxy()); } + /** + * When snapshot ensure record to expected location. + * + * @throws Exception + * the exception + */ @Ignore("Not implemented yet") @Test public void whenSnapshot_EnsureRecordToExpectedLocation() throws Exception { diff --git a/src/test/java/org/kohsuke/github/extras/GitHubCachingTest.java b/src/test/java/org/kohsuke/github/extras/GitHubCachingTest.java index 2e03775f69..2ed356555a 100644 --- a/src/test/java/org/kohsuke/github/extras/GitHubCachingTest.java +++ b/src/test/java/org/kohsuke/github/extras/GitHubCachingTest.java @@ -22,6 +22,7 @@ import static org.junit.Assert.fail; +// TODO: Auto-generated Javadoc /** * Test showing the behavior of OkHttpGitHubConnector cache with GitHub 404 responses. * @@ -29,17 +30,32 @@ */ public class GitHubCachingTest extends AbstractGitHubWireMockTest { + /** + * Instantiates a new git hub caching test. + */ public GitHubCachingTest() { useDefaultGitHub = false; } + /** The test ref name. */ String testRefName = "heads/test/content_ref_cache"; + /** + * Gets the wire mock options. + * + * @return the wire mock options + */ @Override protected WireMockConfiguration getWireMockOptions() { return super.getWireMockOptions().extensions(templating.newResponseTransformer()); } + /** + * Setup repo. + * + * @throws Exception + * the exception + */ @Before public void setupRepo() throws Exception { if (mockGitHub.isUseProxy()) { @@ -54,6 +70,12 @@ public void setupRepo() throws Exception { } } + /** + * Test cached 404. + * + * @throws Exception + * the exception + */ @Test public void testCached404() throws Exception { Assume.assumeFalse(SystemUtils.IS_OS_WINDOWS); diff --git a/src/test/java/org/kohsuke/github/extras/OkHttpConnectorTest.java b/src/test/java/org/kohsuke/github/extras/OkHttpConnectorTest.java index 761cf32b55..454c2fb032 100644 --- a/src/test/java/org/kohsuke/github/extras/OkHttpConnectorTest.java +++ b/src/test/java/org/kohsuke/github/extras/OkHttpConnectorTest.java @@ -19,6 +19,7 @@ import static org.junit.Assume.assumeFalse; import static org.junit.Assume.assumeTrue; +// TODO: Auto-generated Javadoc /** * Test showing the behavior of OkHttpGitHubConnector with and without cache. *

    @@ -41,6 +42,9 @@ */ public class OkHttpConnectorTest extends AbstractGitHubWireMockTest { + /** + * Instantiates a new ok http connector test. + */ public OkHttpConnectorTest() { useDefaultGitHub = false; } @@ -65,11 +69,22 @@ public OkHttpConnectorTest() { private GHRateLimit rateLimitBefore; + /** + * Gets the wire mock options. + * + * @return the wire mock options + */ @Override protected WireMockConfiguration getWireMockOptions() { return super.getWireMockOptions().extensions(templating.newResponseTransformer()); } + /** + * Setup repo. + * + * @throws Exception + * the exception + */ @Before public void setupRepo() throws Exception { if (mockGitHub.isUseProxy()) { @@ -82,6 +97,12 @@ public void setupRepo() throws Exception { } } + /** + * Default connector. + * + * @throws Exception + * the exception + */ @Test public void DefaultConnector() throws Exception { @@ -96,6 +117,12 @@ public void DefaultConnector() throws Exception { checkRequestAndLimit(defaultNetworkRequestCount, defaultRateLimitUsed); } + /** + * Ok http connector no cache. + * + * @throws Exception + * the exception + */ @Test public void OkHttpConnector_NoCache() throws Exception { @@ -118,6 +145,12 @@ public void OkHttpConnector_NoCache() throws Exception { assertThat("Cache", cache, is(nullValue())); } + /** + * Ok http connector cache max age none. + * + * @throws Exception + * the exception + */ @Test public void OkHttpConnector_Cache_MaxAgeNone() throws Exception { // The responses were recorded from github, but the Date headers @@ -148,6 +181,12 @@ public void OkHttpConnector_Cache_MaxAgeNone() throws Exception { assertThat("getHitCount", cache.getHitCount(), is(maxAgeNoneHitCount)); } + /** + * Ok http connector cache max age three. + * + * @throws Exception + * the exception + */ @Test public void OkHttpConnector_Cache_MaxAge_Three() throws Exception { @@ -174,6 +213,12 @@ public void OkHttpConnector_Cache_MaxAge_Three() throws Exception { assertThat("getHitCount", cache.getHitCount(), is(maxAgeThreeHitCount)); } + /** + * Ok http connector cache max age default zero. + * + * @throws Exception + * the exception + */ @Ignore("ISSUE #597 - Correctly formatted Last-Modified headers cause this test to fail") @Test public void OkHttpConnector_Cache_MaxAgeDefault_Zero() throws Exception { diff --git a/src/test/java/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest.java b/src/test/java/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest.java new file mode 100644 index 0000000000..a408596cbe --- /dev/null +++ b/src/test/java/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest.java @@ -0,0 +1,79 @@ +package org.kohsuke.github.extras.authorization; + +import com.github.tomakehurst.wiremock.core.WireMockConfiguration; +import org.junit.Test; +import org.kohsuke.github.AbstractGitHubWireMockTest; +import org.kohsuke.github.GHUser; +import org.kohsuke.github.RateLimitHandler; +import org.kohsuke.github.authorization.AuthorizationProvider; + +import java.io.IOException; + +/** + * Test authorization token refresh. + */ +public class AuthorizationTokenRefreshTest extends AbstractGitHubWireMockTest { + + /** + * Instantiates a new test. + */ + public AuthorizationTokenRefreshTest() { + useDefaultGitHub = false; + } + + /** + * Gets the wire mock options. + * + * @return the wire mock options + */ + @Override + protected WireMockConfiguration getWireMockOptions() { + return super.getWireMockOptions().extensions(templating.newResponseTransformer()); + } + + /** + * Retried request should get new token when the old one expires. + * + * @throws IOException + * the exception + */ + @Test + public void testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires() throws IOException { + snapshotNotAllowed(); + gitHub = getGitHubBuilder().withAuthorizationProvider(new RefreshingAuthorizationProvider()) + .withEndpoint(mockGitHub.apiServer().baseUrl()) + .withRateLimitHandler(RateLimitHandler.WAIT) + .build(); + final GHUser kohsuke = gitHub.getUser("kohsuke"); + assertThat("Usernames match", "kohsuke".equals(kohsuke.getLogin())); + } + + /** + * Retried request should not get new token when the old one is still valid. + * + * @throws IOException + * the exception + */ + @Test + public void testRetriedRequestDoesNotGetNewAuthorizationTokenWhenOldOneIsStillValid() throws IOException { + gitHub = getGitHubBuilder().withAuthorizationProvider(() -> "original token") + .withEndpoint(mockGitHub.apiServer().baseUrl()) + .withRateLimitHandler(RateLimitHandler.WAIT) + .build(); + final GHUser kohsuke = gitHub.getUser("kohsuke"); + assertThat("Usernames match", "kohsuke".equals(kohsuke.getLogin())); + } + + static class RefreshingAuthorizationProvider implements AuthorizationProvider { + private boolean used = false; + + @Override + public String getEncodedAuthorization() { + if (used) { + return "refreshed token"; + } + used = true; + return "original token"; + } + } +} diff --git a/src/test/java/org/kohsuke/github/extras/authorization/JWTTokenProviderTest.java b/src/test/java/org/kohsuke/github/extras/authorization/JWTTokenProviderTest.java index 24581000ed..793da64bce 100644 --- a/src/test/java/org/kohsuke/github/extras/authorization/JWTTokenProviderTest.java +++ b/src/test/java/org/kohsuke/github/extras/authorization/JWTTokenProviderTest.java @@ -11,30 +11,36 @@ import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc +/** + * The Class JWTTokenProviderTest. + */ /* - * This test will request an application ensuring that the header for the "Authorization" matches a valid JWT token. - * A JWT token in the Authorization header will always start with "ey" which is always the start of the base64 - * encoding of the JWT Header , so a valid header will look like this: + * This test will request an application ensuring that the header for the "Authorization" matches a valid JWT token. A + * JWT token in the Authorization header will always start with "ey" which is always the start of the base64 encoding of + * the JWT Header , so a valid header will look like this: * - *

    - * Authorization: Bearer ey{rest of the header}.{payload}.{signature}
    - * 
    + *
     Authorization: Bearer ey{rest of the header}.{payload}.{signature} 
    * * Matched by the regular expression: * - *
    - * ^Bearer (?ey\S*)\.(?\S*)\.(?\S*)$
    - * 
    + *
     ^Bearer (?ey\S*)\.(?\S*)\.(?\S*)$ 
    * - * Which is present in the wiremock matcher. Note that we need to use a matcher because the JWT token is encoded - * with a private key and a random nonce, so it will never be the same (under normal conditions). For more - * information on the format of a JWT token, see: https://jwt.io/introduction/ + * Which is present in the wiremock matcher. Note that we need to use a matcher because the JWT token is encoded with a + * private key and a random nonce, so it will never be the same (under normal conditions). For more information on the + * format of a JWT token, see: https://jwt.io/introduction/ */ public class JWTTokenProviderTest extends AbstractGHAppInstallationTest { private static String TEST_APP_ID_2 = "83009"; private static String PRIVATE_KEY_FILE_APP_2 = "/ghapi-test-app-2.private-key.pem"; + /** + * Test caching valid authorization. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testCachingValidAuthorization() throws IOException { assertThat(jwtProvider1, instanceOf(JWTTokenProvider.class)); @@ -47,6 +53,14 @@ public void testCachingValidAuthorization() throws IOException { assertThat(authorizationRefresh, sameInstance(authorization)); } + /** + * Test authorization header pattern. + * + * @throws GeneralSecurityException + * the general security exception + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testAuthorizationHeaderPattern() throws GeneralSecurityException, IOException { // authorization header check is custom @@ -63,6 +77,14 @@ public void testAuthorizationHeaderPattern() throws GeneralSecurityException, IO gh.getApp(); } + /** + * Test issued at skew. + * + * @throws GeneralSecurityException + * the general security exception + * @throws IOException + * Signals that an I/O exception has occurred. + */ @Test public void testIssuedAtSkew() throws GeneralSecurityException, IOException { // TODO: This isn't a great test as it doesn't really check anything in CI diff --git a/src/test/java/org/kohsuke/github/extras/okhttp3/GitHubCachingTest.java b/src/test/java/org/kohsuke/github/extras/okhttp3/GitHubCachingTest.java index 00abeaad20..9694f25eb8 100644 --- a/src/test/java/org/kohsuke/github/extras/okhttp3/GitHubCachingTest.java +++ b/src/test/java/org/kohsuke/github/extras/okhttp3/GitHubCachingTest.java @@ -21,6 +21,7 @@ import static org.junit.Assert.fail; +// TODO: Auto-generated Javadoc /** * Test showing the behavior of OkHttpGitHubConnector cache with GitHub 404 responses. * @@ -28,12 +29,21 @@ */ public class GitHubCachingTest extends AbstractGitHubWireMockTest { + /** + * Instantiates a new git hub caching test. + */ public GitHubCachingTest() { useDefaultGitHub = false; } + /** The test ref name. */ String testRefName = "heads/test/content_ref_cache"; + /** + * Gets the wire mock options. + * + * @return the wire mock options + */ @Override protected WireMockConfiguration getWireMockOptions() { return super.getWireMockOptions() @@ -42,6 +52,12 @@ protected WireMockConfiguration getWireMockOptions() { .extensions(templating.newResponseTransformer()); } + /** + * Setup repo. + * + * @throws Exception + * the exception + */ @Before public void setupRepo() throws Exception { if (mockGitHub.isUseProxy()) { @@ -56,6 +72,12 @@ public void setupRepo() throws Exception { } } + /** + * Test cached 404. + * + * @throws Exception + * the exception + */ @Test public void testCached404() throws Exception { Assume.assumeFalse(SystemUtils.IS_OS_WINDOWS); diff --git a/src/test/java/org/kohsuke/github/extras/okhttp3/OkHttpConnectorTest.java b/src/test/java/org/kohsuke/github/extras/okhttp3/OkHttpConnectorTest.java index 792c199442..470147f2e1 100644 --- a/src/test/java/org/kohsuke/github/extras/okhttp3/OkHttpConnectorTest.java +++ b/src/test/java/org/kohsuke/github/extras/okhttp3/OkHttpConnectorTest.java @@ -23,6 +23,7 @@ import static org.junit.Assume.assumeFalse; import static org.junit.Assume.assumeTrue; +// TODO: Auto-generated Javadoc /** * Test showing the behavior of OkHttpConnector with and without cache. *

    @@ -45,6 +46,9 @@ */ public class OkHttpConnectorTest extends AbstractGitHubWireMockTest { + /** + * Instantiates a new ok http connector test. + */ public OkHttpConnectorTest() { useDefaultGitHub = false; } @@ -70,6 +74,11 @@ public OkHttpConnectorTest() { private GHRateLimit rateLimitBefore; private Cache cache = null; + /** + * Gets the wire mock options. + * + * @return the wire mock options + */ @Override protected WireMockConfiguration getWireMockOptions() { return super.getWireMockOptions() @@ -78,6 +87,12 @@ protected WireMockConfiguration getWireMockOptions() { .extensions(templating.newResponseTransformer()); } + /** + * Setup repo. + * + * @throws Exception + * the exception + */ @Before public void setupRepo() throws Exception { if (mockGitHub.isUseProxy()) { @@ -90,6 +105,12 @@ public void setupRepo() throws Exception { } } + /** + * Delete cache. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @After public void deleteCache() throws IOException { if (cache != null) { @@ -97,6 +118,12 @@ public void deleteCache() throws IOException { } } + /** + * Default connector. + * + * @throws Exception + * the exception + */ @Test public void DefaultConnector() throws Exception { @@ -111,6 +138,12 @@ public void DefaultConnector() throws Exception { checkRequestAndLimit(defaultNetworkRequestCount, defaultRateLimitUsed); } + /** + * Ok http connector no cache. + * + * @throws Exception + * the exception + */ @Test public void OkHttpConnector_NoCache() throws Exception { @@ -132,6 +165,12 @@ public void OkHttpConnector_NoCache() throws Exception { assertThat("Cache", cache, is(nullValue())); } + /** + * Ok http connector cache max age none. + * + * @throws Exception + * the exception + */ @Test public void OkHttpConnector_Cache_MaxAgeNone() throws Exception { // The responses were recorded from github, but the Date headers @@ -160,6 +199,12 @@ public void OkHttpConnector_Cache_MaxAgeNone() throws Exception { assertThat("getHitCount", cache.hitCount(), is(maxAgeNoneHitCount)); } + /** + * Ok http connector cache max age three. + * + * @throws Exception + * the exception + */ @Test public void OkHttpConnector_Cache_MaxAge_Three() throws Exception { @@ -185,6 +230,12 @@ public void OkHttpConnector_Cache_MaxAge_Three() throws Exception { assertThat("getHitCount", cache.hitCount(), is(maxAgeThreeHitCount)); } + /** + * Ok http connector cache max age default zero. + * + * @throws Exception + * the exception + */ @Test public void OkHttpConnector_Cache_MaxAgeDefault_Zero() throws Exception { // The responses were recorded from github, but the Date headers diff --git a/src/test/java/org/kohsuke/github/extras/okhttp3/OkHttpGitHubConnectorTest.java b/src/test/java/org/kohsuke/github/extras/okhttp3/OkHttpGitHubConnectorTest.java index 773b3f8614..678e001796 100644 --- a/src/test/java/org/kohsuke/github/extras/okhttp3/OkHttpGitHubConnectorTest.java +++ b/src/test/java/org/kohsuke/github/extras/okhttp3/OkHttpGitHubConnectorTest.java @@ -22,6 +22,7 @@ import static org.junit.Assume.assumeFalse; import static org.junit.Assume.assumeTrue; +// TODO: Auto-generated Javadoc /** * Test showing the behavior of OkHttpGitHubConnector with and without cache. *

    @@ -44,6 +45,9 @@ */ public class OkHttpGitHubConnectorTest extends AbstractGitHubWireMockTest { + /** + * Instantiates a new ok http git hub connector test. + */ public OkHttpGitHubConnectorTest() { useDefaultGitHub = false; } @@ -69,6 +73,11 @@ public OkHttpGitHubConnectorTest() { private GHRateLimit rateLimitBefore; private Cache cache = null; + /** + * Gets the wire mock options. + * + * @return the wire mock options + */ @Override protected WireMockConfiguration getWireMockOptions() { return super.getWireMockOptions() @@ -77,6 +86,12 @@ protected WireMockConfiguration getWireMockOptions() { .extensions(templating.newResponseTransformer()); } + /** + * Setup repo. + * + * @throws Exception + * the exception + */ @Before public void setupRepo() throws Exception { if (mockGitHub.isUseProxy()) { @@ -89,6 +104,12 @@ public void setupRepo() throws Exception { } } + /** + * Delete cache. + * + * @throws IOException + * Signals that an I/O exception has occurred. + */ @After public void deleteCache() throws IOException { if (cache != null) { @@ -96,6 +117,12 @@ public void deleteCache() throws IOException { } } + /** + * Default connector. + * + * @throws Exception + * the exception + */ @Test public void DefaultConnector() throws Exception { @@ -110,6 +137,12 @@ public void DefaultConnector() throws Exception { checkRequestAndLimit(defaultNetworkRequestCount, defaultRateLimitUsed); } + /** + * Ok http connector no cache. + * + * @throws Exception + * the exception + */ @Test public void OkHttpConnector_NoCache() throws Exception { @@ -131,6 +164,12 @@ public void OkHttpConnector_NoCache() throws Exception { assertThat("Cache", cache, is(nullValue())); } + /** + * Ok http connector cache max age none. + * + * @throws Exception + * the exception + */ @Test public void OkHttpConnector_Cache_MaxAgeNone() throws Exception { // The responses were recorded from github, but the Date headers @@ -159,6 +198,12 @@ public void OkHttpConnector_Cache_MaxAgeNone() throws Exception { assertThat("getHitCount", cache.hitCount(), is(maxAgeNoneHitCount)); } + /** + * Ok http connector cache max age three. + * + * @throws Exception + * the exception + */ @Test public void OkHttpConnector_Cache_MaxAge_Three() throws Exception { @@ -184,6 +229,12 @@ public void OkHttpConnector_Cache_MaxAge_Three() throws Exception { assertThat("getHitCount", cache.hitCount(), is(maxAgeThreeHitCount)); } + /** + * Ok http connector cache max age default zero. + * + * @throws Exception + * the exception + */ @Test public void OkHttpConnector_Cache_MaxAgeDefault_Zero() throws Exception { // The responses were recorded from github, but the Date headers diff --git a/src/test/java/org/kohsuke/github/internal/DefaultGitHubConnectorTest.java b/src/test/java/org/kohsuke/github/internal/DefaultGitHubConnectorTest.java index e7f66b1ff1..997298debb 100644 --- a/src/test/java/org/kohsuke/github/internal/DefaultGitHubConnectorTest.java +++ b/src/test/java/org/kohsuke/github/internal/DefaultGitHubConnectorTest.java @@ -15,12 +15,25 @@ import static org.hamcrest.CoreMatchers.*; +// TODO: Auto-generated Javadoc +/** + * The Class DefaultGitHubConnectorTest. + */ public class DefaultGitHubConnectorTest extends AbstractGitHubWireMockTest { + /** + * Instantiates a new default git hub connector test. + */ public DefaultGitHubConnectorTest() { useDefaultGitHub = false; } + /** + * Test create. + * + * @throws Exception + * the exception + */ @Test public void testCreate() throws Exception { GitHubConnector connector; diff --git a/src/test/java/org/kohsuke/github/internal/EnumUtilsTest.java b/src/test/java/org/kohsuke/github/internal/EnumUtilsTest.java index 0eb47385e0..b7bab96ec9 100644 --- a/src/test/java/org/kohsuke/github/internal/EnumUtilsTest.java +++ b/src/test/java/org/kohsuke/github/internal/EnumUtilsTest.java @@ -5,8 +5,15 @@ import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.*; +// TODO: Auto-generated Javadoc +/** + * The Class EnumUtilsTest. + */ public class EnumUtilsTest { + /** + * Test get enum. + */ @Test public void testGetEnum() { assertThat(EnumUtils.getEnumOrDefault(TestEnum.class, null, TestEnum.UNKNOWN), equalTo(TestEnum.UNKNOWN)); diff --git a/src/test/java/org/kohsuke/github/junit/GitHubWireMockRule.java b/src/test/java/org/kohsuke/github/junit/GitHubWireMockRule.java index 38c7c5f3c3..bc513687fd 100644 --- a/src/test/java/org/kohsuke/github/junit/GitHubWireMockRule.java +++ b/src/test/java/org/kohsuke/github/junit/GitHubWireMockRule.java @@ -26,6 +26,7 @@ import static com.github.tomakehurst.wiremock.client.WireMock.*; import static com.github.tomakehurst.wiremock.common.Gzip.unGzipToString; +// TODO: Auto-generated Javadoc /** * The standard WireMockRule eagerly initializes a WireMockServer. This version suptakes a laze approach allowing us to * automatically isolate snapshots for each method. @@ -43,56 +44,122 @@ public class GitHubWireMockRule extends WireMockMultiServerRule { private final static boolean useProxy = takeSnapshot || System.getProperty("test.github.useProxy", "false") != "false"; + /** + * Customize record spec. + * + * @param customizeRecordSpec + * the customize record spec + */ public void customizeRecordSpec(Consumer customizeRecordSpec) { this.customizeRecordSpec = customizeRecordSpec; } private Consumer customizeRecordSpec = null; + /** + * Instantiates a new git hub wire mock rule. + */ public GitHubWireMockRule() { this(WireMockConfiguration.options()); } + /** + * Instantiates a new git hub wire mock rule. + * + * @param options + * the options + */ public GitHubWireMockRule(WireMockConfiguration options) { this(options, true); } + /** + * Instantiates a new git hub wire mock rule. + * + * @param options + * the options + * @param failOnUnmatchedRequests + * the fail on unmatched requests + */ public GitHubWireMockRule(WireMockConfiguration options, boolean failOnUnmatchedRequests) { super(options, failOnUnmatchedRequests); } + /** + * Api server. + * + * @return the wire mock server + */ public WireMockServer apiServer() { return servers.get("default"); } + /** + * Raw server. + * + * @return the wire mock server + */ public WireMockServer rawServer() { return servers.get("raw"); } + /** + * Uploads server. + * + * @return the wire mock server + */ public WireMockServer uploadsServer() { return servers.get("uploads"); } + /** + * Codeload server. + * + * @return the wire mock server + */ public WireMockServer codeloadServer() { return servers.get("codeload"); } + /** + * Actions user content server. + * + * @return the wire mock server + */ public WireMockServer actionsUserContentServer() { return servers.get("actions-user-content"); } + /** + * Checks if is use proxy. + * + * @return true, if is use proxy + */ public boolean isUseProxy() { return GitHubWireMockRule.useProxy; } + /** + * Checks if is take snapshot. + * + * @return true, if is take snapshot + */ public boolean isTakeSnapshot() { return GitHubWireMockRule.takeSnapshot; } + /** + * Checks if is test with org. + * + * @return true, if is test with org + */ public boolean isTestWithOrg() { return GitHubWireMockRule.testWithOrg; } + /** + * Initialize servers. + */ @Override protected void initializeServers() { super.initializeServers(); @@ -116,6 +183,9 @@ protected void initializeServers() { } } + /** + * Before. + */ @Override protected void before() { super.before(); @@ -144,6 +214,9 @@ protected void before() { } + /** + * After. + */ @Override protected void after() { super.after(); @@ -191,10 +264,22 @@ private void recordSnapshot(WireMockServer server, String target, boolean isRawS } } + /** + * Gets the request count. + * + * @return the request count + */ public int getRequestCount() { return getRequestCount(apiServer()); } + /** + * Gets the request count. + * + * @param server + * the server + * @return the request count + */ public static int getRequestCount(WireMockServer server) { return server.countRequestsMatching(RequestPatternBuilder.allRequests().build()).getCount(); } @@ -314,6 +399,13 @@ private Path renameFileToIndex(Path filePath, Map.Entry idToInde return targetPath; } + /** + * Map to mock git hub. + * + * @param body + * the body + * @return the string + */ @Nonnull public String mapToMockGitHub(String body) { body = body.replace("https://api.github.com", this.apiServer().baseUrl()); diff --git a/src/test/java/org/kohsuke/github/junit/WireMockMultiServerRule.java b/src/test/java/org/kohsuke/github/junit/WireMockMultiServerRule.java index 81e1a958d8..3d99281cf2 100644 --- a/src/test/java/org/kohsuke/github/junit/WireMockMultiServerRule.java +++ b/src/test/java/org/kohsuke/github/junit/WireMockMultiServerRule.java @@ -18,6 +18,7 @@ import java.util.List; import java.util.Map; +// TODO: Auto-generated Javadoc /** * The standard WireMockRule eagerly initializes a WireMockServer. This version supports multiple servers in one rule * and takes a lazy approach to intitialization allowing us to isolate files snapshots for each method. @@ -26,33 +27,76 @@ */ public class WireMockMultiServerRule implements MethodRule, TestRule { + /** The servers. */ protected final Map servers = new HashMap<>(); private boolean failOnUnmatchedRequests; private final Options options; + /** + * Gets the method name. + * + * @return the method name + */ public String getMethodName() { return methodName; } private String methodName = null; + /** + * Instantiates a new wire mock multi server rule. + * + * @param options + * the options + */ public WireMockMultiServerRule(Options options) { this(options, true); } + /** + * Instantiates a new wire mock multi server rule. + * + * @param options + * the options + * @param failOnUnmatchedRequests + * the fail on unmatched requests + */ public WireMockMultiServerRule(Options options, boolean failOnUnmatchedRequests) { this.options = options; this.failOnUnmatchedRequests = failOnUnmatchedRequests; } + /** + * Instantiates a new wire mock multi server rule. + */ public WireMockMultiServerRule() { this(WireMockRuleConfiguration.wireMockConfig()); } + /** + * Apply. + * + * @param base + * the base + * @param description + * the description + * @return the statement + */ public Statement apply(Statement base, Description description) { return this.apply(base, description.getMethodName()); } + /** + * Apply. + * + * @param base + * the base + * @param method + * the method + * @param target + * the target + * @return the statement + */ public Statement apply(final Statement base, FrameworkMethod method, Object target) { return this.apply(base, method.getName()); } @@ -79,9 +123,20 @@ public void evaluate() throws Throwable { }; } + /** + * Initialize servers. + */ protected void initializeServers() { } + /** + * Initialize server. + * + * @param serverId + * the server id + * @param extensions + * the extensions + */ protected final void initializeServer(String serverId, Extension... extensions) { String directoryName = methodName; if (!serverId.equals("default")) { @@ -104,9 +159,15 @@ protected final void initializeServer(String serverId, Extension... extensions) } } + /** + * Before. + */ protected void before() { } + /** + * After. + */ protected void after() { } diff --git a/src/test/java/org/kohsuke/github/junit/WireMockRule.java b/src/test/java/org/kohsuke/github/junit/WireMockRule.java index 0e5340fb54..b7e89a6cd4 100644 --- a/src/test/java/org/kohsuke/github/junit/WireMockRule.java +++ b/src/test/java/org/kohsuke/github/junit/WireMockRule.java @@ -34,7 +34,10 @@ import java.util.List; import java.util.UUID; +// TODO: Auto-generated Javadoc /** + * The Class WireMockRule. + * * @author Liam Newman */ public class WireMockRule implements MethodRule, TestRule, Container, Stubbing, Admin { @@ -43,37 +46,93 @@ public class WireMockRule implements MethodRule, TestRule, Container, Stubbing, private boolean failOnUnmatchedRequests; private final Options options; + /** + * Gets the method name. + * + * @return the method name + */ public String getMethodName() { return methodName; } private String methodName = null; + /** + * Instantiates a new wire mock rule. + * + * @param options + * the options + */ public WireMockRule(Options options) { this(options, true); } + /** + * Instantiates a new wire mock rule. + * + * @param options + * the options + * @param failOnUnmatchedRequests + * the fail on unmatched requests + */ public WireMockRule(Options options, boolean failOnUnmatchedRequests) { this.options = options; this.failOnUnmatchedRequests = failOnUnmatchedRequests; } + /** + * Instantiates a new wire mock rule. + * + * @param port + * the port + */ public WireMockRule(int port) { this(WireMockConfiguration.wireMockConfig().port(port)); } + /** + * Instantiates a new wire mock rule. + * + * @param port + * the port + * @param httpsPort + * the https port + */ public WireMockRule(int port, Integer httpsPort) { this(WireMockConfiguration.wireMockConfig().port(port).httpsPort(httpsPort)); } + /** + * Instantiates a new wire mock rule. + */ public WireMockRule() { this(WireMockRuleConfiguration.wireMockConfig()); } + /** + * Apply. + * + * @param base + * the base + * @param description + * the description + * @return the statement + */ public Statement apply(Statement base, Description description) { return this.apply(base, description.getMethodName()); } + /** + * Apply. + * + * @param base + * the base + * @param method + * the method + * @param target + * the target + * @return the statement + */ public Statement apply(final Statement base, FrameworkMethod method, Object target) { return this.apply(base, method.getName()); } @@ -120,288 +179,723 @@ private void checkForUnmatchedRequests() { } + /** + * Before. + */ protected void before() { } + /** + * After. + */ protected void after() { } + /** + * Load mappings using. + * + * @param mappingsLoader + * the mappings loader + */ public void loadMappingsUsing(MappingsLoader mappingsLoader) { wireMockServer.loadMappingsUsing(mappingsLoader); } + /** + * Gets the global settings holder. + * + * @return the global settings holder + */ public GlobalSettingsHolder getGlobalSettingsHolder() { return wireMockServer.getGlobalSettingsHolder(); } + /** + * Adds the mock service request listener. + * + * @param listener + * the listener + */ public void addMockServiceRequestListener(RequestListener listener) { wireMockServer.addMockServiceRequestListener(listener); } + /** + * Enable record mappings. + * + * @param mappingsFileSource + * the mappings file source + * @param filesFileSource + * the files file source + */ public void enableRecordMappings(FileSource mappingsFileSource, FileSource filesFileSource) { wireMockServer.enableRecordMappings(mappingsFileSource, filesFileSource); } + /** + * Stop. + */ public void stop() { wireMockServer.stop(); } + /** + * Start. + */ public void start() { wireMockServer.start(); } + /** + * Shutdown. + */ public void shutdown() { wireMockServer.shutdown(); } + /** + * Port. + * + * @return the int + */ public int port() { return wireMockServer.port(); } + /** + * Https port. + * + * @return the int + */ public int httpsPort() { return wireMockServer.httpsPort(); } + /** + * Url. + * + * @param path + * the path + * @return the string + */ public String url(String path) { return wireMockServer.url(path); } + /** + * Base url. + * + * @return the string + */ public String baseUrl() { return wireMockServer.baseUrl(); } + /** + * Checks if is running. + * + * @return true, if is running + */ public boolean isRunning() { return wireMockServer.isRunning(); } + /** + * Given that. + * + * @param mappingBuilder + * the mapping builder + * @return the stub mapping + */ public StubMapping givenThat(MappingBuilder mappingBuilder) { return wireMockServer.givenThat(mappingBuilder); } + /** + * Stub for. + * + * @param mappingBuilder + * the mapping builder + * @return the stub mapping + */ public StubMapping stubFor(MappingBuilder mappingBuilder) { return wireMockServer.stubFor(mappingBuilder); } + /** + * Edits the stub. + * + * @param mappingBuilder + * the mapping builder + */ public void editStub(MappingBuilder mappingBuilder) { wireMockServer.editStub(mappingBuilder); } + /** + * Removes the stub. + * + * @param mappingBuilder + * the mapping builder + */ public void removeStub(MappingBuilder mappingBuilder) { wireMockServer.removeStub(mappingBuilder); } + /** + * Removes the stub. + * + * @param stubMapping + * the stub mapping + */ public void removeStub(StubMapping stubMapping) { wireMockServer.removeStub(stubMapping); } + /** + * Gets the stub mappings. + * + * @return the stub mappings + */ public List getStubMappings() { return wireMockServer.getStubMappings(); } + /** + * Gets the single stub mapping. + * + * @param id + * the id + * @return the single stub mapping + */ public StubMapping getSingleStubMapping(UUID id) { return wireMockServer.getSingleStubMapping(id); } + /** + * Find stub mappings by metadata. + * + * @param pattern + * the pattern + * @return the list + */ public List findStubMappingsByMetadata(StringValuePattern pattern) { return wireMockServer.findStubMappingsByMetadata(pattern); } + /** + * Removes the stub mappings by metadata. + * + * @param pattern + * the pattern + */ public void removeStubMappingsByMetadata(StringValuePattern pattern) { wireMockServer.removeStubMappingsByMetadata(pattern); } + /** + * Removes the stub mapping. + * + * @param stubMapping + * the stub mapping + */ public void removeStubMapping(StubMapping stubMapping) { wireMockServer.removeStubMapping(stubMapping); } + /** + * Verify. + * + * @param requestPatternBuilder + * the request pattern builder + */ public void verify(RequestPatternBuilder requestPatternBuilder) { wireMockServer.verify(requestPatternBuilder); } + /** + * Verify. + * + * @param count + * the count + * @param requestPatternBuilder + * the request pattern builder + */ public void verify(int count, RequestPatternBuilder requestPatternBuilder) { wireMockServer.verify(count, requestPatternBuilder); } + /** + * Verify. + * + * @param countMatchingStrategy + * the count matching strategy + * @param requestPatternBuilder + * the request pattern builder + */ public void verify(CountMatchingStrategy countMatchingStrategy, RequestPatternBuilder requestPatternBuilder) { wireMockServer.verify(countMatchingStrategy, requestPatternBuilder); } + /** + * Find all. + * + * @param requestPatternBuilder + * the request pattern builder + * @return the list + */ public List findAll(RequestPatternBuilder requestPatternBuilder) { return wireMockServer.findAll(requestPatternBuilder); } + /** + * Gets the all serve events. + * + * @return the all serve events + */ public List getAllServeEvents() { return wireMockServer.getAllServeEvents(); } + /** + * Sets the global fixed delay. + * + * @param milliseconds + * the new global fixed delay + */ public void setGlobalFixedDelay(int milliseconds) { wireMockServer.setGlobalFixedDelay(milliseconds); } + /** + * Find all unmatched requests. + * + * @return the list + */ public List findAllUnmatchedRequests() { return wireMockServer.findAllUnmatchedRequests(); } + /** + * Find near misses for all unmatched requests. + * + * @return the list + */ public List findNearMissesForAllUnmatchedRequests() { return wireMockServer.findNearMissesForAllUnmatchedRequests(); } + /** + * Find all near misses for. + * + * @param requestPatternBuilder + * the request pattern builder + * @return the list + */ public List findAllNearMissesFor(RequestPatternBuilder requestPatternBuilder) { return wireMockServer.findAllNearMissesFor(requestPatternBuilder); } + /** + * Find near misses for. + * + * @param loggedRequest + * the logged request + * @return the list + */ public List findNearMissesFor(LoggedRequest loggedRequest) { return wireMockServer.findNearMissesFor(loggedRequest); } + /** + * Adds the stub mapping. + * + * @param stubMapping + * the stub mapping + */ public void addStubMapping(StubMapping stubMapping) { wireMockServer.addStubMapping(stubMapping); } + /** + * Edits the stub mapping. + * + * @param stubMapping + * the stub mapping + */ public void editStubMapping(StubMapping stubMapping) { wireMockServer.editStubMapping(stubMapping); } + /** + * Removes the stub mapping. + * + * @param id + * the id + */ + public void removeStubMapping(UUID id) { + wireMockServer.removeStubMapping(id); + } + + /** + * List all stub mappings. + * + * @return the list stub mappings result + */ public ListStubMappingsResult listAllStubMappings() { return wireMockServer.listAllStubMappings(); } + /** + * Gets the stub mapping. + * + * @param id + * the id + * @return the stub mapping + */ public SingleStubMappingResult getStubMapping(UUID id) { return wireMockServer.getStubMapping(id); } + /** + * Save mappings. + */ public void saveMappings() { wireMockServer.saveMappings(); } + /** + * Reset all. + */ public void resetAll() { wireMockServer.resetAll(); } + /** + * Reset requests. + */ public void resetRequests() { wireMockServer.resetRequests(); } + /** + * Reset to default mappings. + */ public void resetToDefaultMappings() { wireMockServer.resetToDefaultMappings(); } + /** + * Gets the serve events. + * + * @return the serve events + */ public GetServeEventsResult getServeEvents() { return wireMockServer.getServeEvents(); } + /** + * Gets the serve events. + * + * @param serveEventQuery + * the serve event query + * @return the serve events + */ public GetServeEventsResult getServeEvents(ServeEventQuery serveEventQuery) { return wireMockServer.getServeEvents(serveEventQuery); } + /** + * Gets the served stub. + * + * @param id + * the id + * @return the served stub + */ public SingleServedStubResult getServedStub(UUID id) { return wireMockServer.getServedStub(id); } + /** + * Reset scenarios. + */ public void resetScenarios() { wireMockServer.resetScenarios(); } + /** + * Reset mappings. + */ public void resetMappings() { wireMockServer.resetMappings(); } + /** + * Count requests matching. + * + * @param requestPattern + * the request pattern + * @return the verification result + */ public VerificationResult countRequestsMatching(RequestPattern requestPattern) { return wireMockServer.countRequestsMatching(requestPattern); } + /** + * Find requests matching. + * + * @param requestPattern + * the request pattern + * @return the find requests result + */ public FindRequestsResult findRequestsMatching(RequestPattern requestPattern) { return wireMockServer.findRequestsMatching(requestPattern); } + /** + * Find unmatched requests. + * + * @return the find requests result + */ public FindRequestsResult findUnmatchedRequests() { return wireMockServer.findUnmatchedRequests(); } + /** + * Removes the serve event. + * + * @param uuid + * the uuid + */ public void removeServeEvent(UUID uuid) { wireMockServer.removeServeEvent(uuid); } + /** + * Removes the serve events matching. + * + * @param requestPattern + * the request pattern + * @return the find serve events result + */ public FindServeEventsResult removeServeEventsMatching(RequestPattern requestPattern) { return wireMockServer.removeServeEventsMatching(requestPattern); } + /** + * Removes the serve events for stubs matching metadata. + * + * @param stringValuePattern + * the string value pattern + * @return the find serve events result + */ public FindServeEventsResult removeServeEventsForStubsMatchingMetadata(StringValuePattern stringValuePattern) { return wireMockServer.removeServeEventsForStubsMatchingMetadata(stringValuePattern); } + /** + * Update global settings. + * + * @param newSettings + * the new settings + */ public void updateGlobalSettings(GlobalSettings newSettings) { wireMockServer.updateGlobalSettings(newSettings); } + /** + * Find near misses for unmatched requests. + * + * @return the find near misses result + */ public FindNearMissesResult findNearMissesForUnmatchedRequests() { return wireMockServer.findNearMissesForUnmatchedRequests(); } + /** + * Gets the all scenarios. + * + * @return the all scenarios + */ public GetScenariosResult getAllScenarios() { return wireMockServer.getAllScenarios(); } + /** + * Reset a scenario + * + * @param name + * the name + */ + public void resetScenario(String name) { + wireMockServer.resetScenario(name); + } + + /** + * Set scenario state + * + * @param name + * the name + * @param state + * the state + */ + public void setScenarioState(String name, String state) { + wireMockServer.setScenarioState(name, state); + } + + /** + * Find top near misses for. + * + * @param loggedRequest + * the logged request + * @return the find near misses result + */ public FindNearMissesResult findTopNearMissesFor(LoggedRequest loggedRequest) { return wireMockServer.findTopNearMissesFor(loggedRequest); } + /** + * Find top near misses for. + * + * @param requestPattern + * the request pattern + * @return the find near misses result + */ public FindNearMissesResult findTopNearMissesFor(RequestPattern requestPattern) { return wireMockServer.findTopNearMissesFor(requestPattern); } + /** + * Start recording. + * + * @param targetBaseUrl + * the target base url + */ public void startRecording(String targetBaseUrl) { wireMockServer.startRecording(targetBaseUrl); } + /** + * Start recording. + * + * @param spec + * the spec + */ public void startRecording(RecordSpec spec) { wireMockServer.startRecording(spec); } + /** + * Start recording. + * + * @param recordSpec + * the record spec + */ public void startRecording(RecordSpecBuilder recordSpec) { wireMockServer.startRecording(recordSpec); } + /** + * Stop recording. + * + * @return the snapshot record result + */ public SnapshotRecordResult stopRecording() { return wireMockServer.stopRecording(); } + /** + * Gets the recording status. + * + * @return the recording status + */ public RecordingStatusResult getRecordingStatus() { return wireMockServer.getRecordingStatus(); } + /** + * Snapshot record. + * + * @return the snapshot record result + */ public SnapshotRecordResult snapshotRecord() { return wireMockServer.snapshotRecord(); } + /** + * Snapshot record. + * + * @param spec + * the spec + * @return the snapshot record result + */ public SnapshotRecordResult snapshotRecord(RecordSpecBuilder spec) { return wireMockServer.snapshotRecord(spec); } + /** + * Snapshot record. + * + * @param spec + * the spec + * @return the snapshot record result + */ public SnapshotRecordResult snapshotRecord(RecordSpec spec) { return wireMockServer.snapshotRecord(spec); } + /** + * Gets the options. + * + * @return the options + */ public Options getOptions() { return wireMockServer.getOptions(); } + /** + * Shutdown server. + */ public void shutdownServer() { wireMockServer.shutdownServer(); } + /** + * Find all stubs by metadata. + * + * @param pattern + * the pattern + * @return the list stub mappings result + */ public ListStubMappingsResult findAllStubsByMetadata(StringValuePattern pattern) { return wireMockServer.findAllStubsByMetadata(pattern); } + /** + * Removes the stubs by metadata. + * + * @param pattern + * the pattern + */ public void removeStubsByMetadata(StringValuePattern pattern) { wireMockServer.removeStubsByMetadata(pattern); } + /** + * Import stubs. + * + * @param stubImport + * the stub import + */ public void importStubs(StubImport stubImport) { wireMockServer.importStubs(stubImport); } + /** + * Gets the global settings. + * + * @return the global settings + */ public GetGlobalSettingsResult getGlobalSettings() { return wireMockServer.getGlobalSettings(); } diff --git a/src/test/java/org/kohsuke/github/junit/WireMockRuleConfiguration.java b/src/test/java/org/kohsuke/github/junit/WireMockRuleConfiguration.java index 478e14272a..1960061c04 100644 --- a/src/test/java/org/kohsuke/github/junit/WireMockRuleConfiguration.java +++ b/src/test/java/org/kohsuke/github/junit/WireMockRuleConfiguration.java @@ -22,6 +22,10 @@ import java.util.List; import java.util.Map; +// TODO: Auto-generated Javadoc +/** + * The Class WireMockRuleConfiguration. + */ public class WireMockRuleConfiguration implements Options { private final Options parent; @@ -29,24 +33,54 @@ public class WireMockRuleConfiguration implements Options { private MappingsSource mappingsSource; private Map extensions = Maps.newLinkedHashMap(); + /** + * Instantiates a new wire mock rule configuration. + */ WireMockRuleConfiguration() { this(WireMockConfiguration.options(), null); } + /** + * Instantiates a new wire mock rule configuration. + * + * @param parent + * the parent + * @param childDirectory + * the child directory + * @param extensionInstances + * the extension instances + */ WireMockRuleConfiguration(Options parent, String childDirectory, Extension... extensionInstances) { this.parent = parent; this.childDirectory = childDirectory; this.extensions.putAll(ExtensionLoader.asMap(Arrays.asList(extensionInstances))); } + /** + * Wire mock config. + * + * @return the wire mock rule configuration + */ public static WireMockRuleConfiguration wireMockConfig() { return new WireMockRuleConfiguration(); } + /** + * Options. + * + * @return the wire mock rule configuration + */ public static WireMockRuleConfiguration options() { return wireMockConfig(); } + /** + * For child path. + * + * @param childPath + * the child path + * @return the wire mock rule configuration + */ public WireMockRuleConfiguration forChildPath(String childPath) { return new WireMockRuleConfiguration(this, childPath); } @@ -59,23 +93,54 @@ private MappingsSource getMappingsSource() { return this.mappingsSource; } + /** + * Files root. + * + * @return the file source + */ public FileSource filesRoot() { return childDirectory != null ? parent.filesRoot().child(childDirectory) : parent.filesRoot(); } + /** + * Mappings loader. + * + * @return the mappings loader + */ public MappingsLoader mappingsLoader() { return this.getMappingsSource(); } + /** + * Mappings saver. + * + * @return the mappings saver + */ public MappingsSaver mappingsSaver() { return this.getMappingsSource(); } + /** + * Mapping source. + * + * @param mappingsSource + * the mappings source + * @return the wire mock rule configuration + */ public WireMockRuleConfiguration mappingSource(MappingsSource mappingsSource) { this.mappingsSource = mappingsSource; return this; } + /** + * Extensions of type. + * + * @param + * the generic type + * @param extensionType + * the extension type + * @return the map + */ public Map extensionsOfType(Class extensionType) { Map result = Maps.newLinkedHashMap(this.parent.extensionsOfType(extensionType)); result.putAll((Map) Maps.filterEntries(this.extensions, @@ -85,120 +150,282 @@ public Map extensionsOfType(Class extensionT // Simple wrappers + /** + * Port number. + * + * @return the int + */ public int portNumber() { return parent.portNumber(); } + /** + * Gets the http disabled. + * + * @return the http disabled + */ public boolean getHttpDisabled() { return parent.getHttpDisabled(); } + /** + * Container threads. + * + * @return the int + */ public int containerThreads() { return parent.containerThreads(); } + /** + * Https settings. + * + * @return the https settings + */ public HttpsSettings httpsSettings() { return parent.httpsSettings(); } + /** + * Jetty settings. + * + * @return the jetty settings + */ public JettySettings jettySettings() { return parent.jettySettings(); } + /** + * Browser proxying enabled. + * + * @return true, if successful + */ public boolean browserProxyingEnabled() { return parent.browserProxyingEnabled(); } + /** + * Browser proxy settings. + * + * @return the browser proxy settings + */ public BrowserProxySettings browserProxySettings() { return parent.browserProxySettings(); } + /** + * Proxy via. + * + * @return the proxy settings + */ public ProxySettings proxyVia() { return parent.proxyVia(); } + /** + * Notifier. + * + * @return the notifier + */ public Notifier notifier() { return parent.notifier(); } + /** + * Request journal disabled. + * + * @return true, if successful + */ public boolean requestJournalDisabled() { return parent.requestJournalDisabled(); } + /** + * Max request journal entries. + * + * @return the optional + */ public Optional maxRequestJournalEntries() { return parent.maxRequestJournalEntries(); } + /** + * Bind address. + * + * @return the string + */ public String bindAddress() { return parent.bindAddress(); } + /** + * Matching headers. + * + * @return the list + */ public List matchingHeaders() { return parent.matchingHeaders(); } + /** + * Http server factory. + * + * @return the http server factory + */ public HttpServerFactory httpServerFactory() { return parent.httpServerFactory(); } + /** + * Thread pool factory. + * + * @return the thread pool factory + */ public ThreadPoolFactory threadPoolFactory() { return parent.threadPoolFactory(); } + /** + * Should preserve host header. + * + * @return true, if successful + */ public boolean shouldPreserveHostHeader() { return parent.shouldPreserveHostHeader(); } + /** + * Proxy host header. + * + * @return the string + */ public String proxyHostHeader() { return parent.proxyHostHeader(); } + /** + * Network traffic listener. + * + * @return the wiremock network traffic listener + */ public WiremockNetworkTrafficListener networkTrafficListener() { return parent.networkTrafficListener(); } + /** + * Gets the admin authenticator. + * + * @return the admin authenticator + */ public Authenticator getAdminAuthenticator() { return parent.getAdminAuthenticator(); } + /** + * Gets the https required for admin api. + * + * @return the https required for admin api + */ public boolean getHttpsRequiredForAdminApi() { return parent.getHttpsRequiredForAdminApi(); } + /** + * Gets the not matched renderer. + * + * @return the not matched renderer + */ public NotMatchedRenderer getNotMatchedRenderer() { return parent.getNotMatchedRenderer(); } + /** + * Gets the asynchronous response settings. + * + * @return the asynchronous response settings + */ public AsynchronousResponseSettings getAsynchronousResponseSettings() { return parent.getAsynchronousResponseSettings(); } + /** + * Gets the chunked encoding policy. + * + * @return the chunked encoding policy + */ public ChunkedEncodingPolicy getChunkedEncodingPolicy() { return parent.getChunkedEncodingPolicy(); } + /** + * Gets the gzip disabled. + * + * @return the gzip disabled + */ public boolean getGzipDisabled() { return parent.getGzipDisabled(); } + /** + * Gets the stub request logging disabled. + * + * @return the stub request logging disabled + */ public boolean getStubRequestLoggingDisabled() { return parent.getStubRequestLoggingDisabled(); } + /** + * Gets the stub cors enabled. + * + * @return the stub cors enabled + */ public boolean getStubCorsEnabled() { return parent.getStubCorsEnabled(); } + /** + * Timeout. + * + * @return the long + */ public long timeout() { return parent.timeout(); } + /** + * Gets the disable optimize xml factories loading. + * + * @return the disable optimize xml factories loading + */ public boolean getDisableOptimizeXmlFactoriesLoading() { return parent.getDisableOptimizeXmlFactoriesLoading(); } + /** + * Gets the disable strict http headers. + * + * @return the disable strict http headers + */ public boolean getDisableStrictHttpHeaders() { return parent.getDisableStrictHttpHeaders(); } + /** + * Gets the data truncation settings. + * + * @return the data truncation settings + */ + public DataTruncationSettings getDataTruncationSettings() { + return parent.getDataTruncationSettings(); + } + + /** + * Gets the network address rules. + * + * @return the network address rules + */ + public NetworkAddressRules getProxyTargetRules() { + return parent.getProxyTargetRules(); + } } diff --git a/src/test/resources/org/kohsuke/github/OrgAppInstallationAuthorizationProviderTest/wiremock/invalidJWTTokenRaisesException/mappings/app-2.json b/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/invalidJWTTokenRaisesException/mappings/app-2.json similarity index 100% rename from src/test/resources/org/kohsuke/github/OrgAppInstallationAuthorizationProviderTest/wiremock/invalidJWTTokenRaisesException/mappings/app-2.json rename to src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/invalidJWTTokenRaisesException/mappings/app-2.json diff --git a/src/test/resources/org/kohsuke/github/OrgAppInstallationAuthorizationProviderTest/wiremock/invalidJWTTokenRaisesException/mappings/user-1.json b/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/invalidJWTTokenRaisesException/mappings/user-1.json similarity index 100% rename from src/test/resources/org/kohsuke/github/OrgAppInstallationAuthorizationProviderTest/wiremock/invalidJWTTokenRaisesException/mappings/user-1.json rename to src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/invalidJWTTokenRaisesException/mappings/user-1.json diff --git a/src/test/resources/org/kohsuke/github/OrgAppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/__files/app-2.json b/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/__files/app-2.json similarity index 100% rename from src/test/resources/org/kohsuke/github/OrgAppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/__files/app-2.json rename to src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/__files/app-2.json diff --git a/src/test/resources/org/kohsuke/github/OrgAppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/__files/orgs_hub4j-test-org_installation-3.json b/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/__files/orgs_hub4j-test-org_installation-3.json similarity index 100% rename from src/test/resources/org/kohsuke/github/OrgAppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/__files/orgs_hub4j-test-org_installation-3.json rename to src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/__files/orgs_hub4j-test-org_installation-3.json diff --git a/src/test/resources/org/kohsuke/github/OrgAppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/mappings/app-2.json b/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/mappings/app-2.json similarity index 100% rename from src/test/resources/org/kohsuke/github/OrgAppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/mappings/app-2.json rename to src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/mappings/app-2.json diff --git a/src/test/resources/org/kohsuke/github/OrgAppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/mappings/app_installations_11575015_access_tokens-4.json b/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/mappings/app_installations_11575015_access_tokens-4.json similarity index 100% rename from src/test/resources/org/kohsuke/github/OrgAppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/mappings/app_installations_11575015_access_tokens-4.json rename to src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/mappings/app_installations_11575015_access_tokens-4.json diff --git a/src/test/resources/org/kohsuke/github/OrgAppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/mappings/orgs_hub4j-test-org_installation-3.json b/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/mappings/orgs_hub4j-test-org_installation-3.json similarity index 100% rename from src/test/resources/org/kohsuke/github/OrgAppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/mappings/orgs_hub4j-test-org_installation-3.json rename to src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/mappings/orgs_hub4j-test-org_installation-3.json diff --git a/src/test/resources/org/kohsuke/github/OrgAppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/mappings/user-1.json b/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/mappings/user-1.json similarity index 100% rename from src/test/resources/org/kohsuke/github/OrgAppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/mappings/user-1.json rename to src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenAllowsOauthTokenRequest/mappings/user-1.json diff --git a/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenWhenLookingUpAppById/__files/app-1.json b/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenWhenLookingUpAppById/__files/app-1.json new file mode 100644 index 0000000000..47e828ca82 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenWhenLookingUpAppById/__files/app-1.json @@ -0,0 +1,37 @@ +{ + "id": 82994, + "slug": "ghapi-test-app-1", + "node_id": "MDM6QXBwODI5OTQ=", + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GHApi Test app 1", + "description": "", + "external_url": "http://localhost", + "html_url": "https://github.com/apps/ghapi-test-app-1", + "created_at": "2020-09-30T13:40:56Z", + "updated_at": "2020-09-30T13:40:56Z", + "permissions": { + "contents": "read", + "metadata": "read" + }, + "events": [], + "installations_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenWhenLookingUpAppById/__files/app_installations_12129901-2.json b/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenWhenLookingUpAppById/__files/app_installations_12129901-2.json new file mode 100644 index 0000000000..5545b86e94 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenWhenLookingUpAppById/__files/app_installations_12129901-2.json @@ -0,0 +1,40 @@ +{ + "id": 12129901, + "account": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "repository_selection": "selected", + "access_tokens_url": "https://api.github.com/app/installations/12129901/access_tokens", + "repositories_url": "https://api.github.com/installation/repositories", + "html_url": "https://github.com/organizations/hub4j-test-org/settings/installations/12129901", + "app_id": 82994, + "app_slug": "ghapi-test-app-1", + "target_id": 7544739, + "target_type": "Organization", + "permissions": {}, + "events": [], + "created_at": "2020-09-30T13:41:32.000Z", + "updated_at": "2023-03-21T14:39:11.000Z", + "single_file_name": null, + "has_multiple_single_files": false, + "single_file_paths": [], + "suspended_by": null, + "suspended_at": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenWhenLookingUpAppById/mappings/app-1.json b/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenWhenLookingUpAppById/mappings/app-1.json new file mode 100644 index 0000000000..4f6be93fd5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenWhenLookingUpAppById/mappings/app-1.json @@ -0,0 +1,42 @@ +{ + "id": "44e77d23-3e8f-4c80-a5fc-98546576386a", + "name": "app", + "request": { + "url": "/app", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.machine-man-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "app-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 14 Apr 2023 09:15:08 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "public, max-age=60, s-maxage=60", + "Vary": [ + "Accept", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"662c8ea184a852f605e0c94a9789fe43965f939e16e02ff0b3a8cc1043078a62\"", + "X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json", + "x-github-api-version-selected": "2022-11-28", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "D5E4:64DB:14B8E4B:2A5B09C:6439199C" + } + }, + "uuid": "44e77d23-3e8f-4c80-a5fc-98546576386a", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenWhenLookingUpAppById/mappings/app_installations_12129901-2.json b/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenWhenLookingUpAppById/mappings/app_installations_12129901-2.json new file mode 100644 index 0000000000..b8fd2e08eb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenWhenLookingUpAppById/mappings/app_installations_12129901-2.json @@ -0,0 +1,42 @@ +{ + "id": "28dac8ce-4adb-4cd1-87f0-92a778dbc666", + "name": "app_installations_12129901", + "request": { + "url": "/app/installations/12129901", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.machine-man-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "app_installations_12129901-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 14 Apr 2023 09:15:09 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "public, max-age=60, s-maxage=60", + "Vary": [ + "Accept", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"769ac49fef0becca8ce246825760301f5b9212a8530d24d502c80bbc0a06e85c\"", + "X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json", + "x-github-api-version-selected": "2022-11-28", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "D5E5:7CF1:D338A6:1B21990:6439199D" + } + }, + "uuid": "28dac8ce-4adb-4cd1-87f0-92a778dbc666", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenWhenLookingUpAppById/mappings/app_installations_12129901_access_tokens-3.json b/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenWhenLookingUpAppById/mappings/app_installations_12129901_access_tokens-3.json new file mode 100644 index 0000000000..2444c987dc --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppInstallationAuthorizationProviderTest/wiremock/validJWTTokenWhenLookingUpAppById/mappings/app_installations_12129901_access_tokens-3.json @@ -0,0 +1,49 @@ +{ + "id": "aac9a24a-fb91-4b75-ab55-f0c3680c25f9", + "name": "app_installations_12129901_access_tokens", + "request": { + "url": "/app/installations/12129901/access_tokens", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.machine-man-preview+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "body": "{\"token\":\"ghs_H067E5bylNzK8WTHrhkkUWH4oSmnIa0sQPIE\",\"expires_at\":\"2023-04-14T10:15:09Z\",\"permissions\":{\"contents\":\"read\",\"metadata\":\"read\"},\"repository_selection\":\"selected\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 14 Apr 2023 09:15:09 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "public, max-age=60, s-maxage=60", + "Vary": [ + "Accept", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"3596a4698310b644afcf2cca637bc4a361f45e3ad0cf3d88069b43f791325443\"", + "X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json", + "x-github-api-version-selected": "2022-11-28", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "D5E6:8682:ED399A:1E5EFD5:6439199D" + } + }, + "uuid": "aac9a24a-fb91-4b75-ab55-f0c3680c25f9", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api-1.json new file mode 100644 index 0000000000..82927cb459 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api-1.json @@ -0,0 +1,142 @@ +{ + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "2022-04-05T15:53:55Z", + "pushed_at": "2022-04-08T04:02:11Z", + "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": "https://github-api.kohsuke.org/", + "size": 39875, + "stargazers_count": 878, + "watchers_count": 878, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 601, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 99, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 601, + "open_issues": 99, + "watchers": 878, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "temp_clone_token": "", + "organization": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 601, + "subscribers_count": 48 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api-2.json deleted file mode 100644 index df6bca44dd..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api-2.json +++ /dev/null @@ -1,132 +0,0 @@ -{ - "id": 617210, - "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", - "name": "github-api", - "full_name": "hub4j/github-api", - "private": false, - "owner": { - "login": "hub4j", - "id": 54909825, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", - "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j", - "html_url": "https://github.com/hub4j", - "followers_url": "https://api.github.com/users/hub4j/followers", - "following_url": "https://api.github.com/users/hub4j/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j/orgs", - "repos_url": "https://api.github.com/users/hub4j/repos", - "events_url": "https://api.github.com/users/hub4j/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j/github-api", - "description": "Java API for GitHub", - "fork": false, - "url": "https://api.github.com/repos/hub4j/github-api", - "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", - "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", - "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": "2020-02-23T02:42:15Z", - "pushed_at": "2020-02-23T02:48:53Z", - "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": "https://github-api.kohsuke.org/", - "size": 19552, - "stargazers_count": 613, - "watchers_count": 613, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 456, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 57, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 456, - "open_issues": 57, - "watchers": 613, - "default_branch": "main", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "temp_clone_token": "", - "allow_squash_merge": true, - "allow_merge_commit": true, - "allow_rebase_merge": true, - "delete_branch_on_merge": false, - "organization": { - "login": "hub4j", - "id": 54909825, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", - "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j", - "html_url": "https://github.com/hub4j", - "followers_url": "https://api.github.com/users/hub4j/followers", - "following_url": "https://api.github.com/users/hub4j/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j/orgs", - "repos_url": "https://api.github.com/users/hub4j/repos", - "events_url": "https://api.github.com/users/hub4j/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j/received_events", - "type": "Organization", - "site_admin": false - }, - "network_count": 456, - "subscribers_count": 47 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311-2.json new file mode 100644 index 0000000000..c768abfa53 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311-2.json @@ -0,0 +1,79 @@ +{ + "url": "https://api.github.com/repos/hub4j/github-api/issues/311", + "repository_url": "https://api.github.com/repos/hub4j/github-api", + "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/311/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/311/comments", + "events_url": "https://api.github.com/repos/hub4j/github-api/issues/311/events", + "html_url": "https://github.com/hub4j/github-api/issues/311", + "id": 189918501, + "node_id": "MDU6SXNzdWUxODk5MTg1MDE=", + "number": 311, + "title": "Testing reaction", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2016-11-17T02:40:08Z", + "updated_at": "2016-11-17T02:40:11Z", + "closed_at": "2016-11-17T02:40:11Z", + "author_association": "COLLABORATOR", + "active_lock_reason": null, + "body": "", + "closed_by": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "reactions": { + "url": "https://api.github.com/repos/hub4j/github-api/issues/311/reactions", + "total_count": 1, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 1, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j/github-api/issues/311/timeline", + "performed_via_github_app": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311-3.json deleted file mode 100644 index b7fbe36f99..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311-3.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "url": "https://api.github.com/repos/hub4j/github-api/issues/311", - "repository_url": "https://api.github.com/repos/hub4j/github-api", - "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/311/labels{/name}", - "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/311/comments", - "events_url": "https://api.github.com/repos/hub4j/github-api/issues/311/events", - "html_url": "https://github.com/hub4j/github-api/issues/311", - "id": 189918501, - "node_id": "MDU6SXNzdWUxODk5MTg1MDE=", - "number": 311, - "title": "Testing reaction", - "user": { - "login": "kohsuke", - "id": 50003, - "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke", - "html_url": "https://github.com/kohsuke", - "followers_url": "https://api.github.com/users/kohsuke/followers", - "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke/orgs", - "repos_url": "https://api.github.com/users/kohsuke/repos", - "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke/received_events", - "type": "User", - "site_admin": false - }, - "labels": [], - "state": "closed", - "locked": false, - "assignee": null, - "assignees": [], - "milestone": null, - "comments": 0, - "created_at": "2016-11-17T02:40:08Z", - "updated_at": "2016-11-17T02:40:11Z", - "closed_at": "2016-11-17T02:40:11Z", - "author_association": "MEMBER", - "body": "", - "closed_by": { - "login": "kohsuke", - "id": 50003, - "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke", - "html_url": "https://github.com/kohsuke", - "followers_url": "https://api.github.com/users/kohsuke/followers", - "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke/orgs", - "repos_url": "https://api.github.com/users/kohsuke/repos", - "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke/received_events", - "type": "User", - "site_admin": false - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-10.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-10.json index 4bb5d5aa05..9dd2ef4e7a 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-10.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-10.json @@ -1,26 +1,26 @@ { - "id": 63220306, - "node_id": "MDg6UmVhY3Rpb242MzIyMDMwNg==", + "id": 158437739, + "node_id": "REA_lAHOAAlq-s4LUe0lzglxkWs", "user": { - "login": "bitwiseman", - "id": 1958953, - "node_id": "MDQ6VXNlcjE5NTg5NTM=", - "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?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/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", + "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 }, "content": "eyes", - "created_at": "2020-02-23T03:15:56Z" + "created_at": "2022-04-08T17:54:36Z" } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-11.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-11.json index d477b817de..234d6f9543 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-11.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-11.json @@ -1,26 +1,26 @@ { - "id": 63220307, - "node_id": "MDg6UmVhY3Rpb242MzIyMDMwNw==", + "id": 158437742, + "node_id": "REA_lAHOAAlq-s4LUe0lzglxkW4", "user": { - "login": "bitwiseman", - "id": 1958953, - "node_id": "MDQ6VXNlcjE5NTg5NTM=", - "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?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/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", + "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 }, "content": "rocket", - "created_at": "2020-02-23T03:15:57Z" + "created_at": "2022-04-08T17:54:36Z" } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-12.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-12.json index ab1fca7f0e..8ff3ced963 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-12.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-12.json @@ -6,7 +6,7 @@ "login": "kohsuke", "id": 50003, "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?u=30898a401fb77ecabed2368bc6742f004f52650d&v=4", "gravatar_id": "", "url": "https://api.github.com/users/kohsuke", "html_url": "https://github.com/kohsuke", @@ -26,107 +26,107 @@ "created_at": "2016-11-17T02:40:15Z" }, { - "id": 63220303, - "node_id": "MDg6UmVhY3Rpb242MzIyMDMwMw==", + "id": 158437736, + "node_id": "REA_lAHOAAlq-s4LUe0lzglxkWg", "user": { - "login": "bitwiseman", - "id": 1958953, - "node_id": "MDQ6VXNlcjE5NTg5NTM=", - "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "login": "gsmet", + "id": 1279749, + "node_id": "MDQ6VXNlcjEyNzk3NDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1279749?u=e462a6165ea17647aed446ca31fae604338ae18c&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", + "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 }, "content": "+1", - "created_at": "2020-02-23T03:15:55Z" + "created_at": "2022-04-08T17:54:35Z" }, { - "id": 63220305, - "node_id": "MDg6UmVhY3Rpb242MzIyMDMwNQ==", + "id": 158437737, + "node_id": "REA_lAHOAAlq-s4LUe0lzglxkWk", "user": { - "login": "bitwiseman", - "id": 1958953, - "node_id": "MDQ6VXNlcjE5NTg5NTM=", - "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "login": "gsmet", + "id": 1279749, + "node_id": "MDQ6VXNlcjEyNzk3NDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1279749?u=e462a6165ea17647aed446ca31fae604338ae18c&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", + "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 }, "content": "confused", - "created_at": "2020-02-23T03:15:56Z" + "created_at": "2022-04-08T17:54:35Z" }, { - "id": 63220306, - "node_id": "MDg6UmVhY3Rpb242MzIyMDMwNg==", + "id": 158437739, + "node_id": "REA_lAHOAAlq-s4LUe0lzglxkWs", "user": { - "login": "bitwiseman", - "id": 1958953, - "node_id": "MDQ6VXNlcjE5NTg5NTM=", - "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "login": "gsmet", + "id": 1279749, + "node_id": "MDQ6VXNlcjEyNzk3NDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1279749?u=e462a6165ea17647aed446ca31fae604338ae18c&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", + "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 }, "content": "eyes", - "created_at": "2020-02-23T03:15:56Z" + "created_at": "2022-04-08T17:54:36Z" }, { - "id": 63220307, - "node_id": "MDg6UmVhY3Rpb242MzIyMDMwNw==", + "id": 158437742, + "node_id": "REA_lAHOAAlq-s4LUe0lzglxkW4", "user": { - "login": "bitwiseman", - "id": 1958953, - "node_id": "MDQ6VXNlcjE5NTg5NTM=", - "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "login": "gsmet", + "id": 1279749, + "node_id": "MDQ6VXNlcjEyNzk3NDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1279749?u=e462a6165ea17647aed446ca31fae604338ae18c&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", + "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 }, "content": "rocket", - "created_at": "2020-02-23T03:15:57Z" + "created_at": "2022-04-08T17:54:36Z" } ] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-17.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-17.json index ee767d3d2b..f8551f16ed 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-17.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-17.json @@ -6,7 +6,7 @@ "login": "kohsuke", "id": 50003, "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?u=30898a401fb77ecabed2368bc6742f004f52650d&v=4", "gravatar_id": "", "url": "https://api.github.com/users/kohsuke", "html_url": "https://github.com/kohsuke", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-3.json new file mode 100644 index 0000000000..f8551f16ed --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-3.json @@ -0,0 +1,28 @@ +[ + { + "id": 5037900, + "node_id": "MDg6UmVhY3Rpb241MDM3OTAw", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?u=30898a401fb77ecabed2368bc6742f004f52650d&v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "content": "heart", + "created_at": "2016-11-17T02:40:15Z" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-4.json index ee767d3d2b..cb5e9560ce 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-4.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-4.json @@ -1,28 +1,26 @@ -[ - { - "id": 5037900, - "node_id": "MDg6UmVhY3Rpb241MDM3OTAw", - "user": { - "login": "kohsuke", - "id": 50003, - "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke", - "html_url": "https://github.com/kohsuke", - "followers_url": "https://api.github.com/users/kohsuke/followers", - "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke/orgs", - "repos_url": "https://api.github.com/users/kohsuke/repos", - "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke/received_events", - "type": "User", - "site_admin": false - }, - "content": "heart", - "created_at": "2016-11-17T02:40:15Z" - } -] \ No newline at end of file +{ + "id": 158437734, + "node_id": "REA_lAHOAAlq-s4LUe0lzglxkWY", + "user": { + "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 + }, + "content": "hooray", + "created_at": "2022-04-08T17:54:34Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-5.json deleted file mode 100644 index 46cc80343d..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-5.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "id": 63220302, - "node_id": "MDg6UmVhY3Rpb242MzIyMDMwMg==", - "user": { - "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 - }, - "content": "hooray", - "created_at": "2020-02-23T03:15:55Z" -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-7.json index ee767d3d2b..f8551f16ed 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-7.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-7.json @@ -6,7 +6,7 @@ "login": "kohsuke", "id": 50003, "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?u=30898a401fb77ecabed2368bc6742f004f52650d&v=4", "gravatar_id": "", "url": "https://api.github.com/users/kohsuke", "html_url": "https://github.com/kohsuke", diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-8.json index 51292a6985..b110ac7308 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-8.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-8.json @@ -1,26 +1,26 @@ { - "id": 63220303, - "node_id": "MDg6UmVhY3Rpb242MzIyMDMwMw==", + "id": 158437736, + "node_id": "REA_lAHOAAlq-s4LUe0lzglxkWg", "user": { - "login": "bitwiseman", - "id": 1958953, - "node_id": "MDQ6VXNlcjE5NTg5NTM=", - "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?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/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", + "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 }, "content": "+1", - "created_at": "2020-02-23T03:15:55Z" + "created_at": "2022-04-08T17:54:35Z" } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-9.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-9.json index 2dc6bb8df7..01d4e4e966 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-9.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/repos_hub4j_github-api_issues_311_reactions-9.json @@ -1,26 +1,26 @@ { - "id": 63220305, - "node_id": "MDg6UmVhY3Rpb242MzIyMDMwNQ==", + "id": 158437737, + "node_id": "REA_lAHOAAlq-s4LUe0lzglxkWk", "user": { - "login": "bitwiseman", - "id": 1958953, - "node_id": "MDQ6VXNlcjE5NTg5NTM=", - "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?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/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", + "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 }, "content": "confused", - "created_at": "2020-02-23T03:15:56Z" + "created_at": "2022-04-08T17:54:35Z" } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/user-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/user-1.json deleted file mode 100644 index 8a28d7cbe3..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__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": 181, - "public_gists": 7, - "followers": 147, - "following": 9, - "created_at": "2012-07-11T20:38:33Z", - "updated_at": "2020-02-21T20:59:33Z", - "private_gists": 8, - "total_private_repos": 10, - "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/reactions/__files/user-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__files/user-5.json new file mode 100644 index 0000000000..6fa76a1f24 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/__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": 147, + "public_gists": 15, + "followers": 172, + "following": 3, + "created_at": "2011-12-22T11:03:22Z", + "updated_at": "2022-04-06T15:07:12Z", + "private_gists": 14, + "total_private_repos": 4, + "owned_private_repos": 1, + "disk_usage": 70882, + "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/reactions/mappings/reactions_63220302-6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/reactions_63220302-6.json deleted file mode 100644 index 8fa3b4608b..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/reactions_63220302-6.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "b596150f-299c-48fc-8c7f-aae75105e09f", - "name": "reactions_63220302", - "request": { - "url": "/reactions/63220302", - "method": "DELETE", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.squirrel-girl-preview+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Sun, 23 Feb 2020 03:15:55 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4887", - "X-RateLimit-Reset": "1582428789", - "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": "github.squirrel-girl-preview; format=json", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "C701:8993:A68E26:C0D6BE:5E51EE6B" - } - }, - "uuid": "b596150f-299c-48fc-8c7f-aae75105e09f", - "persistent": true, - "insertionIndex": 6 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/reactions_63220303-13.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/reactions_63220303-13.json deleted file mode 100644 index 0b94c0f7aa..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/reactions_63220303-13.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "cf170df9-400c-4e8f-a5fb-29657271beea", - "name": "reactions_63220303", - "request": { - "url": "/reactions/63220303", - "method": "DELETE", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.squirrel-girl-preview+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Sun, 23 Feb 2020 03:15:57 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4880", - "X-RateLimit-Reset": "1582428788", - "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": "github.squirrel-girl-preview; format=json", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "C701:8993:A68EA9:C0D74A:5E51EE6D" - } - }, - "uuid": "cf170df9-400c-4e8f-a5fb-29657271beea", - "persistent": true, - "insertionIndex": 13 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/reactions_63220305-14.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/reactions_63220305-14.json deleted file mode 100644 index 2019c634eb..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/reactions_63220305-14.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "dcbdbe23-adc4-4f58-9a1b-11a3f976fb7c", - "name": "reactions_63220305", - "request": { - "url": "/reactions/63220305", - "method": "DELETE", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.squirrel-girl-preview+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Sun, 23 Feb 2020 03:15:58 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4879", - "X-RateLimit-Reset": "1582428789", - "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": "github.squirrel-girl-preview; format=json", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "C701:8993:A68EC2:C0D760:5E51EE6D" - } - }, - "uuid": "dcbdbe23-adc4-4f58-9a1b-11a3f976fb7c", - "persistent": true, - "insertionIndex": 14 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/reactions_63220306-15.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/reactions_63220306-15.json deleted file mode 100644 index babc5186d5..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/reactions_63220306-15.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "08b50aa8-c491-48a6-99ae-d4cb492515cd", - "name": "reactions_63220306", - "request": { - "url": "/reactions/63220306", - "method": "DELETE", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.squirrel-girl-preview+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Sun, 23 Feb 2020 03:15:58 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4878", - "X-RateLimit-Reset": "1582428788", - "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": "github.squirrel-girl-preview; format=json", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "C701:8993:A68ED9:C0D77E:5E51EE6E" - } - }, - "uuid": "08b50aa8-c491-48a6-99ae-d4cb492515cd", - "persistent": true, - "insertionIndex": 15 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/reactions_63220307-16.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/reactions_63220307-16.json deleted file mode 100644 index b03ef61e66..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/reactions_63220307-16.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "12cbca2c-5e73-4317-9f86-0e52224a952e", - "name": "reactions_63220307", - "request": { - "url": "/reactions/63220307", - "method": "DELETE", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.squirrel-girl-preview+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Sun, 23 Feb 2020 03:15:58 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4877", - "X-RateLimit-Reset": "1582428788", - "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": "github.squirrel-girl-preview; format=json", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "C701:8993:A68EE6:C0D795:5E51EE6E" - } - }, - "uuid": "12cbca2c-5e73-4317-9f86-0e52224a952e", - "persistent": true, - "insertionIndex": 16 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api-1.json new file mode 100644 index 0000000000..a78b2b4bbf --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api-1.json @@ -0,0 +1,47 @@ +{ + "id": "c6efc5bd-de9c-4e88-94bc-a850d7464aac", + "name": "repos_hub4j_github-api", + "request": { + "url": "/repos/hub4j/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j_github-api-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 08 Apr 2022 17:54:33 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"0724239a9126b3b497da24f1ce2ee091034494cf97120f4a600d34f03060486f\"", + "Last-Modified": "Tue, 05 Apr 2022 15:53: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": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4913", + "X-RateLimit-Reset": "1649442146", + "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": "C576:5C2C:7944B:7E586:625076D9" + } + }, + "uuid": "c6efc5bd-de9c-4e88-94bc-a850d7464aac", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api-2.json deleted file mode 100644 index 20da3831b5..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api-2.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "66f6b3ba-129b-441c-9f2f-c9e18c941eea", - "name": "repos_hub4j_github-api", - "request": { - "url": "/repos/hub4j/github-api", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j_github-api-2.json", - "headers": { - "Date": "Sun, 23 Feb 2020 03:15:54 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4891", - "X-RateLimit-Reset": "1582428788", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"269c8989f92f77931309a63cbad7a7c7\"", - "Last-Modified": "Sun, 23 Feb 2020 02:42:15 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": "C701:8993:A68DF4:C0D653:5E51EE69" - } - }, - "uuid": "66f6b3ba-129b-441c-9f2f-c9e18c941eea", - "persistent": true, - "insertionIndex": 2 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311-2.json new file mode 100644 index 0000000000..0c3e3e900f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311-2.json @@ -0,0 +1,47 @@ +{ + "id": "44f3d919-45be-4d78-b934-50b8d4310bcb", + "name": "repos_hub4j_github-api_issues_311", + "request": { + "url": "/repos/hub4j/github-api/issues/311", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j_github-api_issues_311-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 08 Apr 2022 17:54:33 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"a74231dd33e02a888660adf7e9da0bd44d542e343e6ff46e6dc4ee687201989d\"", + "Last-Modified": "Fri, 18 Mar 2022 23:13: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": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4912", + "X-RateLimit-Reset": "1649442146", + "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": "C578:93CF:17735E:17E3F7:625076D9" + } + }, + "uuid": "44f3d919-45be-4d78-b934-50b8d4310bcb", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311-3.json deleted file mode 100644 index c46acf2e86..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311-3.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "1e8e21ad-edaf-4647-b812-4046b8f71a3a", - "name": "repos_hub4j_github-api_issues_311", - "request": { - "url": "/repos/hub4j/github-api/issues/311", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j_github-api_issues_311-3.json", - "headers": { - "Date": "Sun, 23 Feb 2020 03:15:54 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": "1582428788", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"62f7fd95abf580737a40918dc382d828\"", - "Last-Modified": "Mon, 17 Feb 2020 11:11:11 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": "C701:8993:A68E02:C0D68F:5E51EE6A" - } - }, - "uuid": "1e8e21ad-edaf-4647-b812-4046b8f71a3a", - "persistent": true, - "insertionIndex": 3 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-10.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-10.json index 44210ae288..29b9fb9996 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-10.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-10.json @@ -1,5 +1,5 @@ { - "id": "1a36428c-ce04-4580-b160-ffc42b4629ff", + "id": "00213761-d7a8-4c46-8b30-d7cfbfccbf15", "name": "repos_hub4j_github-api_issues_311_reactions", "request": { "url": "/repos/hub4j/github-api/issues/311/reactions", @@ -13,7 +13,7 @@ { "equalToJson": "{\"content\":\"eyes\"}", "ignoreArrayOrder": true, - "ignoreExtraElements": true + "ignoreExtraElements": false } ] }, @@ -21,34 +21,33 @@ "status": 201, "bodyFileName": "repos_hub4j_github-api_issues_311_reactions-10.json", "headers": { - "Date": "Sun, 23 Feb 2020 03:15:56 GMT", - "Content-Type": "application/json; charset=utf-8", "Server": "GitHub.com", - "Status": "201 Created", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4883", - "X-RateLimit-Reset": "1582428788", + "Date": "Fri, 08 Apr 2022 17:54:36 GMT", + "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "\"7b229544c753e8c32911036296d1b2eb\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "ETag": "\"035bba4eba323236f968f02d5e8fdb08e07e1cdaad5c2bfbb81ca92ccd61fdc9\"", + "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.squirrel-girl-preview; format=json", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", + "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4904", + "X-RateLimit-Reset": "1649442146", + "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": "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": "C701:8993:A68E6C:C0D703:5E51EE6C" + "X-GitHub-Request-Id": "C58A:6F17:F6D17:FCB1E:625076DB" } }, - "uuid": "1a36428c-ce04-4580-b160-ffc42b4629ff", + "uuid": "00213761-d7a8-4c46-8b30-d7cfbfccbf15", "persistent": true, "insertionIndex": 10 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-11.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-11.json index 2fe2a2232d..0de1e5696a 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-11.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-11.json @@ -1,5 +1,5 @@ { - "id": "41bca581-4ce9-4d1a-94ee-407bb996afc8", + "id": "7d18a5b2-f744-41cd-a905-b8cbc6cffaaf", "name": "repos_hub4j_github-api_issues_311_reactions", "request": { "url": "/repos/hub4j/github-api/issues/311/reactions", @@ -13,7 +13,7 @@ { "equalToJson": "{\"content\":\"rocket\"}", "ignoreArrayOrder": true, - "ignoreExtraElements": true + "ignoreExtraElements": false } ] }, @@ -21,34 +21,33 @@ "status": 201, "bodyFileName": "repos_hub4j_github-api_issues_311_reactions-11.json", "headers": { - "Date": "Sun, 23 Feb 2020 03:15:57 GMT", - "Content-Type": "application/json; charset=utf-8", "Server": "GitHub.com", - "Status": "201 Created", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4882", - "X-RateLimit-Reset": "1582428789", + "Date": "Fri, 08 Apr 2022 17:54:36 GMT", + "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "\"264de84eeb4bbbfd44ee646c90683d2d\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "ETag": "\"902a7a017817ebc2fbe4d203f74fe6707029b566cfd17c98abf2390f014fa13d\"", + "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.squirrel-girl-preview; format=json", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", + "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4903", + "X-RateLimit-Reset": "1649442146", + "X-RateLimit-Used": "97", + "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": "C701:8993:A68E83:C0D71E:5E51EE6C" + "X-GitHub-Request-Id": "C58C:39AB:16689E:16D609:625076DC" } }, - "uuid": "41bca581-4ce9-4d1a-94ee-407bb996afc8", + "uuid": "7d18a5b2-f744-41cd-a905-b8cbc6cffaaf", "persistent": true, "insertionIndex": 11 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-12.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-12.json index 3f59ca74a9..977b0dad40 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-12.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-12.json @@ -1,5 +1,5 @@ { - "id": "ec5b4512-28c1-46fe-95d2-710c6da55cb3", + "id": "aead86e6-8e90-4e86-ade3-39e03b86cfa0", "name": "repos_hub4j_github-api_issues_311_reactions", "request": { "url": "/repos/hub4j/github-api/issues/311/reactions", @@ -14,37 +14,36 @@ "status": 200, "bodyFileName": "repos_hub4j_github-api_issues_311_reactions-12.json", "headers": { - "Date": "Sun, 23 Feb 2020 03:15:57 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": "1582428788", + "Date": "Fri, 08 Apr 2022 17:54:36 GMT", + "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"e7f76146c68532e9ccff19c1a86daf0a\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "ETag": "W/\"87a51b277fa8bc107445451a451e0f21d15f4f7526ee999e398ef8a4321bd965\"", + "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.squirrel-girl-preview; format=json", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", + "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4902", + "X-RateLimit-Reset": "1649442146", + "X-RateLimit-Used": "98", + "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": "C701:8993:A68E9B:C0D731:5E51EE6D" + "X-GitHub-Request-Id": "C58E:AE8B:1825E:1C6DF:625076DC" } }, - "uuid": "ec5b4512-28c1-46fe-95d2-710c6da55cb3", + "uuid": "aead86e6-8e90-4e86-ade3-39e03b86cfa0", "persistent": true, - "scenarioName": "scenario-1-repos-github-api-github-api-issues-311-reactions", - "requiredScenarioState": "scenario-1-repos-github-api-github-api-issues-311-reactions-3", - "newScenarioState": "scenario-1-repos-github-api-github-api-issues-311-reactions-4", + "scenarioName": "scenario-1-repos-hub4j-github-api-issues-311-reactions", + "requiredScenarioState": "scenario-1-repos-hub4j-github-api-issues-311-reactions-3", + "newScenarioState": "scenario-1-repos-hub4j-github-api-issues-311-reactions-4", "insertionIndex": 12 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-17.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-17.json index be10616e03..9bc6a31bfe 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-17.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-17.json @@ -1,5 +1,5 @@ { - "id": "e6be4fe8-bb46-418f-bd08-dba996ef250c", + "id": "38b71e3d-52fe-49ea-8a62-4d4ec3bcae8d", "name": "repos_hub4j_github-api_issues_311_reactions", "request": { "url": "/repos/hub4j/github-api/issues/311/reactions", @@ -14,36 +14,35 @@ "status": 200, "bodyFileName": "repos_hub4j_github-api_issues_311_reactions-17.json", "headers": { - "Date": "Sun, 23 Feb 2020 03:15:59 GMT", - "Content-Type": "application/json; charset=utf-8", "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4876", - "X-RateLimit-Reset": "1582428789", + "Date": "Fri, 08 Apr 2022 17:54: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/\"17896e19dfa86d3946ff4a8c47200920\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "ETag": "W/\"6ff5ec5d70f5a161a16ebfe5125f01c7d9f7ff54d0bb662b4939f3a8aa77c8c3\"", + "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.squirrel-girl-preview; format=json", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", + "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4897", + "X-RateLimit-Reset": "1649442146", + "X-RateLimit-Used": "103", + "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": "C701:8993:A68F04:C0D7BB:5E51EE6E" + "X-GitHub-Request-Id": "C598:020D:10104B:106F41:625076DE" } }, - "uuid": "e6be4fe8-bb46-418f-bd08-dba996ef250c", + "uuid": "38b71e3d-52fe-49ea-8a62-4d4ec3bcae8d", "persistent": true, - "scenarioName": "scenario-1-repos-github-api-github-api-issues-311-reactions", - "requiredScenarioState": "scenario-1-repos-github-api-github-api-issues-311-reactions-4", + "scenarioName": "scenario-1-repos-hub4j-github-api-issues-311-reactions", + "requiredScenarioState": "scenario-1-repos-hub4j-github-api-issues-311-reactions-4", "insertionIndex": 17 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-3.json new file mode 100644 index 0000000000..0381f97132 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-3.json @@ -0,0 +1,49 @@ +{ + "id": "8f5c6061-fc93-4f0f-841e-e2cea3dfaa8a", + "name": "repos_hub4j_github-api_issues_311_reactions", + "request": { + "url": "/repos/hub4j/github-api/issues/311/reactions", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j_github-api_issues_311_reactions-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 08 Apr 2022 17:54:33 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"6ff5ec5d70f5a161a16ebfe5125f01c7d9f7ff54d0bb662b4939f3a8aa77c8c3\"", + "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; param=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4911", + "X-RateLimit-Reset": "1649442146", + "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": "C57C:AE8F:154B38:15B768:625076D9" + } + }, + "uuid": "8f5c6061-fc93-4f0f-841e-e2cea3dfaa8a", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-github-api-issues-311-reactions", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-hub4j-github-api-issues-311-reactions-2", + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-4.json index abb17818ab..896151a49e 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-4.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-4.json @@ -1,50 +1,53 @@ { - "id": "a94639e7-cb76-4ea2-a6a2-8d9a5642f3ec", + "id": "174d99d0-6e90-4e1c-aab0-e0b8fcfd7d42", "name": "repos_hub4j_github-api_issues_311_reactions", "request": { "url": "/repos/hub4j/github-api/issues/311/reactions", - "method": "GET", + "method": "POST", "headers": { "Accept": { "equalTo": "application/vnd.github.squirrel-girl-preview+json" } - } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"content\":\"hooray\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] }, "response": { - "status": 200, + "status": 201, "bodyFileName": "repos_hub4j_github-api_issues_311_reactions-4.json", "headers": { - "Date": "Sun, 23 Feb 2020 03:15:54 GMT", - "Content-Type": "application/json; charset=utf-8", "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4889", - "X-RateLimit-Reset": "1582428788", + "Date": "Fri, 08 Apr 2022 17:54:34 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/\"17896e19dfa86d3946ff4a8c47200920\"", - "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": "github.squirrel-girl-preview; format=json", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", + "ETag": "\"a02da1e1f58a3192bd8b65fb8dca01b5319460a81bd0b9137055508710ea0479\"", + "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=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4910", + "X-RateLimit-Reset": "1649442146", + "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": "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": "C701:8993:A68E0B:C0D69D:5E51EE6A" + "X-GitHub-Request-Id": "C57E:020B:2F658:33E75:625076DA" } }, - "uuid": "a94639e7-cb76-4ea2-a6a2-8d9a5642f3ec", + "uuid": "174d99d0-6e90-4e1c-aab0-e0b8fcfd7d42", "persistent": true, - "scenarioName": "scenario-1-repos-github-api-github-api-issues-311-reactions", - "requiredScenarioState": "Started", - "newScenarioState": "scenario-1-repos-github-api-github-api-issues-311-reactions-2", "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-5.json deleted file mode 100644 index c212b8b1e9..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-5.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "id": "dfcc4bc3-3276-408a-a945-e132d4fbf2e5", - "name": "repos_hub4j_github-api_issues_311_reactions", - "request": { - "url": "/repos/hub4j/github-api/issues/311/reactions", - "method": "POST", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.squirrel-girl-preview+json" - } - }, - "bodyPatterns": [ - { - "equalToJson": "{\"content\":\"hooray\"}", - "ignoreArrayOrder": true, - "ignoreExtraElements": true - } - ] - }, - "response": { - "status": 201, - "bodyFileName": "repos_hub4j_github-api_issues_311_reactions-5.json", - "headers": { - "Date": "Sun, 23 Feb 2020 03:15:55 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "201 Created", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4888", - "X-RateLimit-Reset": "1582428789", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "\"cdc7e73cd4d47876aae737d967949ff5\"", - "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": "github.squirrel-girl-preview; format=json", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "C701:8993:A68E18:C0D6AF:5E51EE6A" - } - }, - "uuid": "dfcc4bc3-3276-408a-a945-e132d4fbf2e5", - "persistent": true, - "insertionIndex": 5 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-7.json index bbe7ec0dba..b309065464 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-7.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-7.json @@ -1,5 +1,5 @@ { - "id": "39f59d4e-7875-4b75-a093-97a0b4e7239b", + "id": "0a1ba1f9-b075-4865-825f-8d471b33da3f", "name": "repos_hub4j_github-api_issues_311_reactions", "request": { "url": "/repos/hub4j/github-api/issues/311/reactions", @@ -14,37 +14,36 @@ "status": 200, "bodyFileName": "repos_hub4j_github-api_issues_311_reactions-7.json", "headers": { - "Date": "Sun, 23 Feb 2020 03:15:55 GMT", - "Content-Type": "application/json; charset=utf-8", "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4886", - "X-RateLimit-Reset": "1582428788", + "Date": "Fri, 08 Apr 2022 17:54:35 GMT", + "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"17896e19dfa86d3946ff4a8c47200920\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "ETag": "W/\"6ff5ec5d70f5a161a16ebfe5125f01c7d9f7ff54d0bb662b4939f3a8aa77c8c3\"", + "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.squirrel-girl-preview; format=json", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", + "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4907", + "X-RateLimit-Reset": "1649442146", + "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": "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": "C701:8993:A68E33:C0D6CD:5E51EE6B" + "X-GitHub-Request-Id": "C584:C0C9:E74A9:ED2DF:625076DA" } }, - "uuid": "39f59d4e-7875-4b75-a093-97a0b4e7239b", + "uuid": "0a1ba1f9-b075-4865-825f-8d471b33da3f", "persistent": true, - "scenarioName": "scenario-1-repos-github-api-github-api-issues-311-reactions", - "requiredScenarioState": "scenario-1-repos-github-api-github-api-issues-311-reactions-2", - "newScenarioState": "scenario-1-repos-github-api-github-api-issues-311-reactions-3", + "scenarioName": "scenario-1-repos-hub4j-github-api-issues-311-reactions", + "requiredScenarioState": "scenario-1-repos-hub4j-github-api-issues-311-reactions-2", + "newScenarioState": "scenario-1-repos-hub4j-github-api-issues-311-reactions-3", "insertionIndex": 7 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-8.json index 82f3479d3e..60ec4f239c 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-8.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-8.json @@ -1,5 +1,5 @@ { - "id": "d9de8255-dcbc-409d-b311-b7824a3ddeb6", + "id": "d15a81b4-dbd1-4c75-8abb-998c644d0ff2", "name": "repos_hub4j_github-api_issues_311_reactions", "request": { "url": "/repos/hub4j/github-api/issues/311/reactions", @@ -13,7 +13,7 @@ { "equalToJson": "{\"content\":\"+1\"}", "ignoreArrayOrder": true, - "ignoreExtraElements": true + "ignoreExtraElements": false } ] }, @@ -21,34 +21,33 @@ "status": 201, "bodyFileName": "repos_hub4j_github-api_issues_311_reactions-8.json", "headers": { - "Date": "Sun, 23 Feb 2020 03:15:55 GMT", - "Content-Type": "application/json; charset=utf-8", "Server": "GitHub.com", - "Status": "201 Created", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4885", - "X-RateLimit-Reset": "1582428788", + "Date": "Fri, 08 Apr 2022 17:54:35 GMT", + "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "\"6830982bf9c6904a3f72d80ecc83fbaa\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "ETag": "\"e466e9581a3f51886974183d8c4b81e04a58168cafb785a1373085b556b04ee8\"", + "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.squirrel-girl-preview; format=json", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", + "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4906", + "X-RateLimit-Reset": "1649442146", + "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": "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": "C701:8993:A68E43:C0D6DC:5E51EE6B" + "X-GitHub-Request-Id": "C586:020C:80DA7:85EAB:625076DB" } }, - "uuid": "d9de8255-dcbc-409d-b311-b7824a3ddeb6", + "uuid": "d15a81b4-dbd1-4c75-8abb-998c644d0ff2", "persistent": true, "insertionIndex": 8 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-9.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-9.json index 1745ad0ee8..fa1799623a 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-9.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions-9.json @@ -1,5 +1,5 @@ { - "id": "9904f18c-def2-4249-b64c-956a2d12f2bd", + "id": "10cdf5f8-533b-465c-867e-8b23af484926", "name": "repos_hub4j_github-api_issues_311_reactions", "request": { "url": "/repos/hub4j/github-api/issues/311/reactions", @@ -13,7 +13,7 @@ { "equalToJson": "{\"content\":\"confused\"}", "ignoreArrayOrder": true, - "ignoreExtraElements": true + "ignoreExtraElements": false } ] }, @@ -21,34 +21,33 @@ "status": 201, "bodyFileName": "repos_hub4j_github-api_issues_311_reactions-9.json", "headers": { - "Date": "Sun, 23 Feb 2020 03:15:56 GMT", - "Content-Type": "application/json; charset=utf-8", "Server": "GitHub.com", - "Status": "201 Created", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4884", - "X-RateLimit-Reset": "1582428789", + "Date": "Fri, 08 Apr 2022 17:54:35 GMT", + "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "\"dd432412a55d48e08377920b04f443c5\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "ETag": "\"6bcb76b192943fc8adc003707e9c3a198ba7e176bdcd00da01b751bd35e5d9d6\"", + "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.squirrel-girl-preview; format=json", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", + "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4905", + "X-RateLimit-Reset": "1649442146", + "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": "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": "C701:8993:A68E5A:C0D6EE:5E51EE6B" + "X-GitHub-Request-Id": "C588:93CC:31CA1:364CA:625076DB" } }, - "uuid": "9904f18c-def2-4249-b64c-956a2d12f2bd", + "uuid": "10cdf5f8-533b-465c-867e-8b23af484926", "persistent": true, "insertionIndex": 9 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions_158437734-6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions_158437734-6.json new file mode 100644 index 0000000000..3db13f5934 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions_158437734-6.json @@ -0,0 +1,39 @@ +{ + "id": "b8e4f3fb-9c4a-492e-a035-5425aab358d4", + "name": "repos_hub4j_github-api_issues_311_reactions_158437734", + "request": { + "url": "/repos/hub4j/github-api/issues/311/reactions/158437734", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 08 Apr 2022 17:54:34 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": "4908", + "X-RateLimit-Reset": "1649442146", + "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'", + "Vary": "Accept-Encoding, Accept, X-Requested-With", + "X-GitHub-Request-Id": "C582:AE8E:F9158:FF0C5:625076DA" + } + }, + "uuid": "b8e4f3fb-9c4a-492e-a035-5425aab358d4", + "persistent": true, + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions_158437736-13.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions_158437736-13.json new file mode 100644 index 0000000000..3ce129556b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions_158437736-13.json @@ -0,0 +1,39 @@ +{ + "id": "e54f95a4-06bd-445d-9392-b462910d75f5", + "name": "repos_hub4j_github-api_issues_311_reactions_158437736", + "request": { + "url": "/repos/hub4j/github-api/issues/311/reactions/158437736", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 08 Apr 2022 17:54: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": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4901", + "X-RateLimit-Reset": "1649442146", + "X-RateLimit-Used": "99", + "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": "C590:10501:F6C1A:FCB13:625076DC" + } + }, + "uuid": "e54f95a4-06bd-445d-9392-b462910d75f5", + "persistent": true, + "insertionIndex": 13 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions_158437737-14.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions_158437737-14.json new file mode 100644 index 0000000000..3c24d9cf19 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions_158437737-14.json @@ -0,0 +1,39 @@ +{ + "id": "b22431c6-6715-4bcc-9e2d-d0d5ad291d4b", + "name": "repos_hub4j_github-api_issues_311_reactions_158437737", + "request": { + "url": "/repos/hub4j/github-api/issues/311/reactions/158437737", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 08 Apr 2022 17:54: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": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4900", + "X-RateLimit-Reset": "1649442146", + "X-RateLimit-Used": "100", + "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": "C592:AE8F:155010:15BC66:625076DD" + } + }, + "uuid": "b22431c6-6715-4bcc-9e2d-d0d5ad291d4b", + "persistent": true, + "insertionIndex": 14 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions_158437739-15.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions_158437739-15.json new file mode 100644 index 0000000000..dbe24d9010 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions_158437739-15.json @@ -0,0 +1,39 @@ +{ + "id": "0d7dfcdb-e1e0-4b44-b1b0-f6247a086acd", + "name": "repos_hub4j_github-api_issues_311_reactions_158437739", + "request": { + "url": "/repos/hub4j/github-api/issues/311/reactions/158437739", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 08 Apr 2022 17:54: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": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4899", + "X-RateLimit-Reset": "1649442146", + "X-RateLimit-Used": "101", + "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": "C594:93CF:177A70:17EB2F:625076DD" + } + }, + "uuid": "0d7dfcdb-e1e0-4b44-b1b0-f6247a086acd", + "persistent": true, + "insertionIndex": 15 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions_158437742-16.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions_158437742-16.json new file mode 100644 index 0000000000..a769bc9902 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/repos_hub4j_github-api_issues_311_reactions_158437742-16.json @@ -0,0 +1,39 @@ +{ + "id": "41297757-effc-48fc-a675-e42c96e29b7b", + "name": "repos_hub4j_github-api_issues_311_reactions_158437742", + "request": { + "url": "/repos/hub4j/github-api/issues/311/reactions/158437742", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 08 Apr 2022 17:54:38 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": "4898", + "X-RateLimit-Reset": "1649442146", + "X-RateLimit-Used": "102", + "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": "C596:5189:172502:179412:625076DE" + } + }, + "uuid": "41297757-effc-48fc-a675-e42c96e29b7b", + "persistent": true, + "insertionIndex": 16 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/user-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/user-1.json deleted file mode 100644 index bbed4808ec..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/user-1.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "d9a254e0-d5e1-4fd9-b995-51e933b769f3", - "name": "user", - "request": { - "url": "/user", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "user-1.json", - "headers": { - "Date": "Sun, 23 Feb 2020 03:15:53 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": "1582428788", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"9ba78fe3aeaabbbc6865aada56195a20\"", - "Last-Modified": "Fri, 21 Feb 2020 20:59:33 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": "C701:8993:A68DC2:C0D644:5E51EE69" - } - }, - "uuid": "d9a254e0-d5e1-4fd9-b995-51e933b769f3", - "persistent": true, - "insertionIndex": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/user-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/user-5.json new file mode 100644 index 0000000000..ff61de1875 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/reactions/mappings/user-5.json @@ -0,0 +1,47 @@ +{ + "id": "3849d265-f369-40ad-97f1-66836909c6ff", + "name": "user", + "request": { + "url": "/user", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user-5.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 08 Apr 2022 17:54:34 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/\"605a6e2d9d7f031745f48efc2d00aca72a7f359a6b0da5b1722467b9cf322aa9\"", + "Last-Modified": "Wed, 06 Apr 2022 15:07:12 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": "4909", + "X-RateLimit-Reset": "1649442146", + "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": "C580:AE8E:F9109:FF087:625076DA" + } + }, + "uuid": "3849d265-f369-40ad-97f1-66836909c6ff", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/__files/repos_hub4j-test-org_github-api-test-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/__files/repos_hub4j-test-org_github-api-test-2.json new file mode 100644 index 0000000000..2d5a6b55ff --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/__files/repos_hub4j-test-org_github-api-test-2.json @@ -0,0 +1,117 @@ +{ + "id": 611473997, + "node_id": "R_kgDOJHJaTQ", + "name": "github-api-test", + "full_name": "hub4j-test-org/github-api-test", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 238558, + "node_id": "MDQ6VXNlcjIzODU1OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/238558?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api-test", + "description": "A test repository for testing the github-api project: github-api-test", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test", + "forks_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/deployments", + "created_at": "2023-03-08T22:36:45Z", + "updated_at": "2023-03-08T22:36:45Z", + "pushed_at": "2023-03-08T22:36:45Z", + "git_url": "git://github.com/hub4j-test-org/github-api-test.git", + "ssh_url": "git@github.com:hub4j-test-org/github-api-test.git", + "clone_url": "https://github.com/hub4j-test-org/github-api-test.git", + "svn_url": "https://github.com/hub4j-test-org/github-api-test", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "security_and_analysis": { + "secret_scanning": { + "status": "disabled" + }, + "secret_scanning_push_protection": { + "status": "disabled" + } + }, + "network_count": 0, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/__files/repos_hub4j-test-org_github-api-test_keys-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/__files/repos_hub4j-test-org_github-api-test_keys-3.json new file mode 100644 index 0000000000..8433b32127 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/__files/repos_hub4j-test-org_github-api-test_keys-3.json @@ -0,0 +1,11 @@ +{ + "id": 78869617, + "key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIATWwMLytklB44O66isWRKOB3Qd7Ysc7q7EyWTmT0bG9", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test/keys/78869617", + "title": "test", + "verified": true, + "created_at": "2023-03-08T22:36:50Z", + "read_only": false, + "last_used": null, + "added_by": "hub4j-test-org" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/__files/repos_hub4j-test-org_github-api-test_keys-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/__files/repos_hub4j-test-org_github-api-test_keys-4.json new file mode 100644 index 0000000000..92a6bea577 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/__files/repos_hub4j-test-org_github-api-test_keys-4.json @@ -0,0 +1,13 @@ +[ + { + "id": 78869617, + "key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIATWwMLytklB44O66isWRKOB3Qd7Ysc7q7EyWTmT0bG9", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test/keys/78869617", + "title": "test", + "verified": true, + "created_at": "2023-03-08T22:36:50Z", + "read_only": false, + "last_used": null, + "added_by": "hub4j-test-org" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/__files/user-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/__files/user-1.json new file mode 100644 index 0000000000..92e9ace93c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/__files/user-1.json @@ -0,0 +1,34 @@ +{ + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDQ6VXNlcjIzODU1OA==", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "User", + "site_admin": false, + "name": "hub4j-test-org", + "company": null, + "blog": "", + "location": "", + "email": null, + "hireable": null, + "bio": "", + "twitter_username": null, + "public_repos": 13, + "public_gists": 4, + "followers": 6, + "following": 1, + "created_at": "2010-04-07T08:30:12Z", + "updated_at": "2022-11-28T20:54:46Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/mappings/repos_hub4j-test-org_github-api-test-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/mappings/repos_hub4j-test-org_github-api-test-2.json new file mode 100644 index 0000000000..8764b8abec --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/mappings/repos_hub4j-test-org_github-api-test-2.json @@ -0,0 +1,49 @@ +{ + "id": "8b7ef826-893b-4288-b625-4492949cd9b1", + "name": "repos_hub4j-test-org_github-api-test", + "request": { + "url": "/repos/hub4j-test-org/github-api-test", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api-test-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 08 Mar 2023 22:36:49 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"9a25876ca00d328a54c1400dffe501009cdcbc3410dd90140b0c33cc19608961\"", + "Last-Modified": "Wed, 08 Mar 2023 22:36:45 GMT", + "github-authentication-token-expiration": "2023-04-07 23:24:34 +0200", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4903", + "X-RateLimit-Reset": "1678317208", + "X-RateLimit-Used": "97", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E5D8:ACE5:B4A8F2D:B741C36:64090E01" + } + }, + "uuid": "8b7ef826-893b-4288-b625-4492949cd9b1", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/mappings/repos_hub4j-test-org_github-api-test_keys-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/mappings/repos_hub4j-test-org_github-api-test_keys-3.json new file mode 100644 index 0000000000..b73aab599f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/mappings/repos_hub4j-test-org_github-api-test_keys-3.json @@ -0,0 +1,56 @@ +{ + "id": "f648e6ad-c2ec-42b2-bc75-017ac64e67d9", + "name": "repos_hub4j-test-org_github-api-test_keys", + "request": { + "url": "/repos/hub4j-test-org/github-api-test/keys", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"read_only\":false,\"title\":\"test\",\"key\":\"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIATWwMLytklB44O66isWRKOB3Qd7Ysc7q7EyWTmT0bG9 test@example.com\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_github-api-test_keys-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 08 Mar 2023 22:36:50 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"0a4e82c98d34824d431a19b779f7fcc35e1a3c1142ff9c1a7132d8840630f8a6\"", + "github-authentication-token-expiration": "2023-04-07 23:24:34 +0200", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4902", + "X-RateLimit-Reset": "1678317208", + "X-RateLimit-Used": "98", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E5DE:A9BF:A40D94B:A69E360:64090E01", + "Location": "https://api.github.com/repos/hub4j-test-org/github-api-test/keys/78869617" + } + }, + "uuid": "f648e6ad-c2ec-42b2-bc75-017ac64e67d9", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/mappings/repos_hub4j-test-org_github-api-test_keys-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/mappings/repos_hub4j-test-org_github-api-test_keys-4.json new file mode 100644 index 0000000000..c1372692d8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/mappings/repos_hub4j-test-org_github-api-test_keys-4.json @@ -0,0 +1,48 @@ +{ + "id": "ca5ce05e-5052-4cce-9508-c33ba42ab18f", + "name": "repos_hub4j-test-org_github-api-test_keys", + "request": { + "url": "/repos/hub4j-test-org/github-api-test/keys", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api-test_keys-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 08 Mar 2023 22:36:50 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"0a77e8787fcd166b10430624945723c4d8bdc5f131bcc1c821d56170eec9db86\"", + "github-authentication-token-expiration": "2023-04-07 23:24:34 +0200", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4901", + "X-RateLimit-Reset": "1678317208", + "X-RateLimit-Used": "99", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E5EA:3041:9E5EEE8:A0EE307:64090E02" + } + }, + "uuid": "ca5ce05e-5052-4cce-9508-c33ba42ab18f", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/mappings/repos_hub4j-test-org_github-api-test_keys_78869617-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/mappings/repos_hub4j-test-org_github-api-test_keys_78869617-5.json new file mode 100644 index 0000000000..833744f03e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/mappings/repos_hub4j-test-org_github-api-test_keys_78869617-5.json @@ -0,0 +1,41 @@ +{ + "id": "0fc8164e-80f8-450b-a7b5-4f604f9eeaa9", + "name": "repos_hub4j-test-org_github-api-test_keys_78869617", + "request": { + "url": "/repos/hub4j-test-org/github-api-test/keys/78869617", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 08 Mar 2023 22:36:51 GMT", + "github-authentication-token-expiration": "2023-04-07 23:24:34 +0200", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4900", + "X-RateLimit-Reset": "1678317208", + "X-RateLimit-Used": "100", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E5FA:A7AE:82F2BFE:8532045:64090E02" + } + }, + "uuid": "0fc8164e-80f8-450b-a7b5-4f604f9eeaa9", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/mappings/user-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/mappings/user-1.json new file mode 100644 index 0000000000..d46c6d045e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKey/mappings/user-1.json @@ -0,0 +1,49 @@ +{ + "id": "9e6bf17e-5e07-4c66-ab42-eba00096c098", + "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, 08 Mar 2023 22:36:44 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/\"e548710856e14da19e6d9c3a0b9e6751b4cec74b4ead51290d5179d92173e70e\"", + "Last-Modified": "Mon, 28 Nov 2022 20:54:46 GMT", + "github-authentication-token-expiration": "2023-04-07 23:24:34 +0200", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4907", + "X-RateLimit-Reset": "1678317208", + "X-RateLimit-Used": "93", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "AC20:E4F4:322E5E4:32FF236:64090DFB" + } + }, + "uuid": "9e6bf17e-5e07-4c66-ab42-eba00096c098", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/__files/repos_hub4j-test-org_github-api-test-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/__files/repos_hub4j-test-org_github-api-test-2.json new file mode 100644 index 0000000000..2d5a6b55ff --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/__files/repos_hub4j-test-org_github-api-test-2.json @@ -0,0 +1,117 @@ +{ + "id": 611473997, + "node_id": "R_kgDOJHJaTQ", + "name": "github-api-test", + "full_name": "hub4j-test-org/github-api-test", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 238558, + "node_id": "MDQ6VXNlcjIzODU1OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/238558?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api-test", + "description": "A test repository for testing the github-api project: github-api-test", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test", + "forks_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/deployments", + "created_at": "2023-03-08T22:36:45Z", + "updated_at": "2023-03-08T22:36:45Z", + "pushed_at": "2023-03-08T22:36:45Z", + "git_url": "git://github.com/hub4j-test-org/github-api-test.git", + "ssh_url": "git@github.com:hub4j-test-org/github-api-test.git", + "clone_url": "https://github.com/hub4j-test-org/github-api-test.git", + "svn_url": "https://github.com/hub4j-test-org/github-api-test", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "security_and_analysis": { + "secret_scanning": { + "status": "disabled" + }, + "secret_scanning_push_protection": { + "status": "disabled" + } + }, + "network_count": 0, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/__files/repos_hub4j-test-org_github-api-test_keys-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/__files/repos_hub4j-test-org_github-api-test_keys-3.json new file mode 100644 index 0000000000..6b1f155ad8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/__files/repos_hub4j-test-org_github-api-test_keys-3.json @@ -0,0 +1,11 @@ +{ + "id": 78869617, + "key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIATWwMLytklB44O66isWRKOB3Qd7Ysc7q7EyWTmT0bG9", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test/keys/78869617", + "title": "test", + "verified": true, + "created_at": "2023-03-08T22:36:50Z", + "read_only": true, + "last_used": null, + "added_by": "hub4j-test-org" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/__files/repos_hub4j-test-org_github-api-test_keys-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/__files/repos_hub4j-test-org_github-api-test_keys-4.json new file mode 100644 index 0000000000..7c1ba9bebb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/__files/repos_hub4j-test-org_github-api-test_keys-4.json @@ -0,0 +1,13 @@ +[ + { + "id": 78869617, + "key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIATWwMLytklB44O66isWRKOB3Qd7Ysc7q7EyWTmT0bG9", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test/keys/78869617", + "title": "test", + "verified": true, + "created_at": "2023-03-08T22:36:50Z", + "read_only": true, + "last_used": null, + "added_by": "hub4j-test-org" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/__files/user-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/__files/user-1.json new file mode 100644 index 0000000000..92e9ace93c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/__files/user-1.json @@ -0,0 +1,34 @@ +{ + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDQ6VXNlcjIzODU1OA==", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "User", + "site_admin": false, + "name": "hub4j-test-org", + "company": null, + "blog": "", + "location": "", + "email": null, + "hireable": null, + "bio": "", + "twitter_username": null, + "public_repos": 13, + "public_gists": 4, + "followers": 6, + "following": 1, + "created_at": "2010-04-07T08:30:12Z", + "updated_at": "2022-11-28T20:54:46Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/mappings/repos_hub4j-test-org_github-api-test-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/mappings/repos_hub4j-test-org_github-api-test-2.json new file mode 100644 index 0000000000..8764b8abec --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/mappings/repos_hub4j-test-org_github-api-test-2.json @@ -0,0 +1,49 @@ +{ + "id": "8b7ef826-893b-4288-b625-4492949cd9b1", + "name": "repos_hub4j-test-org_github-api-test", + "request": { + "url": "/repos/hub4j-test-org/github-api-test", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api-test-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 08 Mar 2023 22:36:49 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"9a25876ca00d328a54c1400dffe501009cdcbc3410dd90140b0c33cc19608961\"", + "Last-Modified": "Wed, 08 Mar 2023 22:36:45 GMT", + "github-authentication-token-expiration": "2023-04-07 23:24:34 +0200", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4903", + "X-RateLimit-Reset": "1678317208", + "X-RateLimit-Used": "97", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E5D8:ACE5:B4A8F2D:B741C36:64090E01" + } + }, + "uuid": "8b7ef826-893b-4288-b625-4492949cd9b1", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/mappings/repos_hub4j-test-org_github-api-test_keys-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/mappings/repos_hub4j-test-org_github-api-test_keys-3.json new file mode 100644 index 0000000000..3fee79387a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/mappings/repos_hub4j-test-org_github-api-test_keys-3.json @@ -0,0 +1,56 @@ +{ + "id": "f648e6ad-c2ec-42b2-bc75-017ac64e67d9", + "name": "repos_hub4j-test-org_github-api-test_keys", + "request": { + "url": "/repos/hub4j-test-org/github-api-test/keys", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"read_only\":true,\"title\":\"test\",\"key\":\"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIATWwMLytklB44O66isWRKOB3Qd7Ysc7q7EyWTmT0bG9 test@example.com\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_github-api-test_keys-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 08 Mar 2023 22:36:50 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"0a4e82c98d34824d431a19b779f7fcc35e1a3c1142ff9c1a7132d8840630f8a6\"", + "github-authentication-token-expiration": "2023-04-07 23:24:34 +0200", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4902", + "X-RateLimit-Reset": "1678317208", + "X-RateLimit-Used": "98", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E5DE:A9BF:A40D94B:A69E360:64090E01", + "Location": "https://api.github.com/repos/hub4j-test-org/github-api-test/keys/78869617" + } + }, + "uuid": "f648e6ad-c2ec-42b2-bc75-017ac64e67d9", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/mappings/repos_hub4j-test-org_github-api-test_keys-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/mappings/repos_hub4j-test-org_github-api-test_keys-4.json new file mode 100644 index 0000000000..c1372692d8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/mappings/repos_hub4j-test-org_github-api-test_keys-4.json @@ -0,0 +1,48 @@ +{ + "id": "ca5ce05e-5052-4cce-9508-c33ba42ab18f", + "name": "repos_hub4j-test-org_github-api-test_keys", + "request": { + "url": "/repos/hub4j-test-org/github-api-test/keys", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api-test_keys-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 08 Mar 2023 22:36:50 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"0a77e8787fcd166b10430624945723c4d8bdc5f131bcc1c821d56170eec9db86\"", + "github-authentication-token-expiration": "2023-04-07 23:24:34 +0200", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4901", + "X-RateLimit-Reset": "1678317208", + "X-RateLimit-Used": "99", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E5EA:3041:9E5EEE8:A0EE307:64090E02" + } + }, + "uuid": "ca5ce05e-5052-4cce-9508-c33ba42ab18f", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/mappings/repos_hub4j-test-org_github-api-test_keys_78869617-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/mappings/repos_hub4j-test-org_github-api-test_keys_78869617-5.json new file mode 100644 index 0000000000..833744f03e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/mappings/repos_hub4j-test-org_github-api-test_keys_78869617-5.json @@ -0,0 +1,41 @@ +{ + "id": "0fc8164e-80f8-450b-a7b5-4f604f9eeaa9", + "name": "repos_hub4j-test-org_github-api-test_keys_78869617", + "request": { + "url": "/repos/hub4j-test-org/github-api-test/keys/78869617", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 08 Mar 2023 22:36:51 GMT", + "github-authentication-token-expiration": "2023-04-07 23:24:34 +0200", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4900", + "X-RateLimit-Reset": "1678317208", + "X-RateLimit-Used": "100", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E5FA:A7AE:82F2BFE:8532045:64090E02" + } + }, + "uuid": "0fc8164e-80f8-450b-a7b5-4f604f9eeaa9", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/mappings/user-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/mappings/user-1.json new file mode 100644 index 0000000000..d46c6d045e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testAddDeployKeyAsReadOnly/mappings/user-1.json @@ -0,0 +1,49 @@ +{ + "id": "9e6bf17e-5e07-4c66-ab42-eba00096c098", + "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, 08 Mar 2023 22:36:44 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/\"e548710856e14da19e6d9c3a0b9e6751b4cec74b4ead51290d5179d92173e70e\"", + "Last-Modified": "Mon, 28 Nov 2022 20:54:46 GMT", + "github-authentication-token-expiration": "2023-04-07 23:24:34 +0200", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4907", + "X-RateLimit-Reset": "1678317208", + "X-RateLimit-Used": "93", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "AC20:E4F4:322E5E4:32FF236:64090DFB" + } + }, + "uuid": "9e6bf17e-5e07-4c66-ab42-eba00096c098", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant-2.json new file mode 100644 index 0000000000..950fc81a74 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant-2.json @@ -0,0 +1,304 @@ +{ + "id": 3422601, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDIyNjAx", + "name": "sandbox-ant", + "full_name": "kohsuke/sandbox-ant", + "private": false, + "owner": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/kohsuke/sandbox-ant", + "description": null, + "fork": true, + "url": "https://api.github.com/repos/kohsuke/sandbox-ant", + "forks_url": "https://api.github.com/repos/kohsuke/sandbox-ant/forks", + "keys_url": "https://api.github.com/repos/kohsuke/sandbox-ant/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/kohsuke/sandbox-ant/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/kohsuke/sandbox-ant/teams", + "hooks_url": "https://api.github.com/repos/kohsuke/sandbox-ant/hooks", + "issue_events_url": "https://api.github.com/repos/kohsuke/sandbox-ant/issues/events{/number}", + "events_url": "https://api.github.com/repos/kohsuke/sandbox-ant/events", + "assignees_url": "https://api.github.com/repos/kohsuke/sandbox-ant/assignees{/user}", + "branches_url": "https://api.github.com/repos/kohsuke/sandbox-ant/branches{/branch}", + "tags_url": "https://api.github.com/repos/kohsuke/sandbox-ant/tags", + "blobs_url": "https://api.github.com/repos/kohsuke/sandbox-ant/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/kohsuke/sandbox-ant/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/kohsuke/sandbox-ant/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/kohsuke/sandbox-ant/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/kohsuke/sandbox-ant/statuses/{sha}", + "languages_url": "https://api.github.com/repos/kohsuke/sandbox-ant/languages", + "stargazers_url": "https://api.github.com/repos/kohsuke/sandbox-ant/stargazers", + "contributors_url": "https://api.github.com/repos/kohsuke/sandbox-ant/contributors", + "subscribers_url": "https://api.github.com/repos/kohsuke/sandbox-ant/subscribers", + "subscription_url": "https://api.github.com/repos/kohsuke/sandbox-ant/subscription", + "commits_url": "https://api.github.com/repos/kohsuke/sandbox-ant/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/kohsuke/sandbox-ant/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/kohsuke/sandbox-ant/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/kohsuke/sandbox-ant/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/kohsuke/sandbox-ant/contents/{+path}", + "compare_url": "https://api.github.com/repos/kohsuke/sandbox-ant/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/kohsuke/sandbox-ant/merges", + "archive_url": "https://api.github.com/repos/kohsuke/sandbox-ant/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/kohsuke/sandbox-ant/downloads", + "issues_url": "https://api.github.com/repos/kohsuke/sandbox-ant/issues{/number}", + "pulls_url": "https://api.github.com/repos/kohsuke/sandbox-ant/pulls{/number}", + "milestones_url": "https://api.github.com/repos/kohsuke/sandbox-ant/milestones{/number}", + "notifications_url": "https://api.github.com/repos/kohsuke/sandbox-ant/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/kohsuke/sandbox-ant/labels{/name}", + "releases_url": "https://api.github.com/repos/kohsuke/sandbox-ant/releases{/id}", + "deployments_url": "https://api.github.com/repos/kohsuke/sandbox-ant/deployments", + "created_at": "2012-02-12T15:20:30Z", + "updated_at": "2019-08-13T14:56:58Z", + "pushed_at": "2012-05-17T14:05:23Z", + "git_url": "git://github.com/kohsuke/sandbox-ant.git", + "ssh_url": "git@github.com:kohsuke/sandbox-ant.git", + "clone_url": "https://github.com/kohsuke/sandbox-ant.git", + "svn_url": "https://github.com/kohsuke/sandbox-ant", + "homepage": "", + "size": 121, + "stargazers_count": 2, + "watchers_count": 2, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 2, + "open_issues": 0, + "watchers": 2, + "default_branch": "master", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "temp_clone_token": "", + "parent": { + "id": 3231216, + "node_id": "MDEwOlJlcG9zaXRvcnkzMjMxMjE2", + "name": "sandbox-ant", + "full_name": "kohsuke2/sandbox-ant", + "private": false, + "owner": { + "login": "kohsuke2", + "id": 1329242, + "node_id": "MDQ6VXNlcjEzMjkyNDI=", + "avatar_url": "https://avatars.githubusercontent.com/u/1329242?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke2", + "html_url": "https://github.com/kohsuke2", + "followers_url": "https://api.github.com/users/kohsuke2/followers", + "following_url": "https://api.github.com/users/kohsuke2/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke2/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke2/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke2/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke2/orgs", + "repos_url": "https://api.github.com/users/kohsuke2/repos", + "events_url": "https://api.github.com/users/kohsuke2/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke2/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/kohsuke2/sandbox-ant", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/kohsuke2/sandbox-ant", + "forks_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/forks", + "keys_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/teams", + "hooks_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/hooks", + "issue_events_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues/events{/number}", + "events_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/events", + "assignees_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/assignees{/user}", + "branches_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/branches{/branch}", + "tags_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/tags", + "blobs_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/statuses/{sha}", + "languages_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/languages", + "stargazers_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/stargazers", + "contributors_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/contributors", + "subscribers_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/subscribers", + "subscription_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/subscription", + "commits_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/contents/{+path}", + "compare_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/merges", + "archive_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/downloads", + "issues_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues{/number}", + "pulls_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/pulls{/number}", + "milestones_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/milestones{/number}", + "notifications_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/labels{/name}", + "releases_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/releases{/id}", + "deployments_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/deployments", + "created_at": "2012-01-21T00:41:52Z", + "updated_at": "2019-08-13T14:55:44Z", + "pushed_at": "2014-11-18T01:52:04Z", + "git_url": "git://github.com/kohsuke2/sandbox-ant.git", + "ssh_url": "git@github.com:kohsuke2/sandbox-ant.git", + "clone_url": "https://github.com/kohsuke2/sandbox-ant.git", + "svn_url": "https://github.com/kohsuke2/sandbox-ant", + "homepage": "", + "size": 166, + "stargazers_count": 4, + "watchers_count": 4, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 4, + "open_issues": 0, + "watchers": 4, + "default_branch": "master" + }, + "source": { + "id": 3231216, + "node_id": "MDEwOlJlcG9zaXRvcnkzMjMxMjE2", + "name": "sandbox-ant", + "full_name": "kohsuke2/sandbox-ant", + "private": false, + "owner": { + "login": "kohsuke2", + "id": 1329242, + "node_id": "MDQ6VXNlcjEzMjkyNDI=", + "avatar_url": "https://avatars.githubusercontent.com/u/1329242?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke2", + "html_url": "https://github.com/kohsuke2", + "followers_url": "https://api.github.com/users/kohsuke2/followers", + "following_url": "https://api.github.com/users/kohsuke2/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke2/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke2/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke2/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke2/orgs", + "repos_url": "https://api.github.com/users/kohsuke2/repos", + "events_url": "https://api.github.com/users/kohsuke2/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke2/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/kohsuke2/sandbox-ant", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/kohsuke2/sandbox-ant", + "forks_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/forks", + "keys_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/teams", + "hooks_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/hooks", + "issue_events_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues/events{/number}", + "events_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/events", + "assignees_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/assignees{/user}", + "branches_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/branches{/branch}", + "tags_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/tags", + "blobs_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/statuses/{sha}", + "languages_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/languages", + "stargazers_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/stargazers", + "contributors_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/contributors", + "subscribers_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/subscribers", + "subscription_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/subscription", + "commits_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/contents/{+path}", + "compare_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/merges", + "archive_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/downloads", + "issues_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues{/number}", + "pulls_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/pulls{/number}", + "milestones_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/milestones{/number}", + "notifications_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/labels{/name}", + "releases_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/releases{/id}", + "deployments_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/deployments", + "created_at": "2012-01-21T00:41:52Z", + "updated_at": "2019-08-13T14:55:44Z", + "pushed_at": "2014-11-18T01:52:04Z", + "git_url": "git://github.com/kohsuke2/sandbox-ant.git", + "ssh_url": "git@github.com:kohsuke2/sandbox-ant.git", + "clone_url": "https://github.com/kohsuke2/sandbox-ant.git", + "svn_url": "https://github.com/kohsuke2/sandbox-ant", + "homepage": "", + "size": 166, + "stargazers_count": 4, + "watchers_count": 4, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 4, + "open_issues": 0, + "watchers": 4, + "default_branch": "master" + }, + "network_count": 4, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant-3.json deleted file mode 100644 index 264ca5a0ff..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant-3.json +++ /dev/null @@ -1,290 +0,0 @@ -{ - "id": 3422601, - "node_id": "MDEwOlJlcG9zaXRvcnkzNDIyNjAx", - "name": "sandbox-ant", - "full_name": "kohsuke/sandbox-ant", - "private": false, - "owner": { - "login": "kohsuke", - "id": 50003, - "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke", - "html_url": "https://github.com/kohsuke", - "followers_url": "https://api.github.com/users/kohsuke/followers", - "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke/orgs", - "repos_url": "https://api.github.com/users/kohsuke/repos", - "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/kohsuke/sandbox-ant", - "description": null, - "fork": true, - "url": "https://api.github.com/repos/kohsuke/sandbox-ant", - "forks_url": "https://api.github.com/repos/kohsuke/sandbox-ant/forks", - "keys_url": "https://api.github.com/repos/kohsuke/sandbox-ant/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/kohsuke/sandbox-ant/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/kohsuke/sandbox-ant/teams", - "hooks_url": "https://api.github.com/repos/kohsuke/sandbox-ant/hooks", - "issue_events_url": "https://api.github.com/repos/kohsuke/sandbox-ant/issues/events{/number}", - "events_url": "https://api.github.com/repos/kohsuke/sandbox-ant/events", - "assignees_url": "https://api.github.com/repos/kohsuke/sandbox-ant/assignees{/user}", - "branches_url": "https://api.github.com/repos/kohsuke/sandbox-ant/branches{/branch}", - "tags_url": "https://api.github.com/repos/kohsuke/sandbox-ant/tags", - "blobs_url": "https://api.github.com/repos/kohsuke/sandbox-ant/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/kohsuke/sandbox-ant/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/kohsuke/sandbox-ant/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/kohsuke/sandbox-ant/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/kohsuke/sandbox-ant/statuses/{sha}", - "languages_url": "https://api.github.com/repos/kohsuke/sandbox-ant/languages", - "stargazers_url": "https://api.github.com/repos/kohsuke/sandbox-ant/stargazers", - "contributors_url": "https://api.github.com/repos/kohsuke/sandbox-ant/contributors", - "subscribers_url": "https://api.github.com/repos/kohsuke/sandbox-ant/subscribers", - "subscription_url": "https://api.github.com/repos/kohsuke/sandbox-ant/subscription", - "commits_url": "https://api.github.com/repos/kohsuke/sandbox-ant/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/kohsuke/sandbox-ant/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/kohsuke/sandbox-ant/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/kohsuke/sandbox-ant/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/kohsuke/sandbox-ant/contents/{+path}", - "compare_url": "https://api.github.com/repos/kohsuke/sandbox-ant/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/kohsuke/sandbox-ant/merges", - "archive_url": "https://api.github.com/repos/kohsuke/sandbox-ant/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/kohsuke/sandbox-ant/downloads", - "issues_url": "https://api.github.com/repos/kohsuke/sandbox-ant/issues{/number}", - "pulls_url": "https://api.github.com/repos/kohsuke/sandbox-ant/pulls{/number}", - "milestones_url": "https://api.github.com/repos/kohsuke/sandbox-ant/milestones{/number}", - "notifications_url": "https://api.github.com/repos/kohsuke/sandbox-ant/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/kohsuke/sandbox-ant/labels{/name}", - "releases_url": "https://api.github.com/repos/kohsuke/sandbox-ant/releases{/id}", - "deployments_url": "https://api.github.com/repos/kohsuke/sandbox-ant/deployments", - "created_at": "2012-02-12T15:20:30Z", - "updated_at": "2019-08-13T14:56:58Z", - "pushed_at": "2012-05-17T14:05:23Z", - "git_url": "git://github.com/kohsuke/sandbox-ant.git", - "ssh_url": "git@github.com:kohsuke/sandbox-ant.git", - "clone_url": "https://github.com/kohsuke/sandbox-ant.git", - "svn_url": "https://github.com/kohsuke/sandbox-ant", - "homepage": "", - "size": 121, - "stargazers_count": 2, - "watchers_count": 2, - "language": null, - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 2, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 2, - "open_issues": 0, - "watchers": 2, - "default_branch": "master", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "temp_clone_token": "", - "parent": { - "id": 3231216, - "node_id": "MDEwOlJlcG9zaXRvcnkzMjMxMjE2", - "name": "sandbox-ant", - "full_name": "kohsuke2/sandbox-ant", - "private": false, - "owner": { - "login": "kohsuke2", - "id": 1329242, - "node_id": "MDQ6VXNlcjEzMjkyNDI=", - "avatar_url": "https://avatars.githubusercontent.com/u/1329242?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke2", - "html_url": "https://github.com/kohsuke2", - "followers_url": "https://api.github.com/users/kohsuke2/followers", - "following_url": "https://api.github.com/users/kohsuke2/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke2/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke2/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke2/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke2/orgs", - "repos_url": "https://api.github.com/users/kohsuke2/repos", - "events_url": "https://api.github.com/users/kohsuke2/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke2/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/kohsuke2/sandbox-ant", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/kohsuke2/sandbox-ant", - "forks_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/forks", - "keys_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/teams", - "hooks_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/hooks", - "issue_events_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues/events{/number}", - "events_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/events", - "assignees_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/assignees{/user}", - "branches_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/branches{/branch}", - "tags_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/tags", - "blobs_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/statuses/{sha}", - "languages_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/languages", - "stargazers_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/stargazers", - "contributors_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/contributors", - "subscribers_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/subscribers", - "subscription_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/subscription", - "commits_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/contents/{+path}", - "compare_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/merges", - "archive_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/downloads", - "issues_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues{/number}", - "pulls_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/pulls{/number}", - "milestones_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/milestones{/number}", - "notifications_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/labels{/name}", - "releases_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/releases{/id}", - "deployments_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/deployments", - "created_at": "2012-01-21T00:41:52Z", - "updated_at": "2019-08-13T14:55:44Z", - "pushed_at": "2014-11-18T01:52:04Z", - "git_url": "git://github.com/kohsuke2/sandbox-ant.git", - "ssh_url": "git@github.com:kohsuke2/sandbox-ant.git", - "clone_url": "https://github.com/kohsuke2/sandbox-ant.git", - "svn_url": "https://github.com/kohsuke2/sandbox-ant", - "homepage": "", - "size": 166, - "stargazers_count": 4, - "watchers_count": 4, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 4, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 4, - "open_issues": 0, - "watchers": 4, - "default_branch": "master" - }, - "source": { - "id": 3231216, - "node_id": "MDEwOlJlcG9zaXRvcnkzMjMxMjE2", - "name": "sandbox-ant", - "full_name": "kohsuke2/sandbox-ant", - "private": false, - "owner": { - "login": "kohsuke2", - "id": 1329242, - "node_id": "MDQ6VXNlcjEzMjkyNDI=", - "avatar_url": "https://avatars.githubusercontent.com/u/1329242?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke2", - "html_url": "https://github.com/kohsuke2", - "followers_url": "https://api.github.com/users/kohsuke2/followers", - "following_url": "https://api.github.com/users/kohsuke2/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke2/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke2/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke2/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke2/orgs", - "repos_url": "https://api.github.com/users/kohsuke2/repos", - "events_url": "https://api.github.com/users/kohsuke2/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke2/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/kohsuke2/sandbox-ant", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/kohsuke2/sandbox-ant", - "forks_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/forks", - "keys_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/teams", - "hooks_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/hooks", - "issue_events_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues/events{/number}", - "events_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/events", - "assignees_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/assignees{/user}", - "branches_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/branches{/branch}", - "tags_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/tags", - "blobs_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/statuses/{sha}", - "languages_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/languages", - "stargazers_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/stargazers", - "contributors_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/contributors", - "subscribers_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/subscribers", - "subscription_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/subscription", - "commits_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/contents/{+path}", - "compare_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/merges", - "archive_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/downloads", - "issues_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues{/number}", - "pulls_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/pulls{/number}", - "milestones_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/milestones{/number}", - "notifications_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/labels{/name}", - "releases_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/releases{/id}", - "deployments_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/deployments", - "created_at": "2012-01-21T00:41:52Z", - "updated_at": "2019-08-13T14:55:44Z", - "pushed_at": "2014-11-18T01:52:04Z", - "git_url": "git://github.com/kohsuke2/sandbox-ant.git", - "ssh_url": "git@github.com:kohsuke2/sandbox-ant.git", - "clone_url": "https://github.com/kohsuke2/sandbox-ant.git", - "svn_url": "https://github.com/kohsuke2/sandbox-ant", - "homepage": "", - "size": 166, - "stargazers_count": 4, - "watchers_count": 4, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 4, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 4, - "open_issues": 0, - "watchers": 4, - "default_branch": "master" - }, - "network_count": 4, - "subscribers_count": 0 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant-7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant-7.json new file mode 100644 index 0000000000..950fc81a74 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant-7.json @@ -0,0 +1,304 @@ +{ + "id": 3422601, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDIyNjAx", + "name": "sandbox-ant", + "full_name": "kohsuke/sandbox-ant", + "private": false, + "owner": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/kohsuke/sandbox-ant", + "description": null, + "fork": true, + "url": "https://api.github.com/repos/kohsuke/sandbox-ant", + "forks_url": "https://api.github.com/repos/kohsuke/sandbox-ant/forks", + "keys_url": "https://api.github.com/repos/kohsuke/sandbox-ant/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/kohsuke/sandbox-ant/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/kohsuke/sandbox-ant/teams", + "hooks_url": "https://api.github.com/repos/kohsuke/sandbox-ant/hooks", + "issue_events_url": "https://api.github.com/repos/kohsuke/sandbox-ant/issues/events{/number}", + "events_url": "https://api.github.com/repos/kohsuke/sandbox-ant/events", + "assignees_url": "https://api.github.com/repos/kohsuke/sandbox-ant/assignees{/user}", + "branches_url": "https://api.github.com/repos/kohsuke/sandbox-ant/branches{/branch}", + "tags_url": "https://api.github.com/repos/kohsuke/sandbox-ant/tags", + "blobs_url": "https://api.github.com/repos/kohsuke/sandbox-ant/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/kohsuke/sandbox-ant/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/kohsuke/sandbox-ant/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/kohsuke/sandbox-ant/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/kohsuke/sandbox-ant/statuses/{sha}", + "languages_url": "https://api.github.com/repos/kohsuke/sandbox-ant/languages", + "stargazers_url": "https://api.github.com/repos/kohsuke/sandbox-ant/stargazers", + "contributors_url": "https://api.github.com/repos/kohsuke/sandbox-ant/contributors", + "subscribers_url": "https://api.github.com/repos/kohsuke/sandbox-ant/subscribers", + "subscription_url": "https://api.github.com/repos/kohsuke/sandbox-ant/subscription", + "commits_url": "https://api.github.com/repos/kohsuke/sandbox-ant/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/kohsuke/sandbox-ant/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/kohsuke/sandbox-ant/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/kohsuke/sandbox-ant/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/kohsuke/sandbox-ant/contents/{+path}", + "compare_url": "https://api.github.com/repos/kohsuke/sandbox-ant/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/kohsuke/sandbox-ant/merges", + "archive_url": "https://api.github.com/repos/kohsuke/sandbox-ant/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/kohsuke/sandbox-ant/downloads", + "issues_url": "https://api.github.com/repos/kohsuke/sandbox-ant/issues{/number}", + "pulls_url": "https://api.github.com/repos/kohsuke/sandbox-ant/pulls{/number}", + "milestones_url": "https://api.github.com/repos/kohsuke/sandbox-ant/milestones{/number}", + "notifications_url": "https://api.github.com/repos/kohsuke/sandbox-ant/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/kohsuke/sandbox-ant/labels{/name}", + "releases_url": "https://api.github.com/repos/kohsuke/sandbox-ant/releases{/id}", + "deployments_url": "https://api.github.com/repos/kohsuke/sandbox-ant/deployments", + "created_at": "2012-02-12T15:20:30Z", + "updated_at": "2019-08-13T14:56:58Z", + "pushed_at": "2012-05-17T14:05:23Z", + "git_url": "git://github.com/kohsuke/sandbox-ant.git", + "ssh_url": "git@github.com:kohsuke/sandbox-ant.git", + "clone_url": "https://github.com/kohsuke/sandbox-ant.git", + "svn_url": "https://github.com/kohsuke/sandbox-ant", + "homepage": "", + "size": 121, + "stargazers_count": 2, + "watchers_count": 2, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 2, + "open_issues": 0, + "watchers": 2, + "default_branch": "master", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "temp_clone_token": "", + "parent": { + "id": 3231216, + "node_id": "MDEwOlJlcG9zaXRvcnkzMjMxMjE2", + "name": "sandbox-ant", + "full_name": "kohsuke2/sandbox-ant", + "private": false, + "owner": { + "login": "kohsuke2", + "id": 1329242, + "node_id": "MDQ6VXNlcjEzMjkyNDI=", + "avatar_url": "https://avatars.githubusercontent.com/u/1329242?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke2", + "html_url": "https://github.com/kohsuke2", + "followers_url": "https://api.github.com/users/kohsuke2/followers", + "following_url": "https://api.github.com/users/kohsuke2/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke2/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke2/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke2/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke2/orgs", + "repos_url": "https://api.github.com/users/kohsuke2/repos", + "events_url": "https://api.github.com/users/kohsuke2/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke2/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/kohsuke2/sandbox-ant", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/kohsuke2/sandbox-ant", + "forks_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/forks", + "keys_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/teams", + "hooks_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/hooks", + "issue_events_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues/events{/number}", + "events_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/events", + "assignees_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/assignees{/user}", + "branches_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/branches{/branch}", + "tags_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/tags", + "blobs_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/statuses/{sha}", + "languages_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/languages", + "stargazers_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/stargazers", + "contributors_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/contributors", + "subscribers_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/subscribers", + "subscription_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/subscription", + "commits_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/contents/{+path}", + "compare_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/merges", + "archive_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/downloads", + "issues_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues{/number}", + "pulls_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/pulls{/number}", + "milestones_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/milestones{/number}", + "notifications_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/labels{/name}", + "releases_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/releases{/id}", + "deployments_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/deployments", + "created_at": "2012-01-21T00:41:52Z", + "updated_at": "2019-08-13T14:55:44Z", + "pushed_at": "2014-11-18T01:52:04Z", + "git_url": "git://github.com/kohsuke2/sandbox-ant.git", + "ssh_url": "git@github.com:kohsuke2/sandbox-ant.git", + "clone_url": "https://github.com/kohsuke2/sandbox-ant.git", + "svn_url": "https://github.com/kohsuke2/sandbox-ant", + "homepage": "", + "size": 166, + "stargazers_count": 4, + "watchers_count": 4, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 4, + "open_issues": 0, + "watchers": 4, + "default_branch": "master" + }, + "source": { + "id": 3231216, + "node_id": "MDEwOlJlcG9zaXRvcnkzMjMxMjE2", + "name": "sandbox-ant", + "full_name": "kohsuke2/sandbox-ant", + "private": false, + "owner": { + "login": "kohsuke2", + "id": 1329242, + "node_id": "MDQ6VXNlcjEzMjkyNDI=", + "avatar_url": "https://avatars.githubusercontent.com/u/1329242?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke2", + "html_url": "https://github.com/kohsuke2", + "followers_url": "https://api.github.com/users/kohsuke2/followers", + "following_url": "https://api.github.com/users/kohsuke2/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke2/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke2/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke2/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke2/orgs", + "repos_url": "https://api.github.com/users/kohsuke2/repos", + "events_url": "https://api.github.com/users/kohsuke2/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke2/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/kohsuke2/sandbox-ant", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/kohsuke2/sandbox-ant", + "forks_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/forks", + "keys_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/teams", + "hooks_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/hooks", + "issue_events_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues/events{/number}", + "events_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/events", + "assignees_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/assignees{/user}", + "branches_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/branches{/branch}", + "tags_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/tags", + "blobs_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/statuses/{sha}", + "languages_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/languages", + "stargazers_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/stargazers", + "contributors_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/contributors", + "subscribers_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/subscribers", + "subscription_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/subscription", + "commits_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/contents/{+path}", + "compare_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/merges", + "archive_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/downloads", + "issues_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues{/number}", + "pulls_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/pulls{/number}", + "milestones_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/milestones{/number}", + "notifications_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/labels{/name}", + "releases_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/releases{/id}", + "deployments_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/deployments", + "created_at": "2012-01-21T00:41:52Z", + "updated_at": "2019-08-13T14:55:44Z", + "pushed_at": "2014-11-18T01:52:04Z", + "git_url": "git://github.com/kohsuke2/sandbox-ant.git", + "ssh_url": "git@github.com:kohsuke2/sandbox-ant.git", + "clone_url": "https://github.com/kohsuke2/sandbox-ant.git", + "svn_url": "https://github.com/kohsuke2/sandbox-ant", + "homepage": "", + "size": 166, + "stargazers_count": 4, + "watchers_count": 4, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 4, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 4, + "open_issues": 0, + "watchers": 4, + "default_branch": "master" + }, + "network_count": 4, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant-8.json deleted file mode 100644 index 264ca5a0ff..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant-8.json +++ /dev/null @@ -1,290 +0,0 @@ -{ - "id": 3422601, - "node_id": "MDEwOlJlcG9zaXRvcnkzNDIyNjAx", - "name": "sandbox-ant", - "full_name": "kohsuke/sandbox-ant", - "private": false, - "owner": { - "login": "kohsuke", - "id": 50003, - "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke", - "html_url": "https://github.com/kohsuke", - "followers_url": "https://api.github.com/users/kohsuke/followers", - "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke/orgs", - "repos_url": "https://api.github.com/users/kohsuke/repos", - "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/kohsuke/sandbox-ant", - "description": null, - "fork": true, - "url": "https://api.github.com/repos/kohsuke/sandbox-ant", - "forks_url": "https://api.github.com/repos/kohsuke/sandbox-ant/forks", - "keys_url": "https://api.github.com/repos/kohsuke/sandbox-ant/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/kohsuke/sandbox-ant/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/kohsuke/sandbox-ant/teams", - "hooks_url": "https://api.github.com/repos/kohsuke/sandbox-ant/hooks", - "issue_events_url": "https://api.github.com/repos/kohsuke/sandbox-ant/issues/events{/number}", - "events_url": "https://api.github.com/repos/kohsuke/sandbox-ant/events", - "assignees_url": "https://api.github.com/repos/kohsuke/sandbox-ant/assignees{/user}", - "branches_url": "https://api.github.com/repos/kohsuke/sandbox-ant/branches{/branch}", - "tags_url": "https://api.github.com/repos/kohsuke/sandbox-ant/tags", - "blobs_url": "https://api.github.com/repos/kohsuke/sandbox-ant/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/kohsuke/sandbox-ant/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/kohsuke/sandbox-ant/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/kohsuke/sandbox-ant/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/kohsuke/sandbox-ant/statuses/{sha}", - "languages_url": "https://api.github.com/repos/kohsuke/sandbox-ant/languages", - "stargazers_url": "https://api.github.com/repos/kohsuke/sandbox-ant/stargazers", - "contributors_url": "https://api.github.com/repos/kohsuke/sandbox-ant/contributors", - "subscribers_url": "https://api.github.com/repos/kohsuke/sandbox-ant/subscribers", - "subscription_url": "https://api.github.com/repos/kohsuke/sandbox-ant/subscription", - "commits_url": "https://api.github.com/repos/kohsuke/sandbox-ant/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/kohsuke/sandbox-ant/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/kohsuke/sandbox-ant/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/kohsuke/sandbox-ant/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/kohsuke/sandbox-ant/contents/{+path}", - "compare_url": "https://api.github.com/repos/kohsuke/sandbox-ant/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/kohsuke/sandbox-ant/merges", - "archive_url": "https://api.github.com/repos/kohsuke/sandbox-ant/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/kohsuke/sandbox-ant/downloads", - "issues_url": "https://api.github.com/repos/kohsuke/sandbox-ant/issues{/number}", - "pulls_url": "https://api.github.com/repos/kohsuke/sandbox-ant/pulls{/number}", - "milestones_url": "https://api.github.com/repos/kohsuke/sandbox-ant/milestones{/number}", - "notifications_url": "https://api.github.com/repos/kohsuke/sandbox-ant/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/kohsuke/sandbox-ant/labels{/name}", - "releases_url": "https://api.github.com/repos/kohsuke/sandbox-ant/releases{/id}", - "deployments_url": "https://api.github.com/repos/kohsuke/sandbox-ant/deployments", - "created_at": "2012-02-12T15:20:30Z", - "updated_at": "2019-08-13T14:56:58Z", - "pushed_at": "2012-05-17T14:05:23Z", - "git_url": "git://github.com/kohsuke/sandbox-ant.git", - "ssh_url": "git@github.com:kohsuke/sandbox-ant.git", - "clone_url": "https://github.com/kohsuke/sandbox-ant.git", - "svn_url": "https://github.com/kohsuke/sandbox-ant", - "homepage": "", - "size": 121, - "stargazers_count": 2, - "watchers_count": 2, - "language": null, - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 2, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 2, - "open_issues": 0, - "watchers": 2, - "default_branch": "master", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "temp_clone_token": "", - "parent": { - "id": 3231216, - "node_id": "MDEwOlJlcG9zaXRvcnkzMjMxMjE2", - "name": "sandbox-ant", - "full_name": "kohsuke2/sandbox-ant", - "private": false, - "owner": { - "login": "kohsuke2", - "id": 1329242, - "node_id": "MDQ6VXNlcjEzMjkyNDI=", - "avatar_url": "https://avatars.githubusercontent.com/u/1329242?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke2", - "html_url": "https://github.com/kohsuke2", - "followers_url": "https://api.github.com/users/kohsuke2/followers", - "following_url": "https://api.github.com/users/kohsuke2/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke2/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke2/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke2/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke2/orgs", - "repos_url": "https://api.github.com/users/kohsuke2/repos", - "events_url": "https://api.github.com/users/kohsuke2/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke2/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/kohsuke2/sandbox-ant", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/kohsuke2/sandbox-ant", - "forks_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/forks", - "keys_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/teams", - "hooks_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/hooks", - "issue_events_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues/events{/number}", - "events_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/events", - "assignees_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/assignees{/user}", - "branches_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/branches{/branch}", - "tags_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/tags", - "blobs_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/statuses/{sha}", - "languages_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/languages", - "stargazers_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/stargazers", - "contributors_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/contributors", - "subscribers_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/subscribers", - "subscription_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/subscription", - "commits_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/contents/{+path}", - "compare_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/merges", - "archive_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/downloads", - "issues_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues{/number}", - "pulls_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/pulls{/number}", - "milestones_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/milestones{/number}", - "notifications_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/labels{/name}", - "releases_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/releases{/id}", - "deployments_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/deployments", - "created_at": "2012-01-21T00:41:52Z", - "updated_at": "2019-08-13T14:55:44Z", - "pushed_at": "2014-11-18T01:52:04Z", - "git_url": "git://github.com/kohsuke2/sandbox-ant.git", - "ssh_url": "git@github.com:kohsuke2/sandbox-ant.git", - "clone_url": "https://github.com/kohsuke2/sandbox-ant.git", - "svn_url": "https://github.com/kohsuke2/sandbox-ant", - "homepage": "", - "size": 166, - "stargazers_count": 4, - "watchers_count": 4, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 4, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 4, - "open_issues": 0, - "watchers": 4, - "default_branch": "master" - }, - "source": { - "id": 3231216, - "node_id": "MDEwOlJlcG9zaXRvcnkzMjMxMjE2", - "name": "sandbox-ant", - "full_name": "kohsuke2/sandbox-ant", - "private": false, - "owner": { - "login": "kohsuke2", - "id": 1329242, - "node_id": "MDQ6VXNlcjEzMjkyNDI=", - "avatar_url": "https://avatars.githubusercontent.com/u/1329242?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke2", - "html_url": "https://github.com/kohsuke2", - "followers_url": "https://api.github.com/users/kohsuke2/followers", - "following_url": "https://api.github.com/users/kohsuke2/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke2/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke2/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke2/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke2/orgs", - "repos_url": "https://api.github.com/users/kohsuke2/repos", - "events_url": "https://api.github.com/users/kohsuke2/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke2/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/kohsuke2/sandbox-ant", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/kohsuke2/sandbox-ant", - "forks_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/forks", - "keys_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/teams", - "hooks_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/hooks", - "issue_events_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues/events{/number}", - "events_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/events", - "assignees_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/assignees{/user}", - "branches_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/branches{/branch}", - "tags_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/tags", - "blobs_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/statuses/{sha}", - "languages_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/languages", - "stargazers_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/stargazers", - "contributors_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/contributors", - "subscribers_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/subscribers", - "subscription_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/subscription", - "commits_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/contents/{+path}", - "compare_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/merges", - "archive_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/downloads", - "issues_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/issues{/number}", - "pulls_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/pulls{/number}", - "milestones_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/milestones{/number}", - "notifications_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/labels{/name}", - "releases_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/releases{/id}", - "deployments_url": "https://api.github.com/repos/kohsuke2/sandbox-ant/deployments", - "created_at": "2012-01-21T00:41:52Z", - "updated_at": "2019-08-13T14:55:44Z", - "pushed_at": "2014-11-18T01:52:04Z", - "git_url": "git://github.com/kohsuke2/sandbox-ant.git", - "ssh_url": "git@github.com:kohsuke2/sandbox-ant.git", - "clone_url": "https://github.com/kohsuke2/sandbox-ant.git", - "svn_url": "https://github.com/kohsuke2/sandbox-ant", - "homepage": "", - "size": 166, - "stargazers_count": 4, - "watchers_count": 4, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 4, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 4, - "open_issues": 0, - "watchers": 4, - "default_branch": "master" - }, - "network_count": 4, - "subscribers_count": 0 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_comments_52782621-7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_comments_52782621-7.json deleted file mode 100644 index d86fea8491..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_comments_52782621-7.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "url": "https://api.github.com/repos/kohsuke/sandbox-ant/comments/52782621", - "html_url": "https://github.com/kohsuke/sandbox-ant/commit/8ae38db0ea5837313ab5f39d43a6f73de3bd9000#commitcomment-52782621", - "id": 52782621, - "node_id": "MDEzOkNvbW1pdENvbW1lbnQ1Mjc4MjYyMQ==", - "user": { - "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 - }, - "position": null, - "line": null, - "path": null, - "commit_id": "8ae38db0ea5837313ab5f39d43a6f73de3bd9000", - "created_at": "2021-06-28T22:41:30Z", - "updated_at": "2021-06-28T22:41:30Z", - "author_association": "NONE", - "body": "updated text" -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_comments_70874649-6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_comments_70874649-6.json new file mode 100644 index 0000000000..45de214471 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_comments_70874649-6.json @@ -0,0 +1,46 @@ +{ + "url": "https://api.github.com/repos/kohsuke/sandbox-ant/comments/70874649", + "html_url": "https://github.com/kohsuke/sandbox-ant/commit/8ae38db0ea5837313ab5f39d43a6f73de3bd9000#commitcomment-70874649", + "id": 70874649, + "node_id": "CC_kwDOADQ5ic4EOXYZ", + "user": { + "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 + }, + "position": null, + "line": null, + "path": null, + "commit_id": "8ae38db0ea5837313ab5f39d43a6f73de3bd9000", + "created_at": "2022-04-09T12:14:10Z", + "updated_at": "2022-04-09T12:14:10Z", + "author_association": "NONE", + "body": "updated text", + "reactions": { + "url": "https://api.github.com/repos/kohsuke/sandbox-ant/comments/70874649/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_comments_70874649_reactions-10.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_comments_70874649_reactions-10.json new file mode 100644 index 0000000000..94681cb3c3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_comments_70874649_reactions-10.json @@ -0,0 +1,26 @@ +{ + "id": 158534087, + "node_id": "REA_lADOADQ5ic4EOXYZzglzCcc", + "user": { + "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 + }, + "content": "confused", + "created_at": "2022-04-09T12:14:12Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_comments_70874649_reactions-11.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_comments_70874649_reactions-11.json new file mode 100644 index 0000000000..fe123b202b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_comments_70874649_reactions-11.json @@ -0,0 +1,28 @@ +[ + { + "id": 158534087, + "node_id": "REA_lADOADQ5ic4EOXYZzglzCcc", + "user": { + "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 + }, + "content": "confused", + "created_at": "2022-04-09T12:14:12Z" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-3.json similarity index 100% rename from src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-4.json rename to src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-3.json diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-9.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-8.json similarity index 100% rename from src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-9.json rename to src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-8.json diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000_comments-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000_comments-4.json new file mode 100644 index 0000000000..cd4c4144c8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000_comments-4.json @@ -0,0 +1,46 @@ +{ + "url": "https://api.github.com/repos/kohsuke/sandbox-ant/comments/70874649", + "html_url": "https://github.com/kohsuke/sandbox-ant/commit/8ae38db0ea5837313ab5f39d43a6f73de3bd9000#commitcomment-70874649", + "id": 70874649, + "node_id": "CC_kwDOADQ5ic4EOXYZ", + "user": { + "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 + }, + "position": null, + "line": null, + "path": null, + "commit_id": "8ae38db0ea5837313ab5f39d43a6f73de3bd9000", + "created_at": "2022-04-09T12:14:10Z", + "updated_at": "2022-04-09T12:14:10Z", + "author_association": "NONE", + "body": "[testing](http://kohsuse.org/)", + "reactions": { + "url": "https://api.github.com/repos/kohsuke/sandbox-ant/comments/70874649/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000_comments-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000_comments-5.json deleted file mode 100644 index 521f67d71d..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000_comments-5.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "url": "https://api.github.com/repos/kohsuke/sandbox-ant/comments/52782621", - "html_url": "https://github.com/kohsuke/sandbox-ant/commit/8ae38db0ea5837313ab5f39d43a6f73de3bd9000#commitcomment-52782621", - "id": 52782621, - "node_id": "MDEzOkNvbW1pdENvbW1lbnQ1Mjc4MjYyMQ==", - "user": { - "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 - }, - "position": null, - "line": null, - "path": null, - "commit_id": "8ae38db0ea5837313ab5f39d43a6f73de3bd9000", - "created_at": "2021-06-28T22:41:30Z", - "updated_at": "2021-06-28T22:41:30Z", - "author_association": "NONE", - "body": "[testing](http://kohsuse.org/)" -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/user-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/user-1.json deleted file mode 100644 index bf387d5fd4..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__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": 209, - "public_gists": 8, - "followers": 192, - "following": 12, - "created_at": "2012-07-11T20:38:33Z", - "updated_at": "2021-06-28T20:48:08Z", - "private_gists": 19, - "total_private_repos": 21, - "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/AppTest/wiremock/testCreateCommitComment/__files/users_kohsuke-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/users_kohsuke-1.json new file mode 100644 index 0000000000..05071d4716 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/users_kohsuke-1.json @@ -0,0 +1,34 @@ +{ + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false, + "name": "Kohsuke Kawaguchi", + "company": "@launchableinc ", + "blog": "https://www.kohsuke.org/", + "location": "San Jose, California", + "email": "kk@kohsuke.org", + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 265, + "public_gists": 113, + "followers": 1997, + "following": 3, + "created_at": "2009-01-28T18:53:21Z", + "updated_at": "2022-03-18T23:13:10Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/users_kohsuke-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/users_kohsuke-2.json deleted file mode 100644 index 681672bdd6..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/__files/users_kohsuke-2.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "login": "kohsuke", - "id": 50003, - "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke", - "html_url": "https://github.com/kohsuke", - "followers_url": "https://api.github.com/users/kohsuke/followers", - "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke/orgs", - "repos_url": "https://api.github.com/users/kohsuke/repos", - "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke/received_events", - "type": "User", - "site_admin": false, - "name": "Kohsuke Kawaguchi", - "company": "@launchableinc ", - "blog": "https://www.kohsuke.org/", - "location": "San Jose, California", - "email": "kk@kohsuke.org", - "hireable": null, - "bio": null, - "twitter_username": null, - "public_repos": 264, - "public_gists": 113, - "followers": 1935, - "following": 3, - "created_at": "2009-01-28T18:53:21Z", - "updated_at": "2021-05-25T16:25:59Z" -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant-2.json new file mode 100644 index 0000000000..0178c86385 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant-2.json @@ -0,0 +1,50 @@ +{ + "id": "b97b4020-2034-463b-880c-033c9a5bc8bc", + "name": "repos_kohsuke_sandbox-ant", + "request": { + "url": "/repos/kohsuke/sandbox-ant", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_kohsuke_sandbox-ant-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Sat, 09 Apr 2022 12:14: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/\"708705a6eaa6180bb27ec64e5722d0b31c0d2398032e1ba2b8c1f99144743635\"", + "Last-Modified": "Tue, 13 Aug 2019 14:56: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": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4998", + "X-RateLimit-Reset": "1649510049", + "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": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BF0A:93CF:1861CEF:18D36E5:62517891" + } + }, + "uuid": "b97b4020-2034-463b-880c-033c9a5bc8bc", + "persistent": true, + "scenarioName": "scenario-1-repos-kohsuke-sandbox-ant", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-kohsuke-sandbox-ant-2", + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant-3.json deleted file mode 100644 index 1ef9227b42..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant-3.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "id": "fc21e92c-6d87-4c33-8e32-0c31f8f87b5f", - "name": "repos_kohsuke_sandbox-ant", - "request": { - "url": "/repos/kohsuke/sandbox-ant", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_kohsuke_sandbox-ant-3.json", - "headers": { - "Server": "GitHub.com", - "Date": "Mon, 28 Jun 2021 22:41:29 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/\"92ab34a0d1e058ee50ecd90d841f80a46f02d5c91d20bb7a04459824a3b57dbc\"", - "Last-Modified": "Tue, 13 Aug 2019 14:56:58 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": "repo", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4937", - "X-RateLimit-Reset": "1624920219", - "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": "FF98:896D:1ACCC5C:1C673F6:60DA5019" - } - }, - "uuid": "fc21e92c-6d87-4c33-8e32-0c31f8f87b5f", - "persistent": true, - "scenarioName": "scenario-1-repos-kohsuke-sandbox-ant", - "requiredScenarioState": "Started", - "newScenarioState": "scenario-1-repos-kohsuke-sandbox-ant-2", - "insertionIndex": 3 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant-7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant-7.json new file mode 100644 index 0000000000..f815616500 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant-7.json @@ -0,0 +1,49 @@ +{ + "id": "2482cf6e-adf9-4c24-865b-377246005e9d", + "name": "repos_kohsuke_sandbox-ant", + "request": { + "url": "/repos/kohsuke/sandbox-ant", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_kohsuke_sandbox-ant-7.json", + "headers": { + "Server": "GitHub.com", + "Date": "Sat, 09 Apr 2022 12:14: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/\"708705a6eaa6180bb27ec64e5722d0b31c0d2398032e1ba2b8c1f99144743635\"", + "Last-Modified": "Tue, 13 Aug 2019 14:56: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": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4993", + "X-RateLimit-Reset": "1649510049", + "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": "BF14:E0D7:1AE2060:1B55CA3:62517893" + } + }, + "uuid": "2482cf6e-adf9-4c24-865b-377246005e9d", + "persistent": true, + "scenarioName": "scenario-1-repos-kohsuke-sandbox-ant", + "requiredScenarioState": "scenario-1-repos-kohsuke-sandbox-ant-2", + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant-8.json deleted file mode 100644 index 7a6998fb30..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant-8.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "id": "f53fc165-5533-47e2-a5a9-c63cac72e3a8", - "name": "repos_kohsuke_sandbox-ant", - "request": { - "url": "/repos/kohsuke/sandbox-ant", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_kohsuke_sandbox-ant-8.json", - "headers": { - "Server": "GitHub.com", - "Date": "Mon, 28 Jun 2021 22:41:30 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/\"92ab34a0d1e058ee50ecd90d841f80a46f02d5c91d20bb7a04459824a3b57dbc\"", - "Last-Modified": "Tue, 13 Aug 2019 14:56:58 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": "repo", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4932", - "X-RateLimit-Reset": "1624920219", - "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": "FF50:4805:CCC269:E16584:60DA501A" - } - }, - "uuid": "f53fc165-5533-47e2-a5a9-c63cac72e3a8", - "persistent": true, - "scenarioName": "scenario-1-repos-kohsuke-sandbox-ant", - "requiredScenarioState": "scenario-1-repos-kohsuke-sandbox-ant-2", - "insertionIndex": 8 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_52782621-10.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_52782621-10.json deleted file mode 100644 index 3564a1889d..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_52782621-10.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "id": "141a8d4a-e52a-42f8-9f10-97666ef0c760", - "name": "repos_kohsuke_sandbox-ant_comments_52782621", - "request": { - "url": "/repos/kohsuke/sandbox-ant/comments/52782621", - "method": "DELETE", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Server": "GitHub.com", - "Date": "Mon, 28 Jun 2021 22:41:31 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": "4930", - "X-RateLimit-Reset": "1624920219", - "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'", - "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "FF54:52C5:10B105A:121C9D3:60DA501A" - } - }, - "uuid": "141a8d4a-e52a-42f8-9f10-97666ef0c760", - "persistent": true, - "insertionIndex": 10 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_52782621-7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_52782621-7.json deleted file mode 100644 index 240ab0df96..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_52782621-7.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "id": "b63a9e4c-331d-4241-9f12-862579fd662f", - "name": "repos_kohsuke_sandbox-ant_comments_52782621", - "request": { - "url": "/repos/kohsuke/sandbox-ant/comments/52782621", - "method": "PATCH", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - }, - "bodyPatterns": [ - { - "equalToJson": "{\"body\":\"updated text\"}", - "ignoreArrayOrder": true, - "ignoreExtraElements": false - } - ] - }, - "response": { - "status": 200, - "bodyFileName": "repos_kohsuke_sandbox-ant_comments_52782621-7.json", - "headers": { - "Server": "GitHub.com", - "Date": "Mon, 28 Jun 2021 22:41:30 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/\"6aaf6a758f2482891bdf651e3fb9ede41b46075a839ea9fe644835c96dc2122a\"", - "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": "4933", - "X-RateLimit-Reset": "1624920219", - "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": "FFA2:9A01:25092F:2794F9:60DA501A" - } - }, - "uuid": "b63a9e4c-331d-4241-9f12-862579fd662f", - "persistent": true, - "insertionIndex": 7 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_52782621_reactions-6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_52782621_reactions-6.json deleted file mode 100644 index bfa8695918..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_52782621_reactions-6.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "e3012630-c000-4dd9-9338-b64d2743b66c", - "name": "repos_kohsuke_sandbox-ant_comments_52782621_reactions", - "request": { - "url": "/repos/kohsuke/sandbox-ant/comments/52782621/reactions", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.squirrel-girl-preview+json" - } - } - }, - "response": { - "status": 200, - "body": "[]", - "headers": { - "Server": "GitHub.com", - "Date": "Mon, 28 Jun 2021 22:41:30 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": "\"09f1fd8ad1f7a8a86a061a6ee6b2506a7740a8d58da6ba3c8f1d53124411aaf1\"", - "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": "github.squirrel-girl-preview; format=json", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4934", - "X-RateLimit-Reset": "1624920219", - "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": "FFA0:71CA:E47E15:F58A88:60DA501A" - } - }, - "uuid": "e3012630-c000-4dd9-9338-b64d2743b66c", - "persistent": true, - "insertionIndex": 6 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649-14.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649-14.json new file mode 100644 index 0000000000..7785f445b7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649-14.json @@ -0,0 +1,39 @@ +{ + "id": "4428d35d-faaa-449a-ae0e-09e7b4066cdb", + "name": "repos_kohsuke_sandbox-ant_comments_70874649", + "request": { + "url": "/repos/kohsuke/sandbox-ant/comments/70874649", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Sat, 09 Apr 2022 12:14:13 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": "4986", + "X-RateLimit-Reset": "1649510049", + "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": "BF22:10500:8D24B9:926E95:62517895" + } + }, + "uuid": "4428d35d-faaa-449a-ae0e-09e7b4066cdb", + "persistent": true, + "insertionIndex": 14 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649-6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649-6.json new file mode 100644 index 0000000000..1bdcbc920a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649-6.json @@ -0,0 +1,53 @@ +{ + "id": "bbb67a99-5827-4232-b763-1af55bcb1ea1", + "name": "repos_kohsuke_sandbox-ant_comments_70874649", + "request": { + "url": "/repos/kohsuke/sandbox-ant/comments/70874649", + "method": "PATCH", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"body\":\"updated text\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_kohsuke_sandbox-ant_comments_70874649-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Sat, 09 Apr 2022 12:14: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/\"d0a11a8ea51f45d8b37ea535275efc2a56eb1a735a14c935204287ac6e98ee42\"", + "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": "4994", + "X-RateLimit-Reset": "1649510049", + "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": "BF12:5C30:19C646D:1A34F36:62517892" + } + }, + "uuid": "bbb67a99-5827-4232-b763-1af55bcb1ea1", + "persistent": true, + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649_reactions-10.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649_reactions-10.json new file mode 100644 index 0000000000..0858913f1d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649_reactions-10.json @@ -0,0 +1,53 @@ +{ + "id": "e50b2494-0a58-4a78-8264-99b26a6c529a", + "name": "repos_kohsuke_sandbox-ant_comments_70874649_reactions", + "request": { + "url": "/repos/kohsuke/sandbox-ant/comments/70874649/reactions", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"content\":\"confused\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_kohsuke_sandbox-ant_comments_70874649_reactions-10.json", + "headers": { + "Server": "GitHub.com", + "Date": "Sat, 09 Apr 2022 12:14: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": "\"88bb3170a87930eacd4149d4092f73b2180b6dac28b67ed38b819ed6e1e42aec\"", + "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=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4990", + "X-RateLimit-Reset": "1649510049", + "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": "BF1A:1172D:100C232:106F103:62517893" + } + }, + "uuid": "e50b2494-0a58-4a78-8264-99b26a6c529a", + "persistent": true, + "insertionIndex": 10 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649_reactions-11.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649_reactions-11.json new file mode 100644 index 0000000000..e9c3b75c38 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649_reactions-11.json @@ -0,0 +1,49 @@ +{ + "id": "42e2652e-51fd-4622-bc67-983301cab668", + "name": "repos_kohsuke_sandbox-ant_comments_70874649_reactions", + "request": { + "url": "/repos/kohsuke/sandbox-ant/comments/70874649/reactions", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_kohsuke_sandbox-ant_comments_70874649_reactions-11.json", + "headers": { + "Server": "GitHub.com", + "Date": "Sat, 09 Apr 2022 12:14: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/\"8f481c4a6a3bf630ad1ad4eccae6d6b2aa25efd4123d50554292a8eae869be1b\"", + "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=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4989", + "X-RateLimit-Reset": "1649510049", + "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": "BF1C:39A9:7C0457:8159B9:62517894" + } + }, + "uuid": "42e2652e-51fd-4622-bc67-983301cab668", + "persistent": true, + "scenarioName": "scenario-3-repos-kohsuke-sandbox-ant-comments-70874649-reactions", + "requiredScenarioState": "scenario-3-repos-kohsuke-sandbox-ant-comments-70874649-reactions-3", + "newScenarioState": "scenario-3-repos-kohsuke-sandbox-ant-comments-70874649-reactions-4", + "insertionIndex": 11 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649_reactions-13.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649_reactions-13.json new file mode 100644 index 0000000000..a0ee45a588 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649_reactions-13.json @@ -0,0 +1,48 @@ +{ + "id": "ced5e944-ae5f-455d-894e-1c55b655bbca", + "name": "repos_kohsuke_sandbox-ant_comments_70874649_reactions", + "request": { + "url": "/repos/kohsuke/sandbox-ant/comments/70874649/reactions", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + } + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Server": "GitHub.com", + "Date": "Sat, 09 Apr 2022 12:14: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": "\"1edf80ecd98d11d98113d5aa3cef7021f4a60d76d4a01328e8d3552451f43ce4\"", + "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=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4987", + "X-RateLimit-Reset": "1649510049", + "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": "BF20:AE8C:3D1273:41E3DB:62517894" + } + }, + "uuid": "ced5e944-ae5f-455d-894e-1c55b655bbca", + "persistent": true, + "scenarioName": "scenario-3-repos-kohsuke-sandbox-ant-comments-70874649-reactions", + "requiredScenarioState": "scenario-3-repos-kohsuke-sandbox-ant-comments-70874649-reactions-4", + "insertionIndex": 13 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649_reactions-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649_reactions-5.json new file mode 100644 index 0000000000..6dd96df415 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649_reactions-5.json @@ -0,0 +1,49 @@ +{ + "id": "00187b9b-5022-419f-bdcf-90a2887a4dd3", + "name": "repos_kohsuke_sandbox-ant_comments_70874649_reactions", + "request": { + "url": "/repos/kohsuke/sandbox-ant/comments/70874649/reactions", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + } + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Server": "GitHub.com", + "Date": "Sat, 09 Apr 2022 12:14: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": "\"1edf80ecd98d11d98113d5aa3cef7021f4a60d76d4a01328e8d3552451f43ce4\"", + "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=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4995", + "X-RateLimit-Reset": "1649510049", + "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": "BF10:39A8:37DB68:3CAAF4:62517892" + } + }, + "uuid": "00187b9b-5022-419f-bdcf-90a2887a4dd3", + "persistent": true, + "scenarioName": "scenario-3-repos-kohsuke-sandbox-ant-comments-70874649-reactions", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-3-repos-kohsuke-sandbox-ant-comments-70874649-reactions-2", + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649_reactions-9.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649_reactions-9.json new file mode 100644 index 0000000000..e4f81b05e1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649_reactions-9.json @@ -0,0 +1,49 @@ +{ + "id": "1c14d619-c1f0-4a7f-895d-7d3847ab0752", + "name": "repos_kohsuke_sandbox-ant_comments_70874649_reactions", + "request": { + "url": "/repos/kohsuke/sandbox-ant/comments/70874649/reactions", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + } + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Server": "GitHub.com", + "Date": "Sat, 09 Apr 2022 12:14: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": "\"1edf80ecd98d11d98113d5aa3cef7021f4a60d76d4a01328e8d3552451f43ce4\"", + "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=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4991", + "X-RateLimit-Reset": "1649510049", + "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": "BF18:AE8E:EC737A:F294FD:62517893" + } + }, + "uuid": "1c14d619-c1f0-4a7f-895d-7d3847ab0752", + "persistent": true, + "scenarioName": "scenario-3-repos-kohsuke-sandbox-ant-comments-70874649-reactions", + "requiredScenarioState": "scenario-3-repos-kohsuke-sandbox-ant-comments-70874649-reactions-2", + "newScenarioState": "scenario-3-repos-kohsuke-sandbox-ant-comments-70874649-reactions-3", + "insertionIndex": 9 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649_reactions_158534087-12.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649_reactions_158534087-12.json new file mode 100644 index 0000000000..494992a14a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_comments_70874649_reactions_158534087-12.json @@ -0,0 +1,39 @@ +{ + "id": "0a12f2b9-8493-4942-ab74-06b06643df44", + "name": "repos_kohsuke_sandbox-ant_comments_70874649_reactions_158534087", + "request": { + "url": "/repos/kohsuke/sandbox-ant/comments/70874649/reactions/158534087", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Sat, 09 Apr 2022 12:14:12 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": "4988", + "X-RateLimit-Reset": "1649510049", + "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'", + "Vary": "Accept-Encoding, Accept, X-Requested-With", + "X-GitHub-Request-Id": "BF1E:5C30:19C6718:1A351ED:62517894" + } + }, + "uuid": "0a12f2b9-8493-4942-ab74-06b06643df44", + "persistent": true, + "insertionIndex": 12 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-3.json new file mode 100644 index 0000000000..923a2a7e23 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-3.json @@ -0,0 +1,50 @@ +{ + "id": "d20ccc54-34c2-48cc-a456-7e98e1d247e2", + "name": "repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000", + "request": { + "url": "/repos/kohsuke/sandbox-ant/commits/8ae38db0ea5837313ab5f39d43a6f73de3bd9000", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Sat, 09 Apr 2022 12:14: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/\"875d3e8c72cd8f14529b6225c641b6de181d365d8c3606a2d95ab2c20467abc1\"", + "Last-Modified": "Tue, 24 Apr 2012 22:54:20 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": "4997", + "X-RateLimit-Reset": "1649510049", + "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": "BF0C:E0D7:1AE1E0E:1B55A2D:62517891" + } + }, + "uuid": "d20ccc54-34c2-48cc-a456-7e98e1d247e2", + "persistent": true, + "scenarioName": "scenario-2-repos-kohsuke-sandbox-ant-commits-8ae38db0ea5837313ab5f39d43a6f73de3bd9000", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-2-repos-kohsuke-sandbox-ant-commits-8ae38db0ea5837313ab5f39d43a6f73de3bd9000-2", + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-4.json deleted file mode 100644 index 31e97eb879..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-4.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "id": "6aa66931-3264-4a43-a422-8157ba8c3a54", - "name": "repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000", - "request": { - "url": "/repos/kohsuke/sandbox-ant/commits/8ae38db0ea5837313ab5f39d43a6f73de3bd9000", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-4.json", - "headers": { - "Server": "GitHub.com", - "Date": "Mon, 28 Jun 2021 22:41:29 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/\"e6cc148cc910d5ab7335b47664bc427e08b5ae459c19ad745d9148f93a0a7f65\"", - "Last-Modified": "Tue, 24 Apr 2012 22:54:20 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": "4936", - "X-RateLimit-Reset": "1624920219", - "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": "FF9C:99FB:C635:25D82:60DA5019" - } - }, - "uuid": "6aa66931-3264-4a43-a422-8157ba8c3a54", - "persistent": true, - "scenarioName": "scenario-2-repos-kohsuke-sandbox-ant-commits-8ae38db0ea5837313ab5f39d43a6f73de3bd9000", - "requiredScenarioState": "Started", - "newScenarioState": "scenario-2-repos-kohsuke-sandbox-ant-commits-8ae38db0ea5837313ab5f39d43a6f73de3bd9000-2", - "insertionIndex": 4 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-8.json new file mode 100644 index 0000000000..694fd5d59f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-8.json @@ -0,0 +1,49 @@ +{ + "id": "430057e2-8c0d-471d-b6b8-2dca449210f3", + "name": "repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000", + "request": { + "url": "/repos/kohsuke/sandbox-ant/commits/8ae38db0ea5837313ab5f39d43a6f73de3bd9000", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-8.json", + "headers": { + "Server": "GitHub.com", + "Date": "Sat, 09 Apr 2022 12:14: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/\"d00fe1d56131d3165cc07ad7bcbea2f87e2e99acabe469169388419dfd10f9bb\"", + "Last-Modified": "Tue, 24 Apr 2012 22:54:20 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": "4992", + "X-RateLimit-Reset": "1649510049", + "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": "BF16:1172C:7FECF5:8545EB:62517893" + } + }, + "uuid": "430057e2-8c0d-471d-b6b8-2dca449210f3", + "persistent": true, + "scenarioName": "scenario-2-repos-kohsuke-sandbox-ant-commits-8ae38db0ea5837313ab5f39d43a6f73de3bd9000", + "requiredScenarioState": "scenario-2-repos-kohsuke-sandbox-ant-commits-8ae38db0ea5837313ab5f39d43a6f73de3bd9000-2", + "insertionIndex": 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-9.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-9.json deleted file mode 100644 index 95aa83d0e6..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-9.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "id": "7b3d0677-7c51-45a6-b2c6-a34823921b31", - "name": "repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000", - "request": { - "url": "/repos/kohsuke/sandbox-ant/commits/8ae38db0ea5837313ab5f39d43a6f73de3bd9000", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000-9.json", - "headers": { - "Server": "GitHub.com", - "Date": "Mon, 28 Jun 2021 22:41:30 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/\"5ef515abb3f8502576dd4e84b41dc5d504650f0d559ff828f01485c91e6432b2\"", - "Last-Modified": "Tue, 24 Apr 2012 22:54:20 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": "4931", - "X-RateLimit-Reset": "1624920219", - "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": "FF52:52C5:10B104A:121C9C2:60DA501A" - } - }, - "uuid": "7b3d0677-7c51-45a6-b2c6-a34823921b31", - "persistent": true, - "scenarioName": "scenario-2-repos-kohsuke-sandbox-ant-commits-8ae38db0ea5837313ab5f39d43a6f73de3bd9000", - "requiredScenarioState": "scenario-2-repos-kohsuke-sandbox-ant-commits-8ae38db0ea5837313ab5f39d43a6f73de3bd9000-2", - "insertionIndex": 9 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000_comments-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000_comments-4.json new file mode 100644 index 0000000000..6e296f097a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000_comments-4.json @@ -0,0 +1,54 @@ +{ + "id": "2635385d-0572-4a8b-aeab-401b91ddaa17", + "name": "repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000_comments", + "request": { + "url": "/repos/kohsuke/sandbox-ant/commits/8ae38db0ea5837313ab5f39d43a6f73de3bd9000/comments", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"body\":\"[testing](http://kohsuse.org/)\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000_comments-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Sat, 09 Apr 2022 12:14: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": "\"a232677fa1d916e4cda58e87464973589ce645615da19fbffd671e3d5a92d16f\"", + "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": "4996", + "X-RateLimit-Reset": "1649510049", + "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": "BF0E:020C:7D95C4:82E123:62517892", + "Location": "https://api.github.com/repos/kohsuke/sandbox-ant/comments/70874649" + } + }, + "uuid": "2635385d-0572-4a8b-aeab-401b91ddaa17", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000_comments-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000_comments-5.json deleted file mode 100644 index dd431ed7d6..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000_comments-5.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "id": "5a8912b4-7de9-4567-b12b-12a02d59064d", - "name": "repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000_comments", - "request": { - "url": "/repos/kohsuke/sandbox-ant/commits/8ae38db0ea5837313ab5f39d43a6f73de3bd9000/comments", - "method": "POST", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - }, - "bodyPatterns": [ - { - "equalToJson": "{\"body\":\"[testing](http://kohsuse.org/)\"}", - "ignoreArrayOrder": true, - "ignoreExtraElements": false - } - ] - }, - "response": { - "status": 201, - "bodyFileName": "repos_kohsuke_sandbox-ant_commits_8ae38db0ea5837313ab5f39d43a6f73de3bd9000_comments-5.json", - "headers": { - "Server": "GitHub.com", - "Date": "Mon, 28 Jun 2021 22:41:30 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": "\"0370f56de2fb3daaa1930d56adba70e7db1be13f5fac58a2040e0666c12bdaab\"", - "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": "4935", - "X-RateLimit-Reset": "1624920219", - "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": "FF9E:9C39:2E5670:311D55:60DA5019", - "Location": "https://api.github.com/repos/kohsuke/sandbox-ant/comments/52782621" - } - }, - "uuid": "5a8912b4-7de9-4567-b12b-12a02d59064d", - "persistent": true, - "insertionIndex": 5 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/user-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/user-1.json deleted file mode 100644 index ef3780b264..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/user-1.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "92e4cf09-4909-4a48-9efc-1a579c0ae746", - "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": "Mon, 28 Jun 2021 22:41:28 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/\"e1fbcd337cca68d53989eddca67b8be55e1a50ce95ddcecc2139323007e5da21\"", - "Last-Modified": "Mon, 28 Jun 2021 20:48:08 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": "4940", - "X-RateLimit-Reset": "1624920219", - "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": "FF9A:9C39:2E55FB:311CD1:60DA5018" - } - }, - "uuid": "92e4cf09-4909-4a48-9efc-1a579c0ae746", - "persistent": true, - "insertionIndex": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/users_kohsuke-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/users_kohsuke-1.json new file mode 100644 index 0000000000..5a12c93b57 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/users_kohsuke-1.json @@ -0,0 +1,47 @@ +{ + "id": "a0a70820-a397-46f7-b3a5-72586e5c73b0", + "name": "users_kohsuke", + "request": { + "url": "/users/kohsuke", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "users_kohsuke-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Sat, 09 Apr 2022 12:14: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/\"6feec589e2e6b6718e1831548a9ce491c3a1cdb88805e0aaec0151a4f0acf7c2\"", + "Last-Modified": "Fri, 18 Mar 2022 23:13: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": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4999", + "X-RateLimit-Reset": "1649510049", + "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": "BF08:5C30:19C61F4:1A34CA7:62517891" + } + }, + "uuid": "a0a70820-a397-46f7-b3a5-72586e5c73b0", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/users_kohsuke-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/users_kohsuke-2.json deleted file mode 100644 index 796825ef19..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testCreateCommitComment/mappings/users_kohsuke-2.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "0ec2d632-17fe-4b84-8a5d-4b578a932947", - "name": "users_kohsuke", - "request": { - "url": "/users/kohsuke", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "users_kohsuke-2.json", - "headers": { - "Server": "GitHub.com", - "Date": "Mon, 28 Jun 2021 22:41:29 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/\"cc988db5ea82cebc955dddd429f9cf90feeff693334b875a6f426bb39327eb9b\"", - "Last-Modified": "Tue, 25 May 2021 16:25:59 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": "4938", - "X-RateLimit-Reset": "1624920219", - "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": "FF96:1BCE:18399A6:19D4BF7:60DA5019" - } - }, - "uuid": "0ec2d632-17fe-4b84-8a5d-4b578a932947", - "persistent": true, - "insertionIndex": 2 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testFetchingTeamFromGitHubInstanceThrowsException/__files/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testFetchingTeamFromGitHubInstanceThrowsException/__files/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..162ceb1c73 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testFetchingTeamFromGitHubInstanceThrowsException/__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/AppTest/wiremock/testFetchingTeamFromGitHubInstanceThrowsException/__files/orgs_hub4j-test-org_teams-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testFetchingTeamFromGitHubInstanceThrowsException/__files/orgs_hub4j-test-org_teams-2.json new file mode 100644 index 0000000000..45d36ec88e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testFetchingTeamFromGitHubInstanceThrowsException/__files/orgs_hub4j-test-org_teams-2.json @@ -0,0 +1,112 @@ +[ + { + "name": "child-team-for-dummy", + "id": 3903497, + "node_id": "MDQ6VGVhbTM5MDM0OTc=", + "slug": "child-team-for-dummy", + "description": "to test the fetching of child teams", + "privacy": "closed", + "url": "https://api.github.com/organizations/7544739/team/3903497", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/child-team-for-dummy", + "members_url": "https://api.github.com/organizations/7544739/team/3903497/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/3903497/repos", + "permission": "pull", + "parent": { + "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" + } + }, + { + "name": "Contributors", + "id": 4882699, + "node_id": "MDQ6VGVhbTQ4ODI2OTk=", + "slug": "contributors", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/7544739/team/4882699", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/contributors", + "members_url": "https://api.github.com/organizations/7544739/team/4882699/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/4882699/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Core Developers", + "id": 820406, + "node_id": "MDQ6VGVhbTgyMDQwNg==", + "slug": "core-developers", + "description": "A random team", + "privacy": "secret", + "url": "https://api.github.com/organizations/7544739/team/820406", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/core-developers", + "members_url": "https://api.github.com/organizations/7544739/team/820406/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/820406/repos", + "permission": "pull", + "parent": null + }, + { + "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 + }, + { + "name": "Owners-team", + "id": 820404, + "node_id": "MDQ6VGVhbTgyMDQwNA==", + "slug": "owners-team", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/7544739/team/820404", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/owners-team", + "members_url": "https://api.github.com/organizations/7544739/team/820404/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/820404/repos", + "permission": "pull", + "parent": null + }, + { + "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 + }, + { + "name": "tricky-team", + "id": 3454508, + "node_id": "MDQ6VGVhbTM0NTQ1MDg=", + "slug": "tricky-team", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/7544739/team/3454508", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/tricky-team", + "members_url": "https://api.github.com/organizations/7544739/team/3454508/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/3454508/repos", + "permission": "pull", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testFetchingTeamFromGitHubInstanceThrowsException/mappings/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testFetchingTeamFromGitHubInstanceThrowsException/mappings/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..ef0cc6275d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testFetchingTeamFromGitHubInstanceThrowsException/mappings/orgs_hub4j-test-org-1.json @@ -0,0 +1,47 @@ +{ + "id": "3c0fb9cd-6289-4f5c-baea-1bd6980a9d15", + "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 19:26:44 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": "4998", + "X-RateLimit-Reset": "1646424320", + "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": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B678:265F:2A24E9B:2AE23A8:622267F3" + } + }, + "uuid": "3c0fb9cd-6289-4f5c-baea-1bd6980a9d15", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testFetchingTeamFromGitHubInstanceThrowsException/mappings/orgs_hub4j-test-org_teams-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testFetchingTeamFromGitHubInstanceThrowsException/mappings/orgs_hub4j-test-org_teams-2.json new file mode 100644 index 0000000000..4a59d88b09 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testFetchingTeamFromGitHubInstanceThrowsException/mappings/orgs_hub4j-test-org_teams-2.json @@ -0,0 +1,46 @@ +{ + "id": "ea1f3852-66f4-4238-b721-34f584b153dd", + "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-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 19:26:44 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/\"1964a2ad48a21e85f64539404f5b8da870c58d1e9f3f8cf1b2dd8b6969b2c909\"", + "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": "1646424320", + "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": "B67A:2658:7E2214:85CE23:622267F4" + } + }, + "uuid": "ea1f3852-66f4-4238-b721-34f584b153dd", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test-1.json new file mode 100644 index 0000000000..965f35f532 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test-1.json @@ -0,0 +1,108 @@ +{ + "id": 3995528, + "node_id": "MDEwOlJlcG9zaXRvcnkzOTk1NTI4", + "name": "test", + "full_name": "kohsuke/test", + "private": false, + "owner": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/kohsuke/test", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/kohsuke/test", + "forks_url": "https://api.github.com/repos/kohsuke/test/forks", + "keys_url": "https://api.github.com/repos/kohsuke/test/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/kohsuke/test/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/kohsuke/test/teams", + "hooks_url": "https://api.github.com/repos/kohsuke/test/hooks", + "issue_events_url": "https://api.github.com/repos/kohsuke/test/issues/events{/number}", + "events_url": "https://api.github.com/repos/kohsuke/test/events", + "assignees_url": "https://api.github.com/repos/kohsuke/test/assignees{/user}", + "branches_url": "https://api.github.com/repos/kohsuke/test/branches{/branch}", + "tags_url": "https://api.github.com/repos/kohsuke/test/tags", + "blobs_url": "https://api.github.com/repos/kohsuke/test/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/kohsuke/test/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/kohsuke/test/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/kohsuke/test/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/kohsuke/test/statuses/{sha}", + "languages_url": "https://api.github.com/repos/kohsuke/test/languages", + "stargazers_url": "https://api.github.com/repos/kohsuke/test/stargazers", + "contributors_url": "https://api.github.com/repos/kohsuke/test/contributors", + "subscribers_url": "https://api.github.com/repos/kohsuke/test/subscribers", + "subscription_url": "https://api.github.com/repos/kohsuke/test/subscription", + "commits_url": "https://api.github.com/repos/kohsuke/test/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/kohsuke/test/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/kohsuke/test/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/kohsuke/test/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/kohsuke/test/contents/{+path}", + "compare_url": "https://api.github.com/repos/kohsuke/test/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/kohsuke/test/merges", + "archive_url": "https://api.github.com/repos/kohsuke/test/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/kohsuke/test/downloads", + "issues_url": "https://api.github.com/repos/kohsuke/test/issues{/number}", + "pulls_url": "https://api.github.com/repos/kohsuke/test/pulls{/number}", + "milestones_url": "https://api.github.com/repos/kohsuke/test/milestones{/number}", + "notifications_url": "https://api.github.com/repos/kohsuke/test/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/kohsuke/test/labels{/name}", + "releases_url": "https://api.github.com/repos/kohsuke/test/releases{/id}", + "deployments_url": "https://api.github.com/repos/kohsuke/test/deployments", + "created_at": "2012-04-11T16:23:11Z", + "updated_at": "2019-08-13T15:00:41Z", + "pushed_at": "2012-09-06T00:42:44Z", + "git_url": "git://github.com/kohsuke/test.git", + "ssh_url": "git@github.com:kohsuke/test.git", + "clone_url": "https://github.com/kohsuke/test.git", + "svn_url": "https://github.com/kohsuke/test", + "homepage": "", + "size": 128, + "stargazers_count": 2, + "watchers_count": 2, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 2, + "default_branch": "bar", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "temp_clone_token": "", + "network_count": 0, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test-2.json deleted file mode 100644 index ac1befd722..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test-2.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "id": 3995528, - "node_id": "MDEwOlJlcG9zaXRvcnkzOTk1NTI4", - "name": "test", - "full_name": "kohsuke/test", - "private": false, - "owner": { - "login": "kohsuke", - "id": 50003, - "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke", - "html_url": "https://github.com/kohsuke", - "followers_url": "https://api.github.com/users/kohsuke/followers", - "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke/orgs", - "repos_url": "https://api.github.com/users/kohsuke/repos", - "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/kohsuke/test", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/kohsuke/test", - "forks_url": "https://api.github.com/repos/kohsuke/test/forks", - "keys_url": "https://api.github.com/repos/kohsuke/test/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/kohsuke/test/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/kohsuke/test/teams", - "hooks_url": "https://api.github.com/repos/kohsuke/test/hooks", - "issue_events_url": "https://api.github.com/repos/kohsuke/test/issues/events{/number}", - "events_url": "https://api.github.com/repos/kohsuke/test/events", - "assignees_url": "https://api.github.com/repos/kohsuke/test/assignees{/user}", - "branches_url": "https://api.github.com/repos/kohsuke/test/branches{/branch}", - "tags_url": "https://api.github.com/repos/kohsuke/test/tags", - "blobs_url": "https://api.github.com/repos/kohsuke/test/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/kohsuke/test/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/kohsuke/test/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/kohsuke/test/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/kohsuke/test/statuses/{sha}", - "languages_url": "https://api.github.com/repos/kohsuke/test/languages", - "stargazers_url": "https://api.github.com/repos/kohsuke/test/stargazers", - "contributors_url": "https://api.github.com/repos/kohsuke/test/contributors", - "subscribers_url": "https://api.github.com/repos/kohsuke/test/subscribers", - "subscription_url": "https://api.github.com/repos/kohsuke/test/subscription", - "commits_url": "https://api.github.com/repos/kohsuke/test/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/kohsuke/test/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/kohsuke/test/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/kohsuke/test/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/kohsuke/test/contents/{+path}", - "compare_url": "https://api.github.com/repos/kohsuke/test/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/kohsuke/test/merges", - "archive_url": "https://api.github.com/repos/kohsuke/test/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/kohsuke/test/downloads", - "issues_url": "https://api.github.com/repos/kohsuke/test/issues{/number}", - "pulls_url": "https://api.github.com/repos/kohsuke/test/pulls{/number}", - "milestones_url": "https://api.github.com/repos/kohsuke/test/milestones{/number}", - "notifications_url": "https://api.github.com/repos/kohsuke/test/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/kohsuke/test/labels{/name}", - "releases_url": "https://api.github.com/repos/kohsuke/test/releases{/id}", - "deployments_url": "https://api.github.com/repos/kohsuke/test/deployments", - "created_at": "2012-04-11T16:23:11Z", - "updated_at": "2019-08-13T15:00:41Z", - "pushed_at": "2012-09-06T00:42:44Z", - "git_url": "git://github.com/kohsuke/test.git", - "ssh_url": "git@github.com:kohsuke/test.git", - "clone_url": "https://github.com/kohsuke/test.git", - "svn_url": "https://github.com/kohsuke/test", - "homepage": "", - "size": 128, - "stargazers_count": 2, - "watchers_count": 2, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 2, - "default_branch": "bar", - "permissions": { - "admin": false, - "maintain": false, - "push": false, - "triage": false, - "pull": true - }, - "temp_clone_token": "", - "network_count": 0, - "subscribers_count": 0 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3-2.json new file mode 100644 index 0000000000..b7c9f47856 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3-2.json @@ -0,0 +1,119 @@ +{ + "url": "https://api.github.com/repos/kohsuke/test/issues/3", + "repository_url": "https://api.github.com/repos/kohsuke/test", + "labels_url": "https://api.github.com/repos/kohsuke/test/issues/3/labels{/name}", + "comments_url": "https://api.github.com/repos/kohsuke/test/issues/3/comments", + "events_url": "https://api.github.com/repos/kohsuke/test/issues/3/events", + "html_url": "https://github.com/kohsuke/test/issues/3", + "id": 6863845, + "node_id": "MDU6SXNzdWU2ODYzODQ1", + "number": 3, + "title": "testing", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "closed", + "locked": false, + "assignee": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": null, + "comments": 3, + "created_at": "2012-09-13T22:59:40Z", + "updated_at": "2012-09-13T23:27:38Z", + "closed_at": "2012-09-13T22:59:41Z", + "author_association": "OWNER", + "active_lock_reason": null, + "body": "this is body\n", + "closed_by": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "reactions": { + "url": "https://api.github.com/repos/kohsuke/test/issues/3/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/kohsuke/test/issues/3/timeline", + "performed_via_github_app": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3-3.json deleted file mode 100644 index 8ecf715014..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3-3.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "url": "https://api.github.com/repos/kohsuke/test/issues/3", - "repository_url": "https://api.github.com/repos/kohsuke/test", - "labels_url": "https://api.github.com/repos/kohsuke/test/issues/3/labels{/name}", - "comments_url": "https://api.github.com/repos/kohsuke/test/issues/3/comments", - "events_url": "https://api.github.com/repos/kohsuke/test/issues/3/events", - "html_url": "https://github.com/kohsuke/test/issues/3", - "id": 6863845, - "node_id": "MDU6SXNzdWU2ODYzODQ1", - "number": 3, - "title": "testing", - "user": { - "login": "kohsuke", - "id": 50003, - "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke", - "html_url": "https://github.com/kohsuke", - "followers_url": "https://api.github.com/users/kohsuke/followers", - "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke/orgs", - "repos_url": "https://api.github.com/users/kohsuke/repos", - "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke/received_events", - "type": "User", - "site_admin": false - }, - "labels": [], - "state": "closed", - "locked": false, - "assignee": { - "login": "kohsuke", - "id": 50003, - "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke", - "html_url": "https://github.com/kohsuke", - "followers_url": "https://api.github.com/users/kohsuke/followers", - "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke/orgs", - "repos_url": "https://api.github.com/users/kohsuke/repos", - "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "kohsuke", - "id": 50003, - "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke", - "html_url": "https://github.com/kohsuke", - "followers_url": "https://api.github.com/users/kohsuke/followers", - "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke/orgs", - "repos_url": "https://api.github.com/users/kohsuke/repos", - "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": null, - "comments": 3, - "created_at": "2012-09-13T22:59:40Z", - "updated_at": "2012-09-13T23:27:38Z", - "closed_at": "2012-09-13T22:59:41Z", - "author_association": "OWNER", - "active_lock_reason": null, - "body": "this is body\n", - "closed_by": { - "login": "kohsuke", - "id": 50003, - "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke", - "html_url": "https://github.com/kohsuke", - "followers_url": "https://api.github.com/users/kohsuke/followers", - "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke/orgs", - "repos_url": "https://api.github.com/users/kohsuke/repos", - "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke/received_events", - "type": "User", - "site_admin": false - }, - "performed_via_github_app": null -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3_comments-11.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3_comments-11.json new file mode 100644 index 0000000000..6ffad7d11f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3_comments-11.json @@ -0,0 +1,134 @@ +[ + { + "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547249", + "html_url": "https://github.com/kohsuke/test/issues/3#issuecomment-8547249", + "issue_url": "https://api.github.com/repos/kohsuke/test/issues/3", + "id": 8547249, + "node_id": "MDEyOklzc3VlQ29tbWVudDg1NDcyNDk=", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2012-09-13T23:27:33Z", + "updated_at": "2012-09-13T23:27:33Z", + "author_association": "OWNER", + "body": "aaa\n", + "reactions": { + "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547249/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547251", + "html_url": "https://github.com/kohsuke/test/issues/3#issuecomment-8547251", + "issue_url": "https://api.github.com/repos/kohsuke/test/issues/3", + "id": 8547251, + "node_id": "MDEyOklzc3VlQ29tbWVudDg1NDcyNTE=", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2012-09-13T23:27:35Z", + "updated_at": "2012-09-13T23:27:35Z", + "author_association": "OWNER", + "body": "bbb\n", + "reactions": { + "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547251/reactions", + "total_count": 3, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 1, + "confused": 0, + "heart": 0, + "rocket": 1, + "eyes": 1 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547253", + "html_url": "https://github.com/kohsuke/test/issues/3#issuecomment-8547253", + "issue_url": "https://api.github.com/repos/kohsuke/test/issues/3", + "id": 8547253, + "node_id": "MDEyOklzc3VlQ29tbWVudDg1NDcyNTM=", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2012-09-13T23:27:38Z", + "updated_at": "2012-09-13T23:27:38Z", + "author_association": "OWNER", + "body": "ccc\n", + "reactions": { + "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547253/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3_comments-12.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3_comments-12.json deleted file mode 100644 index 16a7ac27aa..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3_comments-12.json +++ /dev/null @@ -1,98 +0,0 @@ -[ - { - "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547249", - "html_url": "https://github.com/kohsuke/test/issues/3#issuecomment-8547249", - "issue_url": "https://api.github.com/repos/kohsuke/test/issues/3", - "id": 8547249, - "node_id": "MDEyOklzc3VlQ29tbWVudDg1NDcyNDk=", - "user": { - "login": "kohsuke", - "id": 50003, - "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke", - "html_url": "https://github.com/kohsuke", - "followers_url": "https://api.github.com/users/kohsuke/followers", - "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke/orgs", - "repos_url": "https://api.github.com/users/kohsuke/repos", - "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2012-09-13T23:27:33Z", - "updated_at": "2012-09-13T23:27:33Z", - "author_association": "OWNER", - "body": "aaa\n", - "performed_via_github_app": null - }, - { - "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547251", - "html_url": "https://github.com/kohsuke/test/issues/3#issuecomment-8547251", - "issue_url": "https://api.github.com/repos/kohsuke/test/issues/3", - "id": 8547251, - "node_id": "MDEyOklzc3VlQ29tbWVudDg1NDcyNTE=", - "user": { - "login": "kohsuke", - "id": 50003, - "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke", - "html_url": "https://github.com/kohsuke", - "followers_url": "https://api.github.com/users/kohsuke/followers", - "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke/orgs", - "repos_url": "https://api.github.com/users/kohsuke/repos", - "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2012-09-13T23:27:35Z", - "updated_at": "2012-09-13T23:27:35Z", - "author_association": "OWNER", - "body": "bbb\n", - "performed_via_github_app": null - }, - { - "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547253", - "html_url": "https://github.com/kohsuke/test/issues/3#issuecomment-8547253", - "issue_url": "https://api.github.com/repos/kohsuke/test/issues/3", - "id": 8547253, - "node_id": "MDEyOklzc3VlQ29tbWVudDg1NDcyNTM=", - "user": { - "login": "kohsuke", - "id": 50003, - "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke", - "html_url": "https://github.com/kohsuke", - "followers_url": "https://api.github.com/users/kohsuke/followers", - "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke/orgs", - "repos_url": "https://api.github.com/users/kohsuke/repos", - "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2012-09-13T23:27:38Z", - "updated_at": "2012-09-13T23:27:38Z", - "author_association": "OWNER", - "body": "ccc\n", - "performed_via_github_app": null - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3_comments-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3_comments-3.json new file mode 100644 index 0000000000..6ffad7d11f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3_comments-3.json @@ -0,0 +1,134 @@ +[ + { + "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547249", + "html_url": "https://github.com/kohsuke/test/issues/3#issuecomment-8547249", + "issue_url": "https://api.github.com/repos/kohsuke/test/issues/3", + "id": 8547249, + "node_id": "MDEyOklzc3VlQ29tbWVudDg1NDcyNDk=", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2012-09-13T23:27:33Z", + "updated_at": "2012-09-13T23:27:33Z", + "author_association": "OWNER", + "body": "aaa\n", + "reactions": { + "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547249/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547251", + "html_url": "https://github.com/kohsuke/test/issues/3#issuecomment-8547251", + "issue_url": "https://api.github.com/repos/kohsuke/test/issues/3", + "id": 8547251, + "node_id": "MDEyOklzc3VlQ29tbWVudDg1NDcyNTE=", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2012-09-13T23:27:35Z", + "updated_at": "2012-09-13T23:27:35Z", + "author_association": "OWNER", + "body": "bbb\n", + "reactions": { + "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547251/reactions", + "total_count": 3, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 1, + "confused": 0, + "heart": 0, + "rocket": 1, + "eyes": 1 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547253", + "html_url": "https://github.com/kohsuke/test/issues/3#issuecomment-8547253", + "issue_url": "https://api.github.com/repos/kohsuke/test/issues/3", + "id": 8547253, + "node_id": "MDEyOklzc3VlQ29tbWVudDg1NDcyNTM=", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2012-09-13T23:27:38Z", + "updated_at": "2012-09-13T23:27:38Z", + "author_association": "OWNER", + "body": "ccc\n", + "reactions": { + "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547253/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3_comments-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3_comments-4.json deleted file mode 100644 index 16a7ac27aa..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3_comments-4.json +++ /dev/null @@ -1,98 +0,0 @@ -[ - { - "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547249", - "html_url": "https://github.com/kohsuke/test/issues/3#issuecomment-8547249", - "issue_url": "https://api.github.com/repos/kohsuke/test/issues/3", - "id": 8547249, - "node_id": "MDEyOklzc3VlQ29tbWVudDg1NDcyNDk=", - "user": { - "login": "kohsuke", - "id": 50003, - "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke", - "html_url": "https://github.com/kohsuke", - "followers_url": "https://api.github.com/users/kohsuke/followers", - "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke/orgs", - "repos_url": "https://api.github.com/users/kohsuke/repos", - "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2012-09-13T23:27:33Z", - "updated_at": "2012-09-13T23:27:33Z", - "author_association": "OWNER", - "body": "aaa\n", - "performed_via_github_app": null - }, - { - "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547251", - "html_url": "https://github.com/kohsuke/test/issues/3#issuecomment-8547251", - "issue_url": "https://api.github.com/repos/kohsuke/test/issues/3", - "id": 8547251, - "node_id": "MDEyOklzc3VlQ29tbWVudDg1NDcyNTE=", - "user": { - "login": "kohsuke", - "id": 50003, - "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke", - "html_url": "https://github.com/kohsuke", - "followers_url": "https://api.github.com/users/kohsuke/followers", - "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke/orgs", - "repos_url": "https://api.github.com/users/kohsuke/repos", - "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2012-09-13T23:27:35Z", - "updated_at": "2012-09-13T23:27:35Z", - "author_association": "OWNER", - "body": "bbb\n", - "performed_via_github_app": null - }, - { - "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547253", - "html_url": "https://github.com/kohsuke/test/issues/3#issuecomment-8547253", - "issue_url": "https://api.github.com/repos/kohsuke/test/issues/3", - "id": 8547253, - "node_id": "MDEyOklzc3VlQ29tbWVudDg1NDcyNTM=", - "user": { - "login": "kohsuke", - "id": 50003, - "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke", - "html_url": "https://github.com/kohsuke", - "followers_url": "https://api.github.com/users/kohsuke/followers", - "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke/orgs", - "repos_url": "https://api.github.com/users/kohsuke/repos", - "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2012-09-13T23:27:38Z", - "updated_at": "2012-09-13T23:27:38Z", - "author_association": "OWNER", - "body": "ccc\n", - "performed_via_github_app": null - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3_comments-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3_comments-8.json new file mode 100644 index 0000000000..a0b71d2d6b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3_comments-8.json @@ -0,0 +1,134 @@ +[ + { + "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547249", + "html_url": "https://github.com/kohsuke/test/issues/3#issuecomment-8547249", + "issue_url": "https://api.github.com/repos/kohsuke/test/issues/3", + "id": 8547249, + "node_id": "MDEyOklzc3VlQ29tbWVudDg1NDcyNDk=", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2012-09-13T23:27:33Z", + "updated_at": "2012-09-13T23:27:33Z", + "author_association": "OWNER", + "body": "aaa\n", + "reactions": { + "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547249/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547251", + "html_url": "https://github.com/kohsuke/test/issues/3#issuecomment-8547251", + "issue_url": "https://api.github.com/repos/kohsuke/test/issues/3", + "id": 8547251, + "node_id": "MDEyOklzc3VlQ29tbWVudDg1NDcyNTE=", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2012-09-13T23:27:35Z", + "updated_at": "2012-09-13T23:27:35Z", + "author_association": "OWNER", + "body": "bbb\n", + "reactions": { + "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547251/reactions", + "total_count": 4, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 1, + "confused": 1, + "heart": 0, + "rocket": 1, + "eyes": 1 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547253", + "html_url": "https://github.com/kohsuke/test/issues/3#issuecomment-8547253", + "issue_url": "https://api.github.com/repos/kohsuke/test/issues/3", + "id": 8547253, + "node_id": "MDEyOklzc3VlQ29tbWVudDg1NDcyNTM=", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2012-09-13T23:27:38Z", + "updated_at": "2012-09-13T23:27:38Z", + "author_association": "OWNER", + "body": "ccc\n", + "reactions": { + "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547253/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3_comments-9.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3_comments-9.json deleted file mode 100644 index 16a7ac27aa..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_3_comments-9.json +++ /dev/null @@ -1,98 +0,0 @@ -[ - { - "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547249", - "html_url": "https://github.com/kohsuke/test/issues/3#issuecomment-8547249", - "issue_url": "https://api.github.com/repos/kohsuke/test/issues/3", - "id": 8547249, - "node_id": "MDEyOklzc3VlQ29tbWVudDg1NDcyNDk=", - "user": { - "login": "kohsuke", - "id": 50003, - "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke", - "html_url": "https://github.com/kohsuke", - "followers_url": "https://api.github.com/users/kohsuke/followers", - "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke/orgs", - "repos_url": "https://api.github.com/users/kohsuke/repos", - "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2012-09-13T23:27:33Z", - "updated_at": "2012-09-13T23:27:33Z", - "author_association": "OWNER", - "body": "aaa\n", - "performed_via_github_app": null - }, - { - "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547251", - "html_url": "https://github.com/kohsuke/test/issues/3#issuecomment-8547251", - "issue_url": "https://api.github.com/repos/kohsuke/test/issues/3", - "id": 8547251, - "node_id": "MDEyOklzc3VlQ29tbWVudDg1NDcyNTE=", - "user": { - "login": "kohsuke", - "id": 50003, - "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke", - "html_url": "https://github.com/kohsuke", - "followers_url": "https://api.github.com/users/kohsuke/followers", - "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke/orgs", - "repos_url": "https://api.github.com/users/kohsuke/repos", - "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2012-09-13T23:27:35Z", - "updated_at": "2012-09-13T23:27:35Z", - "author_association": "OWNER", - "body": "bbb\n", - "performed_via_github_app": null - }, - { - "url": "https://api.github.com/repos/kohsuke/test/issues/comments/8547253", - "html_url": "https://github.com/kohsuke/test/issues/3#issuecomment-8547253", - "issue_url": "https://api.github.com/repos/kohsuke/test/issues/3", - "id": 8547253, - "node_id": "MDEyOklzc3VlQ29tbWVudDg1NDcyNTM=", - "user": { - "login": "kohsuke", - "id": 50003, - "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke", - "html_url": "https://github.com/kohsuke", - "followers_url": "https://api.github.com/users/kohsuke/followers", - "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke/orgs", - "repos_url": "https://api.github.com/users/kohsuke/repos", - "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2012-09-13T23:27:38Z", - "updated_at": "2012-09-13T23:27:38Z", - "author_association": "OWNER", - "body": "ccc\n", - "performed_via_github_app": null - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_comments_8547251_reactions-10.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_comments_8547251_reactions-10.json deleted file mode 100644 index d6c895458e..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_comments_8547251_reactions-10.json +++ /dev/null @@ -1,106 +0,0 @@ -[ - { - "id": 97925670, - "node_id": "MDg6UmVhY3Rpb245NzkyNTY3MA==", - "user": { - "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 - }, - "content": "hooray", - "created_at": "2021-01-22T16:19:36Z" - }, - { - "id": 97925686, - "node_id": "MDg6UmVhY3Rpb245NzkyNTY4Ng==", - "user": { - "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 - }, - "content": "rocket", - "created_at": "2021-01-22T16:19:41Z" - }, - { - "id": 97925699, - "node_id": "MDg6UmVhY3Rpb245NzkyNTY5OQ==", - "user": { - "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 - }, - "content": "eyes", - "created_at": "2021-01-22T16:19:49Z" - }, - { - "id": 127850403, - "node_id": "MDg6UmVhY3Rpb24xMjc4NTA0MDM=", - "user": { - "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 - }, - "content": "confused", - "created_at": "2021-09-11T07:03:05Z" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_comments_8547251_reactions-13.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_comments_8547251_reactions-12.json similarity index 100% rename from src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_comments_8547251_reactions-13.json rename to src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_comments_8547251_reactions-12.json diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_comments_8547251_reactions-6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_comments_8547251_reactions-6.json new file mode 100644 index 0000000000..d456451d6e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_comments_8547251_reactions-6.json @@ -0,0 +1,80 @@ +[ + { + "id": 97925670, + "node_id": "MDg6UmVhY3Rpb245NzkyNTY3MA==", + "user": { + "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 + }, + "content": "hooray", + "created_at": "2021-01-22T16:19:36Z" + }, + { + "id": 97925686, + "node_id": "MDg6UmVhY3Rpb245NzkyNTY4Ng==", + "user": { + "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 + }, + "content": "rocket", + "created_at": "2021-01-22T16:19:41Z" + }, + { + "id": 97925699, + "node_id": "MDg6UmVhY3Rpb245NzkyNTY5OQ==", + "user": { + "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 + }, + "content": "eyes", + "created_at": "2021-01-22T16:19:49Z" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_comments_8547251_reactions-7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_comments_8547251_reactions-7.json index d456451d6e..1b0d37cc8d 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_comments_8547251_reactions-7.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_comments_8547251_reactions-7.json @@ -1,80 +1,26 @@ -[ - { - "id": 97925670, - "node_id": "MDg6UmVhY3Rpb245NzkyNTY3MA==", - "user": { - "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 - }, - "content": "hooray", - "created_at": "2021-01-22T16:19:36Z" +{ + "id": 158437374, + "node_id": "REA_lALOADz3iM4Agmuzzglxj_4", + "user": { + "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 }, - { - "id": 97925686, - "node_id": "MDg6UmVhY3Rpb245NzkyNTY4Ng==", - "user": { - "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 - }, - "content": "rocket", - "created_at": "2021-01-22T16:19:41Z" - }, - { - "id": 97925699, - "node_id": "MDg6UmVhY3Rpb245NzkyNTY5OQ==", - "user": { - "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 - }, - "content": "eyes", - "created_at": "2021-01-22T16:19:49Z" - } -] \ No newline at end of file + "content": "confused", + "created_at": "2022-04-08T17:53:03Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_comments_8547251_reactions-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_comments_8547251_reactions-8.json deleted file mode 100644 index a6c0386d8c..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_comments_8547251_reactions-8.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "id": 127850403, - "node_id": "MDg6UmVhY3Rpb24xMjc4NTA0MDM=", - "user": { - "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 - }, - "content": "confused", - "created_at": "2021-09-11T07:03:05Z" -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_comments_8547251_reactions-9.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_comments_8547251_reactions-9.json new file mode 100644 index 0000000000..405a0f9a38 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/repos_kohsuke_test_issues_comments_8547251_reactions-9.json @@ -0,0 +1,106 @@ +[ + { + "id": 97925670, + "node_id": "MDg6UmVhY3Rpb245NzkyNTY3MA==", + "user": { + "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 + }, + "content": "hooray", + "created_at": "2021-01-22T16:19:36Z" + }, + { + "id": 97925686, + "node_id": "MDg6UmVhY3Rpb245NzkyNTY4Ng==", + "user": { + "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 + }, + "content": "rocket", + "created_at": "2021-01-22T16:19:41Z" + }, + { + "id": 97925699, + "node_id": "MDg6UmVhY3Rpb245NzkyNTY5OQ==", + "user": { + "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 + }, + "content": "eyes", + "created_at": "2021-01-22T16:19:49Z" + }, + { + "id": 158437374, + "node_id": "REA_lALOADz3iM4Agmuzzglxj_4", + "user": { + "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 + }, + "content": "confused", + "created_at": "2022-04-08T17:53:03Z" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/user-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/user-1.json deleted file mode 100644 index 6121fcdbac..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__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-10T14:35:52Z", - "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/AppTest/wiremock/testIssueWithComment/__files/users_kohsuke-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/users_kohsuke-4.json new file mode 100644 index 0000000000..05071d4716 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/users_kohsuke-4.json @@ -0,0 +1,34 @@ +{ + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false, + "name": "Kohsuke Kawaguchi", + "company": "@launchableinc ", + "blog": "https://www.kohsuke.org/", + "location": "San Jose, California", + "email": "kk@kohsuke.org", + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 265, + "public_gists": 113, + "followers": 1997, + "following": 3, + "created_at": "2009-01-28T18:53:21Z", + "updated_at": "2022-03-18T23:13:10Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/users_kohsuke-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/users_kohsuke-5.json deleted file mode 100644 index c7a0e5e125..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/__files/users_kohsuke-5.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "login": "kohsuke", - "id": 50003, - "node_id": "MDQ6VXNlcjUwMDAz", - "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/kohsuke", - "html_url": "https://github.com/kohsuke", - "followers_url": "https://api.github.com/users/kohsuke/followers", - "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", - "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", - "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", - "organizations_url": "https://api.github.com/users/kohsuke/orgs", - "repos_url": "https://api.github.com/users/kohsuke/repos", - "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", - "received_events_url": "https://api.github.com/users/kohsuke/received_events", - "type": "User", - "site_admin": false, - "name": "Kohsuke Kawaguchi", - "company": "@launchableinc ", - "blog": "https://www.kohsuke.org/", - "location": "San Jose, California", - "email": "kk@kohsuke.org", - "hireable": null, - "bio": null, - "twitter_username": null, - "public_repos": 265, - "public_gists": 113, - "followers": 1944, - "following": 3, - "created_at": "2009-01-28T18:53:21Z", - "updated_at": "2021-08-30T20:04:20Z" -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/reactions_127850403-11.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/reactions_127850403-11.json deleted file mode 100644 index 14bf1b8da7..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/reactions_127850403-11.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "id": "d2041463-f07f-41c7-95bd-ba446144a47a", - "name": "reactions_127850403", - "request": { - "url": "/reactions/127850403", - "method": "DELETE", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.squirrel-girl-preview+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Server": "GitHub.com", - "Date": "Sat, 11 Sep 2021 07:03:05 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": "github.squirrel-girl-preview; format=json", - "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": "4925", - "X-RateLimit-Reset": "1631346154", - "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'", - "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "D376:86EB:328A2B:370E2C:613C54A9", - "Link": "; rel=\"deprecation\"; type=\"text/html\", ; rel=\"alternate\"" - } - }, - "uuid": "d2041463-f07f-41c7-95bd-ba446144a47a", - "persistent": true, - "insertionIndex": 11 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test-1.json new file mode 100644 index 0000000000..d6edba4a26 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test-1.json @@ -0,0 +1,47 @@ +{ + "id": "e3b0a1b2-9abf-4ea4-a807-c833348a6507", + "name": "repos_kohsuke_test", + "request": { + "url": "/repos/kohsuke/test", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_kohsuke_test-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 08 Apr 2022 17:53: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/\"81b45c81616d1f193ff1c8b9cb91b503b2e0a67d33bb6a0f1314221ab1c7e033\"", + "Last-Modified": "Tue, 13 Aug 2019 15:00:41 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": "4925", + "X-RateLimit-Reset": "1649442146", + "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": "BEAA:5C29:3417A:3888F:6250767D" + } + }, + "uuid": "e3b0a1b2-9abf-4ea4-a807-c833348a6507", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test-2.json deleted file mode 100644 index d6d1673f51..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test-2.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "8a9c56a3-e5be-41af-a45b-879587c13fbd", - "name": "repos_kohsuke_test", - "request": { - "url": "/repos/kohsuke/test", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_kohsuke_test-2.json", - "headers": { - "Server": "GitHub.com", - "Date": "Sat, 11 Sep 2021 07:03: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/\"49366a29bce4d033702a1b74aafd3dd7b5ee751eb10966d777e141ff1ea3e74b\"", - "Last-Modified": "Tue, 13 Aug 2019 15:00:41 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": "repo", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4934", - "X-RateLimit-Reset": "1631346154", - "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": "D364:45DE:710ECE:76B818:613C54A8" - } - }, - "uuid": "8a9c56a3-e5be-41af-a45b-879587c13fbd", - "persistent": true, - "insertionIndex": 2 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3-2.json new file mode 100644 index 0000000000..ee6765b64c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3-2.json @@ -0,0 +1,47 @@ +{ + "id": "d012c073-c1ba-47d1-b1e9-6c0e10bd505a", + "name": "repos_kohsuke_test_issues_3", + "request": { + "url": "/repos/kohsuke/test/issues/3", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_kohsuke_test_issues_3-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 08 Apr 2022 17:53: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/\"becc2c7e788b86d49af2f0777feda060acca27f873aa3e77acb0d943074ff86c\"", + "Last-Modified": "Fri, 18 Mar 2022 23:13: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": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4924", + "X-RateLimit-Reset": "1649442146", + "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": "BEAE:39AA:D1E5F:D7A22:6250767E" + } + }, + "uuid": "d012c073-c1ba-47d1-b1e9-6c0e10bd505a", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3-3.json deleted file mode 100644 index 4cefc8b75c..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3-3.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "2bb8e26e-7bc8-458f-a24f-2d3a7b20426b", - "name": "repos_kohsuke_test_issues_3", - "request": { - "url": "/repos/kohsuke/test/issues/3", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_kohsuke_test_issues_3-3.json", - "headers": { - "Server": "GitHub.com", - "Date": "Sat, 11 Sep 2021 07:03: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/\"c42accd2e8dc3da9b48bc1a6f7775c25e44d018ad345ca862f99d2f03a45130e\"", - "Last-Modified": "Mon, 30 Aug 2021 20:04:20 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": "repo", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4933", - "X-RateLimit-Reset": "1631346154", - "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": "D366:32F4:46ABB2:4BABFC:613C54A8" - } - }, - "uuid": "2bb8e26e-7bc8-458f-a24f-2d3a7b20426b", - "persistent": true, - "insertionIndex": 3 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3_comments-11.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3_comments-11.json new file mode 100644 index 0000000000..d14ad7e2bb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3_comments-11.json @@ -0,0 +1,48 @@ +{ + "id": "4e3d9d5f-755f-4120-9c91-1b40d5109ea2", + "name": "repos_kohsuke_test_issues_3_comments", + "request": { + "url": "/repos/kohsuke/test/issues/3/comments", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_kohsuke_test_issues_3_comments-11.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 08 Apr 2022 17:53: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/\"cd1eb7ae1069345781790f680e452c170adad04aa3acdcb59ce9dfb1d07feb08\"", + "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": "4915", + "X-RateLimit-Reset": "1649442146", + "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": "BEC2:5C2F:E420D:E9E9F:62507680" + } + }, + "uuid": "4e3d9d5f-755f-4120-9c91-1b40d5109ea2", + "persistent": true, + "scenarioName": "scenario-1-repos-kohsuke-test-issues-3-comments", + "requiredScenarioState": "scenario-1-repos-kohsuke-test-issues-3-comments-3", + "insertionIndex": 11 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3_comments-12.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3_comments-12.json deleted file mode 100644 index b11f1561f2..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3_comments-12.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "83627e28-47f6-4933-954c-3910e5392e5d", - "name": "repos_kohsuke_test_issues_3_comments", - "request": { - "url": "/repos/kohsuke/test/issues/3/comments", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_kohsuke_test_issues_3_comments-12.json", - "headers": { - "Server": "GitHub.com", - "Date": "Sat, 11 Sep 2021 07:03: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/\"acc78f75dc73507b01f43951c2819009d0f985cb12cef25af138f927cfb03762\"", - "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": "4924", - "X-RateLimit-Reset": "1631346154", - "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": "D378:60B8:79A8ED:7F4295:613C54A9" - } - }, - "uuid": "83627e28-47f6-4933-954c-3910e5392e5d", - "persistent": true, - "scenarioName": "scenario-1-repos-kohsuke-test-issues-3-comments", - "requiredScenarioState": "scenario-1-repos-kohsuke-test-issues-3-comments-3", - "insertionIndex": 12 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3_comments-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3_comments-3.json new file mode 100644 index 0000000000..af130065a7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3_comments-3.json @@ -0,0 +1,49 @@ +{ + "id": "ec26b894-11e7-4b5f-8df2-7ab5bc53635c", + "name": "repos_kohsuke_test_issues_3_comments", + "request": { + "url": "/repos/kohsuke/test/issues/3/comments", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_kohsuke_test_issues_3_comments-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 08 Apr 2022 17:53: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/\"cd1eb7ae1069345781790f680e452c170adad04aa3acdcb59ce9dfb1d07feb08\"", + "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": "4923", + "X-RateLimit-Reset": "1649442146", + "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": "BEB0:5C29:341DB:388F6:6250767E" + } + }, + "uuid": "ec26b894-11e7-4b5f-8df2-7ab5bc53635c", + "persistent": true, + "scenarioName": "scenario-1-repos-kohsuke-test-issues-3-comments", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-kohsuke-test-issues-3-comments-2", + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3_comments-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3_comments-4.json deleted file mode 100644 index b17dd57346..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3_comments-4.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "id": "b730b957-6403-4077-87b1-1ea732bc3182", - "name": "repos_kohsuke_test_issues_3_comments", - "request": { - "url": "/repos/kohsuke/test/issues/3/comments", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_kohsuke_test_issues_3_comments-4.json", - "headers": { - "Server": "GitHub.com", - "Date": "Sat, 11 Sep 2021 07:03: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/\"acc78f75dc73507b01f43951c2819009d0f985cb12cef25af138f927cfb03762\"", - "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": "4932", - "X-RateLimit-Reset": "1631346154", - "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": "D368:8A76:1C4D8C:208793:613C54A8" - } - }, - "uuid": "b730b957-6403-4077-87b1-1ea732bc3182", - "persistent": true, - "scenarioName": "scenario-1-repos-kohsuke-test-issues-3-comments", - "requiredScenarioState": "Started", - "newScenarioState": "scenario-1-repos-kohsuke-test-issues-3-comments-2", - "insertionIndex": 4 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3_comments-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3_comments-8.json new file mode 100644 index 0000000000..baa6afff2e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3_comments-8.json @@ -0,0 +1,49 @@ +{ + "id": "e9a40a6f-8c83-4c16-9671-4fcddc503f7f", + "name": "repos_kohsuke_test_issues_3_comments", + "request": { + "url": "/repos/kohsuke/test/issues/3/comments", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_kohsuke_test_issues_3_comments-8.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 08 Apr 2022 17:53: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/\"3444d9509151ee38783d8f5dd040453cfdecdf8c4e118ff4026a812d40d648fd\"", + "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": "4918", + "X-RateLimit-Reset": "1649442146", + "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": "BEBA:1172D:F0EA6:F6DF8:6250767F" + } + }, + "uuid": "e9a40a6f-8c83-4c16-9671-4fcddc503f7f", + "persistent": true, + "scenarioName": "scenario-1-repos-kohsuke-test-issues-3-comments", + "requiredScenarioState": "scenario-1-repos-kohsuke-test-issues-3-comments-2", + "newScenarioState": "scenario-1-repos-kohsuke-test-issues-3-comments-3", + "insertionIndex": 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3_comments-9.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3_comments-9.json deleted file mode 100644 index 7ae264965a..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_3_comments-9.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "id": "b259e7ca-094e-4bff-b04a-a7893b6d8e7a", - "name": "repos_kohsuke_test_issues_3_comments", - "request": { - "url": "/repos/kohsuke/test/issues/3/comments", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_kohsuke_test_issues_3_comments-9.json", - "headers": { - "Server": "GitHub.com", - "Date": "Sat, 11 Sep 2021 07:03: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/\"acc78f75dc73507b01f43951c2819009d0f985cb12cef25af138f927cfb03762\"", - "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": "4927", - "X-RateLimit-Reset": "1631346154", - "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": "D372:32F1:D6ECC:1166DA:613C54A9" - } - }, - "uuid": "b259e7ca-094e-4bff-b04a-a7893b6d8e7a", - "persistent": true, - "scenarioName": "scenario-1-repos-kohsuke-test-issues-3-comments", - "requiredScenarioState": "scenario-1-repos-kohsuke-test-issues-3-comments-2", - "newScenarioState": "scenario-1-repos-kohsuke-test-issues-3-comments-3", - "insertionIndex": 9 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547249_reactions-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547249_reactions-5.json new file mode 100644 index 0000000000..f156979e6a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547249_reactions-5.json @@ -0,0 +1,46 @@ +{ + "id": "613fa55a-0a2d-48c5-a991-673f35213eff", + "name": "repos_kohsuke_test_issues_comments_8547249_reactions", + "request": { + "url": "/repos/kohsuke/test/issues/comments/8547249/reactions", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + } + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 08 Apr 2022 17:53: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": "\"1edf80ecd98d11d98113d5aa3cef7021f4a60d76d4a01328e8d3552451f43ce4\"", + "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=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4921", + "X-RateLimit-Reset": "1649442146", + "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": "BEB4:93CF:16E39D:1751BA:6250767E" + } + }, + "uuid": "613fa55a-0a2d-48c5-a991-673f35213eff", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547249_reactions-6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547249_reactions-6.json deleted file mode 100644 index 8000658ccc..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547249_reactions-6.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "32c3ea61-7274-4414-9cec-7baf833e2506", - "name": "repos_kohsuke_test_issues_comments_8547249_reactions", - "request": { - "url": "/repos/kohsuke/test/issues/comments/8547249/reactions", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.squirrel-girl-preview+json" - } - } - }, - "response": { - "status": 200, - "body": "[]", - "headers": { - "Server": "GitHub.com", - "Date": "Sat, 11 Sep 2021 07:03: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": "\"09f1fd8ad1f7a8a86a061a6ee6b2506a7740a8d58da6ba3c8f1d53124411aaf1\"", - "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": "github.squirrel-girl-preview; format=json", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4930", - "X-RateLimit-Reset": "1631346154", - "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": "D36C:86EC:492A8C:4E2814:613C54A8" - } - }, - "uuid": "32c3ea61-7274-4414-9cec-7baf833e2506", - "persistent": true, - "insertionIndex": 6 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-10.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-10.json deleted file mode 100644 index 5f82c841b8..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-10.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "id": "18fff31d-6898-4a80-bc32-b671403b7eff", - "name": "repos_kohsuke_test_issues_comments_8547251_reactions", - "request": { - "url": "/repos/kohsuke/test/issues/comments/8547251/reactions", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.squirrel-girl-preview+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_kohsuke_test_issues_comments_8547251_reactions-10.json", - "headers": { - "Server": "GitHub.com", - "Date": "Sat, 11 Sep 2021 07:03: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/\"b2fa05e4026513f1b76b682325ee50b37675c6fd41e01f444181b2fbf3300f76\"", - "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": "github.squirrel-girl-preview; format=json", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4926", - "X-RateLimit-Reset": "1631346154", - "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": "D374:5A23:4DA8F9:52ABAB:613C54A9" - } - }, - "uuid": "18fff31d-6898-4a80-bc32-b671403b7eff", - "persistent": true, - "scenarioName": "scenario-2-repos-kohsuke-test-issues-comments-8547251-reactions", - "requiredScenarioState": "scenario-2-repos-kohsuke-test-issues-comments-8547251-reactions-2", - "newScenarioState": "scenario-2-repos-kohsuke-test-issues-comments-8547251-reactions-3", - "insertionIndex": 10 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-12.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-12.json new file mode 100644 index 0000000000..62e652f061 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-12.json @@ -0,0 +1,48 @@ +{ + "id": "b55e29c0-75a2-4a55-99da-566c09a9bccf", + "name": "repos_kohsuke_test_issues_comments_8547251_reactions", + "request": { + "url": "/repos/kohsuke/test/issues/comments/8547251/reactions", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_kohsuke_test_issues_comments_8547251_reactions-12.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 08 Apr 2022 17:53: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/\"2394c9c6a2a9fa85202f46fd7b53d9d846897711a33a433c53559d62949bcac8\"", + "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=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4914", + "X-RateLimit-Reset": "1649442146", + "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": "BEC6:93CF:16E74E:175553:62507680" + } + }, + "uuid": "b55e29c0-75a2-4a55-99da-566c09a9bccf", + "persistent": true, + "scenarioName": "scenario-2-repos-kohsuke-test-issues-comments-8547251-reactions", + "requiredScenarioState": "scenario-2-repos-kohsuke-test-issues-comments-8547251-reactions-3", + "insertionIndex": 12 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-13.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-13.json deleted file mode 100644 index e08d16813d..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-13.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "666beb37-ba0a-4e97-b29b-4bd524292029", - "name": "repos_kohsuke_test_issues_comments_8547251_reactions", - "request": { - "url": "/repos/kohsuke/test/issues/comments/8547251/reactions", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.squirrel-girl-preview+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_kohsuke_test_issues_comments_8547251_reactions-13.json", - "headers": { - "Server": "GitHub.com", - "Date": "Sat, 11 Sep 2021 07:03: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/\"361404fe525aa0c8bfcfdba6d71d0ae779b39db1971f01ddf9cd916887f85b00\"", - "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": "github.squirrel-girl-preview; format=json", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4923", - "X-RateLimit-Reset": "1631346154", - "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": "D37A:8A79:5E20E9:63B1F7:613C54AA" - } - }, - "uuid": "666beb37-ba0a-4e97-b29b-4bd524292029", - "persistent": true, - "scenarioName": "scenario-2-repos-kohsuke-test-issues-comments-8547251-reactions", - "requiredScenarioState": "scenario-2-repos-kohsuke-test-issues-comments-8547251-reactions-3", - "insertionIndex": 13 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-6.json new file mode 100644 index 0000000000..fc1618c9c7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-6.json @@ -0,0 +1,49 @@ +{ + "id": "ac751a6a-8139-4269-993a-9bfb044c944c", + "name": "repos_kohsuke_test_issues_comments_8547251_reactions", + "request": { + "url": "/repos/kohsuke/test/issues/comments/8547251/reactions", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_kohsuke_test_issues_comments_8547251_reactions-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 08 Apr 2022 17:53: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/\"2394c9c6a2a9fa85202f46fd7b53d9d846897711a33a433c53559d62949bcac8\"", + "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=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4920", + "X-RateLimit-Reset": "1649442146", + "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": "BEB6:ECF2:E51F1:EAD76:6250767F" + } + }, + "uuid": "ac751a6a-8139-4269-993a-9bfb044c944c", + "persistent": true, + "scenarioName": "scenario-2-repos-kohsuke-test-issues-comments-8547251-reactions", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-2-repos-kohsuke-test-issues-comments-8547251-reactions-2", + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-7.json index f71cc1405c..6a0bf7ba21 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-7.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-7.json @@ -1,35 +1,42 @@ { - "id": "24e3f69b-df35-46f4-a20e-cd9f359c89af", + "id": "78f2e418-780d-44e5-a422-1ebafc2d006c", "name": "repos_kohsuke_test_issues_comments_8547251_reactions", "request": { "url": "/repos/kohsuke/test/issues/comments/8547251/reactions", - "method": "GET", + "method": "POST", "headers": { "Accept": { "equalTo": "application/vnd.github.squirrel-girl-preview+json" } - } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"content\":\"confused\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] }, "response": { - "status": 200, + "status": 201, "bodyFileName": "repos_kohsuke_test_issues_comments_8547251_reactions-7.json", "headers": { "Server": "GitHub.com", - "Date": "Sat, 11 Sep 2021 07:03:05 GMT", + "Date": "Fri, 08 Apr 2022 17:53: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/\"361404fe525aa0c8bfcfdba6d71d0ae779b39db1971f01ddf9cd916887f85b00\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", + "ETag": "\"d3886dff7615a4c562cdcdb39bf2aa0a0436ee61fea8a2350fa56f50966c904a\"", + "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.squirrel-girl-preview; format=json", + "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4929", - "X-RateLimit-Reset": "1631346154", - "X-RateLimit-Used": "71", + "X-RateLimit-Remaining": "4919", + "X-RateLimit-Reset": "1649442146", + "X-RateLimit-Used": "81", "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", @@ -37,13 +44,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": "D36E:60B8:79A830:7F41C7:613C54A9" + "X-GitHub-Request-Id": "BEB8:10500:83CAB:88B80:6250767F" } }, - "uuid": "24e3f69b-df35-46f4-a20e-cd9f359c89af", + "uuid": "78f2e418-780d-44e5-a422-1ebafc2d006c", "persistent": true, - "scenarioName": "scenario-2-repos-kohsuke-test-issues-comments-8547251-reactions", - "requiredScenarioState": "Started", - "newScenarioState": "scenario-2-repos-kohsuke-test-issues-comments-8547251-reactions-2", "insertionIndex": 7 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-8.json deleted file mode 100644 index e04461da19..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-8.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "id": "72a61318-dd15-449d-aa35-f9c2751603e5", - "name": "repos_kohsuke_test_issues_comments_8547251_reactions", - "request": { - "url": "/repos/kohsuke/test/issues/comments/8547251/reactions", - "method": "POST", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.squirrel-girl-preview+json" - } - }, - "bodyPatterns": [ - { - "equalToJson": "{\"content\":\"confused\"}", - "ignoreArrayOrder": true, - "ignoreExtraElements": false - } - ] - }, - "response": { - "status": 201, - "bodyFileName": "repos_kohsuke_test_issues_comments_8547251_reactions-8.json", - "headers": { - "Server": "GitHub.com", - "Date": "Sat, 11 Sep 2021 07:03: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": "\"e3a7660a19ce0367909ae23dffa3b1a10c53971c61c2748e0ce65d71a289d8b6\"", - "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": "github.squirrel-girl-preview; format=json", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4928", - "X-RateLimit-Reset": "1631346154", - "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": "D370:60B8:79A850:7F41F1:613C54A9" - } - }, - "uuid": "72a61318-dd15-449d-aa35-f9c2751603e5", - "persistent": true, - "insertionIndex": 8 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-9.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-9.json new file mode 100644 index 0000000000..1082480d82 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions-9.json @@ -0,0 +1,49 @@ +{ + "id": "4e16e39b-4057-4442-b2c1-e8a108a59449", + "name": "repos_kohsuke_test_issues_comments_8547251_reactions", + "request": { + "url": "/repos/kohsuke/test/issues/comments/8547251/reactions", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_kohsuke_test_issues_comments_8547251_reactions-9.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 08 Apr 2022 17:53: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/\"04296e90da166bb6659ffe7a7c8a86da8bd0518676ab55e220e038ae0111182c\"", + "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=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4917", + "X-RateLimit-Reset": "1649442146", + "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": "BEBC:6F16:744BD:793BC:6250767F" + } + }, + "uuid": "4e16e39b-4057-4442-b2c1-e8a108a59449", + "persistent": true, + "scenarioName": "scenario-2-repos-kohsuke-test-issues-comments-8547251-reactions", + "requiredScenarioState": "scenario-2-repos-kohsuke-test-issues-comments-8547251-reactions-2", + "newScenarioState": "scenario-2-repos-kohsuke-test-issues-comments-8547251-reactions-3", + "insertionIndex": 9 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions_158437374-10.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions_158437374-10.json new file mode 100644 index 0000000000..fa3fb1125d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/repos_kohsuke_test_issues_comments_8547251_reactions_158437374-10.json @@ -0,0 +1,39 @@ +{ + "id": "18c445b5-46fc-4331-b8b6-1e9a410ac7ae", + "name": "repos_kohsuke_test_issues_comments_8547251_reactions_158437374", + "request": { + "url": "/repos/kohsuke/test/issues/comments/8547251/reactions/158437374", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 08 Apr 2022 17:53:04 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": "4916", + "X-RateLimit-Reset": "1649442146", + "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'", + "Vary": "Accept-Encoding, Accept, X-Requested-With", + "X-GitHub-Request-Id": "BEBE:ECF2:E5334:EAEB7:62507680" + } + }, + "uuid": "18c445b5-46fc-4331-b8b6-1e9a410ac7ae", + "persistent": true, + "insertionIndex": 10 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/user-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/user-1.json deleted file mode 100644 index 83e7278a28..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/user-1.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "cc263bb2-b202-43d7-b2cd-ee6f3ad65aec", - "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": "Sat, 11 Sep 2021 07:03: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/\"1e4a53189cfad918f0dc47242f1cf6851fa90ece03a5a078f56dcb6d39398c79\"", - "Last-Modified": "Fri, 10 Sep 2021 14:35:52 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": "4936", - "X-RateLimit-Reset": "1631346154", - "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": "D3C4:7B38:72FAE9:789A75:613C54A7" - } - }, - "uuid": "cc263bb2-b202-43d7-b2cd-ee6f3ad65aec", - "persistent": true, - "insertionIndex": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/users_kohsuke-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/users_kohsuke-4.json new file mode 100644 index 0000000000..6ff8a1415a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/users_kohsuke-4.json @@ -0,0 +1,47 @@ +{ + "id": "daaad445-3cb0-4b71-bafb-7384cb932b2e", + "name": "users_kohsuke", + "request": { + "url": "/users/kohsuke", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "users_kohsuke-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 08 Apr 2022 17:53: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/\"6feec589e2e6b6718e1831548a9ce491c3a1cdb88805e0aaec0151a4f0acf7c2\"", + "Last-Modified": "Fri, 18 Mar 2022 23:13: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": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4922", + "X-RateLimit-Reset": "1649442146", + "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": "BEB2:39A9:7F918:84A84:6250767E" + } + }, + "uuid": "daaad445-3cb0-4b71-bafb-7384cb932b2e", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/users_kohsuke-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/users_kohsuke-5.json deleted file mode 100644 index 77ae2a2673..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testIssueWithComment/mappings/users_kohsuke-5.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "89560905-fbd1-4837-8df1-1b26b3550b12", - "name": "users_kohsuke", - "request": { - "url": "/users/kohsuke", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "users_kohsuke-5.json", - "headers": { - "Server": "GitHub.com", - "Date": "Sat, 11 Sep 2021 07:03: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/\"2f9a9f8e413765119df0e062c48ab8f926c00c7034e0f14f91bc577ac636c338\"", - "Last-Modified": "Mon, 30 Aug 2021 20:04:20 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": "4931", - "X-RateLimit-Reset": "1631346154", - "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": "D36A:32F5:6EB88E:7453CF:613C54A8" - } - }, - "uuid": "89560905-fbd1-4837-8df1-1b26b3550b12", - "persistent": true, - "insertionIndex": 5 -} \ No newline at end of file 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/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/user-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/user-5.json new file mode 100644 index 0000000000..e64e070ac8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/user-5.json @@ -0,0 +1,47 @@ +{ + "id": "2b62d9ff-b2bc-4456-99d3-d9e3ce6301cb", + "name": "user", + "request": { + "url": "/user", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user-5.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/\"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": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "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", + "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": "B570:89C4:7675FE:7DB4FA:6221D6F0" + } + }, + "uuid": "2b62d9ff-b2bc-4456-99d3-d9e3ce6301cb", + "persistent": true, + "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/AppTest/wiremock/testShouldFetchTeam/__files/organizations_7544739_team_820406-7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/__files/organizations_7544739_team_820406-7.json deleted file mode 100644 index 1eca382b74..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/__files/organizations_7544739_team_820406-7.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "Core Developers", - "id": 820406, - "node_id": "MDQ6VGVhbTgyMDQwNg==", - "slug": "core-developers", - "description": "A random team", - "privacy": "secret", - "url": "https://api.github.com/organizations/7544739/team/820406", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/core-developers", - "members_url": "https://api.github.com/organizations/7544739/team/820406/members{/member}", - "repositories_url": "https://api.github.com/organizations/7544739/team/820406/repos", - "permission": "pull", - "created_at": "2014-05-10T19:40:03Z", - "updated_at": "2014-05-10T19:40:03Z", - "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/AppTest/wiremock/testShouldFetchTeam/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/__files/orgs_hub4j-test-org-2.json deleted file mode 100644 index 8c0ba78353..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/__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/AppTest/wiremock/testShouldFetchTeam/__files/orgs_hub4j-test-org_teams-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/__files/orgs_hub4j-test-org_teams-3.json deleted file mode 100644 index d712f928dd..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/__files/orgs_hub4j-test-org_teams-3.json +++ /dev/null @@ -1,58 +0,0 @@ -[ - { - "name": "Core Developers", - "id": 820406, - "node_id": "MDQ6VGVhbTgyMDQwNg==", - "slug": "core-developers", - "description": "A random team", - "privacy": "secret", - "url": "https://api.github.com/organizations/7544739/team/820406", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/core-developers", - "members_url": "https://api.github.com/organizations/7544739/team/820406/members{/member}", - "repositories_url": "https://api.github.com/organizations/7544739/team/820406/repos", - "permission": "pull", - "parent": null - }, - { - "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 - }, - { - "name": "Owners-team", - "id": 820404, - "node_id": "MDQ6VGVhbTgyMDQwNA==", - "slug": "owners-team", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/organizations/7544739/team/820404", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/owners-team", - "members_url": "https://api.github.com/organizations/7544739/team/820404/members{/member}", - "repositories_url": "https://api.github.com/organizations/7544739/team/820404/repos", - "permission": "admin", - "parent": null - }, - { - "name": "tricky-team", - "id": 3454508, - "node_id": "MDQ6VGVhbTM0NTQ1MDg=", - "slug": "tricky-team", - "description": "", - "privacy": "secret", - "url": "https://api.github.com/organizations/7544739/team/3454508", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/tricky-team", - "members_url": "https://api.github.com/organizations/7544739/team/3454508/members{/member}", - "repositories_url": "https://api.github.com/organizations/7544739/team/3454508/repos", - "permission": "pull", - "parent": null - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/__files/teams_820406-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/__files/teams_820406-8.json deleted file mode 100644 index 1eca382b74..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/__files/teams_820406-8.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "Core Developers", - "id": 820406, - "node_id": "MDQ6VGVhbTgyMDQwNg==", - "slug": "core-developers", - "description": "A random team", - "privacy": "secret", - "url": "https://api.github.com/organizations/7544739/team/820406", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/core-developers", - "members_url": "https://api.github.com/organizations/7544739/team/820406/members{/member}", - "repositories_url": "https://api.github.com/organizations/7544739/team/820406/repos", - "permission": "pull", - "created_at": "2014-05-10T19:40:03Z", - "updated_at": "2014-05-10T19:40:03Z", - "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/AppTest/wiremock/testShouldFetchTeam/__files/user-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/__files/user-1.json deleted file mode 100644 index 3ed6e3f008..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/__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/AppTest/wiremock/testShouldFetchTeam/mappings/organizations_7544739_team_820406-7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/organizations_7544739_team_820406-7.json deleted file mode 100644 index ab6a3d689d..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/organizations_7544739_team_820406-7.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "8b1ba756-0fb7-49bf-8cd8-0febdccefd7e", - "name": "organizations_7544739_team_820406", - "request": { - "url": "/organizations/7544739/team/820406", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "organizations_7544739_team_820406-7.json", - "headers": { - "Server": "GitHub.com", - "Date": "Tue, 17 Mar 2020 10:16:04 GMT", - "Content-Type": "application/json; charset=utf-8", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4906", - "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/\"1201d96396c062b2208db689dc6a3887\"", - "Last-Modified": "Sat, 10 May 2014 19:40:03 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": "FC63:2DE2:1A9560A:3DC8D98:5E70A364" - } - }, - "uuid": "8b1ba756-0fb7-49bf-8cd8-0febdccefd7e", - "persistent": true, - "insertionIndex": 7 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/organizations_7544739_teams_820406-6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/organizations_7544739_teams_820406-6.json deleted file mode 100644 index 965e32b3d9..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/organizations_7544739_teams_820406-6.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "20a9519b-5770-4618-9df7-f514b6530e27", - "name": "organizations_7544739_teams_820406", - "request": { - "url": "/organizations/7544739/teams/820406", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 404, - "body": "{\"message\":\"Not Found\",\"documentation_url\":\"https://developer.github.com/v3/teams/#get-team-by-name\"}", - "headers": { - "Server": "GitHub.com", - "Date": "Tue, 17 Mar 2020 10:13:13 GMT", - "Content-Type": "application/json; charset=utf-8", - "Status": "404 Not Found", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4913", - "X-RateLimit-Reset": "1584440312", - "X-OAuth-Scopes": "admin:org, admin:public_key, admin:repo_hook, notifications, repo, user", - "X-Accepted-OAuth-Scopes": "repo", - "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'", - "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "FC2D:4C84:190B377:3D28627:5E70A2B8" - } - }, - "uuid": "20a9519b-5770-4618-9df7-f514b6530e27", - "persistent": true, - "insertionIndex": 6 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/organizations_hub4j-test-org_teams_820406-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/organizations_hub4j-test-org_teams_820406-5.json deleted file mode 100644 index 14225e605f..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/organizations_hub4j-test-org_teams_820406-5.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "e640076f-debc-47c6-8c25-d15ced6e3936", - "name": "organizations_hub4j-test-org_teams_820406", - "request": { - "url": "/organizations/hub4j-test-org/teams/820406", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 404, - "body": "{\"message\":\"Not Found\",\"documentation_url\":\"https://developer.github.com/v3\"}", - "headers": { - "Server": "GitHub.com", - "Date": "Tue, 17 Mar 2020 10:08:51 GMT", - "Content-Type": "application/json; charset=utf-8", - "Status": "404 Not Found", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4930", - "X-RateLimit-Reset": "1584440312", - "X-OAuth-Scopes": "admin:org, admin:public_key, admin:repo_hook, notifications, repo, user", - "X-Accepted-OAuth-Scopes": "repo", - "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'", - "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "FBE6:1AA5:36F96FD:5B83B31:5E70A1B3" - } - }, - "uuid": "e640076f-debc-47c6-8c25-d15ced6e3936", - "persistent": true, - "insertionIndex": 5 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/orgs_hub4j-test-org-2.json deleted file mode 100644 index fc86bec901..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/orgs_hub4j-test-org-2.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "84aa5465-24ab-43e3-9655-e835c39bfa65", - "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 10:05:32 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4937", - "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/\"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": "FBBC:4FD5:1C7954:325E0B:5E70A0EA" - } - }, - "uuid": "84aa5465-24ab-43e3-9655-e835c39bfa65", - "persistent": true, - "insertionIndex": 2 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/orgs_hub4j-test-org_teams-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/orgs_hub4j-test-org_teams-3.json deleted file mode 100644 index dc7549599e..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/orgs_hub4j-test-org_teams-3.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "id": "d833590f-9896-462c-846b-712b50377536", - "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-3.json", - "headers": { - "Date": "Tue, 17 Mar 2020 10:05:32 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4936", - "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/\"54e42fc30d88d2a30340b56bbe54f211\"", - "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": "FBBC:4FD5:1C7963:325E5F:5E70A0EC" - } - }, - "uuid": "d833590f-9896-462c-846b-712b50377536", - "persistent": true, - "insertionIndex": 3 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/orgs_hub4j-test-org_teams_820406-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/orgs_hub4j-test-org_teams_820406-4.json deleted file mode 100644 index e2d5ac2b36..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/orgs_hub4j-test-org_teams_820406-4.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "e77527a3-a2a2-455c-8724-e3d16e264ba6", - "name": "orgs_hub4j-test-org_teams_820406", - "request": { - "url": "/orgs/hub4j-test-org/teams/820406", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 404, - "body": "{\"message\":\"Not Found\",\"documentation_url\":\"https://developer.github.com/v3/teams/#get-team-by-name\"}", - "headers": { - "Date": "Tue, 17 Mar 2020 10:05:32 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "404 Not Found", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4935", - "X-RateLimit-Reset": "1584440312", - "X-OAuth-Scopes": "admin:org, admin:public_key, admin:repo_hook, notifications, repo, user", - "X-Accepted-OAuth-Scopes": "repo", - "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'", - "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "FBBC:4FD5:1C796C:325E6F:5E70A0EC" - } - }, - "uuid": "e77527a3-a2a2-455c-8724-e3d16e264ba6", - "persistent": true, - "insertionIndex": 4 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/teams_820406-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/teams_820406-8.json deleted file mode 100644 index 2e6afa7031..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/teams_820406-8.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "id": "9302cc40-d07a-4ad2-b958-f035a849e3fb", - "name": "teams_820406", - "request": { - "url": "/teams/820406", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "teams_820406-8.json", - "headers": { - "Server": "GitHub.com", - "Date": "Tue, 17 Mar 2020 21:35:48 GMT", - "Content-Type": "application/json; charset=utf-8", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4991", - "X-RateLimit-Reset": "1584484224", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"1201d96396c062b2208db689dc6a3887\"", - "Last-Modified": "Sat, 10 May 2014 19:40:03 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", - "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": "CA8E:731C:FD772:25F150:5E7142B3", - "Link": "; rel=\"deprecation\"; type=\"text/html\", ; rel=\"alternate\"" - } - }, - "uuid": "9302cc40-d07a-4ad2-b958-f035a849e3fb", - "persistent": true, - "insertionIndex": 8 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/user-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/user-1.json deleted file mode 100644 index 7bc86b5562..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testShouldFetchTeam/mappings/user-1.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "59e094cf-1ec5-49f3-a544-a434298717e4", - "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 10:05:30 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4939", - "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/\"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": "FBBC:4FD5:1C7910:325DFA:5E70A0EA" - } - }, - "uuid": "59e094cf-1ec5-49f3-a544-a434298717e4", - "persistent": true, - "insertionIndex": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/orgs_hub4j-10.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/orgs_hub4j-10.json new file mode 100644 index 0000000000..6eee4c6f03 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/orgs_hub4j-10.json @@ -0,0 +1,25 @@ +{ + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "url": "https://api.github.com/orgs/hub4j", + "repos_url": "https://api.github.com/orgs/hub4j/repos", + "events_url": "https://api.github.com/orgs/hub4j/events", + "hooks_url": "https://api.github.com/orgs/hub4j/hooks", + "issues_url": "https://api.github.com/orgs/hub4j/issues", + "members_url": "https://api.github.com/orgs/hub4j/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/54909825?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/hub4j", + "created_at": "2019-09-04T18:12:34Z", + "updated_at": "2020-05-08T21:26:19Z", + "type": "Organization" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/repos_hub4j_github-api-11.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/repos_hub4j_github-api-11.json new file mode 100644 index 0000000000..75198ea0a6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/repos_hub4j_github-api-11.json @@ -0,0 +1,144 @@ +{ + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "2023-04-14T09:46:15Z", + "pushed_at": "2023-04-14T09:41:23Z", + "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": "https://github-api.kohsuke.org/", + "size": 41026, + "stargazers_count": 996, + "watchers_count": 996, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "has_discussions": true, + "forks_count": 669, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 144, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 669, + "open_issues": 144, + "watchers": 996, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "temp_clone_token": "", + "organization": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 669, + "subscribers_count": 44 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user-1.json new file mode 100644 index 0000000000..18733f143d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user-1.json @@ -0,0 +1,46 @@ +{ + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false, + "name": "Pierre Beitz", + "company": "@cloudbees ", + "blog": "", + "location": null, + "email": "pibeitz@gmail.com", + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 88, + "public_gists": 7, + "followers": 13, + "following": 11, + "created_at": "2014-11-21T10:26:34Z", + "updated_at": "2023-04-13T15:51:35Z", + "private_gists": 25, + "total_private_repos": 51, + "owned_private_repos": 2, + "disk_usage": 21381, + "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/testUserPublicEventApi/__files/user_9881659_events_public-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user_9881659_events_public-3.json new file mode 100644 index 0000000000..cab532ae5f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user_9881659_events_public-3.json @@ -0,0 +1,4671 @@ +[ + { + "id": "28416056245", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627830807, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": null, + "ref_type": "repository", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T09:44:31Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28416051795", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627830740, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": "main", + "ref_type": "branch", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T09:44:20Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28416051436", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627830740, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": null, + "ref_type": "repository", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T09:44:19Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28416047882", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627830691, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": "main", + "ref_type": "branch", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T09:44:09Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28416047507", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627830691, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": null, + "ref_type": "repository", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T09:44:08Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28415983981", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 608727059, + "name": "PierreBtz/github-api", + "url": "https://api.github.com/repos/PierreBtz/github-api" + }, + "payload": { + "repository_id": 608727059, + "push_id": 13298980295, + "size": 1, + "distinct_size": 1, + "ref": "refs/heads/pbeitz/generic-install-provider", + "head": "ac741a86051654a34a8429658181d5d757763278", + "before": "b29b53b2bb84083a5cb5b1eb9e293872acb227c7", + "commits": [ + { + "sha": "ac741a86051654a34a8429658181d5d757763278", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "missing stubs...", + "distinct": true, + "url": "https://api.github.com/repos/PierreBtz/github-api/commits/ac741a86051654a34a8429658181d5d757763278" + } + ] + }, + "public": true, + "created_at": "2023-04-14T09:41:22Z" + }, + { + "id": "28415484537", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 608727059, + "name": "PierreBtz/github-api", + "url": "https://api.github.com/repos/PierreBtz/github-api" + }, + "payload": { + "repository_id": 608727059, + "push_id": 13298739660, + "size": 12, + "distinct_size": 12, + "ref": "refs/heads/pbeitz/generic-install-provider", + "head": "b29b53b2bb84083a5cb5b1eb9e293872acb227c7", + "before": "6cf735603a20b71c3ca05681e091b62dcbfd7527", + "commits": [ + { + "sha": "b8e160851a04cdf6c9f7d0e207395d5ef3824b02", + "author": { + "email": "49699333+dependabot[bot]@users.noreply.github.com", + "name": "dependabot[bot]" + }, + "message": "Chore(deps): Bump japicmp-maven-plugin from 0.16.0 to 0.17.1\n\nBumps [japicmp-maven-plugin](https://github.com/siom79/japicmp) from 0.16.0 to 0.17.1.\n- [Release notes](https://github.com/siom79/japicmp/releases)\n- [Changelog](https://github.com/siom79/japicmp/blob/master/release.py)\n- [Commits](https://github.com/siom79/japicmp/compare/japicmp-base-0.16.0...japicmp-base-0.17.1)\n\n---\nupdated-dependencies:\n- dependency-name: com.github.siom79.japicmp:japicmp-maven-plugin\n dependency-type: direct:production\n update-type: version-update:semver-minor\n...\n\nSigned-off-by: dependabot[bot] ", + "distinct": true, + "url": "https://api.github.com/repos/PierreBtz/github-api/commits/b8e160851a04cdf6c9f7d0e207395d5ef3824b02" + }, + { + "sha": "0795bf2eb346d6d0b50483bac893e48b37a1ad38", + "author": { + "email": "marscel@googlemail.com", + "name": "MarcelHB" + }, + "message": "GHRepository: allows creating deploy keys being read-only\n\nfixes #1592", + "distinct": true, + "url": "https://api.github.com/repos/PierreBtz/github-api/commits/0795bf2eb346d6d0b50483bac893e48b37a1ad38" + }, + { + "sha": "4de47edbeff5677d35d7f568276797e79c444603", + "author": { + "email": "benoit.lacelle@gmail.com", + "name": "Benoit Lacelle" + }, + "message": "Fix unit of marketPlan plans", + "distinct": true, + "url": "https://api.github.com/repos/PierreBtz/github-api/commits/4de47edbeff5677d35d7f568276797e79c444603" + }, + { + "sha": "edef17351baad459aec483092a516d58c8e1a98f", + "author": { + "email": "benoit.lacelle@gmail.com", + "name": "Benoit Lacelle" + }, + "message": "Fix myMarketplacePlans unitTest", + "distinct": true, + "url": "https://api.github.com/repos/PierreBtz/github-api/commits/edef17351baad459aec483092a516d58c8e1a98f" + }, + { + "sha": "15b9aee11cf5fb4c6b33341882985e0241b13c51", + "author": { + "email": "benoit.lacelle@gmail.com", + "name": "Benoit Lacelle" + }, + "message": "Fix more mocks", + "distinct": true, + "url": "https://api.github.com/repos/PierreBtz/github-api/commits/15b9aee11cf5fb4c6b33341882985e0241b13c51" + }, + { + "sha": "cb089b9b79297ea785cceaf9830b866ffdd66f78", + "author": { + "email": "benoit.lacelle@gmail.com", + "name": "Benoit Lacelle" + }, + "message": "Fix more tests", + "distinct": true, + "url": "https://api.github.com/repos/PierreBtz/github-api/commits/cb089b9b79297ea785cceaf9830b866ffdd66f78" + }, + { + "sha": "dc304e188920981e3232710ece4a5d74198b25a8", + "author": { + "email": "bitwiseman@gmail.com", + "name": "Liam Newman" + }, + "message": "Merge pull request #1622 from hub4j/dependabot/maven/com.github.siom79.japicmp-japicmp-maven-plugin-0.17.1\n\nChore(deps): Bump japicmp-maven-plugin from 0.16.0 to 0.17.1", + "distinct": true, + "url": "https://api.github.com/repos/PierreBtz/github-api/commits/dc304e188920981e3232710ece4a5d74198b25a8" + }, + { + "sha": "3cb78afd3f67e734a287697ff4d7e7e3e3516641", + "author": { + "email": "bitwiseman@gmail.com", + "name": "Liam Newman" + }, + "message": "Merge pull request #1629 from solven-eu/solven/FixMarketPlanPlans\n\nFix unit of marketPlace plans", + "distinct": true, + "url": "https://api.github.com/repos/PierreBtz/github-api/commits/3cb78afd3f67e734a287697ff4d7e7e3e3516641" + }, + { + "sha": "9c843e906e07e6725b14203b4ebdbdfcf2c95255", + "author": { + "email": "bitwiseman@gmail.com", + "name": "Liam Newman" + }, + "message": "Update src/test/java/org/kohsuke/github/AppTest.java", + "distinct": true, + "url": "https://api.github.com/repos/PierreBtz/github-api/commits/9c843e906e07e6725b14203b4ebdbdfcf2c95255" + }, + { + "sha": "177c386b918159560e9b46ec7d05b29770c217a1", + "author": { + "email": "bitwiseman@gmail.com", + "name": "Liam Newman" + }, + "message": "Test deploy key", + "distinct": true, + "url": "https://api.github.com/repos/PierreBtz/github-api/commits/177c386b918159560e9b46ec7d05b29770c217a1" + }, + { + "sha": "afe6732762df2ded429a2b4435ea31832ce33dad", + "author": { + "email": "bitwiseman@gmail.com", + "name": "Liam Newman" + }, + "message": "Merge pull request #1625 from MarcelHB/issue-1592/create_deploy_key_ro\n\nGHRepository: allows creating deploy keys being read-only", + "distinct": true, + "url": "https://api.github.com/repos/PierreBtz/github-api/commits/afe6732762df2ded429a2b4435ea31832ce33dad" + }, + { + "sha": "b29b53b2bb84083a5cb5b1eb9e293872acb227c7", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge branch 'main' into pbeitz/generic-install-provider", + "distinct": true, + "url": "https://api.github.com/repos/PierreBtz/github-api/commits/b29b53b2bb84083a5cb5b1eb9e293872acb227c7" + } + ] + }, + "public": true, + "created_at": "2023-04-14T09:19:44Z" + }, + { + "id": "28415472227", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 608727059, + "name": "PierreBtz/github-api", + "url": "https://api.github.com/repos/PierreBtz/github-api" + }, + "payload": { + "repository_id": 608727059, + "push_id": 13298733708, + "size": 1, + "distinct_size": 1, + "ref": "refs/heads/pbeitz/generic-install-provider", + "head": "6cf735603a20b71c3ca05681e091b62dcbfd7527", + "before": "e222a60017b9a598298ddcba7337b676b5756103", + "commits": [ + { + "sha": "6cf735603a20b71c3ca05681e091b62dcbfd7527", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "add test", + "distinct": true, + "url": "https://api.github.com/repos/PierreBtz/github-api/commits/6cf735603a20b71c3ca05681e091b62dcbfd7527" + } + ] + }, + "public": true, + "created_at": "2023-04-14T09:19:10Z" + }, + { + "id": "28364052091", + "type": "IssueCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/574", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/574/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/574/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/574/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/574", + "id": 1642589356, + "node_id": "I_kwDOAIy5dc5h5-ys", + "number": 574, + "title": "The total numbers doesn't match for articles", + "user": { + "login": "RobertoPegoraro", + "id": 10342271, + "node_id": "MDQ6VXNlcjEwMzQyMjcx", + "avatar_url": "https://avatars.githubusercontent.com/u/10342271?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/RobertoPegoraro", + "html_url": "https://github.com/RobertoPegoraro", + "followers_url": "https://api.github.com/users/RobertoPegoraro/followers", + "following_url": "https://api.github.com/users/RobertoPegoraro/following{/other_user}", + "gists_url": "https://api.github.com/users/RobertoPegoraro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/RobertoPegoraro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/RobertoPegoraro/subscriptions", + "organizations_url": "https://api.github.com/users/RobertoPegoraro/orgs", + "repos_url": "https://api.github.com/users/RobertoPegoraro/repos", + "events_url": "https://api.github.com/users/RobertoPegoraro/events{/privacy}", + "received_events_url": "https://api.github.com/users/RobertoPegoraro/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 3, + "created_at": "2023-03-27T18:19:29Z", + "updated_at": "2023-04-12T12:49:18Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "**Describe the bug**\r\nWhen I perform the request zd.getArticles(\"ja\") it returns 207 articles, but when I request using postman (Using the same credentials) in API https://myOrganization.zendesk.com/api/v2/help_center/ja/articles it returns 186 articles only.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. Request the articles from some locale in postman\r\n2. Request the same articles for the same locale using the SDK\r\n\r\n**Expected behavior**\r\nShould be retrieved the exaclty number of articles\r\n\r\n**Desktop (please complete the following information):**\r\n - OS: Mac OS Ventura 13.2.1\r\n - Postman Version 9.31.0\r\n - ZenDesk SDK Version 0.21.0\r\n - Java Version 11\r\n", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/574/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/574/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "comment": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1505218602", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/574#issuecomment-1505218602", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/574", + "id": 1505218602, + "node_id": "IC_kwDOAIy5dc5Zt9Aq", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2023-04-12T12:49:18Z", + "updated_at": "2023-04-12T12:49:18Z", + "author_association": "COLLABORATOR", + "body": "I'm having a hard time figuring out what might go wrong since I cannot reproduce (our instance doesn't use help desk).\r\nI'm also having a hard time figuring out why calling `/help_center/{locale}/articles.json` with curl gives a different answer since the calls are supposed to be identical.\r\nMy suggestion would be to activate the debug logs of the underlying http client (AsyncHttpClient by default) and check the exchanges between the library and the server.", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1505218602/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } + }, + "public": true, + "created_at": "2023-04-12T12:49:19Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28359531862", + "type": "IssueCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/573", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/573/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/573/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/573/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/573", + "id": 1640304441, + "node_id": "I_kwDOAIy5dc5hxQ85", + "number": 573, + "title": "Cannot marshal Ticket to JSON", + "user": { + "login": "afm497", + "id": 586053, + "node_id": "MDQ6VXNlcjU4NjA1Mw==", + "avatar_url": "https://avatars.githubusercontent.com/u/586053?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/afm497", + "html_url": "https://github.com/afm497", + "followers_url": "https://api.github.com/users/afm497/followers", + "following_url": "https://api.github.com/users/afm497/following{/other_user}", + "gists_url": "https://api.github.com/users/afm497/gists{/gist_id}", + "starred_url": "https://api.github.com/users/afm497/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/afm497/subscriptions", + "organizations_url": "https://api.github.com/users/afm497/orgs", + "repos_url": "https://api.github.com/users/afm497/repos", + "events_url": "https://api.github.com/users/afm497/events{/privacy}", + "received_events_url": "https://api.github.com/users/afm497/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 3, + "created_at": "2023-03-25T01:29:27Z", + "updated_at": "2023-04-12T09:44:41Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "**Describe the bug**\r\nCannot, at least using both GSON and Jackson, marshal a Ticket to JSON. Multiple fields named **priority**. One in the Ticket itself, another in it's superclass, Request. The **priority** in Ticket is private, in Request it's protected. \r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. Using the API, grab a Ticket object.\r\n2. Try to marshal to JSON using either GSON or Jackson. Though it probably would apply to others, only have used those.\r\n4. See IllegalArgumentException referencing multiple fields named \"**priority**\".\r\n\r\n**Expected behavior**\r\nAbility to marshal Ticket object to JSON for proper transmission.\r\n\r\n**Additional context**\r\nNot sure anymore is needed, but happy provide anything additional. \r\n", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/573/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/573/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "comment": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1504978372", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/573#issuecomment-1504978372", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/573", + "id": 1504978372, + "node_id": "IC_kwDOAIy5dc5ZtCXE", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2023-04-12T09:44:41Z", + "updated_at": "2023-04-12T09:44:41Z", + "author_association": "COLLABORATOR", + "body": "I agree with you, I'm afraid I just don't have time to invest on the library currently. Code change itself looks trivial, but testing nothing is broken is not. I'm happy to accept a PR though :)", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1504978372/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } + }, + "public": true, + "created_at": "2023-04-12T09:44:41Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28359451313", + "type": "DeleteEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "ref": "dependabot/maven/org.apache.maven.plugins-maven-enforcer-plugin-3.3.0", + "ref_type": "branch", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-12T09:41:30Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28359451020", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 13270911161, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "2c114cf9fbb3bc45a9d18e7b334e4c000af6dc97", + "before": "4d2e6aab55a45d585f11f53a029513db8cecf43f", + "commits": [ + { + "sha": "47c83b4f66de432c5246c90d75d2044e5f05f1a8", + "author": { + "email": "49699333+dependabot[bot]@users.noreply.github.com", + "name": "dependabot[bot]" + }, + "message": "Bump maven-enforcer-plugin from 3.2.1 to 3.3.0\n\nBumps [maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.2.1 to 3.3.0.\n- [Release notes](https://github.com/apache/maven-enforcer/releases)\n- [Commits](https://github.com/apache/maven-enforcer/compare/enforcer-3.2.1...enforcer-3.3.0)\n\n---\nupdated-dependencies:\n- dependency-name: org.apache.maven.plugins:maven-enforcer-plugin\n dependency-type: direct:production\n update-type: version-update:semver-minor\n...\n\nSigned-off-by: dependabot[bot] ", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/47c83b4f66de432c5246c90d75d2044e5f05f1a8" + }, + { + "sha": "2c114cf9fbb3bc45a9d18e7b334e4c000af6dc97", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #580 from cloudbees-oss/dependabot/maven/org.apache.maven.plugins-maven-enforcer-plugin-3.3.0", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/2c114cf9fbb3bc45a9d18e7b334e4c000af6dc97" + } + ] + }, + "public": true, + "created_at": "2023-04-12T09:41:29Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28359450806", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 580, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/580", + "id": 1303777372, + "node_id": "PR_kwDOAIy5dc5NthBc", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/580", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/580.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/580.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/580", + "number": 580, + "state": "closed", + "locked": false, + "title": "Bump maven-enforcer-plugin from 3.2.1 to 3.3.0", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.2.1 to 3.3.0.\n

    \nRelease notes\n

    Sourced from maven-enforcer-plugin's releases.

    \n
    \n

    3.3.0

    \n\n

    🚀 New features and improvements

    \n\n

    🐛 Bug Fixes

    \n\n

    đŸ“Ļ Dependency updates

    \n\n

    📝 Documentation updates

    \n\n

    đŸ‘ģ Maintenance

    \n\n
    \n
    \n
    \nCommits\n
      \n
    • 4e14e11 [maven-release-plugin] prepare release enforcer-3.3.0
    • \n
    • 523f5ce [MENFORCER-472] Bump maven-invoker-plugin from 3.5.0 to 3.5.1 (#266)
    • \n
    • 427b213 [MENFORCER-473] Notice about max JDK in custom rules
    • \n
    • 6feac61 improve documentation of banDynamicVersions
    • \n
    • 435807f Install maven-enforcer-plugin for ITs in maven-enforcer-extension
    • \n
    • 5895ff2 [MENFORCER-467] banDynamicVersions excludedScopes on project level (#262)
    • \n
    • 7848853 [MENFORCER-276] Allow ignoring dependency scopes in RequireUpperBoundDeps
    • \n
    • 42dacab [MENFORCER-476] Rename ResolveUtil to ResolverUtil
    • \n
    • 5e0ca5a [MENFORCER-474] Filter dependency by scope on project level
    • \n
    • 57746a1 [MENFORCER-465] Remove superfluous blanks in BanDuplicatePomDependencyVersions
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-enforcer-plugin&package-manager=maven&previous-version=3.2.1&new-version=3.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-04-05T20:56:42Z", + "updated_at": "2023-04-12T09:41:28Z", + "closed_at": "2023-04-12T09:41:28Z", + "merged_at": "2023-04-12T09:41:28Z", + "merge_commit_sha": "2c114cf9fbb3bc45a9d18e7b334e4c000af6dc97", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/580/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/580/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/580/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/47c83b4f66de432c5246c90d75d2044e5f05f1a8", + "head": { + "label": "cloudbees-oss:dependabot/maven/org.apache.maven.plugins-maven-enforcer-plugin-3.3.0", + "ref": "dependabot/maven/org.apache.maven.plugins-maven-enforcer-plugin-3.3.0", + "sha": "47c83b4f66de432c5246c90d75d2044e5f05f1a8", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-12T09:41:27Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1169, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 241, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 4, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 241, + "open_issues": 4, + "watchers": 146, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "4d2e6aab55a45d585f11f53a029513db8cecf43f", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-12T09:41:27Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1169, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 241, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 4, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 241, + "open_issues": 4, + "watchers": 146, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/580" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/580" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/580" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/580/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/580/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/580/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/47c83b4f66de432c5246c90d75d2044e5f05f1a8" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-04-12T09:41:29Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28359448541", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1380927918, + "node_id": "PRR_kwDOAIy5dc5ST0mu", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "commit_id": "47c83b4f66de432c5246c90d75d2044e5f05f1a8", + "submitted_at": "2023-04-12T09:41:23Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/580#pullrequestreview-1380927918", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/580", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/580#pullrequestreview-1380927918" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/580" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/580", + "id": 1303777372, + "node_id": "PR_kwDOAIy5dc5NthBc", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/580", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/580.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/580.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/580", + "number": 580, + "state": "open", + "locked": false, + "title": "Bump maven-enforcer-plugin from 3.2.1 to 3.3.0", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.2.1 to 3.3.0.\n
    \nRelease notes\n

    Sourced from maven-enforcer-plugin's releases.

    \n
    \n

    3.3.0

    \n\n

    🚀 New features and improvements

    \n\n

    🐛 Bug Fixes

    \n\n

    đŸ“Ļ Dependency updates

    \n\n

    📝 Documentation updates

    \n\n

    đŸ‘ģ Maintenance

    \n\n
    \n
    \n
    \nCommits\n
      \n
    • 4e14e11 [maven-release-plugin] prepare release enforcer-3.3.0
    • \n
    • 523f5ce [MENFORCER-472] Bump maven-invoker-plugin from 3.5.0 to 3.5.1 (#266)
    • \n
    • 427b213 [MENFORCER-473] Notice about max JDK in custom rules
    • \n
    • 6feac61 improve documentation of banDynamicVersions
    • \n
    • 435807f Install maven-enforcer-plugin for ITs in maven-enforcer-extension
    • \n
    • 5895ff2 [MENFORCER-467] banDynamicVersions excludedScopes on project level (#262)
    • \n
    • 7848853 [MENFORCER-276] Allow ignoring dependency scopes in RequireUpperBoundDeps
    • \n
    • 42dacab [MENFORCER-476] Rename ResolveUtil to ResolverUtil
    • \n
    • 5e0ca5a [MENFORCER-474] Filter dependency by scope on project level
    • \n
    • 57746a1 [MENFORCER-465] Remove superfluous blanks in BanDuplicatePomDependencyVersions
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-enforcer-plugin&package-manager=maven&previous-version=3.2.1&new-version=3.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-04-05T20:56:42Z", + "updated_at": "2023-04-12T09:41:23Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "5e9f0a196c876fab18b806870a66f9f95561f632", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/580/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/580/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/580/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/47c83b4f66de432c5246c90d75d2044e5f05f1a8", + "head": { + "label": "cloudbees-oss:dependabot/maven/org.apache.maven.plugins-maven-enforcer-plugin-3.3.0", + "ref": "dependabot/maven/org.apache.maven.plugins-maven-enforcer-plugin-3.3.0", + "sha": "47c83b4f66de432c5246c90d75d2044e5f05f1a8", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-05T20:56:42Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1169, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 241, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 5, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 241, + "open_issues": 5, + "watchers": 146, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "4d2e6aab55a45d585f11f53a029513db8cecf43f", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-05T20:56:42Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1169, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 241, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 5, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 241, + "open_issues": 5, + "watchers": 146, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/580" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/580" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/580" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/580/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/580/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/580/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/47c83b4f66de432c5246c90d75d2044e5f05f1a8" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-04-12T09:41:23Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28163430252", + "type": "IssueCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560", + "id": 1615536590, + "node_id": "PR_kwDOAIy5dc5Llc-3", + "number": 560, + "title": "Support the 'Content Tags' resource in the Zendesk API - resolves #559", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 34598766, + "node_id": "MDU6TGFiZWwzNDU5ODc2Ng==", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/enhancement", + "name": "enhancement", + "color": "84b6eb", + "default": true, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 6, + "created_at": "2023-03-08T16:11:35Z", + "updated_at": "2023-04-03T12:21:16Z", + "closed_at": "2023-04-03T10:13:12Z", + "author_association": "CONTRIBUTOR", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560.patch", + "merged_at": "2023-04-03T10:13:12Z" + }, + "body": "Content Tags can be added to posts and articles to loosely group them together.\r\nThe resource is a small object {id, name, createdDate, updatedDate}\r\nThe API supports CRUD & some searching\r\n\r\n**Additional context**\r\nAPI documentation: https://developer.zendesk.com/api-reference/help_center/help-center-api/content_tags/\r\nArticle about how they are used: https://support.zendesk.com/hc/en-us/articles/4848925672730", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "comment": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1494224273", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560#issuecomment-1494224273", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560", + "id": 1494224273, + "node_id": "IC_kwDOAIy5dc5ZEA2R", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2023-04-03T12:21:15Z", + "updated_at": "2023-04-03T12:21:15Z", + "author_association": "COLLABORATOR", + "body": "Interesting, I wasn't aware editorconfig was providing a Maven plugin. I'll have a look.", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1494224273/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } + }, + "public": true, + "created_at": "2023-04-03T12:21:16Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28161083643", + "type": "IssueCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560", + "id": 1615536590, + "node_id": "PR_kwDOAIy5dc5Llc-3", + "number": 560, + "title": "Support the 'Content Tags' resource in the Zendesk API - resolves #559", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 34598766, + "node_id": "MDU6TGFiZWwzNDU5ODc2Ng==", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/enhancement", + "name": "enhancement", + "color": "84b6eb", + "default": true, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 4, + "created_at": "2023-03-08T16:11:35Z", + "updated_at": "2023-04-03T10:46:18Z", + "closed_at": "2023-04-03T10:13:12Z", + "author_association": "CONTRIBUTOR", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560.patch", + "merged_at": "2023-04-03T10:13:12Z" + }, + "body": "Content Tags can be added to posts and articles to loosely group them together.\r\nThe resource is a small object {id, name, createdDate, updatedDate}\r\nThe API supports CRUD & some searching\r\n\r\n**Additional context**\r\nAPI documentation: https://developer.zendesk.com/api-reference/help_center/help-center-api/content_tags/\r\nArticle about how they are used: https://support.zendesk.com/hc/en-us/articles/4848925672730", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "comment": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1494092762", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560#issuecomment-1494092762", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560", + "id": 1494092762, + "node_id": "IC_kwDOAIy5dc5ZDgva", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2023-04-03T10:46:17Z", + "updated_at": "2023-04-03T10:46:17Z", + "author_association": "COLLABORATOR", + "body": "@andy-may-at indeed I noticed that too (project has a lot of history with a lot of different contributors and maintainers). \r\nI was recently contributing to a project that was using https://github.com/diffplug/spotless/tree/main/plugin-maven to keep things clean (it fails the build if the formatting is messed up). I had something like that in mind.", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1494092762/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } + }, + "public": true, + "created_at": "2023-04-03T10:46:18Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160634909", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 13168367709, + "size": 1, + "distinct_size": 1, + "ref": "refs/heads/master", + "head": "4d2e6aab55a45d585f11f53a029513db8cecf43f", + "before": "761d2754d9e65a3d20e5d75843b783c7750d1333", + "commits": [ + { + "sha": "4d2e6aab55a45d585f11f53a029513db8cecf43f", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/4d2e6aab55a45d585f11f53a029513db8cecf43f" + } + ] + }, + "public": true, + "created_at": "2023-04-03T10:26:55Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160631879", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "ref": "zendesk-java-client-0.22.0", + "ref_type": "tag", + "master_branch": "master", + "description": "A Java client library for interacting with Zendesk", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-03T10:26:48Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160629606", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 13168365184, + "size": 1, + "distinct_size": 1, + "ref": "refs/heads/master", + "head": "761d2754d9e65a3d20e5d75843b783c7750d1333", + "before": "c0283d3ea5850b8d935457947a67df88ff186b2b", + "commits": [ + { + "sha": "761d2754d9e65a3d20e5d75843b783c7750d1333", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "[maven-release-plugin] prepare release zendesk-java-client-0.22.0", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/761d2754d9e65a3d20e5d75843b783c7750d1333" + } + ] + }, + "public": true, + "created_at": "2023-04-03T10:26:42Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160297445", + "type": "IssuesEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/559", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/559/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/559/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/559/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/559", + "id": 1615476484, + "node_id": "I_kwDOAIy5dc5gSjcE", + "number": 559, + "title": "Add support for the Content Tag resource (in the Help Center API)", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 1, + "created_at": "2023-03-08T15:34:42Z", + "updated_at": "2023-04-03T10:13:25Z", + "closed_at": "2023-04-03T10:13:25Z", + "author_association": "CONTRIBUTOR", + "active_lock_reason": null, + "body": "Content Tags can be added to posts and articles to loosely group them together.\r\nThe client does not currently expose this API resource.\r\n\r\nThe resource is a small object {id, name, createdDate, updatedDate}\r\nThe API supports CRUD & some searching\r\n\r\n**Describe the solution you'd like**\r\nThe client to expose CRUD & searching on this resource\r\n\r\n**Additional context**\r\nAPI documentation: https://developer.zendesk.com/api-reference/help_center/help-center-api/content_tags/\r\nArticle about how they are used: https://support.zendesk.com/hc/en-us/articles/4848925672730\r\n\r\nI'm currently working on building a PR to implement this feature request\r\n", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/559/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/559/timeline", + "performed_via_github_app": null, + "state_reason": "completed" + } + }, + "public": true, + "created_at": "2023-04-03T10:13:26Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160292429", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 13168194376, + "size": 5, + "distinct_size": 5, + "ref": "refs/heads/master", + "head": "c0283d3ea5850b8d935457947a67df88ff186b2b", + "before": "3a92607ca8e0db597f7e3205ca7bd9dfe3756bd2", + "commits": [ + { + "sha": "0d21b31d73ee956d941bfb18add5815574fec82c", + "author": { + "email": "andy.may@autotrader.co.uk", + "name": "Andy May" + }, + "message": "Add model for Content Tag resource", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/0d21b31d73ee956d941bfb18add5815574fec82c" + }, + { + "sha": "0620db75d7ec58af2d7de8fa5a9a87e90246c06d", + "author": { + "email": "andy.may@autotrader.co.uk", + "name": "Andy May" + }, + "message": "Implement CRUD for Content Tags", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/0620db75d7ec58af2d7de8fa5a9a87e90246c06d" + }, + { + "sha": "8f764129b879252cfb84adcc8c324a49cfd9b36e", + "author": { + "email": "andy.may@autotrader.co.uk", + "name": "Andy May" + }, + "message": "Implement search for Content Tags\n\nContentTag pagination sadly doesn't conform to Zendesk's standards.\nIt uses cursor pagination, but doesn't include a `links.next` node in the response (which would normally hold the URL of the next page of results).\nBecause of this, we have to build the 'next page URL' ourselves by extracting the `meta.after_cursor` node value & using it to add a `&page[after]=` parameter to the original query URL", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/8f764129b879252cfb84adcc8c324a49cfd9b36e" + }, + { + "sha": "e7976c8dae29cfd3610da3227bede40d17d49db0", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Update src/main/java/org/zendesk/client/v2/model/hc/ContentTag.java", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/e7976c8dae29cfd3610da3227bede40d17d49db0" + }, + { + "sha": "c0283d3ea5850b8d935457947a67df88ff186b2b", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #560 from andy-may-at/issue/559/implement_content_tags_resource", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/c0283d3ea5850b8d935457947a67df88ff186b2b" + } + ] + }, + "public": true, + "created_at": "2023-04-03T10:13:14Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160292389", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 560, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560", + "id": 1268109239, + "node_id": "PR_kwDOAIy5dc5Llc-3", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560", + "number": 560, + "state": "closed", + "locked": false, + "title": "Support the 'Content Tags' resource in the Zendesk API - resolves #559", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "body": "Content Tags can be added to posts and articles to loosely group them together.\r\nThe resource is a small object {id, name, createdDate, updatedDate}\r\nThe API supports CRUD & some searching\r\n\r\n**Additional context**\r\nAPI documentation: https://developer.zendesk.com/api-reference/help_center/help-center-api/content_tags/\r\nArticle about how they are used: https://support.zendesk.com/hc/en-us/articles/4848925672730", + "created_at": "2023-03-08T16:11:35Z", + "updated_at": "2023-04-03T10:13:12Z", + "closed_at": "2023-04-03T10:13:12Z", + "merged_at": "2023-04-03T10:13:12Z", + "merge_commit_sha": "c0283d3ea5850b8d935457947a67df88ff186b2b", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 34598766, + "node_id": "MDU6TGFiZWwzNDU5ODc2Ng==", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/enhancement", + "name": "enhancement", + "color": "84b6eb", + "default": true, + "description": null + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/e7976c8dae29cfd3610da3227bede40d17d49db0", + "head": { + "label": "andy-may-at:issue/559/implement_content_tags_resource", + "ref": "issue/559/implement_content_tags_resource", + "sha": "e7976c8dae29cfd3610da3227bede40d17d49db0", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 610732619, + "node_id": "R_kgDOJGcKSw", + "name": "zendesk-java-client", + "full_name": "andy-may-at/zendesk-java-client", + "private": false, + "owner": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/andy-may-at/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/andy-may-at/zendesk-java-client", + "forks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/deployments", + "created_at": "2023-03-07T11:21:54Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-04-03T10:09:21Z", + "git_url": "git://github.com/andy-may-at/zendesk-java-client.git", + "ssh_url": "git@github.com:andy-may-at/zendesk-java-client.git", + "clone_url": "https://github.com/andy-may-at/zendesk-java-client.git", + "svn_url": "https://github.com/andy-may-at/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1127, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "8695a63d8645fb8a17e6949d75e3b26151767bd0", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-03T10:13:12Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1134, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 3, + "watchers": 146, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/e7976c8dae29cfd3610da3227bede40d17d49db0" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 2, + "review_comments": 1, + "maintainer_can_modify": false, + "commits": 4, + "additions": 419, + "deletions": 1, + "changed_files": 7 + } + }, + "public": true, + "created_at": "2023-04-03T10:13:14Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160220960", + "type": "DeleteEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "ref": "dependabot/github_actions/actions/stale-8", + "ref_type": "branch", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-03T10:10:28Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160220603", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 13168159650, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "3a92607ca8e0db597f7e3205ca7bd9dfe3756bd2", + "before": "f8c952915b1debec37f7191aeab672fe1e5da85c", + "commits": [ + { + "sha": "c72412227328d34dd9dd196f5f5ceab0148e7f28", + "author": { + "email": "49699333+dependabot[bot]@users.noreply.github.com", + "name": "dependabot[bot]" + }, + "message": "Bump actions/stale from 7 to 8\n\nBumps [actions/stale](https://github.com/actions/stale) from 7 to 8.\n- [Release notes](https://github.com/actions/stale/releases)\n- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/actions/stale/compare/v7...v8)\n\n---\nupdated-dependencies:\n- dependency-name: actions/stale\n dependency-type: direct:production\n update-type: version-update:semver-major\n...\n\nSigned-off-by: dependabot[bot] ", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/c72412227328d34dd9dd196f5f5ceab0148e7f28" + }, + { + "sha": "3a92607ca8e0db597f7e3205ca7bd9dfe3756bd2", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #572 from cloudbees-oss/dependabot/github_actions/actions/stale-8", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/3a92607ca8e0db597f7e3205ca7bd9dfe3756bd2" + } + ] + }, + "public": true, + "created_at": "2023-04-03T10:10:27Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160220379", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 572, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/572", + "id": 1288102748, + "node_id": "PR_kwDOAIy5dc5MxuNc", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/572", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/572.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/572.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/572", + "number": 572, + "state": "closed", + "locked": false, + "title": "Bump actions/stale from 7 to 8", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8.\n
    \nRelease notes\n

    Sourced from actions/stale's releases.

    \n
    \n

    v8.0.0

    \n

    :warning: This version contains breaking changes :warning:

    \n

    What's Changed

    \n\n

    Breaking Changes

    \n
      \n
    • In this release we prevent scenarios when the build is not interrupted on some exceptions, which led to successful builds when they are supposed to fail
    • \n
    \n

    Example

    \n
    name: 'Remove labels when the issue or PR becomes stale'\non:\n  schedule:\n    - cron: '30 1 * * *'\n

    permissions:\npull-request: write

    \n

    jobs:\nstale:\nruns-on: ubuntu-latest\nsteps:\n- uses: actions/stale@v8\nwith:\nlabels-to-remove-when-stale: 'label1,label2'\n

    \n
    \n
    \n
    \nChangelog\n

    Sourced from actions/stale's changelog.

    \n
    \n

    Changelog

    \n

    [7.0.0]

    \n

    :warning: Breaking change :warning:

    \n\n

    [6.0.1]

    \n

    Update @​actions/core to v1.10.0 (#839)

    \n

    [6.0.0]

    \n

    :warning: Breaking change :warning:

    \n

    Issues/PRs default close-issue-reason is now not_planned(#789)

    \n

    [5.1.0]

    \n

    Don't process stale issues right after they're marked stale\n[Add close-issue-reason option]#764#772\nVarious dependabot/dependency updates

    \n

    4.1.0 (2021-07-14)

    \n

    Features

    \n\n

    4.0.0 (2021-07-14)

    \n

    Features

    \n
      \n
    • options: simplify config by removing skip stale message options (#457) (6ec637d), closes #405 #455
    • \n
    • output: print output parameters (#458) (3e6d35b)
    • \n
    \n

    Bug Fixes

    \n
      \n
    • dry-run: forbid mutations in dry-run (#500) (f1017f3), closes #499
    • \n
    • logs: coloured logs (#465) (5fbbfba)
    • \n
    • operations: fail fast the current batch to respect the operations limit (#474) (5f6f311), closes #466
    • \n
    • label comparison: make label comparison case insensitive #517, closes #516
    • \n
    • filtering comments by actor could have strange behavior: "stale" comments are now detected based on if the message is the stale message not who made the comment(#519), fixes #441, #509, #518
    • \n
    \n

    Breaking Changes

    \n\n
    \n

    ... (truncated)

    \n
    \n
    \nCommits\n
      \n
    • 1160a22 Merge pull request #965 from actions/dependabot/npm_and_yarn/prettier-2.8.6
    • \n
    • 5f7b396 build(deps-dev): bump prettier from 2.8.4 to 2.8.6
    • \n
    • b002e7e Merge pull request #941 from panticmilos/vmpantic/rebuild-dist-vercel-bump
    • \n
    • 5290373 Rebuild dist after rebase
    • \n
    • b006677 Merge pull request #962 from actions/dependabot/npm_and_yarn/jest-and-types/j...
    • \n
    • 4f29769 Merge pull request #961 from actions/dependabot/npm_and_yarn/typescript-5.0.2
    • \n
    • 83453dd build(deps-dev): bump jest and @​types/jest
    • \n
    • 79e8c04 Merge pull request #960 from actions/dependabot/npm_and_yarn/types/node-18.15.3
    • \n
    • 75d4d95 Remove labels on stale (#959)
    • \n
    • fac2d41 build(deps-dev): bump typescript from 4.9.4 to 5.0.2
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/stale&package-manager=github_actions&previous-version=7&new-version=8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-03-23T20:59:00Z", + "updated_at": "2023-04-03T10:10:25Z", + "closed_at": "2023-04-03T10:10:25Z", + "merged_at": "2023-04-03T10:10:25Z", + "merge_commit_sha": "3a92607ca8e0db597f7e3205ca7bd9dfe3756bd2", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471562961, + "node_id": "LA_kwDOAIy5dc7O69jR", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/github_actions", + "name": "github_actions", + "color": "000000", + "default": false, + "description": "Pull requests that update Github_actions code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/572/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/572/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/572/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/c72412227328d34dd9dd196f5f5ceab0148e7f28", + "head": { + "label": "cloudbees-oss:dependabot/github_actions/actions/stale-8", + "ref": "dependabot/github_actions/actions/stale-8", + "sha": "c72412227328d34dd9dd196f5f5ceab0148e7f28", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-03T10:10:25Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1134, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 4, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 4, + "watchers": 146, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "8695a63d8645fb8a17e6949d75e3b26151767bd0", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-03T10:10:25Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1134, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 4, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 4, + "watchers": 146, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/572" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/572" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/572" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/572/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/572/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/572/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/c72412227328d34dd9dd196f5f5ceab0148e7f28" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-04-03T10:10:26Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160218081", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1368720358, + "node_id": "PRR_kwDOAIy5dc5RlQPm", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "commit_id": "c72412227328d34dd9dd196f5f5ceab0148e7f28", + "submitted_at": "2023-04-03T10:10:20Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/572#pullrequestreview-1368720358", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/572", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/572#pullrequestreview-1368720358" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/572" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/572", + "id": 1288102748, + "node_id": "PR_kwDOAIy5dc5MxuNc", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/572", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/572.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/572.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/572", + "number": 572, + "state": "open", + "locked": false, + "title": "Bump actions/stale from 7 to 8", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8.\n
    \nRelease notes\n

    Sourced from actions/stale's releases.

    \n
    \n

    v8.0.0

    \n

    :warning: This version contains breaking changes :warning:

    \n

    What's Changed

    \n\n

    Breaking Changes

    \n
      \n
    • In this release we prevent scenarios when the build is not interrupted on some exceptions, which led to successful builds when they are supposed to fail
    • \n
    \n

    Example

    \n
    name: 'Remove labels when the issue or PR becomes stale'\non:\n  schedule:\n    - cron: '30 1 * * *'\n

    permissions:\npull-request: write

    \n

    jobs:\nstale:\nruns-on: ubuntu-latest\nsteps:\n- uses: actions/stale@v8\nwith:\nlabels-to-remove-when-stale: 'label1,label2'\n

    \n
    \n
    \n
    \nChangelog\n

    Sourced from actions/stale's changelog.

    \n
    \n

    Changelog

    \n

    [7.0.0]

    \n

    :warning: Breaking change :warning:

    \n\n

    [6.0.1]

    \n

    Update @​actions/core to v1.10.0 (#839)

    \n

    [6.0.0]

    \n

    :warning: Breaking change :warning:

    \n

    Issues/PRs default close-issue-reason is now not_planned(#789)

    \n

    [5.1.0]

    \n

    Don't process stale issues right after they're marked stale\n[Add close-issue-reason option]#764#772\nVarious dependabot/dependency updates

    \n

    4.1.0 (2021-07-14)

    \n

    Features

    \n\n

    4.0.0 (2021-07-14)

    \n

    Features

    \n
      \n
    • options: simplify config by removing skip stale message options (#457) (6ec637d), closes #405 #455
    • \n
    • output: print output parameters (#458) (3e6d35b)
    • \n
    \n

    Bug Fixes

    \n
      \n
    • dry-run: forbid mutations in dry-run (#500) (f1017f3), closes #499
    • \n
    • logs: coloured logs (#465) (5fbbfba)
    • \n
    • operations: fail fast the current batch to respect the operations limit (#474) (5f6f311), closes #466
    • \n
    • label comparison: make label comparison case insensitive #517, closes #516
    • \n
    • filtering comments by actor could have strange behavior: "stale" comments are now detected based on if the message is the stale message not who made the comment(#519), fixes #441, #509, #518
    • \n
    \n

    Breaking Changes

    \n\n
    \n

    ... (truncated)

    \n
    \n
    \nCommits\n
      \n
    • 1160a22 Merge pull request #965 from actions/dependabot/npm_and_yarn/prettier-2.8.6
    • \n
    • 5f7b396 build(deps-dev): bump prettier from 2.8.4 to 2.8.6
    • \n
    • b002e7e Merge pull request #941 from panticmilos/vmpantic/rebuild-dist-vercel-bump
    • \n
    • 5290373 Rebuild dist after rebase
    • \n
    • b006677 Merge pull request #962 from actions/dependabot/npm_and_yarn/jest-and-types/j...
    • \n
    • 4f29769 Merge pull request #961 from actions/dependabot/npm_and_yarn/typescript-5.0.2
    • \n
    • 83453dd build(deps-dev): bump jest and @​types/jest
    • \n
    • 79e8c04 Merge pull request #960 from actions/dependabot/npm_and_yarn/types/node-18.15.3
    • \n
    • 75d4d95 Remove labels on stale (#959)
    • \n
    • fac2d41 build(deps-dev): bump typescript from 4.9.4 to 5.0.2
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/stale&package-manager=github_actions&previous-version=7&new-version=8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-03-23T20:59:00Z", + "updated_at": "2023-04-03T10:10:21Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "ffd6a26a6127908ec7e1cd8764f20a8dfe859341", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471562961, + "node_id": "LA_kwDOAIy5dc7O69jR", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/github_actions", + "name": "github_actions", + "color": "000000", + "default": false, + "description": "Pull requests that update Github_actions code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/572/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/572/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/572/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/c72412227328d34dd9dd196f5f5ceab0148e7f28", + "head": { + "label": "cloudbees-oss:dependabot/github_actions/actions/stale-8", + "ref": "dependabot/github_actions/actions/stale-8", + "sha": "c72412227328d34dd9dd196f5f5ceab0148e7f28", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-03T10:10:14Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1134, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 5, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 5, + "watchers": 146, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "8695a63d8645fb8a17e6949d75e3b26151767bd0", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-03T10:10:14Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1134, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 5, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 5, + "watchers": 146, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/572" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/572" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/572" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/572/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/572/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/572/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/c72412227328d34dd9dd196f5f5ceab0148e7f28" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-04-03T10:10:21Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160215240", + "type": "DeleteEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "ref": "dependabot/maven/org.codehaus.mojo-animal-sniffer-enforcer-rule-1.23", + "ref_type": "branch", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-03T10:10:15Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160214964", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 13168156950, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "f8c952915b1debec37f7191aeab672fe1e5da85c", + "before": "36f68398fb0268eb2d305f6ed761383335f018b0", + "commits": [ + { + "sha": "2dac87e6afabc3bdb8807382ab6bfd86cadf4fba", + "author": { + "email": "49699333+dependabot[bot]@users.noreply.github.com", + "name": "dependabot[bot]" + }, + "message": "Bump animal-sniffer-enforcer-rule from 1.22 to 1.23\n\nBumps [animal-sniffer-enforcer-rule](https://github.com/mojohaus/animal-sniffer) from 1.22 to 1.23.\n- [Release notes](https://github.com/mojohaus/animal-sniffer/releases)\n- [Commits](https://github.com/mojohaus/animal-sniffer/compare/animal-sniffer-parent-1.22...1.23)\n\n---\nupdated-dependencies:\n- dependency-name: org.codehaus.mojo:animal-sniffer-enforcer-rule\n dependency-type: direct:production\n update-type: version-update:semver-minor\n...\n\nSigned-off-by: dependabot[bot] ", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/2dac87e6afabc3bdb8807382ab6bfd86cadf4fba" + }, + { + "sha": "f8c952915b1debec37f7191aeab672fe1e5da85c", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #575 from cloudbees-oss/dependabot/maven/org.codehaus.mojo-animal-sniffer-enforcer-rule-1.23", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/f8c952915b1debec37f7191aeab672fe1e5da85c" + } + ] + }, + "public": true, + "created_at": "2023-04-03T10:10:14Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160214703", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 575, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/575", + "id": 1291985744, + "node_id": "PR_kwDOAIy5dc5NAiNQ", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/575", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/575.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/575.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/575", + "number": 575, + "state": "closed", + "locked": false, + "title": "Bump animal-sniffer-enforcer-rule from 1.22 to 1.23", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [animal-sniffer-enforcer-rule](https://github.com/mojohaus/animal-sniffer) from 1.22 to 1.23.\n
    \nRelease notes\n

    Sourced from animal-sniffer-enforcer-rule's releases.

    \n
    \n

    1.23

    \n\n

    🚀 New features and improvements

    \n\n

    đŸ“Ļ Dependency updates

    \n\n

    đŸ‘ģ Maintenance

    \n\n
    \n
    \n
    \nCommits\n
      \n
    • bae2423 [maven-release-plugin] prepare release 1.23
    • \n
    • 90f22e4 Refresh documentation site
    • \n
    • 49fdd5d Bump parent from 70 to 74 and poms cleanup
    • \n
    • fa0f098 Get rid of maven-compat use Resolver API
    • \n
    • 4f547b0 (ci) Use latest releases of Maven 3.9.1 and 3.8.8
    • \n
    • ac9296b Bump maven-surefire-plugin from 2.22.2 to 3.0.0
    • \n
    • f343158 Prepare to run on Java 19+
    • \n
    • 797ccf7 Bump plexus-utils from 3.5.0 to 3.5.1
    • \n
    • 2ce6d43 Bump maven-plugin-plugin from 3.7.1 to 3.8.1
    • \n
    • 9452d08 Bump maven-plugin-annotations from 3.7.1 to 3.8.1
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.codehaus.mojo:animal-sniffer-enforcer-rule&package-manager=maven&previous-version=1.22&new-version=1.23)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-03-27T20:56:44Z", + "updated_at": "2023-04-03T10:10:13Z", + "closed_at": "2023-04-03T10:10:12Z", + "merged_at": "2023-04-03T10:10:12Z", + "merge_commit_sha": "f8c952915b1debec37f7191aeab672fe1e5da85c", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/575/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/575/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/575/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/2dac87e6afabc3bdb8807382ab6bfd86cadf4fba", + "head": { + "label": "cloudbees-oss:dependabot/maven/org.codehaus.mojo-animal-sniffer-enforcer-rule-1.23", + "ref": "dependabot/maven/org.codehaus.mojo-animal-sniffer-enforcer-rule-1.23", + "sha": "2dac87e6afabc3bdb8807382ab6bfd86cadf4fba", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-03T10:10:12Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1134, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 5, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 5, + "watchers": 146, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "8695a63d8645fb8a17e6949d75e3b26151767bd0", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-03T10:10:12Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1134, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 5, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 5, + "watchers": 146, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/575" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/575" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/575" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/575/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/575/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/575/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/2dac87e6afabc3bdb8807382ab6bfd86cadf4fba" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-04-03T10:10:14Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160212235", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1368719885, + "node_id": "PRR_kwDOAIy5dc5RlQIN", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "commit_id": "2dac87e6afabc3bdb8807382ab6bfd86cadf4fba", + "submitted_at": "2023-04-03T10:10:08Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/575#pullrequestreview-1368719885", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/575", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/575#pullrequestreview-1368719885" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/575" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/575", + "id": 1291985744, + "node_id": "PR_kwDOAIy5dc5NAiNQ", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/575", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/575.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/575.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/575", + "number": 575, + "state": "open", + "locked": false, + "title": "Bump animal-sniffer-enforcer-rule from 1.22 to 1.23", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [animal-sniffer-enforcer-rule](https://github.com/mojohaus/animal-sniffer) from 1.22 to 1.23.\n
    \nRelease notes\n

    Sourced from animal-sniffer-enforcer-rule's releases.

    \n
    \n

    1.23

    \n\n

    🚀 New features and improvements

    \n\n

    đŸ“Ļ Dependency updates

    \n\n

    đŸ‘ģ Maintenance

    \n\n
    \n
    \n
    \nCommits\n
      \n
    • bae2423 [maven-release-plugin] prepare release 1.23
    • \n
    • 90f22e4 Refresh documentation site
    • \n
    • 49fdd5d Bump parent from 70 to 74 and poms cleanup
    • \n
    • fa0f098 Get rid of maven-compat use Resolver API
    • \n
    • 4f547b0 (ci) Use latest releases of Maven 3.9.1 and 3.8.8
    • \n
    • ac9296b Bump maven-surefire-plugin from 2.22.2 to 3.0.0
    • \n
    • f343158 Prepare to run on Java 19+
    • \n
    • 797ccf7 Bump plexus-utils from 3.5.0 to 3.5.1
    • \n
    • 2ce6d43 Bump maven-plugin-plugin from 3.7.1 to 3.8.1
    • \n
    • 9452d08 Bump maven-plugin-annotations from 3.7.1 to 3.8.1
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.codehaus.mojo:animal-sniffer-enforcer-rule&package-manager=maven&previous-version=1.22&new-version=1.23)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-03-27T20:56:44Z", + "updated_at": "2023-04-03T10:10:08Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "8f66f931a21a6f2eb48b365caf73ffc786a18ff2", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/575/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/575/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/575/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/2dac87e6afabc3bdb8807382ab6bfd86cadf4fba", + "head": { + "label": "cloudbees-oss:dependabot/maven/org.codehaus.mojo-animal-sniffer-enforcer-rule-1.23", + "ref": "dependabot/maven/org.codehaus.mojo-animal-sniffer-enforcer-rule-1.23", + "sha": "2dac87e6afabc3bdb8807382ab6bfd86cadf4fba", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-03T10:10:00Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1134, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 6, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 6, + "watchers": 146, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "8695a63d8645fb8a17e6949d75e3b26151767bd0", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-03T10:10:00Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1134, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 6, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 6, + "watchers": 146, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/575" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/575" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/575" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/575/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/575/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/575/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/2dac87e6afabc3bdb8807382ab6bfd86cadf4fba" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-04-03T10:10:08Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user_9881659_events_public-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user_9881659_events_public-4.json new file mode 100644 index 0000000000..68f25b6dee --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user_9881659_events_public-4.json @@ -0,0 +1,6681 @@ +[ + { + "id": "28160208988", + "type": "DeleteEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "ref": "dependabot/maven/org.codehaus.mojo-extra-enforcer-rules-1.6.2", + "ref_type": "branch", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-03T10:10:01Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160208860", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 13168153906, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "36f68398fb0268eb2d305f6ed761383335f018b0", + "before": "5c5d118cf0d32778077cb1163161bcc3dbbbfc16", + "commits": [ + { + "sha": "f2a2d86d4a98efd6759b8df89864ae52e8d1c72e", + "author": { + "email": "49699333+dependabot[bot]@users.noreply.github.com", + "name": "dependabot[bot]" + }, + "message": "Bump extra-enforcer-rules from 1.6.1 to 1.6.2\n\nBumps [extra-enforcer-rules](https://github.com/mojohaus/extra-enforcer-rules) from 1.6.1 to 1.6.2.\n- [Release notes](https://github.com/mojohaus/extra-enforcer-rules/releases)\n- [Commits](https://github.com/mojohaus/extra-enforcer-rules/compare/extra-enforcer-rules-1.6.1...1.6.2)\n\n---\nupdated-dependencies:\n- dependency-name: org.codehaus.mojo:extra-enforcer-rules\n dependency-type: direct:production\n update-type: version-update:semver-patch\n...\n\nSigned-off-by: dependabot[bot] ", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/f2a2d86d4a98efd6759b8df89864ae52e8d1c72e" + }, + { + "sha": "36f68398fb0268eb2d305f6ed761383335f018b0", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #576 from cloudbees-oss/dependabot/maven/org.codehaus.mojo-extra-enforcer-rules-1.6.2", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/36f68398fb0268eb2d305f6ed761383335f018b0" + } + ] + }, + "public": true, + "created_at": "2023-04-03T10:10:01Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160208678", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 576, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/576", + "id": 1295272495, + "node_id": "PR_kwDOAIy5dc5NNEov", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/576", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/576.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/576.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/576", + "number": 576, + "state": "closed", + "locked": false, + "title": "Bump extra-enforcer-rules from 1.6.1 to 1.6.2", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [extra-enforcer-rules](https://github.com/mojohaus/extra-enforcer-rules) from 1.6.1 to 1.6.2.\n
    \nRelease notes\n

    Sourced from extra-enforcer-rules's releases.

    \n
    \n

    1.6.2

    \n\n

    🐛 Bug Fixes

    \n\n

    đŸ“Ļ Dependency updates

    \n\n

    đŸ‘ģ Maintenance

    \n\n
    \n
    \n
    \nCommits\n
      \n
    • bc834e6 [maven-release-plugin] prepare release 1.6.2
    • \n
    • f257b04 Fix broken links in documentation
    • \n
    • 6803922 Use Maven 3.9.1 on GitHub
    • \n
    • 829dade Bump spring-core in /src/it/banduplicate-classes-wildcard-exclusion
    • \n
    • 1e7b0e3 Bump mojo-parent from 73 to 74
    • \n
    • de48f6d Add .git-blame-ignore-revs with last code reformat
    • \n
    • f97cc25 Enable checkstyle and spotless plugins - code reformat
    • \n
    • 8a9addf Enable checkstyle and spotless plugins
    • \n
    • 86feda3 Use Maven 3.9.0 for build on GitHub
    • \n
    • ebb2df5 Bump parent from 70 to 73
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.codehaus.mojo:extra-enforcer-rules&package-manager=maven&previous-version=1.6.1&new-version=1.6.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-03-29T20:56:56Z", + "updated_at": "2023-04-03T10:10:00Z", + "closed_at": "2023-04-03T10:09:59Z", + "merged_at": "2023-04-03T10:09:59Z", + "merge_commit_sha": "36f68398fb0268eb2d305f6ed761383335f018b0", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/576/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/576/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/576/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/f2a2d86d4a98efd6759b8df89864ae52e8d1c72e", + "head": { + "label": "cloudbees-oss:dependabot/maven/org.codehaus.mojo-extra-enforcer-rules-1.6.2", + "ref": "dependabot/maven/org.codehaus.mojo-extra-enforcer-rules-1.6.2", + "sha": "f2a2d86d4a98efd6759b8df89864ae52e8d1c72e", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-03T10:09:59Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1134, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 6, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 6, + "watchers": 146, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "8695a63d8645fb8a17e6949d75e3b26151767bd0", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-03T10:09:59Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1134, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 6, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 6, + "watchers": 146, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/576" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/576" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/576" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/576/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/576/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/576/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/f2a2d86d4a98efd6759b8df89864ae52e8d1c72e" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-04-03T10:10:01Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160206186", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1368719376, + "node_id": "PRR_kwDOAIy5dc5RlQAQ", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "commit_id": "f2a2d86d4a98efd6759b8df89864ae52e8d1c72e", + "submitted_at": "2023-04-03T10:09:54Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/576#pullrequestreview-1368719376", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/576", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/576#pullrequestreview-1368719376" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/576" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/576", + "id": 1295272495, + "node_id": "PR_kwDOAIy5dc5NNEov", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/576", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/576.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/576.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/576", + "number": 576, + "state": "open", + "locked": false, + "title": "Bump extra-enforcer-rules from 1.6.1 to 1.6.2", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [extra-enforcer-rules](https://github.com/mojohaus/extra-enforcer-rules) from 1.6.1 to 1.6.2.\n
    \nRelease notes\n

    Sourced from extra-enforcer-rules's releases.

    \n
    \n

    1.6.2

    \n\n

    🐛 Bug Fixes

    \n\n

    đŸ“Ļ Dependency updates

    \n\n

    đŸ‘ģ Maintenance

    \n\n
    \n
    \n
    \nCommits\n
      \n
    • bc834e6 [maven-release-plugin] prepare release 1.6.2
    • \n
    • f257b04 Fix broken links in documentation
    • \n
    • 6803922 Use Maven 3.9.1 on GitHub
    • \n
    • 829dade Bump spring-core in /src/it/banduplicate-classes-wildcard-exclusion
    • \n
    • 1e7b0e3 Bump mojo-parent from 73 to 74
    • \n
    • de48f6d Add .git-blame-ignore-revs with last code reformat
    • \n
    • f97cc25 Enable checkstyle and spotless plugins - code reformat
    • \n
    • 8a9addf Enable checkstyle and spotless plugins
    • \n
    • 86feda3 Use Maven 3.9.0 for build on GitHub
    • \n
    • ebb2df5 Bump parent from 70 to 73
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.codehaus.mojo:extra-enforcer-rules&package-manager=maven&previous-version=1.6.1&new-version=1.6.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-03-29T20:56:56Z", + "updated_at": "2023-04-03T10:09:55Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "1062284abcb59e29ead419aafe8ced52939ae3e7", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/576/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/576/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/576/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/f2a2d86d4a98efd6759b8df89864ae52e8d1c72e", + "head": { + "label": "cloudbees-oss:dependabot/maven/org.codehaus.mojo-extra-enforcer-rules-1.6.2", + "ref": "dependabot/maven/org.codehaus.mojo-extra-enforcer-rules-1.6.2", + "sha": "f2a2d86d4a98efd6759b8df89864ae52e8d1c72e", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-03T10:09:22Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1134, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 7, + "watchers": 146, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "8695a63d8645fb8a17e6949d75e3b26151767bd0", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-03T10:09:22Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1134, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 7, + "watchers": 146, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/576" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/576" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/576" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/576/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/576/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/576/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/f2a2d86d4a98efd6759b8df89864ae52e8d1c72e" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-04-03T10:09:55Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160199146", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1368718765, + "node_id": "PRR_kwDOAIy5dc5RlP2t", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "commit_id": "e7976c8dae29cfd3610da3227bede40d17d49db0", + "submitted_at": "2023-04-03T10:09:39Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560#pullrequestreview-1368718765", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560#pullrequestreview-1368718765" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560", + "id": 1268109239, + "node_id": "PR_kwDOAIy5dc5Llc-3", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560", + "number": 560, + "state": "open", + "locked": false, + "title": "Support the 'Content Tags' resource in the Zendesk API - resolves #559", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "body": "Content Tags can be added to posts and articles to loosely group them together.\r\nThe resource is a small object {id, name, createdDate, updatedDate}\r\nThe API supports CRUD & some searching\r\n\r\n**Additional context**\r\nAPI documentation: https://developer.zendesk.com/api-reference/help_center/help-center-api/content_tags/\r\nArticle about how they are used: https://support.zendesk.com/hc/en-us/articles/4848925672730", + "created_at": "2023-03-08T16:11:35Z", + "updated_at": "2023-04-03T10:09:39Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "833249fbb145b6169c12688bb00197a5c0e77fff", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 34598766, + "node_id": "MDU6TGFiZWwzNDU5ODc2Ng==", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/enhancement", + "name": "enhancement", + "color": "84b6eb", + "default": true, + "description": null + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/e7976c8dae29cfd3610da3227bede40d17d49db0", + "head": { + "label": "andy-may-at:issue/559/implement_content_tags_resource", + "ref": "issue/559/implement_content_tags_resource", + "sha": "e7976c8dae29cfd3610da3227bede40d17d49db0", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 610732619, + "node_id": "R_kgDOJGcKSw", + "name": "zendesk-java-client", + "full_name": "andy-may-at/zendesk-java-client", + "private": false, + "owner": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/andy-may-at/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/andy-may-at/zendesk-java-client", + "forks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/deployments", + "created_at": "2023-03-07T11:21:54Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-04-03T10:09:21Z", + "git_url": "git://github.com/andy-may-at/zendesk-java-client.git", + "ssh_url": "git@github.com:andy-may-at/zendesk-java-client.git", + "clone_url": "https://github.com/andy-may-at/zendesk-java-client.git", + "svn_url": "https://github.com/andy-may-at/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1127, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "8695a63d8645fb8a17e6949d75e3b26151767bd0", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-03T10:09:22Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1134, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 7, + "watchers": 146, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/e7976c8dae29cfd3610da3227bede40d17d49db0" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-04-03T10:09:40Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160191895", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 610732619, + "name": "andy-may-at/zendesk-java-client", + "url": "https://api.github.com/repos/andy-may-at/zendesk-java-client" + }, + "payload": { + "repository_id": 610732619, + "push_id": 13168145821, + "size": 1, + "distinct_size": 1, + "ref": "refs/heads/issue/559/implement_content_tags_resource", + "head": "e7976c8dae29cfd3610da3227bede40d17d49db0", + "before": "8f764129b879252cfb84adcc8c324a49cfd9b36e", + "commits": [ + { + "sha": "e7976c8dae29cfd3610da3227bede40d17d49db0", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Update src/main/java/org/zendesk/client/v2/model/hc/ContentTag.java", + "distinct": true, + "url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/commits/e7976c8dae29cfd3610da3227bede40d17d49db0" + } + ] + }, + "public": true, + "created_at": "2023-04-03T10:09:23Z" + }, + { + "id": "28160191478", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1368689474, + "node_id": "PRR_kwDOAIy5dc5RlItC", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "Lgmt, nice work.\r\nI'm taking the library to commit the fix on the javadoc to be able to merge and release", + "commit_id": "8f764129b879252cfb84adcc8c324a49cfd9b36e", + "submitted_at": "2023-04-03T10:09:15Z", + "state": "dismissed", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560#pullrequestreview-1368689474", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560#pullrequestreview-1368689474" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560", + "id": 1268109239, + "node_id": "PR_kwDOAIy5dc5Llc-3", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560", + "number": 560, + "state": "open", + "locked": false, + "title": "Support the 'Content Tags' resource in the Zendesk API - resolves #559", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "body": "Content Tags can be added to posts and articles to loosely group them together.\r\nThe resource is a small object {id, name, createdDate, updatedDate}\r\nThe API supports CRUD & some searching\r\n\r\n**Additional context**\r\nAPI documentation: https://developer.zendesk.com/api-reference/help_center/help-center-api/content_tags/\r\nArticle about how they are used: https://support.zendesk.com/hc/en-us/articles/4848925672730", + "created_at": "2023-03-08T16:11:35Z", + "updated_at": "2023-04-03T10:09:22Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "29a9e49c7cefcc44ecd9f7f7a409d6a372cf2598", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 34598766, + "node_id": "MDU6TGFiZWwzNDU5ODc2Ng==", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/enhancement", + "name": "enhancement", + "color": "84b6eb", + "default": true, + "description": null + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/e7976c8dae29cfd3610da3227bede40d17d49db0", + "head": { + "label": "andy-may-at:issue/559/implement_content_tags_resource", + "ref": "issue/559/implement_content_tags_resource", + "sha": "e7976c8dae29cfd3610da3227bede40d17d49db0", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 610732619, + "node_id": "R_kgDOJGcKSw", + "name": "zendesk-java-client", + "full_name": "andy-may-at/zendesk-java-client", + "private": false, + "owner": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/andy-may-at/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/andy-may-at/zendesk-java-client", + "forks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/deployments", + "created_at": "2023-03-07T11:21:54Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-04-03T10:09:21Z", + "git_url": "git://github.com/andy-may-at/zendesk-java-client.git", + "ssh_url": "git@github.com:andy-may-at/zendesk-java-client.git", + "clone_url": "https://github.com/andy-may-at/zendesk-java-client.git", + "svn_url": "https://github.com/andy-may-at/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1127, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "8695a63d8645fb8a17e6949d75e3b26151767bd0", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-03T09:50:08Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1134, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 7, + "watchers": 146, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/e7976c8dae29cfd3610da3227bede40d17d49db0" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-04-03T10:09:22Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160189005", + "type": "PullRequestReviewCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "comment": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments/1155739992", + "pull_request_review_id": 1368689474, + "id": 1155739992, + "node_id": "PRRC_kwDOAIy5dc5E4zFY", + "diff_hunk": "@@ -0,0 +1,95 @@\n+package org.zendesk.client.v2.model.hc;\n+\n+import com.fasterxml.jackson.annotation.JsonProperty;\n+\n+import java.util.Date;\n+import java.util.Objects;\n+\n+/**\n+ * You can assign a content tag to posts and articles to loosely group them together.\n+ *

    ", + "path": "src/main/java/org/zendesk/client/v2/model/hc/ContentTag.java", + "position": 10, + "original_position": 10, + "commit_id": "8f764129b879252cfb84adcc8c324a49cfd9b36e", + "original_commit_id": "8f764129b879252cfb84adcc8c324a49cfd9b36e", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "No matching `

    ` this fails the javadoc generation:\r\n\r\n```\r\n Error: Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.3:jar (attach-javadocs) on project zendesk-java-client: MavenReportException: Error while generating Javadoc: \r\nError: Exit code: 1 - /home/runner/work/zendesk-java-client/zendesk-java-client/src/main/java/org/zendesk/client/v2/model/hc/ContentTag.java:10: error: unexpected end tag:

    \r\nError: *

    \r\n```\r\n\r\n```suggestion\r\n```", + "created_at": "2023-04-03T09:53:58Z", + "updated_at": "2023-04-03T10:09:16Z", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560#discussion_r1155739992", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560", + "author_association": "COLLABORATOR", + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments/1155739992" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560#discussion_r1155739992" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560" + } + }, + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments/1155739992/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 10, + "original_line": 10, + "side": "RIGHT", + "subject_type": "line" + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560", + "id": 1268109239, + "node_id": "PR_kwDOAIy5dc5Llc-3", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560", + "number": 560, + "state": "open", + "locked": false, + "title": "Support the 'Content Tags' resource in the Zendesk API - resolves #559", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "body": "Content Tags can be added to posts and articles to loosely group them together.\r\nThe resource is a small object {id, name, createdDate, updatedDate}\r\nThe API supports CRUD & some searching\r\n\r\n**Additional context**\r\nAPI documentation: https://developer.zendesk.com/api-reference/help_center/help-center-api/content_tags/\r\nArticle about how they are used: https://support.zendesk.com/hc/en-us/articles/4848925672730", + "created_at": "2023-03-08T16:11:35Z", + "updated_at": "2023-04-03T10:09:16Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "29a9e49c7cefcc44ecd9f7f7a409d6a372cf2598", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 34598766, + "node_id": "MDU6TGFiZWwzNDU5ODc2Ng==", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/enhancement", + "name": "enhancement", + "color": "84b6eb", + "default": true, + "description": null + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/8f764129b879252cfb84adcc8c324a49cfd9b36e", + "head": { + "label": "andy-may-at:issue/559/implement_content_tags_resource", + "ref": "issue/559/implement_content_tags_resource", + "sha": "8f764129b879252cfb84adcc8c324a49cfd9b36e", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 610732619, + "node_id": "R_kgDOJGcKSw", + "name": "zendesk-java-client", + "full_name": "andy-may-at/zendesk-java-client", + "private": false, + "owner": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/andy-may-at/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/andy-may-at/zendesk-java-client", + "forks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/deployments", + "created_at": "2023-03-07T11:21:54Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-22T17:51:13Z", + "git_url": "git://github.com/andy-may-at/zendesk-java-client.git", + "ssh_url": "git@github.com:andy-may-at/zendesk-java-client.git", + "clone_url": "https://github.com/andy-may-at/zendesk-java-client.git", + "svn_url": "https://github.com/andy-may-at/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1127, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "8695a63d8645fb8a17e6949d75e3b26151767bd0", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-03T09:50:08Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1134, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 7, + "watchers": 146, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/8f764129b879252cfb84adcc8c324a49cfd9b36e" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-04-03T09:53:58Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160188948", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1368689474, + "node_id": "PRR_kwDOAIy5dc5RlItC", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "Lgmt, nice work.\r\nI'm taking the library to commit the fix on the javadoc to be able to merge and release", + "commit_id": "8f764129b879252cfb84adcc8c324a49cfd9b36e", + "submitted_at": "2023-04-03T10:09:15Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560#pullrequestreview-1368689474", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560#pullrequestreview-1368689474" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560", + "id": 1268109239, + "node_id": "PR_kwDOAIy5dc5Llc-3", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560", + "number": 560, + "state": "open", + "locked": false, + "title": "Support the 'Content Tags' resource in the Zendesk API - resolves #559", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "body": "Content Tags can be added to posts and articles to loosely group them together.\r\nThe resource is a small object {id, name, createdDate, updatedDate}\r\nThe API supports CRUD & some searching\r\n\r\n**Additional context**\r\nAPI documentation: https://developer.zendesk.com/api-reference/help_center/help-center-api/content_tags/\r\nArticle about how they are used: https://support.zendesk.com/hc/en-us/articles/4848925672730", + "created_at": "2023-03-08T16:11:35Z", + "updated_at": "2023-04-03T10:09:16Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "29a9e49c7cefcc44ecd9f7f7a409d6a372cf2598", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 34598766, + "node_id": "MDU6TGFiZWwzNDU5ODc2Ng==", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/enhancement", + "name": "enhancement", + "color": "84b6eb", + "default": true, + "description": null + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/8f764129b879252cfb84adcc8c324a49cfd9b36e", + "head": { + "label": "andy-may-at:issue/559/implement_content_tags_resource", + "ref": "issue/559/implement_content_tags_resource", + "sha": "8f764129b879252cfb84adcc8c324a49cfd9b36e", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 610732619, + "node_id": "R_kgDOJGcKSw", + "name": "zendesk-java-client", + "full_name": "andy-may-at/zendesk-java-client", + "private": false, + "owner": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/andy-may-at/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/andy-may-at/zendesk-java-client", + "forks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/deployments", + "created_at": "2023-03-07T11:21:54Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-22T17:51:13Z", + "git_url": "git://github.com/andy-may-at/zendesk-java-client.git", + "ssh_url": "git@github.com:andy-may-at/zendesk-java-client.git", + "clone_url": "https://github.com/andy-may-at/zendesk-java-client.git", + "svn_url": "https://github.com/andy-may-at/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1127, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "8695a63d8645fb8a17e6949d75e3b26151767bd0", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-03T09:50:08Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1134, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 7, + "watchers": 146, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/8f764129b879252cfb84adcc8c324a49cfd9b36e" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-04-03T10:09:17Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28160188852", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1368689474, + "node_id": "PRR_kwDOAIy5dc5RlItC", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "Lgmt, nice work.\r\nI'm taking the library to commit the fix on the javadoc to be able to merge and release", + "commit_id": "8f764129b879252cfb84adcc8c324a49cfd9b36e", + "submitted_at": "2023-04-03T10:09:15Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560#pullrequestreview-1368689474", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560#pullrequestreview-1368689474" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560", + "id": 1268109239, + "node_id": "PR_kwDOAIy5dc5Llc-3", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560", + "number": 560, + "state": "open", + "locked": false, + "title": "Support the 'Content Tags' resource in the Zendesk API - resolves #559", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "body": "Content Tags can be added to posts and articles to loosely group them together.\r\nThe resource is a small object {id, name, createdDate, updatedDate}\r\nThe API supports CRUD & some searching\r\n\r\n**Additional context**\r\nAPI documentation: https://developer.zendesk.com/api-reference/help_center/help-center-api/content_tags/\r\nArticle about how they are used: https://support.zendesk.com/hc/en-us/articles/4848925672730", + "created_at": "2023-03-08T16:11:35Z", + "updated_at": "2023-04-03T10:09:16Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "29a9e49c7cefcc44ecd9f7f7a409d6a372cf2598", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 34598766, + "node_id": "MDU6TGFiZWwzNDU5ODc2Ng==", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/enhancement", + "name": "enhancement", + "color": "84b6eb", + "default": true, + "description": null + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/8f764129b879252cfb84adcc8c324a49cfd9b36e", + "head": { + "label": "andy-may-at:issue/559/implement_content_tags_resource", + "ref": "issue/559/implement_content_tags_resource", + "sha": "8f764129b879252cfb84adcc8c324a49cfd9b36e", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 610732619, + "node_id": "R_kgDOJGcKSw", + "name": "zendesk-java-client", + "full_name": "andy-may-at/zendesk-java-client", + "private": false, + "owner": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/andy-may-at/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/andy-may-at/zendesk-java-client", + "forks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/deployments", + "created_at": "2023-03-07T11:21:54Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-22T17:51:13Z", + "git_url": "git://github.com/andy-may-at/zendesk-java-client.git", + "ssh_url": "git@github.com:andy-may-at/zendesk-java-client.git", + "clone_url": "https://github.com/andy-may-at/zendesk-java-client.git", + "svn_url": "https://github.com/andy-may-at/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1127, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "8695a63d8645fb8a17e6949d75e3b26151767bd0", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-03T09:50:08Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1134, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 7, + "watchers": 146, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/8f764129b879252cfb84adcc8c324a49cfd9b36e" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-04-03T10:09:17Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28159668736", + "type": "IssuesEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/534", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/534/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/534/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/534/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/534", + "id": 1516159841, + "node_id": "I_kwDOAIy5dc5aXsNh", + "number": 534, + "title": "Help Center Section parent id attribute", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 34598766, + "node_id": "MDU6TGFiZWwzNDU5ODc2Ng==", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/enhancement", + "name": "enhancement", + "color": "84b6eb", + "default": true, + "description": null + }, + { + "id": 3476468010, + "node_id": "LA_kwDOAIy5dc7PNrEq", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/Stale", + "name": "Stale", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 1, + "created_at": "2023-01-02T08:51:38Z", + "updated_at": "2023-04-03T09:50:10Z", + "closed_at": "2023-03-11T08:05:24Z", + "author_association": "COLLABORATOR", + "active_lock_reason": null, + "body": "### Discussed in https://github.com/cloudbees-oss/zendesk-java-client/discussions/514\r\n\r\n
    \r\n\r\nOriginally posted by **pmorddny** October 10, 2022\r\nOn the API documentation https://developer.zendesk.com/api-reference/help_center/help-center-api/sections/ there's a parent_section_id attribute mentioned. I don't see it on the Section class. Could it be added when you get a chance?\r\n\r\nthanks!
    ", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/534/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/534/timeline", + "performed_via_github_app": null, + "state_reason": "completed" + } + }, + "public": true, + "created_at": "2023-04-03T09:50:11Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28159668283", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 571, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/571", + "id": 1285672122, + "node_id": "PR_kwDOAIy5dc5Mocy6", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/571", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/571.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/571.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/571", + "number": 571, + "state": "closed", + "locked": false, + "title": "added parent section id to section", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "body": "fixes https://github.com/cloudbees-oss/zendesk-java-client/issues/534\r\n\r\nI can't add any tests for this since i don't know the structure of your Zendesk help center you use for testing.", + "created_at": "2023-03-22T11:11:22Z", + "updated_at": "2023-04-03T09:50:09Z", + "closed_at": "2023-04-03T09:50:08Z", + "merged_at": "2023-04-03T09:50:08Z", + "merge_commit_sha": "5c5d118cf0d32778077cb1163161bcc3dbbbfc16", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/571/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/571/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/571/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/4e944cbdae04e0be204aaf434965f2884e34834b", + "head": { + "label": "Walti91:master", + "ref": "master", + "sha": "4e944cbdae04e0be204aaf434965f2884e34834b", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 608681427, + "node_id": "R_kgDOJEe90w", + "name": "zendesk-java-client", + "full_name": "Walti91/zendesk-java-client", + "private": false, + "owner": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/Walti91/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/Walti91/zendesk-java-client", + "forks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/Walti91/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Walti91/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Walti91/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/Walti91/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Walti91/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Walti91/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/Walti91/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Walti91/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/Walti91/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Walti91/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/Walti91/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Walti91/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Walti91/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Walti91/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/Walti91/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/deployments", + "created_at": "2023-03-02T14:22:26Z", + "updated_at": "2023-03-02T15:21:34Z", + "pushed_at": "2023-03-22T11:09:13Z", + "git_url": "git://github.com/Walti91/zendesk-java-client.git", + "ssh_url": "git@github.com:Walti91/zendesk-java-client.git", + "clone_url": "https://github.com/Walti91/zendesk-java-client.git", + "svn_url": "https://github.com/Walti91/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1120, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "8695a63d8645fb8a17e6949d75e3b26151767bd0", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-04-03T09:50:08Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1134, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 7, + "watchers": 146, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/571" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/571" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/571" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/571/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/571/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/571/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/4e944cbdae04e0be204aaf434965f2884e34834b" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 12, + "deletions": 0, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-04-03T09:50:10Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28159668409", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 13167905429, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "5c5d118cf0d32778077cb1163161bcc3dbbbfc16", + "before": "8695a63d8645fb8a17e6949d75e3b26151767bd0", + "commits": [ + { + "sha": "4e944cbdae04e0be204aaf434965f2884e34834b", + "author": { + "email": "florian.waltenberger@lingohub.com", + "name": "Florian Waltenberger" + }, + "message": "added parent section id to section", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/4e944cbdae04e0be204aaf434965f2884e34834b" + }, + { + "sha": "5c5d118cf0d32778077cb1163161bcc3dbbbfc16", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #571 from Walti91/master", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/5c5d118cf0d32778077cb1163161bcc3dbbbfc16" + } + ] + }, + "public": true, + "created_at": "2023-04-03T09:50:10Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28159665772", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1368682734, + "node_id": "PRR_kwDOAIy5dc5RlHDu", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "lgtm thanks", + "commit_id": "4e944cbdae04e0be204aaf434965f2884e34834b", + "submitted_at": "2023-04-03T09:50:03Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/571#pullrequestreview-1368682734", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/571", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/571#pullrequestreview-1368682734" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/571" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/571", + "id": 1285672122, + "node_id": "PR_kwDOAIy5dc5Mocy6", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/571", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/571.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/571.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/571", + "number": 571, + "state": "open", + "locked": false, + "title": "added parent section id to section", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "body": "fixes https://github.com/cloudbees-oss/zendesk-java-client/issues/534\r\n\r\nI can't add any tests for this since i don't know the structure of your Zendesk help center you use for testing.", + "created_at": "2023-03-22T11:11:22Z", + "updated_at": "2023-04-03T09:50:04Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "825a4f0503051b183f482a485f7e474762d6296e", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/571/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/571/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/571/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/4e944cbdae04e0be204aaf434965f2884e34834b", + "head": { + "label": "Walti91:master", + "ref": "master", + "sha": "4e944cbdae04e0be204aaf434965f2884e34834b", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 608681427, + "node_id": "R_kgDOJEe90w", + "name": "zendesk-java-client", + "full_name": "Walti91/zendesk-java-client", + "private": false, + "owner": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/Walti91/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/Walti91/zendesk-java-client", + "forks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/Walti91/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Walti91/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Walti91/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/Walti91/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Walti91/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Walti91/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/Walti91/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Walti91/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/Walti91/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Walti91/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/Walti91/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Walti91/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Walti91/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Walti91/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/Walti91/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/deployments", + "created_at": "2023-03-02T14:22:26Z", + "updated_at": "2023-03-02T15:21:34Z", + "pushed_at": "2023-03-22T11:09:13Z", + "git_url": "git://github.com/Walti91/zendesk-java-client.git", + "ssh_url": "git@github.com:Walti91/zendesk-java-client.git", + "clone_url": "https://github.com/Walti91/zendesk-java-client.git", + "svn_url": "https://github.com/Walti91/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1120, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "8695a63d8645fb8a17e6949d75e3b26151767bd0", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2023-04-03T09:31:03Z", + "pushed_at": "2023-03-29T20:56:57Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1134, + "stargazers_count": 146, + "watchers_count": 146, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 8, + "watchers": 146, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/571" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/571" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/571" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/571/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/571/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/571/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/4e944cbdae04e0be204aaf434965f2884e34834b" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-04-03T09:50:04Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28159647616", + "type": "IssueCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/573", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/573/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/573/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/573/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/573", + "id": 1640304441, + "node_id": "I_kwDOAIy5dc5hxQ85", + "number": 573, + "title": "Cannot marshal Ticket to JSON", + "user": { + "login": "afm497", + "id": 586053, + "node_id": "MDQ6VXNlcjU4NjA1Mw==", + "avatar_url": "https://avatars.githubusercontent.com/u/586053?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/afm497", + "html_url": "https://github.com/afm497", + "followers_url": "https://api.github.com/users/afm497/followers", + "following_url": "https://api.github.com/users/afm497/following{/other_user}", + "gists_url": "https://api.github.com/users/afm497/gists{/gist_id}", + "starred_url": "https://api.github.com/users/afm497/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/afm497/subscriptions", + "organizations_url": "https://api.github.com/users/afm497/orgs", + "repos_url": "https://api.github.com/users/afm497/repos", + "events_url": "https://api.github.com/users/afm497/events{/privacy}", + "received_events_url": "https://api.github.com/users/afm497/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 1, + "created_at": "2023-03-25T01:29:27Z", + "updated_at": "2023-04-03T09:49:20Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "**Describe the bug**\r\nCannot, at least using both GSON and Jackson, marshal a Ticket to JSON. Multiple fields named **priority**. One in the Ticket itself, another in it's superclass, Request. The **priority** in Ticket is private, in Request it's protected. \r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. Using the API, grab a Ticket object.\r\n2. Try to marshal to JSON using either GSON or Jackson. Though it probably would apply to others, only have used those.\r\n4. See IllegalArgumentException referencing multiple fields named \"**priority**\".\r\n\r\n**Expected behavior**\r\nAbility to marshal Ticket object to JSON for proper transmission.\r\n\r\n**Additional context**\r\nNot sure anymore is needed, but happy provide anything additional. \r\n", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/573/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/573/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "comment": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1494015471", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/573#issuecomment-1494015471", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/573", + "id": 1494015471, + "node_id": "IC_kwDOAIy5dc5ZDN3v", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2023-04-03T09:49:20Z", + "updated_at": "2023-04-03T09:49:20Z", + "author_association": "COLLABORATOR", + "body": "@afm497 while the shadowed field is indeed less than ideal, I'm unsure why it wouldn't work. Following code is working at producing a json:\r\n\r\n```\r\n public static void main(String[] args) throws IOException {\r\n var ticket = new Ticket();\r\n ticket.setPriority(Priority.HIGH);\r\n var mapper = new ObjectMapper();\r\n mapper.writeValue(System.out, ticket);\r\n }\r\n```\r\n\r\nPlease provide a fully self contained reproducer.", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1494015471/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } + }, + "public": true, + "created_at": "2023-04-03T09:49:21Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "28159358037", + "type": "IssueCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/574", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/574/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/574/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/574/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/574", + "id": 1642589356, + "node_id": "I_kwDOAIy5dc5h5-ys", + "number": 574, + "title": "The total numbers doesn't match for articles", + "user": { + "login": "RobertoPegoraro", + "id": 10342271, + "node_id": "MDQ6VXNlcjEwMzQyMjcx", + "avatar_url": "https://avatars.githubusercontent.com/u/10342271?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/RobertoPegoraro", + "html_url": "https://github.com/RobertoPegoraro", + "followers_url": "https://api.github.com/users/RobertoPegoraro/followers", + "following_url": "https://api.github.com/users/RobertoPegoraro/following{/other_user}", + "gists_url": "https://api.github.com/users/RobertoPegoraro/gists{/gist_id}", + "starred_url": "https://api.github.com/users/RobertoPegoraro/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/RobertoPegoraro/subscriptions", + "organizations_url": "https://api.github.com/users/RobertoPegoraro/orgs", + "repos_url": "https://api.github.com/users/RobertoPegoraro/repos", + "events_url": "https://api.github.com/users/RobertoPegoraro/events{/privacy}", + "received_events_url": "https://api.github.com/users/RobertoPegoraro/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 2, + "created_at": "2023-03-27T18:19:29Z", + "updated_at": "2023-04-03T09:37:58Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "**Describe the bug**\r\nWhen I perform the request zd.getArticles(\"ja\") it returns 207 articles, but when I request using postman (Using the same credentials) in API https://myOrganization.zendesk.com/api/v2/help_center/ja/articles it returns 186 articles only.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. Request the articles from some locale in postman\r\n2. Request the same articles for the same locale using the SDK\r\n\r\n**Expected behavior**\r\nShould be retrieved the exaclty number of articles\r\n\r\n**Desktop (please complete the following information):**\r\n - OS: Mac OS Ventura 13.2.1\r\n - Postman Version 9.31.0\r\n - ZenDesk SDK Version 0.21.0\r\n - Java Version 11\r\n", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/574/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/574/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "comment": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1494000087", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/574#issuecomment-1494000087", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/574", + "id": 1494000087, + "node_id": "IC_kwDOAIy5dc5ZDKHX", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2023-04-03T09:37:58Z", + "updated_at": "2023-04-03T09:37:58Z", + "author_association": "COLLABORATOR", + "body": "@RobertoPegoraro unsure why you observe such a different, it looks like the method you are using is calling exactly the same endpoint:\r\n\r\nhttps://github.com/cloudbees-oss/zendesk-java-client/blob/master/src/main/java/org/zendesk/client/v2/Zendesk.java#L2237-L2240\r\n\r\nOnly thing I can think of is that in the case of postman you do not properly handle the pagination.\r\n\r\n\r\n", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1494000087/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } + }, + "public": true, + "created_at": "2023-04-03T09:37:58Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27836151473", + "type": "IssuesEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/561", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/561/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/561/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/561/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/561", + "id": 1619684531, + "node_id": "I_kwDOAIy5dc5gimyz", + "number": 561, + "title": "Add support for bulk delete users", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2023-03-10T22:12:18Z", + "updated_at": "2023-03-20T09:37:27Z", + "closed_at": "2023-03-20T09:37:27Z", + "author_association": "NONE", + "active_lock_reason": null, + "body": "**Is your feature request related to a problem? Please describe.**\r\nWe have a need to delete thousands of users efficiently.\r\n\r\n**Describe the solution you'd like**\r\nAdd support for the [Bulk Delete Users](https://developer.zendesk.com/api-reference/ticketing/users/users/#bulk-delete-users) endpoint\r\n\r\n**Describe alternatives you've considered**\r\nIndividual deleteUser() user calls are slow and will get rate limited fairly quickly.\r\n\r\n**Additional context**\r\nWe attempted to add a bulk delete by external_id, as well as a by id version, but the returned JSON JobStatus.JobResults contains a string id that isn't compatible with the current client JobResults id field which assumes ids will always be Longs.\r\n\r\nPR to be submitted\r\n", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/561/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/561/timeline", + "performed_via_github_app": null, + "state_reason": "completed" + } + }, + "public": true, + "created_at": "2023-03-20T09:37:28Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27836147761", + "type": "IssuesEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/563", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/563/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/563/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/563/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/563", + "id": 1622237684, + "node_id": "I_kwDOAIy5dc5gsWH0", + "number": 563, + "title": "Update links in README.md", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2023-03-13T20:50:00Z", + "updated_at": "2023-03-20T09:37:18Z", + "closed_at": "2023-03-20T09:37:18Z", + "author_association": "NONE", + "active_lock_reason": null, + "body": "**Describe the bug**\r\nThe links in the README.md point to no longer available Zendesk documentation. Update links to current docs.\r\n\r\n**Additional context**\r\nThe README links are labeled to show the status of implementing all the web endpoints. The list does not reflect all the currently available endpoints and may contain some that are no longer available.\r\n\r\nI did not see current documentation for these items at zedesk.com (neither were checked as implemented):\r\n* [Restrictions and Responsibilities](http://developer.zendesk.com/documentation/rest_api/restrictions.html)\r\n* [Autocompletion](http://developer.zendesk.com/documentation/rest_api/autocomplete.html)\r\n\r\nDoes Forums still exist?\r\n* [Forums](http://developer.zendesk.com/documentation/rest_api/forums.html) ✓\r\n* [Forum Subscriptions](http://developer.zendesk.com/documentation/rest_api/forum_subscriptions.html)\r\n* [Categories](http://developer.zendesk.com/documentation/rest_api/categories.html)\r\n\r\nThis link was not removed in the PR but might be something to consider removing:\r\n* [Users list](https://groups.google.com/forum/#!forum/zendesk-java-client-users)\r\n\r\n\r\nPR to be submitted updating the existing links.\r\n", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/563/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/563/timeline", + "performed_via_github_app": null, + "state_reason": "completed" + } + }, + "public": true, + "created_at": "2023-03-20T09:37:19Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27836144445", + "type": "IssuesEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/555", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/555/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/555/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/555/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/555", + "id": 1614209338, + "node_id": "I_kwDOAIy5dc5gNuE6", + "number": 555, + "title": "Switch to cursor based pagination for Users", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 4, + "created_at": "2023-03-07T21:06:18Z", + "updated_at": "2023-03-20T09:37:10Z", + "closed_at": "2023-03-20T09:37:10Z", + "author_association": "NONE", + "active_lock_reason": null, + "body": "**Is your feature request related to a problem? Please describe.**\r\nZendesk is encouraging usage of the newer cursor based pagination especially for large result sets. We recently ran into issues with the older offset based pagination with frequent changes to our user set. The offset based pagination bases the paging off of a cached total count of users. In our case that count was being cached for 24 hours which prevent seeing additional new pages added to the user collection. A similar problem exists if a large number of users are deleted, the paging will continue to instruct you to page through empty pages until the paging matches the cached user count.\r\n\r\n**Describe the solution you'd like**\r\nOffset pagination is the default and cursor based pagination can be enabled by adding a `?page[size]=100` parameter to the request. The returned paging information is similar but located in a different JSON object. Support for both offset and cursor based pagination can be added by looking for the cursor based pagination first and then falling through to the existing offset based pagination.\r\n\r\nCursor based pagination can then be incrementally added to specific calls in this library as needed.\r\n\r\n**Describe alternatives you've considered**\r\nZendesk was contacted about documenting or fixing the page count that is cached for ~24 hours and they recommended switching to cursor based pagination.\r\n\r\nAlternatively, the paging navigation links could be ignored and paging offsets continue, even if a next link is null, until an empty page is fetched. In the case of the cached count affecting offset paging, the non-navigable pages do exist even though they never appear in the paging navigation.\r\n\r\nPR to be submitted with a change to just the getUsers() endpoint, other endpoints could benefit from this change but are not covered by the PR\r\n\r\n**Additional Reference**\r\n\r\nhttps://developer.zendesk.com/api-reference/introduction/pagination/\r\n\r\nhttps://developer.zendesk.com/documentation/api-basics/pagination/paginating-through-lists-using-cursor-pagination/\r\n\r\nCursor pagination includes a links and meta section in the response with an opaque cursor value that is be included to fetch the next page.\r\n\r\n```\r\n\"meta\": {\r\n \"has_more\": true,\r\n \"after_cursor\": \"xxx\",\r\n \"before_cursor\": \"yyy\"\r\n},\r\n\"links\": {\r\n \"next\": \"https://example.zendesk.com/api/v2/tickets.json?page[size]=100&page[after]=xxx\",\r\n \"prev\": \"https://example.zendesk.com/api/v2/tickets.json?page[size]=100&page[before]=yyy\"\r\n}\r\n```\r\n\r\n\r\nhttps://developer.zendesk.com/documentation/api-basics/pagination/paginating-through-lists-using-offset-pagination/\r\n\r\nOffset pagination includes a next_page link in the top level of the JSON response with a integer page value that returns values that start at an offset multiple from the beginning of the collection.\r\n\r\n```\r\n\"tickets\": [ ... ],\r\n\"next_page\": \"https://example.zendesk.com/api/v2/tickets.json?page=2\",\r\n```\r\n", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/555/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/555/timeline", + "performed_via_github_app": null, + "state_reason": "completed" + } + }, + "public": true, + "created_at": "2023-03-20T09:37:11Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27836136033", + "type": "IssuesEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/566", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/566/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/566/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/566/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/566", + "id": 1623731952, + "node_id": "I_kwDOAIy5dc5gyC7w", + "number": 566, + "title": "Additional Organization methods - bulk delete and createOrUpdate", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2023-03-14T15:34:34Z", + "updated_at": "2023-03-20T09:36:49Z", + "closed_at": "2023-03-20T09:36:49Z", + "author_association": "NONE", + "active_lock_reason": null, + "body": "**Is your feature request related to a problem? Please describe.**\r\nAdd additional organization methods for deleting many organizations in bulk and the createOrUpdate method for organizations.\r\n\r\nPR request with changes to be submitted (thanks for all you do, this is the last PR from us for now)", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/566/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/566/timeline", + "performed_via_github_app": null, + "state_reason": "completed" + } + }, + "public": true, + "created_at": "2023-03-20T09:36:50Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27836107572", + "type": "IssueCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/567", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/567/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/567/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/567/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/567", + "id": 1623733186, + "node_id": "PR_kwDOAIy5dc5MAxHs", + "number": 567, + "title": "Add delete many, and create or update support for organizations", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 1, + "created_at": "2023-03-14T15:35:06Z", + "updated_at": "2023-03-20T09:35:40Z", + "closed_at": "2023-03-20T09:34:04Z", + "author_association": "NONE", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/567", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/567", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/567.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/567.patch", + "merged_at": "2023-03-20T09:34:04Z" + }, + "body": "PR for issue #566 ", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/567/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/567/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "comment": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1475898910", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/567#issuecomment-1475898910", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/567", + "id": 1475898910, + "node_id": "IC_kwDOAIy5dc5X-G4e", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2023-03-20T09:35:40Z", + "updated_at": "2023-03-20T09:35:40Z", + "author_association": "COLLABORATOR", + "body": "closes #566 ", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1475898910/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } + }, + "public": true, + "created_at": "2023-03-20T09:35:41Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27836096497", + "type": "DeleteEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "ref": "dependabot/maven/org.slf4j-slf4j-simple-2.0.7", + "ref_type": "branch", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-03-20T09:35:13Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27836096228", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 13002553734, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "8695a63d8645fb8a17e6949d75e3b26151767bd0", + "before": "eb9c84ddadb642fde02e8dbdb923caac89840c0a", + "commits": [ + { + "sha": "624488975ecff819086456c013aed2d98e3f9938", + "author": { + "email": "49699333+dependabot[bot]@users.noreply.github.com", + "name": "dependabot[bot]" + }, + "message": "Bump slf4j-simple from 2.0.6 to 2.0.7\n\nBumps [slf4j-simple](https://github.com/qos-ch/slf4j) from 2.0.6 to 2.0.7.\n- [Release notes](https://github.com/qos-ch/slf4j/releases)\n- [Commits](https://github.com/qos-ch/slf4j/commits)\n\n---\nupdated-dependencies:\n- dependency-name: org.slf4j:slf4j-simple\n dependency-type: direct:development\n update-type: version-update:semver-patch\n...\n\nSigned-off-by: dependabot[bot] ", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/624488975ecff819086456c013aed2d98e3f9938" + }, + { + "sha": "8695a63d8645fb8a17e6949d75e3b26151767bd0", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #570 from cloudbees-oss/dependabot/maven/org.slf4j-slf4j-simple-2.0.7", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/8695a63d8645fb8a17e6949d75e3b26151767bd0" + } + ] + }, + "public": true, + "created_at": "2023-03-20T09:35:13Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27836093517", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1348122967, + "node_id": "PRR_kwDOAIy5dc5QWrlX", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "commit_id": "624488975ecff819086456c013aed2d98e3f9938", + "submitted_at": "2023-03-20T09:35:05Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/570#pullrequestreview-1348122967", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/570", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/570#pullrequestreview-1348122967" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/570" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/570", + "id": 1280710890, + "node_id": "PR_kwDOAIy5dc5MVhjq", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/570", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/570.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/570.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/570", + "number": 570, + "state": "open", + "locked": false, + "title": "Bump slf4j-simple from 2.0.6 to 2.0.7", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [slf4j-simple](https://github.com/qos-ch/slf4j) from 2.0.6 to 2.0.7.\n
    \nCommits\n\n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.slf4j:slf4j-simple&package-manager=maven&previous-version=2.0.6&new-version=2.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-03-17T20:08:13Z", + "updated_at": "2023-03-20T09:35:05Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "612612ebab21f23834c9eba763520c882d9c0fa1", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/570/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/570/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/570/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/624488975ecff819086456c013aed2d98e3f9938", + "head": { + "label": "cloudbees-oss:dependabot/maven/org.slf4j-slf4j-simple-2.0.7", + "ref": "dependabot/maven/org.slf4j-slf4j-simple-2.0.7", + "sha": "624488975ecff819086456c013aed2d98e3f9938", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-20T09:34:57Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1279, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 7, + "watchers": 145, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "539f7e7dbd3f05a141255ca847d8f063fa3c11bb", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-20T09:34:57Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1279, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 7, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/570" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/570" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/570" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/570/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/570/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/570/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/624488975ecff819086456c013aed2d98e3f9938" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-20T09:35:06Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27836090355", + "type": "DeleteEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "ref": "dependabot/maven/org.slf4j-slf4j-api-2.0.7", + "ref_type": "branch", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-03-20T09:34:58Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27836090116", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 13002550752, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "eb9c84ddadb642fde02e8dbdb923caac89840c0a", + "before": "e04a717d448559f104e43efb33b08faa7f53f83c", + "commits": [ + { + "sha": "44620286aa255c5f24ec71f8986fcec636bbc4a5", + "author": { + "email": "49699333+dependabot[bot]@users.noreply.github.com", + "name": "dependabot[bot]" + }, + "message": "Bump slf4j-api from 2.0.6 to 2.0.7\n\nBumps [slf4j-api](https://github.com/qos-ch/slf4j) from 2.0.6 to 2.0.7.\n- [Release notes](https://github.com/qos-ch/slf4j/releases)\n- [Commits](https://github.com/qos-ch/slf4j/commits)\n\n---\nupdated-dependencies:\n- dependency-name: org.slf4j:slf4j-api\n dependency-type: direct:production\n update-type: version-update:semver-patch\n...\n\nSigned-off-by: dependabot[bot] ", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/44620286aa255c5f24ec71f8986fcec636bbc4a5" + }, + { + "sha": "eb9c84ddadb642fde02e8dbdb923caac89840c0a", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #569 from cloudbees-oss/dependabot/maven/org.slf4j-slf4j-api-2.0.7", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/eb9c84ddadb642fde02e8dbdb923caac89840c0a" + } + ] + }, + "public": true, + "created_at": "2023-03-20T09:34:58Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27836090010", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 569, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/569", + "id": 1280710842, + "node_id": "PR_kwDOAIy5dc5MVhi6", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/569", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/569.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/569.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/569", + "number": 569, + "state": "closed", + "locked": false, + "title": "Bump slf4j-api from 2.0.6 to 2.0.7", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [slf4j-api](https://github.com/qos-ch/slf4j) from 2.0.6 to 2.0.7.\n
    \nCommits\n\n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.slf4j:slf4j-api&package-manager=maven&previous-version=2.0.6&new-version=2.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-03-17T20:08:10Z", + "updated_at": "2023-03-20T09:34:56Z", + "closed_at": "2023-03-20T09:34:56Z", + "merged_at": "2023-03-20T09:34:56Z", + "merge_commit_sha": "eb9c84ddadb642fde02e8dbdb923caac89840c0a", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/569/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/569/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/569/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/44620286aa255c5f24ec71f8986fcec636bbc4a5", + "head": { + "label": "cloudbees-oss:dependabot/maven/org.slf4j-slf4j-api-2.0.7", + "ref": "dependabot/maven/org.slf4j-slf4j-api-2.0.7", + "sha": "44620286aa255c5f24ec71f8986fcec636bbc4a5", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-20T09:34:56Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1279, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 7, + "watchers": 145, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "539f7e7dbd3f05a141255ca847d8f063fa3c11bb", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-20T09:34:56Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1279, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 7, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/569" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/569" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/569" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/569/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/569/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/569/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/44620286aa255c5f24ec71f8986fcec636bbc4a5" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-03-20T09:34:57Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27836088030", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1348122557, + "node_id": "PRR_kwDOAIy5dc5QWre9", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "commit_id": "44620286aa255c5f24ec71f8986fcec636bbc4a5", + "submitted_at": "2023-03-20T09:34:52Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/569#pullrequestreview-1348122557", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/569", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/569#pullrequestreview-1348122557" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/569" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/569", + "id": 1280710842, + "node_id": "PR_kwDOAIy5dc5MVhi6", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/569", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/569.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/569.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/569", + "number": 569, + "state": "open", + "locked": false, + "title": "Bump slf4j-api from 2.0.6 to 2.0.7", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [slf4j-api](https://github.com/qos-ch/slf4j) from 2.0.6 to 2.0.7.\n
    \nCommits\n\n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.slf4j:slf4j-api&package-manager=maven&previous-version=2.0.6&new-version=2.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-03-17T20:08:10Z", + "updated_at": "2023-03-20T09:34:52Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "4d963769792d05f8fe99709161d9f56f661cf6a0", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/569/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/569/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/569/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/44620286aa255c5f24ec71f8986fcec636bbc4a5", + "head": { + "label": "cloudbees-oss:dependabot/maven/org.slf4j-slf4j-api-2.0.7", + "ref": "dependabot/maven/org.slf4j-slf4j-api-2.0.7", + "sha": "44620286aa255c5f24ec71f8986fcec636bbc4a5", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-20T09:34:43Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1279, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 8, + "watchers": 145, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "539f7e7dbd3f05a141255ca847d8f063fa3c11bb", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-20T09:34:43Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1279, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 8, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/569" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/569" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/569" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/569/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/569/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/569/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/44620286aa255c5f24ec71f8986fcec636bbc4a5" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-20T09:34:52Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27836084814", + "type": "DeleteEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "ref": "dependabot/maven/io.netty-netty-bom-4.1.90.Final", + "ref_type": "branch", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-03-20T09:34:44Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27836084654", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 13002548156, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "e04a717d448559f104e43efb33b08faa7f53f83c", + "before": "41281aaa189dbf29acdde4ba6bee748cc34d0c1b", + "commits": [ + { + "sha": "c6642f93c3616d04ced03a53a4aa26f690bd2462", + "author": { + "email": "49699333+dependabot[bot]@users.noreply.github.com", + "name": "dependabot[bot]" + }, + "message": "Bump netty-bom from 4.1.89.Final to 4.1.90.Final\n\nBumps [netty-bom](https://github.com/netty/netty) from 4.1.89.Final to 4.1.90.Final.\n- [Release notes](https://github.com/netty/netty/releases)\n- [Commits](https://github.com/netty/netty/compare/netty-4.1.89.Final...netty-4.1.90.Final)\n\n---\nupdated-dependencies:\n- dependency-name: io.netty:netty-bom\n dependency-type: direct:production\n update-type: version-update:semver-patch\n...\n\nSigned-off-by: dependabot[bot] ", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/c6642f93c3616d04ced03a53a4aa26f690bd2462" + }, + { + "sha": "e04a717d448559f104e43efb33b08faa7f53f83c", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #568 from cloudbees-oss/dependabot/maven/io.netty-netty-bom-4.1.90.Final", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/e04a717d448559f104e43efb33b08faa7f53f83c" + } + ] + }, + "public": true, + "created_at": "2023-03-20T09:34:44Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user_9881659_events_public-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user_9881659_events_public-5.json new file mode 100644 index 0000000000..207698728f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user_9881659_events_public-5.json @@ -0,0 +1,9620 @@ +[ + { + "id": "27836084345", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 568, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/568", + "id": 1275761605, + "node_id": "PR_kwDOAIy5dc5MCpPF", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/568", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/568.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/568.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/568", + "number": 568, + "state": "closed", + "locked": false, + "title": "Bump netty-bom from 4.1.89.Final to 4.1.90.Final", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [netty-bom](https://github.com/netty/netty) from 4.1.89.Final to 4.1.90.Final.\n
    \nCommits\n
      \n
    • 367d997 [maven-release-plugin] prepare release netty-4.1.90.Final
    • \n
    • 0e8af54 Chunked HTTP length decoding should account for whitespaces/ctrl chars (Fixes...
    • \n
    • ab5c411 Handle NullPointerException thrown from NetworkInterface.getNetworkInterfaces...
    • \n
    • ebfc79c WebSocketClientProtocolHandler: add option to disable UTF8 validation of text...
    • \n
    • 8fac718 Don't reset BCSSLParameters when setting application protocols (#13262)
    • \n
    • c353f4f Faster Recycler's claim/release (Fixes #13153) (#13220)
    • \n
    • 84cf7d6 Native image: add support for unix domain sockets (#13242)
    • \n
    • 99204e9 Skip revapi checks for testsuite modules (#13258)
    • \n
    • 971aa8a Use MacOS SDK 10.9 to prevent apple notarization failures (#13253)
    • \n
    • 5d1f996 Increase errno cache and guard against IOOBE (#13254)
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=io.netty:netty-bom&package-manager=maven&previous-version=4.1.89.Final&new-version=4.1.90.Final)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-03-14T20:56:48Z", + "updated_at": "2023-03-20T09:34:42Z", + "closed_at": "2023-03-20T09:34:42Z", + "merged_at": "2023-03-20T09:34:42Z", + "merge_commit_sha": "e04a717d448559f104e43efb33b08faa7f53f83c", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/568/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/568/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/568/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/c6642f93c3616d04ced03a53a4aa26f690bd2462", + "head": { + "label": "cloudbees-oss:dependabot/maven/io.netty-netty-bom-4.1.90.Final", + "ref": "dependabot/maven/io.netty-netty-bom-4.1.90.Final", + "sha": "c6642f93c3616d04ced03a53a4aa26f690bd2462", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-20T09:34:41Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1279, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 8, + "watchers": 145, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "539f7e7dbd3f05a141255ca847d8f063fa3c11bb", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-20T09:34:41Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1279, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 8, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/568" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/568" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/568" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/568/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/568/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/568/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/c6642f93c3616d04ced03a53a4aa26f690bd2462" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-03-20T09:34:43Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27836082294", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1348122188, + "node_id": "PRR_kwDOAIy5dc5QWrZM", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "commit_id": "c6642f93c3616d04ced03a53a4aa26f690bd2462", + "submitted_at": "2023-03-20T09:34:37Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/568#pullrequestreview-1348122188", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/568", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/568#pullrequestreview-1348122188" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/568" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/568", + "id": 1275761605, + "node_id": "PR_kwDOAIy5dc5MCpPF", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/568", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/568.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/568.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/568", + "number": 568, + "state": "open", + "locked": false, + "title": "Bump netty-bom from 4.1.89.Final to 4.1.90.Final", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [netty-bom](https://github.com/netty/netty) from 4.1.89.Final to 4.1.90.Final.\n
    \nCommits\n
      \n
    • 367d997 [maven-release-plugin] prepare release netty-4.1.90.Final
    • \n
    • 0e8af54 Chunked HTTP length decoding should account for whitespaces/ctrl chars (Fixes...
    • \n
    • ab5c411 Handle NullPointerException thrown from NetworkInterface.getNetworkInterfaces...
    • \n
    • ebfc79c WebSocketClientProtocolHandler: add option to disable UTF8 validation of text...
    • \n
    • 8fac718 Don't reset BCSSLParameters when setting application protocols (#13262)
    • \n
    • c353f4f Faster Recycler's claim/release (Fixes #13153) (#13220)
    • \n
    • 84cf7d6 Native image: add support for unix domain sockets (#13242)
    • \n
    • 99204e9 Skip revapi checks for testsuite modules (#13258)
    • \n
    • 971aa8a Use MacOS SDK 10.9 to prevent apple notarization failures (#13253)
    • \n
    • 5d1f996 Increase errno cache and guard against IOOBE (#13254)
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=io.netty:netty-bom&package-manager=maven&previous-version=4.1.89.Final&new-version=4.1.90.Final)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-03-14T20:56:48Z", + "updated_at": "2023-03-20T09:34:37Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "0114df446ff9946377fdd3400c880885accd543f", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/568/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/568/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/568/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/c6642f93c3616d04ced03a53a4aa26f690bd2462", + "head": { + "label": "cloudbees-oss:dependabot/maven/io.netty-netty-bom-4.1.90.Final", + "ref": "dependabot/maven/io.netty-netty-bom-4.1.90.Final", + "sha": "c6642f93c3616d04ced03a53a4aa26f690bd2462", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-20T09:34:04Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1279, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 9, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 9, + "watchers": 145, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "539f7e7dbd3f05a141255ca847d8f063fa3c11bb", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-20T09:34:04Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1279, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 9, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 9, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/568" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/568" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/568" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/568/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/568/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/568/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/c6642f93c3616d04ced03a53a4aa26f690bd2462" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-20T09:34:38Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27836069950", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 13002541191, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "41281aaa189dbf29acdde4ba6bee748cc34d0c1b", + "before": "6d89fa20b135813216838ef5ddd316d0e667c8f8", + "commits": [ + { + "sha": "6f5bcf814b5718e34f2fdb8c08bf68d720906646", + "author": { + "email": "colby@realgo.com", + "name": "Colby Ackerfield" + }, + "message": "Add delete many, and create or update support for organziations", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/6f5bcf814b5718e34f2fdb8c08bf68d720906646" + }, + { + "sha": "41281aaa189dbf29acdde4ba6bee748cc34d0c1b", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #567 from colbya/CreateOrUpdateDeleteOrg", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/41281aaa189dbf29acdde4ba6bee748cc34d0c1b" + } + ] + }, + "public": true, + "created_at": "2023-03-20T09:34:06Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27836069762", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 567, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/567", + "id": 1275269612, + "node_id": "PR_kwDOAIy5dc5MAxHs", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/567", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/567.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/567.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/567", + "number": 567, + "state": "closed", + "locked": false, + "title": "Add delete many, and create or update support for organizations", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "body": "PR for issue #566 ", + "created_at": "2023-03-14T15:35:06Z", + "updated_at": "2023-03-20T09:34:05Z", + "closed_at": "2023-03-20T09:34:04Z", + "merged_at": "2023-03-20T09:34:04Z", + "merge_commit_sha": "41281aaa189dbf29acdde4ba6bee748cc34d0c1b", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/567/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/567/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/567/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/6f5bcf814b5718e34f2fdb8c08bf68d720906646", + "head": { + "label": "colbya:CreateOrUpdateDeleteOrg", + "ref": "CreateOrUpdateDeleteOrg", + "sha": "6f5bcf814b5718e34f2fdb8c08bf68d720906646", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 595426024, + "node_id": "R_kgDOI3166A", + "name": "zendesk-java-client", + "full_name": "colbya/zendesk-java-client", + "private": false, + "owner": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/colbya/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/colbya/zendesk-java-client", + "forks_url": "https://api.github.com/repos/colbya/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/colbya/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/colbya/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/colbya/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/colbya/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/colbya/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/colbya/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/colbya/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/colbya/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/colbya/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/colbya/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/colbya/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/colbya/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/colbya/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/colbya/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/colbya/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/colbya/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/colbya/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/colbya/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/colbya/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/colbya/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/colbya/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/colbya/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/colbya/zendesk-java-client/deployments", + "created_at": "2023-01-31T03:32:05Z", + "updated_at": "2023-03-07T15:30:46Z", + "pushed_at": "2023-03-14T15:36:45Z", + "git_url": "git://github.com/colbya/zendesk-java-client.git", + "ssh_url": "git@github.com:colbya/zendesk-java-client.git", + "clone_url": "https://github.com/colbya/zendesk-java-client.git", + "svn_url": "https://github.com/colbya/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1303, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "539f7e7dbd3f05a141255ca847d8f063fa3c11bb", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-20T09:34:04Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1279, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 9, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 9, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/567" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/567" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/567" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/567/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/567/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/567/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/6f5bcf814b5718e34f2fdb8c08bf68d720906646" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 70, + "deletions": 0, + "changed_files": 2 + } + }, + "public": true, + "created_at": "2023-03-20T09:34:06Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27836067421", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1348121132, + "node_id": "PRR_kwDOAIy5dc5QWrIs", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "lgtm", + "commit_id": "6f5bcf814b5718e34f2fdb8c08bf68d720906646", + "submitted_at": "2023-03-20T09:34:00Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/567#pullrequestreview-1348121132", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/567", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/567#pullrequestreview-1348121132" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/567" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/567", + "id": 1275269612, + "node_id": "PR_kwDOAIy5dc5MAxHs", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/567", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/567.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/567.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/567", + "number": 567, + "state": "open", + "locked": false, + "title": "Add delete many, and create or update support for organizations", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "body": "PR for issue #566 ", + "created_at": "2023-03-14T15:35:06Z", + "updated_at": "2023-03-20T09:34:00Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "afa876c021132087c02c90d98b97721c6cc8ef6a", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/567/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/567/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/567/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/6f5bcf814b5718e34f2fdb8c08bf68d720906646", + "head": { + "label": "colbya:CreateOrUpdateDeleteOrg", + "ref": "CreateOrUpdateDeleteOrg", + "sha": "6f5bcf814b5718e34f2fdb8c08bf68d720906646", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 595426024, + "node_id": "R_kgDOI3166A", + "name": "zendesk-java-client", + "full_name": "colbya/zendesk-java-client", + "private": false, + "owner": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/colbya/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/colbya/zendesk-java-client", + "forks_url": "https://api.github.com/repos/colbya/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/colbya/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/colbya/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/colbya/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/colbya/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/colbya/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/colbya/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/colbya/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/colbya/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/colbya/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/colbya/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/colbya/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/colbya/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/colbya/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/colbya/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/colbya/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/colbya/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/colbya/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/colbya/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/colbya/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/colbya/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/colbya/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/colbya/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/colbya/zendesk-java-client/deployments", + "created_at": "2023-01-31T03:32:05Z", + "updated_at": "2023-03-07T15:30:46Z", + "pushed_at": "2023-03-14T15:36:45Z", + "git_url": "git://github.com/colbya/zendesk-java-client.git", + "ssh_url": "git@github.com:colbya/zendesk-java-client.git", + "clone_url": "https://github.com/colbya/zendesk-java-client.git", + "svn_url": "https://github.com/colbya/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1303, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "539f7e7dbd3f05a141255ca847d8f063fa3c11bb", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-20T09:30:37Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1279, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 10, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 10, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/567" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/567" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/567" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/567/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/567/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/567/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/6f5bcf814b5718e34f2fdb8c08bf68d720906646" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-20T09:34:00Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27835985761", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 565, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/565", + "id": 1275223550, + "node_id": "PR_kwDOAIy5dc5MAl3-", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/565", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/565.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/565.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/565", + "number": 565, + "state": "closed", + "locked": false, + "title": "Users by role cursor pagination", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "body": "Added cursor pagination to getUserByRole and added a basic unit test for the method. I avoided adding admin users for the unit test. I didn't think that would be a good idea or allowed in the test environment.", + "created_at": "2023-03-14T15:07:43Z", + "updated_at": "2023-03-20T09:30:38Z", + "closed_at": "2023-03-20T09:30:38Z", + "merged_at": "2023-03-20T09:30:38Z", + "merge_commit_sha": "6d89fa20b135813216838ef5ddd316d0e667c8f8", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/565/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/565/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/565/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/382104b4d79d74db39d23a74e4e53c89e1a709d3", + "head": { + "label": "colbya:UsersByRoleCursorPagination", + "ref": "UsersByRoleCursorPagination", + "sha": "382104b4d79d74db39d23a74e4e53c89e1a709d3", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 595426024, + "node_id": "R_kgDOI3166A", + "name": "zendesk-java-client", + "full_name": "colbya/zendesk-java-client", + "private": false, + "owner": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/colbya/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/colbya/zendesk-java-client", + "forks_url": "https://api.github.com/repos/colbya/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/colbya/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/colbya/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/colbya/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/colbya/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/colbya/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/colbya/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/colbya/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/colbya/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/colbya/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/colbya/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/colbya/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/colbya/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/colbya/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/colbya/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/colbya/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/colbya/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/colbya/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/colbya/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/colbya/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/colbya/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/colbya/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/colbya/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/colbya/zendesk-java-client/deployments", + "created_at": "2023-01-31T03:32:05Z", + "updated_at": "2023-03-07T15:30:46Z", + "pushed_at": "2023-03-14T15:36:45Z", + "git_url": "git://github.com/colbya/zendesk-java-client.git", + "ssh_url": "git@github.com:colbya/zendesk-java-client.git", + "clone_url": "https://github.com/colbya/zendesk-java-client.git", + "svn_url": "https://github.com/colbya/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1303, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "539f7e7dbd3f05a141255ca847d8f063fa3c11bb", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-20T09:30:37Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1279, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 10, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 10, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/565" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/565" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/565" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/565/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/565/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/565/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/382104b4d79d74db39d23a74e4e53c89e1a709d3" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 2, + "additions": 28, + "deletions": 3, + "changed_files": 2 + } + }, + "public": true, + "created_at": "2023-03-20T09:30:39Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27835983235", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1348115235, + "node_id": "PRR_kwDOAIy5dc5QWpsj", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "lgtm!", + "commit_id": "382104b4d79d74db39d23a74e4e53c89e1a709d3", + "submitted_at": "2023-03-20T09:30:32Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/565#pullrequestreview-1348115235", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/565", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/565#pullrequestreview-1348115235" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/565" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/565", + "id": 1275223550, + "node_id": "PR_kwDOAIy5dc5MAl3-", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/565", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/565.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/565.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/565", + "number": 565, + "state": "open", + "locked": false, + "title": "Users by role cursor pagination", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "body": "Added cursor pagination to getUserByRole and added a basic unit test for the method. I avoided adding admin users for the unit test. I didn't think that would be a good idea or allowed in the test environment.", + "created_at": "2023-03-14T15:07:43Z", + "updated_at": "2023-03-20T09:30:32Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "39d438e5e894b0c7af78210bad43222ca73eea1f", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/565/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/565/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/565/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/382104b4d79d74db39d23a74e4e53c89e1a709d3", + "head": { + "label": "colbya:UsersByRoleCursorPagination", + "ref": "UsersByRoleCursorPagination", + "sha": "382104b4d79d74db39d23a74e4e53c89e1a709d3", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 595426024, + "node_id": "R_kgDOI3166A", + "name": "zendesk-java-client", + "full_name": "colbya/zendesk-java-client", + "private": false, + "owner": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/colbya/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/colbya/zendesk-java-client", + "forks_url": "https://api.github.com/repos/colbya/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/colbya/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/colbya/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/colbya/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/colbya/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/colbya/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/colbya/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/colbya/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/colbya/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/colbya/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/colbya/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/colbya/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/colbya/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/colbya/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/colbya/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/colbya/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/colbya/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/colbya/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/colbya/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/colbya/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/colbya/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/colbya/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/colbya/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/colbya/zendesk-java-client/deployments", + "created_at": "2023-01-31T03:32:05Z", + "updated_at": "2023-03-07T15:30:46Z", + "pushed_at": "2023-03-14T15:36:45Z", + "git_url": "git://github.com/colbya/zendesk-java-client.git", + "ssh_url": "git@github.com:colbya/zendesk-java-client.git", + "clone_url": "https://github.com/colbya/zendesk-java-client.git", + "svn_url": "https://github.com/colbya/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1303, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "539f7e7dbd3f05a141255ca847d8f063fa3c11bb", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-20T09:28:40Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1279, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 11, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 11, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/565" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/565" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/565" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/565/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/565/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/565/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/382104b4d79d74db39d23a74e4e53c89e1a709d3" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-20T09:30:33Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27835936946", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 13002478200, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "b260445f5ce76df34fc5ac5166bae297cf6e1331", + "before": "539f7e7dbd3f05a141255ca847d8f063fa3c11bb", + "commits": [ + { + "sha": "261a1fe355f5e00ce73601cee14a0fd20b47d428", + "author": { + "email": "colby@realgo.com", + "name": "Colby Ackerfield" + }, + "message": "Update links", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/261a1fe355f5e00ce73601cee14a0fd20b47d428" + }, + { + "sha": "b260445f5ce76df34fc5ac5166bae297cf6e1331", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #564 from colbya/updateReadme", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/b260445f5ce76df34fc5ac5166bae297cf6e1331" + } + ] + }, + "public": true, + "created_at": "2023-03-20T09:28:42Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27835936727", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 564, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/564", + "id": 1273948235, + "node_id": "PR_kwDOAIy5dc5L7uhL", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/564", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/564.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/564.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/564", + "number": 564, + "state": "closed", + "locked": false, + "title": "Update README.md links", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "body": "PR for Issue #563 ", + "created_at": "2023-03-13T20:51:24Z", + "updated_at": "2023-03-20T09:28:41Z", + "closed_at": "2023-03-20T09:28:41Z", + "merged_at": "2023-03-20T09:28:41Z", + "merge_commit_sha": "b260445f5ce76df34fc5ac5166bae297cf6e1331", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/564/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/564/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/564/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/261a1fe355f5e00ce73601cee14a0fd20b47d428", + "head": { + "label": "colbya:updateReadme", + "ref": "updateReadme", + "sha": "261a1fe355f5e00ce73601cee14a0fd20b47d428", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 595426024, + "node_id": "R_kgDOI3166A", + "name": "zendesk-java-client", + "full_name": "colbya/zendesk-java-client", + "private": false, + "owner": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/colbya/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/colbya/zendesk-java-client", + "forks_url": "https://api.github.com/repos/colbya/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/colbya/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/colbya/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/colbya/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/colbya/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/colbya/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/colbya/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/colbya/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/colbya/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/colbya/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/colbya/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/colbya/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/colbya/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/colbya/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/colbya/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/colbya/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/colbya/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/colbya/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/colbya/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/colbya/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/colbya/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/colbya/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/colbya/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/colbya/zendesk-java-client/deployments", + "created_at": "2023-01-31T03:32:05Z", + "updated_at": "2023-03-07T15:30:46Z", + "pushed_at": "2023-03-14T15:36:45Z", + "git_url": "git://github.com/colbya/zendesk-java-client.git", + "ssh_url": "git@github.com:colbya/zendesk-java-client.git", + "clone_url": "https://github.com/colbya/zendesk-java-client.git", + "svn_url": "https://github.com/colbya/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1303, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "539f7e7dbd3f05a141255ca847d8f063fa3c11bb", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-20T09:28:41Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1279, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 11, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 11, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/564" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/564" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/564" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/564/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/564/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/564/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/261a1fe355f5e00ce73601cee14a0fd20b47d428" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 37, + "deletions": 39, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-03-20T09:28:42Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27835934637", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1348111923, + "node_id": "PRR_kwDOAIy5dc5QWo4z", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "lgtm, thanks!", + "commit_id": "261a1fe355f5e00ce73601cee14a0fd20b47d428", + "submitted_at": "2023-03-20T09:28:36Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/564#pullrequestreview-1348111923", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/564", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/564#pullrequestreview-1348111923" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/564" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/564", + "id": 1273948235, + "node_id": "PR_kwDOAIy5dc5L7uhL", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/564", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/564.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/564.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/564", + "number": 564, + "state": "open", + "locked": false, + "title": "Update README.md links", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "body": "PR for Issue #563 ", + "created_at": "2023-03-13T20:51:24Z", + "updated_at": "2023-03-20T09:28:36Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "8f43e04ab65062e36818a947e9b89c4aee23d625", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/564/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/564/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/564/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/261a1fe355f5e00ce73601cee14a0fd20b47d428", + "head": { + "label": "colbya:updateReadme", + "ref": "updateReadme", + "sha": "261a1fe355f5e00ce73601cee14a0fd20b47d428", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 595426024, + "node_id": "R_kgDOI3166A", + "name": "zendesk-java-client", + "full_name": "colbya/zendesk-java-client", + "private": false, + "owner": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/colbya/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/colbya/zendesk-java-client", + "forks_url": "https://api.github.com/repos/colbya/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/colbya/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/colbya/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/colbya/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/colbya/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/colbya/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/colbya/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/colbya/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/colbya/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/colbya/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/colbya/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/colbya/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/colbya/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/colbya/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/colbya/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/colbya/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/colbya/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/colbya/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/colbya/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/colbya/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/colbya/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/colbya/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/colbya/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/colbya/zendesk-java-client/deployments", + "created_at": "2023-01-31T03:32:05Z", + "updated_at": "2023-03-07T15:30:46Z", + "pushed_at": "2023-03-14T15:36:45Z", + "git_url": "git://github.com/colbya/zendesk-java-client.git", + "ssh_url": "git@github.com:colbya/zendesk-java-client.git", + "clone_url": "https://github.com/colbya/zendesk-java-client.git", + "svn_url": "https://github.com/colbya/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1303, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "539f7e7dbd3f05a141255ca847d8f063fa3c11bb", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-17T20:08:14Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1279, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 12, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 12, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/564" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/564" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/564" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/564/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/564/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/564/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/261a1fe355f5e00ce73601cee14a0fd20b47d428" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-20T09:28:37Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27672465937", + "type": "IssueCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560", + "id": 1615536590, + "node_id": "PR_kwDOAIy5dc5Llc-3", + "number": 560, + "title": "Support the 'Content Tags' resource in the Zendesk API - resolves #559", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 34598766, + "node_id": "MDU6TGFiZWwzNDU5ODc2Ng==", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/enhancement", + "name": "enhancement", + "color": "84b6eb", + "default": true, + "description": null + } + ], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2023-03-08T16:11:35Z", + "updated_at": "2023-03-13T08:59:54Z", + "closed_at": null, + "author_association": "CONTRIBUTOR", + "active_lock_reason": null, + "draft": true, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/560", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560.patch", + "merged_at": null + }, + "body": "Content Tags can be added to posts and articles to loosely group them together.\r\nThe resource is a small object {id, name, createdDate, updatedDate}\r\nThe API supports CRUD & some searching\r\n\r\n**Additional context**\r\nAPI documentation: https://developer.zendesk.com/api-reference/help_center/help-center-api/content_tags/\r\nArticle about how they are used: https://support.zendesk.com/hc/en-us/articles/4848925672730", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "comment": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1465746030", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/560#issuecomment-1465746030", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/560", + "id": 1465746030, + "node_id": "IC_kwDOAIy5dc5XXYJu", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2023-03-13T08:59:54Z", + "updated_at": "2023-03-13T08:59:54Z", + "author_association": "COLLABORATOR", + "body": "@andy-may-at I'll let you refresh and finish up on this branch, then I'll merge and cut a new release.", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1465746030/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } + }, + "public": true, + "created_at": "2023-03-13T08:59:54Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27672454624", + "type": "IssuesEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/548", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/548/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/548/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/548/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/548", + "id": 1612056219, + "node_id": "I_kwDOAIy5dc5gFgab", + "number": 548, + "title": "Enable search for users by external_id where external_id is a String (not a long)", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 34598764, + "node_id": "MDU6TGFiZWwzNDU5ODc2NA==", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/bug", + "name": "bug", + "color": "fc2929", + "default": true, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 6, + "created_at": "2023-03-06T19:13:43Z", + "updated_at": "2023-03-13T08:59:29Z", + "closed_at": "2023-03-13T08:59:29Z", + "author_association": "CONTRIBUTOR", + "active_lock_reason": null, + "body": "The method to retrieve users by external ID: (`public List getUsersByExternalIds(long externalId, long... externalIds)`) expects the external IDs to be `long`s, but the underlying value is a `String` in the Zendesk API \r\n\r\nIn my use case, our external IDs are Strings, so we can't search for users by external ID using this method,..\r\n\r\nI propose to implementing an additional `public List getUsersByExternalIds(String externalId, String... externalIds)` method which \r\n\r\nI'll look to raise a PR for this shortly if the change would be welcomed", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/548/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/548/timeline", + "performed_via_github_app": null, + "state_reason": "completed" + } + }, + "public": true, + "created_at": "2023-03-13T08:59:30Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27672454186", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 12919174563, + "size": 6, + "distinct_size": 6, + "ref": "refs/heads/master", + "head": "539f7e7dbd3f05a141255ca847d8f063fa3c11bb", + "before": "eeb1ba356adc32f3101e1e09f1bc5df55244c58a", + "commits": [ + { + "sha": "45328f11846054e908bbb3abdc87ca0883c7bb2f", + "author": { + "email": "andy.may@autotrader.co.uk", + "name": "Andy May" + }, + "message": "Implement getUsersByExternalIds(String, String...) - resolves #548\n\nUser external IDs are Strings in the Zendesk API, but the existing getUsersByExternalId implementation only allowed getting users by an externalId that was a long.", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/45328f11846054e908bbb3abdc87ca0883c7bb2f" + }, + { + "sha": "2b72f45afaf8484edb86041f0a6dc23cab5ff5b7", + "author": { + "email": "andy.may@autotrader.co.uk", + "name": "Andy May" + }, + "message": "Deprecate getUsersByExternalIds(long, long...)", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/2b72f45afaf8484edb86041f0a6dc23cab5ff5b7" + }, + { + "sha": "a18fcafb295b77e01976047ae6c22b9cf5739c15", + "author": { + "email": "andy.may@autotrader.co.uk", + "name": "Andy May" + }, + "message": "Don't rely on auto type conversion in UserTest", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/a18fcafb295b77e01976047ae6c22b9cf5739c15" + }, + { + "sha": "2404943ddd9c651073c28ac199a49ca3b2057248", + "author": { + "email": "andy.may@autotrader.co.uk", + "name": "Andy May" + }, + "message": "Remove wildcard import in UserTest", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/2404943ddd9c651073c28ac199a49ca3b2057248" + }, + { + "sha": "ab60adeaea5682e7aa1613256ba008e86ebda5d7", + "author": { + "email": "andy.may@autotrader.co.uk", + "name": "Andy May" + }, + "message": "Remove blank line in UserTest", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/ab60adeaea5682e7aa1613256ba008e86ebda5d7" + }, + { + "sha": "539f7e7dbd3f05a141255ca847d8f063fa3c11bb", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #552 from andy-may-at/issue/548", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/539f7e7dbd3f05a141255ca847d8f063fa3c11bb" + } + ] + }, + "public": true, + "created_at": "2023-03-13T08:59:29Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27672453866", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 552, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552", + "id": 1266462568, + "node_id": "PR_kwDOAIy5dc5LfK9o", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552", + "number": 552, + "state": "closed", + "locked": false, + "title": "Implement getUsersByExternalIds(String, String...) - resolves #548", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "body": "User external IDs are Strings in the Zendesk API, but the existing getUsersByExternalId implementation only allowed getting users by an externalId that was a long.", + "created_at": "2023-03-07T15:14:18Z", + "updated_at": "2023-03-13T08:59:27Z", + "closed_at": "2023-03-13T08:59:27Z", + "merged_at": "2023-03-13T08:59:27Z", + "merge_commit_sha": "539f7e7dbd3f05a141255ca847d8f063fa3c11bb", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 34598766, + "node_id": "MDU6TGFiZWwzNDU5ODc2Ng==", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/enhancement", + "name": "enhancement", + "color": "84b6eb", + "default": true, + "description": null + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/ab60adeaea5682e7aa1613256ba008e86ebda5d7", + "head": { + "label": "andy-may-at:issue/548", + "ref": "issue/548", + "sha": "ab60adeaea5682e7aa1613256ba008e86ebda5d7", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 610732619, + "node_id": "R_kgDOJGcKSw", + "name": "zendesk-java-client", + "full_name": "andy-may-at/zendesk-java-client", + "private": false, + "owner": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/andy-may-at/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/andy-may-at/zendesk-java-client", + "forks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/deployments", + "created_at": "2023-03-07T11:21:54Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-09T15:07:21Z", + "git_url": "git://github.com/andy-may-at/zendesk-java-client.git", + "ssh_url": "git@github.com:andy-may-at/zendesk-java-client.git", + "clone_url": "https://github.com/andy-may-at/zendesk-java-client.git", + "svn_url": "https://github.com/andy-may-at/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1184, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "91b123ef7e6f5a71fe7112da9b73222933b17265", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-13T08:59:27Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1183, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 5, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 5, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/ab60adeaea5682e7aa1613256ba008e86ebda5d7" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 4, + "maintainer_can_modify": false, + "commits": 5, + "additions": 109, + "deletions": 0, + "changed_files": 3 + } + }, + "public": true, + "created_at": "2023-03-13T08:59:28Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27672451224", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1336503256, + "node_id": "PRR_kwDOAIy5dc5PqWvY", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "commit_id": "ab60adeaea5682e7aa1613256ba008e86ebda5d7", + "submitted_at": "2023-03-13T08:59:22Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552#pullrequestreview-1336503256", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552#pullrequestreview-1336503256" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552", + "id": 1266462568, + "node_id": "PR_kwDOAIy5dc5LfK9o", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552", + "number": 552, + "state": "open", + "locked": false, + "title": "Implement getUsersByExternalIds(String, String...) - resolves #548", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "body": "User external IDs are Strings in the Zendesk API, but the existing getUsersByExternalId implementation only allowed getting users by an externalId that was a long.", + "created_at": "2023-03-07T15:14:18Z", + "updated_at": "2023-03-13T08:59:22Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "c13d8560343f07879b26189113bbc13042ede30b", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 34598766, + "node_id": "MDU6TGFiZWwzNDU5ODc2Ng==", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/enhancement", + "name": "enhancement", + "color": "84b6eb", + "default": true, + "description": null + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/ab60adeaea5682e7aa1613256ba008e86ebda5d7", + "head": { + "label": "andy-may-at:issue/548", + "ref": "issue/548", + "sha": "ab60adeaea5682e7aa1613256ba008e86ebda5d7", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 610732619, + "node_id": "R_kgDOJGcKSw", + "name": "zendesk-java-client", + "full_name": "andy-may-at/zendesk-java-client", + "private": false, + "owner": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/andy-may-at/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/andy-may-at/zendesk-java-client", + "forks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/deployments", + "created_at": "2023-03-07T11:21:54Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-09T15:07:21Z", + "git_url": "git://github.com/andy-may-at/zendesk-java-client.git", + "ssh_url": "git@github.com:andy-may-at/zendesk-java-client.git", + "clone_url": "https://github.com/andy-may-at/zendesk-java-client.git", + "svn_url": "https://github.com/andy-may-at/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1184, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "91b123ef7e6f5a71fe7112da9b73222933b17265", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-13T08:56:01Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1183, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 6, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 6, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/ab60adeaea5682e7aa1613256ba008e86ebda5d7" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-13T08:59:23Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27672361224", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 12919133266, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "eeb1ba356adc32f3101e1e09f1bc5df55244c58a", + "before": "366da495cfe1d98b381d00b2498f8675e3ed0a77", + "commits": [ + { + "sha": "460c5b864bb05987adf11733ab2726d35dd0cbc4", + "author": { + "email": "colby@realgo.com", + "name": "Colby Ackerfield" + }, + "message": "Add bulk delete users by id", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/460c5b864bb05987adf11733ab2726d35dd0cbc4" + }, + { + "sha": "eeb1ba356adc32f3101e1e09f1bc5df55244c58a", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #562 from colbya/bulkDeleteUsers", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/eeb1ba356adc32f3101e1e09f1bc5df55244c58a" + } + ] + }, + "public": true, + "created_at": "2023-03-13T08:56:03Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27672361069", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 562, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/562", + "id": 1271786400, + "node_id": "PR_kwDOAIy5dc5Lzeug", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/562", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/562.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/562.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/562", + "number": 562, + "state": "closed", + "locked": false, + "title": "Add bulk delete users by id", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "body": "PR for issue #561 ", + "created_at": "2023-03-10T22:15:23Z", + "updated_at": "2023-03-13T08:56:01Z", + "closed_at": "2023-03-13T08:56:01Z", + "merged_at": "2023-03-13T08:56:01Z", + "merge_commit_sha": "eeb1ba356adc32f3101e1e09f1bc5df55244c58a", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/562/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/562/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/562/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/460c5b864bb05987adf11733ab2726d35dd0cbc4", + "head": { + "label": "colbya:bulkDeleteUsers", + "ref": "bulkDeleteUsers", + "sha": "460c5b864bb05987adf11733ab2726d35dd0cbc4", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 595426024, + "node_id": "R_kgDOI3166A", + "name": "zendesk-java-client", + "full_name": "colbya/zendesk-java-client", + "private": false, + "owner": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/colbya/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/colbya/zendesk-java-client", + "forks_url": "https://api.github.com/repos/colbya/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/colbya/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/colbya/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/colbya/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/colbya/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/colbya/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/colbya/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/colbya/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/colbya/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/colbya/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/colbya/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/colbya/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/colbya/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/colbya/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/colbya/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/colbya/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/colbya/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/colbya/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/colbya/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/colbya/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/colbya/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/colbya/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/colbya/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/colbya/zendesk-java-client/deployments", + "created_at": "2023-01-31T03:32:05Z", + "updated_at": "2023-03-07T15:30:46Z", + "pushed_at": "2023-03-10T22:00:46Z", + "git_url": "git://github.com/colbya/zendesk-java-client.git", + "ssh_url": "git@github.com:colbya/zendesk-java-client.git", + "clone_url": "https://github.com/colbya/zendesk-java-client.git", + "svn_url": "https://github.com/colbya/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1208, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "ffb2e475f042f7f3f5c5d0bbc715632d66c70649", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-13T08:56:01Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1183, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 6, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 6, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/562" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/562" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/562" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/562/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/562/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/562/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/460c5b864bb05987adf11733ab2726d35dd0cbc4" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 24, + "deletions": 0, + "changed_files": 2 + } + }, + "public": true, + "created_at": "2023-03-13T08:56:02Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27672358993", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1336497417, + "node_id": "PRR_kwDOAIy5dc5PqVUJ", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "lgtm!", + "commit_id": "460c5b864bb05987adf11733ab2726d35dd0cbc4", + "submitted_at": "2023-03-13T08:55:56Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/562#pullrequestreview-1336497417", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/562", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/562#pullrequestreview-1336497417" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/562" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/562", + "id": 1271786400, + "node_id": "PR_kwDOAIy5dc5Lzeug", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/562", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/562.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/562.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/562", + "number": 562, + "state": "open", + "locked": false, + "title": "Add bulk delete users by id", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "body": "PR for issue #561 ", + "created_at": "2023-03-10T22:15:23Z", + "updated_at": "2023-03-13T08:55:56Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "69ee359d03630af899914211d9e543672d22776e", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/562/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/562/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/562/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/460c5b864bb05987adf11733ab2726d35dd0cbc4", + "head": { + "label": "colbya:bulkDeleteUsers", + "ref": "bulkDeleteUsers", + "sha": "460c5b864bb05987adf11733ab2726d35dd0cbc4", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 595426024, + "node_id": "R_kgDOI3166A", + "name": "zendesk-java-client", + "full_name": "colbya/zendesk-java-client", + "private": false, + "owner": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/colbya/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/colbya/zendesk-java-client", + "forks_url": "https://api.github.com/repos/colbya/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/colbya/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/colbya/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/colbya/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/colbya/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/colbya/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/colbya/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/colbya/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/colbya/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/colbya/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/colbya/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/colbya/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/colbya/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/colbya/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/colbya/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/colbya/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/colbya/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/colbya/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/colbya/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/colbya/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/colbya/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/colbya/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/colbya/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/colbya/zendesk-java-client/deployments", + "created_at": "2023-01-31T03:32:05Z", + "updated_at": "2023-03-07T15:30:46Z", + "pushed_at": "2023-03-10T22:00:46Z", + "git_url": "git://github.com/colbya/zendesk-java-client.git", + "ssh_url": "git@github.com:colbya/zendesk-java-client.git", + "clone_url": "https://github.com/colbya/zendesk-java-client.git", + "svn_url": "https://github.com/colbya/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1208, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "ffb2e475f042f7f3f5c5d0bbc715632d66c70649", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-13T08:52:44Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1183, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 7, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/562" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/562" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/562" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/562/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/562/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/562/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/460c5b864bb05987adf11733ab2726d35dd0cbc4" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-13T08:55:57Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27672300651", + "type": "PullRequestReviewCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "comment": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments/1133609210", + "pull_request_review_id": 1336493324, + "id": 1133609210, + "node_id": "PRRC_kwDOAIy5dc5DkYD6", + "diff_hunk": "@@ -1,20 +1,19 @@\n package org.zendesk.client.v2;\n \n-import static com.github.tomakehurst.wiremock.client.WireMock.equalTo;\n-import static com.github.tomakehurst.wiremock.client.WireMock.equalToJson;\n-import static com.github.tomakehurst.wiremock.client.WireMock.ok;\n-import static com.github.tomakehurst.wiremock.client.WireMock.put;\n-import static com.github.tomakehurst.wiremock.client.WireMock.putRequestedFor;\n-import static com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo;\n-import static com.github.tomakehurst.wiremock.client.WireMock.urlPathEqualTo;\n+import static com.github.tomakehurst.wiremock.client.WireMock.*;", + "path": "src/test/java/org/zendesk/client/v2/UserTest.java", + "position": null, + "original_position": 10, + "commit_id": "ab60adeaea5682e7aa1613256ba008e86ebda5d7", + "original_commit_id": "a18fcafb295b77e01976047ae6c22b9cf5739c15", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "Works for me :)\r\nThanks!", + "created_at": "2023-03-13T08:53:24Z", + "updated_at": "2023-03-13T08:53:25Z", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552#discussion_r1133609210", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552", + "author_association": "COLLABORATOR", + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments/1133609210" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552#discussion_r1133609210" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552" + } + }, + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments/1133609210/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": null, + "original_line": 3, + "side": "RIGHT", + "in_reply_to_id": 1131051806 + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552", + "id": 1266462568, + "node_id": "PR_kwDOAIy5dc5LfK9o", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552", + "number": 552, + "state": "open", + "locked": false, + "title": "Implement getUsersByExternalIds(String, String...) - resolves #548", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "body": "User external IDs are Strings in the Zendesk API, but the existing getUsersByExternalId implementation only allowed getting users by an externalId that was a long.", + "created_at": "2023-03-07T15:14:18Z", + "updated_at": "2023-03-13T08:53:25Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "b829a17cd04fddbb5e8ed277e5dd2959e038d315", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 34598766, + "node_id": "MDU6TGFiZWwzNDU5ODc2Ng==", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/enhancement", + "name": "enhancement", + "color": "84b6eb", + "default": true, + "description": null + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/ab60adeaea5682e7aa1613256ba008e86ebda5d7", + "head": { + "label": "andy-may-at:issue/548", + "ref": "issue/548", + "sha": "ab60adeaea5682e7aa1613256ba008e86ebda5d7", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 610732619, + "node_id": "R_kgDOJGcKSw", + "name": "zendesk-java-client", + "full_name": "andy-may-at/zendesk-java-client", + "private": false, + "owner": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/andy-may-at/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/andy-may-at/zendesk-java-client", + "forks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/deployments", + "created_at": "2023-03-07T11:21:54Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-09T15:07:21Z", + "git_url": "git://github.com/andy-may-at/zendesk-java-client.git", + "ssh_url": "git@github.com:andy-may-at/zendesk-java-client.git", + "clone_url": "https://github.com/andy-may-at/zendesk-java-client.git", + "svn_url": "https://github.com/andy-may-at/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1184, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "91b123ef7e6f5a71fe7112da9b73222933b17265", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-13T08:52:44Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1183, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 7, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/ab60adeaea5682e7aa1613256ba008e86ebda5d7" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-13T08:53:24Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27672300597", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1336493324, + "node_id": "PRR_kwDOAIy5dc5PqUUM", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": null, + "commit_id": "a18fcafb295b77e01976047ae6c22b9cf5739c15", + "submitted_at": "2023-03-13T08:53:25Z", + "state": "commented", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552#pullrequestreview-1336493324", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552#pullrequestreview-1336493324" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552", + "id": 1266462568, + "node_id": "PR_kwDOAIy5dc5LfK9o", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552", + "number": 552, + "state": "open", + "locked": false, + "title": "Implement getUsersByExternalIds(String, String...) - resolves #548", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "body": "User external IDs are Strings in the Zendesk API, but the existing getUsersByExternalId implementation only allowed getting users by an externalId that was a long.", + "created_at": "2023-03-07T15:14:18Z", + "updated_at": "2023-03-13T08:53:25Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "b829a17cd04fddbb5e8ed277e5dd2959e038d315", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 34598766, + "node_id": "MDU6TGFiZWwzNDU5ODc2Ng==", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/enhancement", + "name": "enhancement", + "color": "84b6eb", + "default": true, + "description": null + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/ab60adeaea5682e7aa1613256ba008e86ebda5d7", + "head": { + "label": "andy-may-at:issue/548", + "ref": "issue/548", + "sha": "ab60adeaea5682e7aa1613256ba008e86ebda5d7", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 610732619, + "node_id": "R_kgDOJGcKSw", + "name": "zendesk-java-client", + "full_name": "andy-may-at/zendesk-java-client", + "private": false, + "owner": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/andy-may-at/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/andy-may-at/zendesk-java-client", + "forks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/deployments", + "created_at": "2023-03-07T11:21:54Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-09T15:07:21Z", + "git_url": "git://github.com/andy-may-at/zendesk-java-client.git", + "ssh_url": "git@github.com:andy-may-at/zendesk-java-client.git", + "clone_url": "https://github.com/andy-may-at/zendesk-java-client.git", + "svn_url": "https://github.com/andy-may-at/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1184, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "91b123ef7e6f5a71fe7112da9b73222933b17265", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-13T08:52:44Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1183, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 7, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/ab60adeaea5682e7aa1613256ba008e86ebda5d7" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-13T08:53:25Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27672286057", + "type": "IssuesEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/557", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/557/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/557/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/557/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/557", + "id": 1615353774, + "node_id": "I_kwDOAIy5dc5gSFeu", + "number": 557, + "title": "Support getting/setting of Help Center article's `content_tag_ids` field", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2023-03-08T14:17:36Z", + "updated_at": "2023-03-13T08:52:46Z", + "closed_at": "2023-03-13T08:52:46Z", + "author_association": "CONTRIBUTOR", + "active_lock_reason": null, + "body": "Help Center articles have a (mutable & optional) 'content_tag_ids' field\r\nThe [documentation](https://developer.zendesk.com/api-reference/help_center/help-center-api/articles/) says that the field contains '_The list of content tags attached to the article_'\r\n\r\nThis field is not currently exposed in the Article model & so cannot be read/written\r\nFeature request is to add it to the model.\r\n\r\n\r\n**Additional context**\r\nN.B. a potential risk of adding a new field to the model seems to be that any existing code using the client that was doing a overwrite of an existing article (by calling `Zendesk.updateArticle(article)` (without having recently read the article in question from the API, or where the Article instance has been created by copying a known set of fields from another Article instance) would have been preserving any pre-existing content_tags_id value on the article.\r\nBut if we add the field to the model, then any code like this will now be updating the content_tags_id field to be empty\r\nThis edge-case change in behaviour seems worthwhile, but may be worth documenting in release notes.\r\n\r\n\r\nI'm building a PR for this issue & will submit it shortly\r\n", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/557/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/557/timeline", + "performed_via_github_app": null, + "state_reason": "completed" + } + }, + "public": true, + "created_at": "2023-03-13T08:52:47Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27672285574", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 12919097503, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "366da495cfe1d98b381d00b2498f8675e3ed0a77", + "before": "ffb2e475f042f7f3f5c5d0bbc715632d66c70649", + "commits": [ + { + "sha": "e3c895f9e03c21eb6a21e40601ebd7d49c6dd664", + "author": { + "email": "andy.may@autotrader.co.uk", + "name": "Andy May" + }, + "message": "Add support for Article.contentTagIds field - resolves #557", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/e3c895f9e03c21eb6a21e40601ebd7d49c6dd664" + }, + { + "sha": "366da495cfe1d98b381d00b2498f8675e3ed0a77", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #558 from andy-may-at/issue/557/expose_content_tag_ids_on_article", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/366da495cfe1d98b381d00b2498f8675e3ed0a77" + } + ] + }, + "public": true, + "created_at": "2023-03-13T08:52:46Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27672285224", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 558, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/558", + "id": 1267999420, + "node_id": "PR_kwDOAIy5dc5LlCK8", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/558", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/558.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/558.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/558", + "number": 558, + "state": "closed", + "locked": false, + "title": "Add support for `Article.content_tag_ids field` - resolves #557", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "body": "N.B. a potential risk of adding a new field to the model seems to be that any existing code using the client that was doing a overwrite of an existing article (by calling Zendesk.updateArticle(article) (without having recently read the article in question from the API, or where the Article instance has been created by copying a known set of fields from another Article instance) would have been preserving any pre-existing content_tags_id value on the article.\r\nBut if we add the field to the model, then any code like this will now be updating the content_tags_id field to be empty\r\nThis edge-case change in behaviour seems worthwhile, but may be worth documenting in release notes.", + "created_at": "2023-03-08T14:55:20Z", + "updated_at": "2023-03-13T08:52:44Z", + "closed_at": "2023-03-13T08:52:44Z", + "merged_at": "2023-03-13T08:52:44Z", + "merge_commit_sha": "366da495cfe1d98b381d00b2498f8675e3ed0a77", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 34598766, + "node_id": "MDU6TGFiZWwzNDU5ODc2Ng==", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/enhancement", + "name": "enhancement", + "color": "84b6eb", + "default": true, + "description": null + }, + { + "id": 808470392, + "node_id": "MDU6TGFiZWw4MDg0NzAzOTI=", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/breaking", + "name": "breaking", + "color": "b60205", + "default": false, + "description": "Breaking change" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/558/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/558/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/558/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/e3c895f9e03c21eb6a21e40601ebd7d49c6dd664", + "head": { + "label": "andy-may-at:issue/557/expose_content_tag_ids_on_article", + "ref": "issue/557/expose_content_tag_ids_on_article", + "sha": "e3c895f9e03c21eb6a21e40601ebd7d49c6dd664", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 610732619, + "node_id": "R_kgDOJGcKSw", + "name": "zendesk-java-client", + "full_name": "andy-may-at/zendesk-java-client", + "private": false, + "owner": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/andy-may-at/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/andy-may-at/zendesk-java-client", + "forks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/deployments", + "created_at": "2023-03-07T11:21:54Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-09T15:07:21Z", + "git_url": "git://github.com/andy-may-at/zendesk-java-client.git", + "ssh_url": "git@github.com:andy-may-at/zendesk-java-client.git", + "clone_url": "https://github.com/andy-may-at/zendesk-java-client.git", + "svn_url": "https://github.com/andy-may-at/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1184, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "91b123ef7e6f5a71fe7112da9b73222933b17265", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-13T08:52:44Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1183, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 8, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/558" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/558" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/558" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/558/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/558/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/558/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/e3c895f9e03c21eb6a21e40601ebd7d49c6dd664" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 3, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 16, + "deletions": 0, + "changed_files": 2 + } + }, + "public": true, + "created_at": "2023-03-13T08:52:45Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27637245413", + "type": "IssueCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 93019434, + "name": "jenkinsci/date-parameter-plugin", + "url": "https://api.github.com/repos/jenkinsci/date-parameter-plugin" + }, + "payload": { + "action": "created", + "issue": { + "url": "https://api.github.com/repos/jenkinsci/date-parameter-plugin/issues/12", + "repository_url": "https://api.github.com/repos/jenkinsci/date-parameter-plugin", + "labels_url": "https://api.github.com/repos/jenkinsci/date-parameter-plugin/issues/12/labels{/name}", + "comments_url": "https://api.github.com/repos/jenkinsci/date-parameter-plugin/issues/12/comments", + "events_url": "https://api.github.com/repos/jenkinsci/date-parameter-plugin/issues/12/events", + "html_url": "https://github.com/jenkinsci/date-parameter-plugin/issues/12", + "id": 1291191148, + "node_id": "I_kwDOBYtdKs5M9gNs", + "number": 12, + "title": "Please fix the stored XSS vulnerability", + "user": { + "login": "noodles101", + "id": 6965320, + "node_id": "MDQ6VXNlcjY5NjUzMjA=", + "avatar_url": "https://avatars.githubusercontent.com/u/6965320?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/noodles101", + "html_url": "https://github.com/noodles101", + "followers_url": "https://api.github.com/users/noodles101/followers", + "following_url": "https://api.github.com/users/noodles101/following{/other_user}", + "gists_url": "https://api.github.com/users/noodles101/gists{/gist_id}", + "starred_url": "https://api.github.com/users/noodles101/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/noodles101/subscriptions", + "organizations_url": "https://api.github.com/users/noodles101/orgs", + "repos_url": "https://api.github.com/users/noodles101/repos", + "events_url": "https://api.github.com/users/noodles101/events{/privacy}", + "received_events_url": "https://api.github.com/users/noodles101/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 617321795, + "node_id": "MDU6TGFiZWw2MTczMjE3OTU=", + "url": "https://api.github.com/repos/jenkinsci/date-parameter-plugin/labels/bug", + "name": "bug", + "color": "ee0701", + "default": true, + "description": null + } + ], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 4, + "created_at": "2022-07-01T10:00:17Z", + "updated_at": "2023-03-10T15:18:46Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "### Jenkins and plugins versions report\r\n\r\n
    \r\n Environment\r\n\r\n \r\n ```text\r\nJenkins: 2.357\r\nOS: Windows 10 - 10.0\r\n---\r\nace-editor:1.1\r\nant:475.vf34069fef73c\r\nantisamy-markup-formatter:2.7\r\napache-httpcomponents-client-4-api:4.5.13-1.0\r\nauthentication-tokens:1.4\r\nauthorize-project:1.4.0\r\nbackup:1.6.1\r\nbootstrap4-api:4.6.0-5\r\nbootstrap5-api:5.1.3-7\r\nbouncycastle-api:2.26\r\nbranch-api:2.1046.v0ca_37783ecc5\r\nbuild-timeout:1.21\r\nbuilt-on-column:1.1\r\ncaffeine-api:2.9.3-65.v6a_47d0f4d1fe\r\nchecks-api:1.7.4\r\ncloudbees-folder:6.729.v2b_9d1a_74d673\r\ncommand-launcher:84.v4a_97f2027398\r\nconditional-buildstep:1.4.2\r\ncredentials:1129.vef26f5df883c\r\ncredentials-binding:523.vd859a_4b_122e6\r\ndashboard-view:2.432.va_712ce35862d\r\ndate-parameter:0.0.4\r\ndisplay-url-api:2.3.6\r\ndocker-commons:1.19\r\ndocker-workflow:1.29\r\ndurable-task:496.va67c6f9eefa7\r\necharts-api:5.3.3-1\r\nemail-ext:2.89\r\nemailext-template:1.4\r\nenvinject:2.866.v5c0403e3d4df\r\nenvinject-api:1.199.v3ce31253ed13\r\nexternal-monitor-job:191.v363d0d1efdf8\r\nextreme-notification:1.6\r\nfont-awesome-api:6.1.1-1\r\ngit:4.11.3\r\ngit-client:3.11.0\r\ngit-parameter:0.9.17\r\ngit-server:1.11\r\ngithub:1.34.4\r\ngithub-api:1.303-400.v35c2d8258028\r\ngithub-branch-source:1656.v77eddb_b_e95df\r\ngitlab-plugin:1.5.35\r\ngradle:1.39.2\r\nhandlebars:3.0.8\r\ninstance-identity:3.1\r\njackson2-api:2.13.3-285.vc03c0256d517\r\njavadoc:217.v905b_86277a_2a_\r\njavax-activation-api:1.2.0-3\r\njavax-mail-api:1.6.2-6\r\njaxb:2.3.6-1\r\njdk-tool:1.5\r\njersey2-api:2.36-2\r\njjwt-api:0.11.5-77.v646c772fddb_0\r\njnr-posix-api:3.1.7-3\r\njquery:1.12.4-1\r\njquery-detached:1.2.1\r\njquery3-api:3.6.0-4\r\njsch:0.1.55.2\r\njunit:1119.1121.vc43d0fc45561\r\nldap:2.10\r\nlocale:144.v1a_998824ddb_3\r\nlockable-resources:2.15\r\nmailer:414.vcc4c33714601\r\nmapdb-api:1.0.9.0\r\nmatrix-auth:2.6.11\r\nmatrix-project:772.v494f19991984\r\nmina-sshd-api-common:2.8.0-21.v493b_6b_db_22c6\r\nmina-sshd-api-core:2.8.0-21.v493b_6b_db_22c6\r\nmomentjs:1.1.1\r\nokhttp-api:4.9.3-105.vb96869f8ac3a\r\npam-auth:1.8\r\nparameterized-trigger:2.44\r\npipeline-build-step:2.18\r\npipeline-github-lib:38.v445716ea_edda_\r\npipeline-graph-analysis:195.v5812d95a_a_2f9\r\npipeline-groovy-lib:593.va_a_fc25d520e9\r\npipeline-input-step:449.v77f0e8b_845c4\r\npipeline-milestone-step:101.vd572fef9d926\r\npipeline-model-api:2.2097.v33db_b_de764b_e\r\npipeline-model-definition:2.2097.v33db_b_de764b_e\r\npipeline-model-extensions:2.2097.v33db_b_de764b_e\r\npipeline-rest-api:2.24\r\npipeline-stage-step:293.v200037eefcd5\r\npipeline-stage-tags-metadata:2.2097.v33db_b_de764b_e\r\npipeline-stage-view:2.24\r\nplain-credentials:1.8\r\nplugin-util-api:2.17.0\r\npopper-api:1.16.1-3\r\npopper2-api:2.11.5-2\r\nrebuild:1.34\r\nresource-disposer:0.19\r\nrun-condition:1.5\r\nscm-api:608.vfa_f971c5a_a_e9\r\nscript-security:1175.v4b_d517d6db_f0\r\nsnakeyaml-api:1.30.2-76.vc104f7ce9870\r\nssh-credentials:291.v8211e4f8efb_c\r\nssh-slaves:1.821.vd834f8a_c390e\r\nsshd:3.242.va_db_9da_b_26a_c3\r\nstructs:318.va_f3ccb_729b_71\r\nsubversion:2.15.5\r\nthinBackup:1.10\r\ntimestamper:1.18\r\ntoken-macro:293.v283932a_0a_b_49\r\ntrilead-api:1.57.v6e90e07157e1\r\nvariant:1.4\r\nwindows-slaves:1.8.1\r\nworkflow-aggregator:590.v6a_d052e5a_a_b_5\r\nworkflow-api:1165.v02c3db_a_6b_e36\r\nworkflow-basic-steps:948.v2c72a_091b_b_68\r\nworkflow-cps:2725.v7b_c717eb_12ce\r\nworkflow-durable-task-step:1155.v79567b_e0a_2de\r\nworkflow-job:1189.va_d37a_e9e4eda_\r\nworkflow-multibranch:716.vc692a_e52371b_\r\nworkflow-scm-step:400.v6b_89a_1317c9a_\r\nworkflow-step-api:625.vd896b_f445a_f8\r\nworkflow-support:820.vd1a_6cc65ef33\r\nws-cleanup:0.42\r\n ```\r\n
    \r\n\r\nPlease fix the stored XSS vulnerability.\r\n\r\n\r\n### What Operating System are you using (both controller, and any agents involved in the problem)?\r\n\r\nWindows\r\n\r\n### Reproduction steps\r\n\r\nPlease fix the stored XSS vulnerability.\r\n\r\n\r\n\r\n### Expected Results\r\n\r\nhttps://www.jenkins.io/security/advisory/2022-06-22/#SECURITY-2784\r\n\r\n### Actual Results\r\n\r\n![image](https://user-images.githubusercontent.com/6965320/176872180-58bdb4a7-ed1c-4923-ba2a-86ba1a0b61f5.png)\r\n\r\n### Anything else?\r\n\r\n_No response_\r\n\r\n/assign @leejaycoke @PierreBtz ", + "reactions": { + "url": "https://api.github.com/repos/jenkinsci/date-parameter-plugin/issues/12/reactions", + "total_count": 4, + "+1": 3, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 1 + }, + "timeline_url": "https://api.github.com/repos/jenkinsci/date-parameter-plugin/issues/12/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "comment": { + "url": "https://api.github.com/repos/jenkinsci/date-parameter-plugin/issues/comments/1463954563", + "html_url": "https://github.com/jenkinsci/date-parameter-plugin/issues/12#issuecomment-1463954563", + "issue_url": "https://api.github.com/repos/jenkinsci/date-parameter-plugin/issues/12", + "id": 1463954563, + "node_id": "IC_kwDOBYtdKs5XQiyD", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2023-03-10T15:18:45Z", + "updated_at": "2023-03-10T15:18:45Z", + "author_association": "CONTRIBUTOR", + "body": "@noodles101, I'll reiterate one more time I'm not maintaining this plugin. Please stop pinging me.", + "reactions": { + "url": "https://api.github.com/repos/jenkinsci/date-parameter-plugin/issues/comments/1463954563/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } + }, + "public": true, + "created_at": "2023-03-10T15:18:46Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "27609486285", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1332867000, + "node_id": "PRR_kwDOAIy5dc5Pce-4", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "Lgtm, I'd like if possible to see the wildcard import removed.", + "commit_id": "a18fcafb295b77e01976047ae6c22b9cf5739c15", + "submitted_at": "2023-03-09T13:49:21Z", + "state": "dismissed", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552#pullrequestreview-1332867000", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552#pullrequestreview-1332867000" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552", + "id": 1266462568, + "node_id": "PR_kwDOAIy5dc5LfK9o", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552", + "number": 552, + "state": "open", + "locked": false, + "title": "Implement getUsersByExternalIds(String, String...) - resolves #548", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "body": "User external IDs are Strings in the Zendesk API, but the existing getUsersByExternalId implementation only allowed getting users by an externalId that was a long.", + "created_at": "2023-03-07T15:14:18Z", + "updated_at": "2023-03-09T15:05:54Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "94c10814a74aa7d69ccb12a88962dccaffb56d75", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 34598766, + "node_id": "MDU6TGFiZWwzNDU5ODc2Ng==", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/enhancement", + "name": "enhancement", + "color": "84b6eb", + "default": true, + "description": null + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/2404943ddd9c651073c28ac199a49ca3b2057248", + "head": { + "label": "andy-may-at:issue/548", + "ref": "issue/548", + "sha": "2404943ddd9c651073c28ac199a49ca3b2057248", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 610732619, + "node_id": "R_kgDOJGcKSw", + "name": "zendesk-java-client", + "full_name": "andy-may-at/zendesk-java-client", + "private": false, + "owner": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/andy-may-at/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/andy-may-at/zendesk-java-client", + "forks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/deployments", + "created_at": "2023-03-07T11:21:54Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-09T15:05:52Z", + "git_url": "git://github.com/andy-may-at/zendesk-java-client.git", + "ssh_url": "git@github.com:andy-may-at/zendesk-java-client.git", + "clone_url": "https://github.com/andy-may-at/zendesk-java-client.git", + "svn_url": "https://github.com/andy-may-at/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1183, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "91b123ef7e6f5a71fe7112da9b73222933b17265", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-09T14:31:22Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1183, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 8, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/2404943ddd9c651073c28ac199a49ca3b2057248" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-09T15:05:55Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27608484646", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 556, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/556", + "id": 1266955740, + "node_id": "PR_kwDOAIy5dc5LhDXc", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/556", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/556.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/556.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/556", + "number": 556, + "state": "closed", + "locked": false, + "title": "Cursor based pagination added for getUsers", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "body": "Fix for #555, see issue for further details and discussion", + "created_at": "2023-03-07T21:11:16Z", + "updated_at": "2023-03-09T14:31:22Z", + "closed_at": "2023-03-09T14:31:22Z", + "merged_at": "2023-03-09T14:31:22Z", + "merge_commit_sha": "ffb2e475f042f7f3f5c5d0bbc715632d66c70649", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 2833363346, + "node_id": "MDU6TGFiZWwyODMzMzYzMzQ2", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/chore", + "name": "chore", + "color": "F542D8", + "default": false, + "description": "" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/556/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/556/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/556/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/eb9e56b78c3b890630109aa147640afb5a65df74", + "head": { + "label": "colbya:cursor-pagination-for-getUsers", + "ref": "cursor-pagination-for-getUsers", + "sha": "eb9e56b78c3b890630109aa147640afb5a65df74", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 595426024, + "node_id": "R_kgDOI3166A", + "name": "zendesk-java-client", + "full_name": "colbya/zendesk-java-client", + "private": false, + "owner": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/colbya/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/colbya/zendesk-java-client", + "forks_url": "https://api.github.com/repos/colbya/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/colbya/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/colbya/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/colbya/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/colbya/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/colbya/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/colbya/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/colbya/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/colbya/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/colbya/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/colbya/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/colbya/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/colbya/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/colbya/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/colbya/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/colbya/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/colbya/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/colbya/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/colbya/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/colbya/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/colbya/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/colbya/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/colbya/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/colbya/zendesk-java-client/deployments", + "created_at": "2023-01-31T03:32:05Z", + "updated_at": "2023-03-07T15:30:46Z", + "pushed_at": "2023-03-07T21:57:14Z", + "git_url": "git://github.com/colbya/zendesk-java-client.git", + "ssh_url": "git@github.com:colbya/zendesk-java-client.git", + "clone_url": "https://github.com/colbya/zendesk-java-client.git", + "svn_url": "https://github.com/colbya/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1203, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "91b123ef7e6f5a71fe7112da9b73222933b17265", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-09T14:31:22Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1179, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 8, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/556" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/556" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/556" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/556/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/556/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/556/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/eb9e56b78c3b890630109aa147640afb5a65df74" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 12, + "deletions": 2, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-03-09T14:31:23Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27608484975", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 12884132033, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "ffb2e475f042f7f3f5c5d0bbc715632d66c70649", + "before": "c3e1865995361ebccaae6e1b0a54e17e2aea377f", + "commits": [ + { + "sha": "eb9e56b78c3b890630109aa147640afb5a65df74", + "author": { + "email": "colby@realgo.com", + "name": "Colby Ackerfield" + }, + "message": "Cursor based pagination added for getUsers", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/eb9e56b78c3b890630109aa147640afb5a65df74" + }, + { + "sha": "ffb2e475f042f7f3f5c5d0bbc715632d66c70649", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #556 from colbya/cursor-pagination-for-getUsers", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/ffb2e475f042f7f3f5c5d0bbc715632d66c70649" + } + ] + }, + "public": true, + "created_at": "2023-03-09T14:31:24Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27608467967", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1332976299, + "node_id": "PRR_kwDOAIy5dc5Pc5qr", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "> Would you prefer me to roll the two together into a single issue/PR or to keep them separate?\r\n\r\nOn one hand both changes are orthogonal so two PRs make sense, but on the other hand since your PR is the first using the content tag API, it also make sense grouping them. So I guess up to you, use the solution that requires the less work for you :)\r\n\r\n> This edge-case change in behaviour seems worthwhile, but may be worth documenting in release notes.\r\n\r\nAgreed, let's not over-engineer this, I'll mark this PR as breaking to remember about it in the release notes.", + "commit_id": "e3c895f9e03c21eb6a21e40601ebd7d49c6dd664", + "submitted_at": "2023-03-09T14:30:48Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/558#pullrequestreview-1332976299", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/558", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/558#pullrequestreview-1332976299" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/558" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/558", + "id": 1267999420, + "node_id": "PR_kwDOAIy5dc5LlCK8", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/558", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/558.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/558.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/558", + "number": 558, + "state": "open", + "locked": false, + "title": "Add support for `Article.content_tag_ids field` - resolves #557", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "body": "N.B. a potential risk of adding a new field to the model seems to be that any existing code using the client that was doing a overwrite of an existing article (by calling Zendesk.updateArticle(article) (without having recently read the article in question from the API, or where the Article instance has been created by copying a known set of fields from another Article instance) would have been preserving any pre-existing content_tags_id value on the article.\r\nBut if we add the field to the model, then any code like this will now be updating the content_tags_id field to be empty\r\nThis edge-case change in behaviour seems worthwhile, but may be worth documenting in release notes.", + "created_at": "2023-03-08T14:55:20Z", + "updated_at": "2023-03-09T14:30:49Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "724f3541cf45a41329ca1e3775ce895bfd063832", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/558/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/558/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/558/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/e3c895f9e03c21eb6a21e40601ebd7d49c6dd664", + "head": { + "label": "andy-may-at:issue/557/expose_content_tag_ids_on_article", + "ref": "issue/557/expose_content_tag_ids_on_article", + "sha": "e3c895f9e03c21eb6a21e40601ebd7d49c6dd664", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 610732619, + "node_id": "R_kgDOJGcKSw", + "name": "zendesk-java-client", + "full_name": "andy-may-at/zendesk-java-client", + "private": false, + "owner": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/andy-may-at/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/andy-may-at/zendesk-java-client", + "forks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/deployments", + "created_at": "2023-03-07T11:21:54Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-08T16:09:29Z", + "git_url": "git://github.com/andy-may-at/zendesk-java-client.git", + "ssh_url": "git@github.com:andy-may-at/zendesk-java-client.git", + "clone_url": "https://github.com/andy-may-at/zendesk-java-client.git", + "svn_url": "https://github.com/andy-may-at/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1183, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "91b123ef7e6f5a71fe7112da9b73222933b17265", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-09T13:39:39Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1179, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 9, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 9, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/558" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/558" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/558" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/558/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/558/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/558/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/e3c895f9e03c21eb6a21e40601ebd7d49c6dd664" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-09T14:30:50Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27607290330", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1332867000, + "node_id": "PRR_kwDOAIy5dc5Pce-4", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "Lgtm, I'd like if possible to see the wildcard import removed.", + "commit_id": "a18fcafb295b77e01976047ae6c22b9cf5739c15", + "submitted_at": "2023-03-09T13:49:21Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552#pullrequestreview-1332867000", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552#pullrequestreview-1332867000" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552", + "id": 1266462568, + "node_id": "PR_kwDOAIy5dc5LfK9o", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552", + "number": 552, + "state": "open", + "locked": false, + "title": "Implement getUsersByExternalIds(String, String...) - resolves #548", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "body": "User external IDs are Strings in the Zendesk API, but the existing getUsersByExternalId implementation only allowed getting users by an externalId that was a long.", + "created_at": "2023-03-07T15:14:18Z", + "updated_at": "2023-03-09T13:49:21Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "714d5afc5f1ebfd187783f1734549b8d38784db3", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/a18fcafb295b77e01976047ae6c22b9cf5739c15", + "head": { + "label": "andy-may-at:issue/548", + "ref": "issue/548", + "sha": "a18fcafb295b77e01976047ae6c22b9cf5739c15", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 610732619, + "node_id": "R_kgDOJGcKSw", + "name": "zendesk-java-client", + "full_name": "andy-may-at/zendesk-java-client", + "private": false, + "owner": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/andy-may-at/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/andy-may-at/zendesk-java-client", + "forks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/deployments", + "created_at": "2023-03-07T11:21:54Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-08T16:09:29Z", + "git_url": "git://github.com/andy-may-at/zendesk-java-client.git", + "ssh_url": "git@github.com:andy-may-at/zendesk-java-client.git", + "clone_url": "https://github.com/andy-may-at/zendesk-java-client.git", + "svn_url": "https://github.com/andy-may-at/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1183, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "91b123ef7e6f5a71fe7112da9b73222933b17265", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-09T13:39:39Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1179, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 9, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 9, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/a18fcafb295b77e01976047ae6c22b9cf5739c15" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-09T13:49:22Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27607290420", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1332867000, + "node_id": "PRR_kwDOAIy5dc5Pce-4", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "Lgtm, I'd like if possible to see the wildcard import removed.", + "commit_id": "a18fcafb295b77e01976047ae6c22b9cf5739c15", + "submitted_at": "2023-03-09T13:49:21Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552#pullrequestreview-1332867000", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552#pullrequestreview-1332867000" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552", + "id": 1266462568, + "node_id": "PR_kwDOAIy5dc5LfK9o", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552", + "number": 552, + "state": "open", + "locked": false, + "title": "Implement getUsersByExternalIds(String, String...) - resolves #548", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "body": "User external IDs are Strings in the Zendesk API, but the existing getUsersByExternalId implementation only allowed getting users by an externalId that was a long.", + "created_at": "2023-03-07T15:14:18Z", + "updated_at": "2023-03-09T13:49:21Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "714d5afc5f1ebfd187783f1734549b8d38784db3", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/a18fcafb295b77e01976047ae6c22b9cf5739c15", + "head": { + "label": "andy-may-at:issue/548", + "ref": "issue/548", + "sha": "a18fcafb295b77e01976047ae6c22b9cf5739c15", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 610732619, + "node_id": "R_kgDOJGcKSw", + "name": "zendesk-java-client", + "full_name": "andy-may-at/zendesk-java-client", + "private": false, + "owner": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/andy-may-at/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/andy-may-at/zendesk-java-client", + "forks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/deployments", + "created_at": "2023-03-07T11:21:54Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-08T16:09:29Z", + "git_url": "git://github.com/andy-may-at/zendesk-java-client.git", + "ssh_url": "git@github.com:andy-may-at/zendesk-java-client.git", + "clone_url": "https://github.com/andy-may-at/zendesk-java-client.git", + "svn_url": "https://github.com/andy-may-at/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1183, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "91b123ef7e6f5a71fe7112da9b73222933b17265", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-09T13:39:39Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1179, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 9, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 9, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/a18fcafb295b77e01976047ae6c22b9cf5739c15" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-09T13:49:22Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user_9881659_events_public-6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user_9881659_events_public-6.json new file mode 100644 index 0000000000..74899dd8b9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user_9881659_events_public-6.json @@ -0,0 +1,6418 @@ +[ + { + "id": "27607290560", + "type": "PullRequestReviewCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "comment": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments/1131051806", + "pull_request_review_id": 1332867000, + "id": 1131051806, + "node_id": "PRRC_kwDOAIy5dc5Danse", + "diff_hunk": "@@ -1,20 +1,19 @@\n package org.zendesk.client.v2;\n \n-import static com.github.tomakehurst.wiremock.client.WireMock.equalTo;\n-import static com.github.tomakehurst.wiremock.client.WireMock.equalToJson;\n-import static com.github.tomakehurst.wiremock.client.WireMock.ok;\n-import static com.github.tomakehurst.wiremock.client.WireMock.put;\n-import static com.github.tomakehurst.wiremock.client.WireMock.putRequestedFor;\n-import static com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo;\n-import static com.github.tomakehurst.wiremock.client.WireMock.urlPathEqualTo;\n+import static com.github.tomakehurst.wiremock.client.WireMock.*;", + "path": "src/test/java/org/zendesk/client/v2/UserTest.java", + "position": 10, + "original_position": 10, + "commit_id": "a18fcafb295b77e01976047ae6c22b9cf5739c15", + "original_commit_id": "a18fcafb295b77e01976047ae6c22b9cf5739c15", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "Nit: I'd rather see the explicit import kept (we strongly discourage using wildcard imports even in tests, see https://github.com/cloudbees-oss/zendesk-java-client/blob/master/CONTRIBUTING.adoc#imports).\r\n\r\n(sorry I just noticed the project doesn't have a working editorconfig file to help setting up your IDE, I'll try to add it at some point).", + "created_at": "2023-03-09T13:44:53Z", + "updated_at": "2023-03-09T13:49:21Z", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552#discussion_r1131051806", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552", + "author_association": "COLLABORATOR", + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments/1131051806" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552#discussion_r1131051806" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552" + } + }, + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments/1131051806/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 3, + "original_line": 3, + "side": "RIGHT" + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552", + "id": 1266462568, + "node_id": "PR_kwDOAIy5dc5LfK9o", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552", + "number": 552, + "state": "open", + "locked": false, + "title": "Implement getUsersByExternalIds(String, String...) - resolves #548", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "body": "User external IDs are Strings in the Zendesk API, but the existing getUsersByExternalId implementation only allowed getting users by an externalId that was a long.", + "created_at": "2023-03-07T15:14:18Z", + "updated_at": "2023-03-09T13:49:21Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "714d5afc5f1ebfd187783f1734549b8d38784db3", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/a18fcafb295b77e01976047ae6c22b9cf5739c15", + "head": { + "label": "andy-may-at:issue/548", + "ref": "issue/548", + "sha": "a18fcafb295b77e01976047ae6c22b9cf5739c15", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 610732619, + "node_id": "R_kgDOJGcKSw", + "name": "zendesk-java-client", + "full_name": "andy-may-at/zendesk-java-client", + "private": false, + "owner": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/andy-may-at/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/andy-may-at/zendesk-java-client", + "forks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/andy-may-at/zendesk-java-client/deployments", + "created_at": "2023-03-07T11:21:54Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-08T16:09:29Z", + "git_url": "git://github.com/andy-may-at/zendesk-java-client.git", + "ssh_url": "git@github.com:andy-may-at/zendesk-java-client.git", + "clone_url": "https://github.com/andy-may-at/zendesk-java-client.git", + "svn_url": "https://github.com/andy-may-at/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1183, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "91b123ef7e6f5a71fe7112da9b73222933b17265", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-09T13:39:39Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1179, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 9, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 9, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/552" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/552/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/552/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/a18fcafb295b77e01976047ae6c22b9cf5739c15" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-09T13:44:53Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27607031442", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 12883419992, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "c3e1865995361ebccaae6e1b0a54e17e2aea377f", + "before": "91b123ef7e6f5a71fe7112da9b73222933b17265", + "commits": [ + { + "sha": "540d9cfb4e8f4caffb7e45f38ad0baa39b20fbba", + "author": { + "email": "colby@realgo.com", + "name": "Colby Ackerfield" + }, + "message": "Fix and enable createOrUpdateUser test", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/540d9cfb4e8f4caffb7e45f38ad0baa39b20fbba" + }, + { + "sha": "c3e1865995361ebccaae6e1b0a54e17e2aea377f", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #554 from colbya/createOrUpdateUser-test-fix", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/c3e1865995361ebccaae6e1b0a54e17e2aea377f" + } + ] + }, + "public": true, + "created_at": "2023-03-09T13:39:42Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27607031387", + "type": "IssuesEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/553", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/553/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/553/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/553/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/553", + "id": 1614177298, + "node_id": "I_kwDOAIy5dc5gNmQS", + "number": 553, + "title": "Fix and explaination for failing createOrUpdateUser test", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2023-03-07T20:42:00Z", + "updated_at": "2023-03-09T13:39:41Z", + "closed_at": "2023-03-09T13:39:41Z", + "author_association": "NONE", + "active_lock_reason": null, + "body": "**Describe the bug**\r\nThe createOrUpdateUser test is failing after attempting to update a phone number field on a user. It appears that the Zendesk api has additional rules for updating identity fields that are exposed on the user resource (i.e. email and phone). These rules include not allowing a duplicate value for an email field and not replacing but adding phone numbers when updated.\r\n\r\n**To Reproduce**\r\nRun the createOrUpdateUser test. The user modified ends up with two phone numbers instead of having the single phone number updated. The user object returned only displays the first phone number set making it appear as if the updated did not work.\r\n\r\n**Expected behavior**\r\nThe field updated should be reflected on the object returned from the update api call. This expected behavior occurs when updating most fields. Recommended change is to update a non-identity and test for that change in the smoke test.\r\n\r\n**Additional context**\r\nThis behavior was discovered while attempting to synchronize a large set of users with Zendesk. There are unexpected (and undocumented) behaviors with the Zendesk User endpoint including the ability to create an end-user without an email or phone number but not being able to clear both email and phone after they have been set.\r\n\r\nPR to be submitted\r\n", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/553/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/553/timeline", + "performed_via_github_app": null, + "state_reason": "completed" + } + }, + "public": true, + "created_at": "2023-03-09T13:39:42Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27607030950", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 554, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554", + "id": 1266931544, + "node_id": "PR_kwDOAIy5dc5Lg9dY", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/554", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/554.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/554.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/554", + "number": 554, + "state": "closed", + "locked": false, + "title": "Fix and enable createOrUpdateUser test", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "body": "This fixes #553 and enables the createOrUpdateUser test switching the updated field from phone to details.", + "created_at": "2023-03-07T20:49:44Z", + "updated_at": "2023-03-09T13:39:40Z", + "closed_at": "2023-03-09T13:39:39Z", + "merged_at": "2023-03-09T13:39:39Z", + "merge_commit_sha": "c3e1865995361ebccaae6e1b0a54e17e2aea377f", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/554/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/540d9cfb4e8f4caffb7e45f38ad0baa39b20fbba", + "head": { + "label": "colbya:createOrUpdateUser-test-fix", + "ref": "createOrUpdateUser-test-fix", + "sha": "540d9cfb4e8f4caffb7e45f38ad0baa39b20fbba", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 595426024, + "node_id": "R_kgDOI3166A", + "name": "zendesk-java-client", + "full_name": "colbya/zendesk-java-client", + "private": false, + "owner": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/colbya/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/colbya/zendesk-java-client", + "forks_url": "https://api.github.com/repos/colbya/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/colbya/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/colbya/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/colbya/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/colbya/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/colbya/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/colbya/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/colbya/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/colbya/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/colbya/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/colbya/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/colbya/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/colbya/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/colbya/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/colbya/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/colbya/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/colbya/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/colbya/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/colbya/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/colbya/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/colbya/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/colbya/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/colbya/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/colbya/zendesk-java-client/deployments", + "created_at": "2023-01-31T03:32:05Z", + "updated_at": "2023-03-07T15:30:46Z", + "pushed_at": "2023-03-07T21:57:14Z", + "git_url": "git://github.com/colbya/zendesk-java-client.git", + "ssh_url": "git@github.com:colbya/zendesk-java-client.git", + "clone_url": "https://github.com/colbya/zendesk-java-client.git", + "svn_url": "https://github.com/colbya/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1203, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "91b123ef7e6f5a71fe7112da9b73222933b17265", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-09T13:39:39Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1179, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 10, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 10, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/554" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/554" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/554/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/540d9cfb4e8f4caffb7e45f38ad0baa39b20fbba" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 9, + "deletions": 8, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-03-09T13:39:41Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27607028434", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1332856758, + "node_id": "PRR_kwDOAIy5dc5Pcce2", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "lgtm, thanks for fixing this!", + "commit_id": "540d9cfb4e8f4caffb7e45f38ad0baa39b20fbba", + "submitted_at": "2023-03-09T13:39:34Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/554#pullrequestreview-1332856758", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/554#pullrequestreview-1332856758" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554", + "id": 1266931544, + "node_id": "PR_kwDOAIy5dc5Lg9dY", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/554", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/554.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/554.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/554", + "number": 554, + "state": "open", + "locked": false, + "title": "Fix and enable createOrUpdateUser test", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "body": "This fixes #553 and enables the createOrUpdateUser test switching the updated field from phone to details.", + "created_at": "2023-03-07T20:49:44Z", + "updated_at": "2023-03-09T13:39:34Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "d7ef635ad3ed48e22f99f0bafb3f2d41c087c57a", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/554/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/540d9cfb4e8f4caffb7e45f38ad0baa39b20fbba", + "head": { + "label": "colbya:createOrUpdateUser-test-fix", + "ref": "createOrUpdateUser-test-fix", + "sha": "540d9cfb4e8f4caffb7e45f38ad0baa39b20fbba", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 595426024, + "node_id": "R_kgDOI3166A", + "name": "zendesk-java-client", + "full_name": "colbya/zendesk-java-client", + "private": false, + "owner": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/colbya/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/colbya/zendesk-java-client", + "forks_url": "https://api.github.com/repos/colbya/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/colbya/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/colbya/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/colbya/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/colbya/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/colbya/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/colbya/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/colbya/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/colbya/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/colbya/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/colbya/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/colbya/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/colbya/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/colbya/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/colbya/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/colbya/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/colbya/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/colbya/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/colbya/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/colbya/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/colbya/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/colbya/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/colbya/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/colbya/zendesk-java-client/deployments", + "created_at": "2023-01-31T03:32:05Z", + "updated_at": "2023-03-07T15:30:46Z", + "pushed_at": "2023-03-07T21:57:14Z", + "git_url": "git://github.com/colbya/zendesk-java-client.git", + "ssh_url": "git@github.com:colbya/zendesk-java-client.git", + "clone_url": "https://github.com/colbya/zendesk-java-client.git", + "svn_url": "https://github.com/colbya/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1203, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "91b123ef7e6f5a71fe7112da9b73222933b17265", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-08T16:11:35Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1179, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 11, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 11, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/554" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/554" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/554/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/540d9cfb4e8f4caffb7e45f38ad0baa39b20fbba" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-09T13:39:35Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27607019978", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1332856196, + "node_id": "PRR_kwDOAIy5dc5PccWE", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "commit_id": "540d9cfb4e8f4caffb7e45f38ad0baa39b20fbba", + "submitted_at": "2023-03-09T13:39:14Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/554#pullrequestreview-1332856196", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/554#pullrequestreview-1332856196" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554", + "id": 1266931544, + "node_id": "PR_kwDOAIy5dc5Lg9dY", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/554", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/554.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/554.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/554", + "number": 554, + "state": "open", + "locked": false, + "title": "Fix and enable createOrUpdateUser test", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "body": "This fixes #553 and enables the createOrUpdateUser test switching the updated field from phone to details.", + "created_at": "2023-03-07T20:49:44Z", + "updated_at": "2023-03-09T13:39:14Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "d7ef635ad3ed48e22f99f0bafb3f2d41c087c57a", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/554/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/540d9cfb4e8f4caffb7e45f38ad0baa39b20fbba", + "head": { + "label": "colbya:createOrUpdateUser-test-fix", + "ref": "createOrUpdateUser-test-fix", + "sha": "540d9cfb4e8f4caffb7e45f38ad0baa39b20fbba", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 595426024, + "node_id": "R_kgDOI3166A", + "name": "zendesk-java-client", + "full_name": "colbya/zendesk-java-client", + "private": false, + "owner": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/colbya/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/colbya/zendesk-java-client", + "forks_url": "https://api.github.com/repos/colbya/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/colbya/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/colbya/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/colbya/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/colbya/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/colbya/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/colbya/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/colbya/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/colbya/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/colbya/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/colbya/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/colbya/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/colbya/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/colbya/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/colbya/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/colbya/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/colbya/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/colbya/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/colbya/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/colbya/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/colbya/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/colbya/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/colbya/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/colbya/zendesk-java-client/deployments", + "created_at": "2023-01-31T03:32:05Z", + "updated_at": "2023-03-07T15:30:46Z", + "pushed_at": "2023-03-07T21:57:14Z", + "git_url": "git://github.com/colbya/zendesk-java-client.git", + "ssh_url": "git@github.com:colbya/zendesk-java-client.git", + "clone_url": "https://github.com/colbya/zendesk-java-client.git", + "svn_url": "https://github.com/colbya/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1203, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "91b123ef7e6f5a71fe7112da9b73222933b17265", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-08T16:11:35Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1179, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 11, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 11, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/554" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/554" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/554/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/554/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/540d9cfb4e8f4caffb7e45f38ad0baa39b20fbba" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-09T13:39:15Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27607012267", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1332855644, + "node_id": "PRR_kwDOAIy5dc5PccNc", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "Did some testing locally, it looks like it behaves properly.\r\nLgtm, thanks!", + "commit_id": "eb9e56b78c3b890630109aa147640afb5a65df74", + "submitted_at": "2023-03-09T13:38:56Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/556#pullrequestreview-1332855644", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/556", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/556#pullrequestreview-1332855644" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/556" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/556", + "id": 1266955740, + "node_id": "PR_kwDOAIy5dc5LhDXc", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/556", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/556.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/556.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/556", + "number": 556, + "state": "open", + "locked": false, + "title": "Cursor based pagination added for getUsers", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "body": "Fix for #555, see issue for further details and discussion", + "created_at": "2023-03-07T21:11:16Z", + "updated_at": "2023-03-09T13:38:56Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "64cf71ad30b457b18a94b6a0738ade25a9454120", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/556/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/556/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/556/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/eb9e56b78c3b890630109aa147640afb5a65df74", + "head": { + "label": "colbya:cursor-pagination-for-getUsers", + "ref": "cursor-pagination-for-getUsers", + "sha": "eb9e56b78c3b890630109aa147640afb5a65df74", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 595426024, + "node_id": "R_kgDOI3166A", + "name": "zendesk-java-client", + "full_name": "colbya/zendesk-java-client", + "private": false, + "owner": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/colbya/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/colbya/zendesk-java-client", + "forks_url": "https://api.github.com/repos/colbya/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/colbya/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/colbya/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/colbya/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/colbya/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/colbya/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/colbya/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/colbya/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/colbya/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/colbya/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/colbya/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/colbya/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/colbya/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/colbya/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/colbya/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/colbya/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/colbya/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/colbya/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/colbya/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/colbya/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/colbya/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/colbya/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/colbya/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/colbya/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/colbya/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/colbya/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/colbya/zendesk-java-client/deployments", + "created_at": "2023-01-31T03:32:05Z", + "updated_at": "2023-03-07T15:30:46Z", + "pushed_at": "2023-03-07T21:57:14Z", + "git_url": "git://github.com/colbya/zendesk-java-client.git", + "ssh_url": "git@github.com:colbya/zendesk-java-client.git", + "clone_url": "https://github.com/colbya/zendesk-java-client.git", + "svn_url": "https://github.com/colbya/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1203, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "91b123ef7e6f5a71fe7112da9b73222933b17265", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-08T16:11:35Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1179, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 11, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 11, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/556" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/556" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/556" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/556/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/556/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/556/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/eb9e56b78c3b890630109aa147640afb5a65df74" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-09T13:38:57Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27601969679", + "type": "IssueCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/555", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/555/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/555/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/555/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/555", + "id": 1614209338, + "node_id": "I_kwDOAIy5dc5gNuE6", + "number": 555, + "title": "Switch to cursor based pagination for Users", + "user": { + "login": "colbya", + "id": 1117349, + "node_id": "MDQ6VXNlcjExMTczNDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1117349?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/colbya", + "html_url": "https://github.com/colbya", + "followers_url": "https://api.github.com/users/colbya/followers", + "following_url": "https://api.github.com/users/colbya/following{/other_user}", + "gists_url": "https://api.github.com/users/colbya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/colbya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/colbya/subscriptions", + "organizations_url": "https://api.github.com/users/colbya/orgs", + "repos_url": "https://api.github.com/users/colbya/repos", + "events_url": "https://api.github.com/users/colbya/events{/privacy}", + "received_events_url": "https://api.github.com/users/colbya/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 1, + "created_at": "2023-03-07T21:06:18Z", + "updated_at": "2023-03-09T10:32:07Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "**Is your feature request related to a problem? Please describe.**\r\nZendesk is encouraging usage of the newer cursor based pagination especially for large result sets. We recently ran into issues with the older offset based pagination with frequent changes to our user set. The offset based pagination bases the paging off of a cached total count of users. In our case that count was being cached for 24 hours which prevent seeing additional new pages added to the user collection. A similar problem exists if a large number of users are deleted, the paging will continue to instruct you to page through empty pages until the paging matches the cached user count.\r\n\r\n**Describe the solution you'd like**\r\nOffset pagination is the default and cursor based pagination can be enabled by adding a `?page[size]=100` parameter to the request. The returned paging information is similar but located in a different JSON object. Support for both offset and cursor based pagination can be added by looking for the cursor based pagination first and then falling through to the existing offset based pagination.\r\n\r\nCursor based pagination can then be incrementally added to specific calls in this library as needed.\r\n\r\n**Describe alternatives you've considered**\r\nZendesk was contacted about documenting or fixing the page count that is cached for ~24 hours and they recommended switching to cursor based pagination.\r\n\r\nAlternatively, the paging navigation links could be ignored and paging offsets continue, even if a next link is null, until an empty page is fetched. In the case of the cached count affecting offset paging, the non-navigable pages do exist even though they never appear in the paging navigation.\r\n\r\nPR to be submitted with a change to just the getUsers() endpoint, other endpoints could benefit from this change but are not covered by the PR\r\n\r\n**Additional Reference**\r\n\r\nhttps://developer.zendesk.com/api-reference/introduction/pagination/\r\n\r\nhttps://developer.zendesk.com/documentation/api-basics/pagination/paginating-through-lists-using-cursor-pagination/\r\n\r\nCursor pagination includes a links and meta section in the response with an opaque cursor value that is be included to fetch the next page.\r\n\r\n```\r\n\"meta\": {\r\n \"has_more\": true,\r\n \"after_cursor\": \"xxx\",\r\n \"before_cursor\": \"yyy\"\r\n},\r\n\"links\": {\r\n \"next\": \"https://example.zendesk.com/api/v2/tickets.json?page[size]=100&page[after]=xxx\",\r\n \"prev\": \"https://example.zendesk.com/api/v2/tickets.json?page[size]=100&page[before]=yyy\"\r\n}\r\n```\r\n\r\n\r\nhttps://developer.zendesk.com/documentation/api-basics/pagination/paginating-through-lists-using-offset-pagination/\r\n\r\nOffset pagination includes a next_page link in the top level of the JSON response with a integer page value that returns values that start at an offset multiple from the beginning of the collection.\r\n\r\n```\r\n\"tickets\": [ ... ],\r\n\"next_page\": \"https://example.zendesk.com/api/v2/tickets.json?page=2\",\r\n```\r\n", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/555/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/555/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "comment": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1461757964", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/555#issuecomment-1461757964", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/555", + "id": 1461757964, + "node_id": "IC_kwDOAIy5dc5XIKgM", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2023-03-09T10:32:07Z", + "updated_at": "2023-03-09T10:32:07Z", + "author_association": "COLLABORATOR", + "body": "@andy-may-at what you describe looks like a bug since the general concept of cursor pagination is documented (https://developer.zendesk.com/api-reference/introduction/pagination/#using-cursor-pagination) and references a link session.", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1461757964/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } + }, + "public": true, + "created_at": "2023-03-09T10:32:07Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27550084052", + "type": "IssueCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/550", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/550/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/550/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/550/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/550", + "id": 1613221196, + "node_id": "PR_kwDOAIy5dc5LdqJE", + "number": 550, + "title": "implemented list help center locales", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 34598766, + "node_id": "MDU6TGFiZWwzNDU5ODc2Ng==", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/enhancement", + "name": "enhancement", + "color": "84b6eb", + "default": true, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 1, + "created_at": "2023-03-07T11:08:48Z", + "updated_at": "2023-03-07T14:25:17Z", + "closed_at": "2023-03-07T14:05:52Z", + "author_association": "CONTRIBUTOR", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/550", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/550", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/550.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/550.patch", + "merged_at": "2023-03-07T14:05:52Z" + }, + "body": "fixes https://github.com/cloudbees-oss/zendesk-java-client/issues/549", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/550/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/550/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "comment": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1458264916", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/550#issuecomment-1458264916", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/550", + "id": 1458264916, + "node_id": "IC_kwDOAIy5dc5W61tU", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2023-03-07T14:25:16Z", + "updated_at": "2023-03-07T14:25:16Z", + "author_association": "COLLABORATOR", + "body": "Released: https://github.com/cloudbees-oss/zendesk-java-client/discussions/551", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1458264916/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } + }, + "public": true, + "created_at": "2023-03-07T14:25:17Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27549963618", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 12855635186, + "size": 1, + "distinct_size": 1, + "ref": "refs/heads/master", + "head": "91b123ef7e6f5a71fe7112da9b73222933b17265", + "before": "cec624961df59051f8b3c980edb2ce30135826bc", + "commits": [ + { + "sha": "91b123ef7e6f5a71fe7112da9b73222933b17265", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/91b123ef7e6f5a71fe7112da9b73222933b17265" + } + ] + }, + "public": true, + "created_at": "2023-03-07T14:21:19Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27549961320", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "ref": "zendesk-java-client-0.21.0", + "ref_type": "tag", + "master_branch": "master", + "description": "A Java client library for interacting with Zendesk", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-03-07T14:21:15Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27549960472", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 12855633557, + "size": 1, + "distinct_size": 1, + "ref": "refs/heads/master", + "head": "cec624961df59051f8b3c980edb2ce30135826bc", + "before": "9b496817e01f5c61fbd134ee497fe162bf094719", + "commits": [ + { + "sha": "cec624961df59051f8b3c980edb2ce30135826bc", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "[maven-release-plugin] prepare release zendesk-java-client-0.21.0", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/cec624961df59051f8b3c980edb2ce30135826bc" + } + ] + }, + "public": true, + "created_at": "2023-03-07T14:21:13Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27549630445", + "type": "IssueCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/548", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/548/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/548/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/548/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/548", + "id": 1612056219, + "node_id": "I_kwDOAIy5dc5gFgab", + "number": 548, + "title": "Enable search for users by external_id where external_id is a String (not a long)", + "user": { + "login": "andy-may-at", + "id": 86307738, + "node_id": "MDQ6VXNlcjg2MzA3NzM4", + "avatar_url": "https://avatars.githubusercontent.com/u/86307738?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/andy-may-at", + "html_url": "https://github.com/andy-may-at", + "followers_url": "https://api.github.com/users/andy-may-at/followers", + "following_url": "https://api.github.com/users/andy-may-at/following{/other_user}", + "gists_url": "https://api.github.com/users/andy-may-at/gists{/gist_id}", + "starred_url": "https://api.github.com/users/andy-may-at/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/andy-may-at/subscriptions", + "organizations_url": "https://api.github.com/users/andy-may-at/orgs", + "repos_url": "https://api.github.com/users/andy-may-at/repos", + "events_url": "https://api.github.com/users/andy-may-at/events{/privacy}", + "received_events_url": "https://api.github.com/users/andy-may-at/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 1, + "created_at": "2023-03-06T19:13:43Z", + "updated_at": "2023-03-07T14:10:00Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "The method to retrieve users by external ID: (`public List getUsersByExternalIds(long externalId, long... externalIds)`) expects the external IDs to be `long`s, but the underlying value is a `String` in the Zendesk API \r\n\r\nIn my use case, our external IDs are Strings, so we can't search for users by external ID using this method,..\r\n\r\nI propose to implementing an additional `public List getUsersByExternalIds(String externalId, String... externalIds)` method which \r\n\r\nI'll look to raise a PR for this shortly if the change would be welcomed", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/548/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/548/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "comment": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1458240284", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/548#issuecomment-1458240284", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/548", + "id": 1458240284, + "node_id": "IC_kwDOAIy5dc5W6vsc", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2023-03-07T14:10:00Z", + "updated_at": "2023-03-07T14:10:00Z", + "author_association": "COLLABORATOR", + "body": "@andy-may-at indeed that doesn't seem correct. PR welcome, you can also deprecate the old method taking longs for future removal.", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1458240284/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } + }, + "public": true, + "created_at": "2023-03-07T14:10:00Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27549511971", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 12855418820, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "9b496817e01f5c61fbd134ee497fe162bf094719", + "before": "8f66331c9627faac3a7adf1014f9bc0dbec8d394", + "commits": [ + { + "sha": "a590b6cf132077803921fa7b32cc3c6845461eb7", + "author": { + "email": "florian.waltenberger@lingohub.com", + "name": "Florian Waltenberger" + }, + "message": "implemented list help center locales", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/a590b6cf132077803921fa7b32cc3c6845461eb7" + }, + { + "sha": "9b496817e01f5c61fbd134ee497fe162bf094719", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #550 from Walti91/master", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/9b496817e01f5c61fbd134ee497fe162bf094719" + } + ] + }, + "public": true, + "created_at": "2023-03-07T14:05:54Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27549512248", + "type": "IssuesEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/549", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/549/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/549/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/549/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/issues/549", + "id": 1613152930, + "node_id": "I_kwDOAIy5dc5gJsKi", + "number": 549, + "title": "Get help center locales doesn't include default locale", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2023-03-07T10:33:15Z", + "updated_at": "2023-03-07T14:05:53Z", + "closed_at": "2023-03-07T14:05:53Z", + "author_association": "CONTRIBUTOR", + "active_lock_reason": null, + "body": "The current implementation to get the help center locales doesn't include the default locale and instead only returns the locales as list of strings.\r\nMethod: org.zendesk.client.v2.Zendesk#getHelpCenterLocales\r\nAPI: https://developer.zendesk.com/api-reference/help_center/help-center-api/translations/#list-enabled-locales-and-default-locale\r\n\r\nI would suggest to introduce a new method which includes the full response and mark the current one as deprecated to avoid a breaking change. \r\n\r\nIf this is okay I can take care of the implementation.", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/549/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/549/timeline", + "performed_via_github_app": null, + "state_reason": "completed" + } + }, + "public": true, + "created_at": "2023-03-07T14:05:54Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27549511745", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 550, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/550", + "id": 1266065988, + "node_id": "PR_kwDOAIy5dc5LdqJE", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/550", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/550.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/550.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/550", + "number": 550, + "state": "closed", + "locked": false, + "title": "implemented list help center locales", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "body": "fixes https://github.com/cloudbees-oss/zendesk-java-client/issues/549", + "created_at": "2023-03-07T11:08:48Z", + "updated_at": "2023-03-07T14:05:52Z", + "closed_at": "2023-03-07T14:05:52Z", + "merged_at": "2023-03-07T14:05:52Z", + "merge_commit_sha": "9b496817e01f5c61fbd134ee497fe162bf094719", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 34598766, + "node_id": "MDU6TGFiZWwzNDU5ODc2Ng==", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/enhancement", + "name": "enhancement", + "color": "84b6eb", + "default": true, + "description": null + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/550/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/550/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/550/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/a590b6cf132077803921fa7b32cc3c6845461eb7", + "head": { + "label": "Walti91:master", + "ref": "master", + "sha": "a590b6cf132077803921fa7b32cc3c6845461eb7", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 608681427, + "node_id": "R_kgDOJEe90w", + "name": "zendesk-java-client", + "full_name": "Walti91/zendesk-java-client", + "private": false, + "owner": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/Walti91/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/Walti91/zendesk-java-client", + "forks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/Walti91/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Walti91/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Walti91/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/Walti91/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Walti91/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Walti91/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/Walti91/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Walti91/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/Walti91/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Walti91/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/Walti91/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Walti91/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Walti91/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Walti91/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/Walti91/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/deployments", + "created_at": "2023-03-02T14:22:26Z", + "updated_at": "2023-03-02T15:21:34Z", + "pushed_at": "2023-03-07T11:06:44Z", + "git_url": "git://github.com/Walti91/zendesk-java-client.git", + "ssh_url": "git@github.com:Walti91/zendesk-java-client.git", + "clone_url": "https://github.com/Walti91/zendesk-java-client.git", + "svn_url": "https://github.com/Walti91/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1168, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "8f66331c9627faac3a7adf1014f9bc0dbec8d394", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-07T14:05:51Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1172, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 3, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/550" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/550" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/550" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/550/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/550/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/550/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/a590b6cf132077803921fa7b32cc3c6845461eb7" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 58, + "deletions": 6, + "changed_files": 3 + } + }, + "public": true, + "created_at": "2023-03-07T14:05:53Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27549503544", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1328553121, + "node_id": "PRR_kwDOAIy5dc5PMByh", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "lgtm, thanks!", + "commit_id": "a590b6cf132077803921fa7b32cc3c6845461eb7", + "submitted_at": "2023-03-07T14:05:35Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/550#pullrequestreview-1328553121", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/550", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/550#pullrequestreview-1328553121" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/550" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/550", + "id": 1266065988, + "node_id": "PR_kwDOAIy5dc5LdqJE", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/550", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/550.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/550.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/550", + "number": 550, + "state": "open", + "locked": false, + "title": "implemented list help center locales", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "body": "fixes https://github.com/cloudbees-oss/zendesk-java-client/issues/549", + "created_at": "2023-03-07T11:08:48Z", + "updated_at": "2023-03-07T14:05:35Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "9a2dfc2b86c0b382ef263cacf765e6d9166e8e75", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/550/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/550/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/550/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/a590b6cf132077803921fa7b32cc3c6845461eb7", + "head": { + "label": "Walti91:master", + "ref": "master", + "sha": "a590b6cf132077803921fa7b32cc3c6845461eb7", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 608681427, + "node_id": "R_kgDOJEe90w", + "name": "zendesk-java-client", + "full_name": "Walti91/zendesk-java-client", + "private": false, + "owner": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/Walti91/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/Walti91/zendesk-java-client", + "forks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/Walti91/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Walti91/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Walti91/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/Walti91/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Walti91/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Walti91/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/Walti91/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Walti91/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/Walti91/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Walti91/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/Walti91/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Walti91/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Walti91/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Walti91/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/Walti91/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/deployments", + "created_at": "2023-03-02T14:22:26Z", + "updated_at": "2023-03-02T15:21:34Z", + "pushed_at": "2023-03-07T11:06:44Z", + "git_url": "git://github.com/Walti91/zendesk-java-client.git", + "ssh_url": "git@github.com:Walti91/zendesk-java-client.git", + "clone_url": "https://github.com/Walti91/zendesk-java-client.git", + "svn_url": "https://github.com/Walti91/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1168, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "8f66331c9627faac3a7adf1014f9bc0dbec8d394", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-07T11:08:49Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1172, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 240, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 4, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 240, + "open_issues": 4, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/550" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/550" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/550" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/550/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/550/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/550/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/a590b6cf132077803921fa7b32cc3c6845461eb7" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-07T14:05:36Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27511782012", + "type": "IssueCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545", + "id": 1607012351, + "node_id": "PR_kwDOAIy5dc5LI9jW", + "number": 545, + "title": "implemented getCategoryTranslation, getSectionTranslation and getArticleTranslation.", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 34598766, + "node_id": "MDU6TGFiZWwzNDU5ODc2Ng==", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/enhancement", + "name": "enhancement", + "color": "84b6eb", + "default": true, + "description": null + } + ], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 3, + "created_at": "2023-03-02T15:25:39Z", + "updated_at": "2023-03-06T09:19:24Z", + "closed_at": "2023-03-06T08:50:07Z", + "author_association": "CONTRIBUTOR", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545.patch", + "merged_at": "2023-03-06T08:50:07Z" + }, + "body": "added methods to fetch a single translation for a category, section or an article. as seen here https://developer.zendesk.com/api-reference/help_center/help-center-api/translations/#show-translation", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "comment": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1455766807", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545#issuecomment-1455766807", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545", + "id": 1455766807, + "node_id": "IC_kwDOAIy5dc5WxT0X", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2023-03-06T09:19:23Z", + "updated_at": "2023-03-06T09:19:23Z", + "author_association": "COLLABORATOR", + "body": "Released: https://github.com/cloudbees-oss/zendesk-java-client/discussions/547", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1455766807/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } + }, + "public": true, + "created_at": "2023-03-06T09:19:24Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27511613250", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 12837356029, + "size": 1, + "distinct_size": 1, + "ref": "refs/heads/master", + "head": "8f66331c9627faac3a7adf1014f9bc0dbec8d394", + "before": "0e0ce0a46112a4ed9d61d2f476fed52e5b3af444", + "commits": [ + { + "sha": "8f66331c9627faac3a7adf1014f9bc0dbec8d394", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "[maven-release-plugin] prepare for next development iteration", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/8f66331c9627faac3a7adf1014f9bc0dbec8d394" + } + ] + }, + "public": true, + "created_at": "2023-03-06T09:13:16Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27511609830", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "ref": "zendesk-java-client-0.20.0", + "ref_type": "tag", + "master_branch": "master", + "description": "A Java client library for interacting with Zendesk", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-03-06T09:13:08Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27511608454", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 12837353794, + "size": 1, + "distinct_size": 1, + "ref": "refs/heads/master", + "head": "0e0ce0a46112a4ed9d61d2f476fed52e5b3af444", + "before": "eb3a733e8d32b1d8ea0556482fad028684f29eb7", + "commits": [ + { + "sha": "0e0ce0a46112a4ed9d61d2f476fed52e5b3af444", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "[maven-release-plugin] prepare release zendesk-java-client-0.20.0", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/0e0ce0a46112a4ed9d61d2f476fed52e5b3af444" + } + ] + }, + "public": true, + "created_at": "2023-03-06T09:13:05Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27511029818", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 12837092235, + "size": 3, + "distinct_size": 3, + "ref": "refs/heads/master", + "head": "eb3a733e8d32b1d8ea0556482fad028684f29eb7", + "before": "f29f8ff7de641cd458fcefc6f1a577f1b36f450f", + "commits": [ + { + "sha": "e6d1c779143db4531cc7a441dd64f55ce72770d2", + "author": { + "email": "florian.waltenberger@lingohub.com", + "name": "Florian Waltenberger" + }, + "message": "implemented getCategoryTranslation, getSectionTranslation and getArticleTranslation.", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/e6d1c779143db4531cc7a441dd64f55ce72770d2" + }, + { + "sha": "bc165881d0a863eebd8a920c6de4e0843875d99f", + "author": { + "email": "florian.waltenberger@lingohub.com", + "name": "Florian Waltenberger" + }, + "message": "pr feedback and tests", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/bc165881d0a863eebd8a920c6de4e0843875d99f" + }, + { + "sha": "eb3a733e8d32b1d8ea0556482fad028684f29eb7", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #545 from Walti91/master", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/eb3a733e8d32b1d8ea0556482fad028684f29eb7" + } + ] + }, + "public": true, + "created_at": "2023-03-06T08:50:15Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27511027087", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 545, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545", + "id": 1260640470, + "node_id": "PR_kwDOAIy5dc5LI9jW", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545", + "number": 545, + "state": "closed", + "locked": false, + "title": "implemented getCategoryTranslation, getSectionTranslation and getArticleTranslation.", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "body": "added methods to fetch a single translation for a category, section or an article. as seen here https://developer.zendesk.com/api-reference/help_center/help-center-api/translations/#show-translation", + "created_at": "2023-03-02T15:25:39Z", + "updated_at": "2023-03-06T08:50:07Z", + "closed_at": "2023-03-06T08:50:07Z", + "merged_at": "2023-03-06T08:50:07Z", + "merge_commit_sha": "eb3a733e8d32b1d8ea0556482fad028684f29eb7", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 34598766, + "node_id": "MDU6TGFiZWwzNDU5ODc2Ng==", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/enhancement", + "name": "enhancement", + "color": "84b6eb", + "default": true, + "description": null + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/bc165881d0a863eebd8a920c6de4e0843875d99f", + "head": { + "label": "Walti91:master", + "ref": "master", + "sha": "bc165881d0a863eebd8a920c6de4e0843875d99f", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 608681427, + "node_id": "R_kgDOJEe90w", + "name": "zendesk-java-client", + "full_name": "Walti91/zendesk-java-client", + "private": false, + "owner": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/Walti91/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/Walti91/zendesk-java-client", + "forks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/Walti91/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Walti91/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Walti91/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/Walti91/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Walti91/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Walti91/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/Walti91/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Walti91/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/Walti91/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Walti91/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/Walti91/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Walti91/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Walti91/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Walti91/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/Walti91/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/deployments", + "created_at": "2023-03-02T14:22:26Z", + "updated_at": "2023-03-02T15:21:34Z", + "pushed_at": "2023-03-03T12:42:26Z", + "git_url": "git://github.com/Walti91/zendesk-java-client.git", + "ssh_url": "git@github.com:Walti91/zendesk-java-client.git", + "clone_url": "https://github.com/Walti91/zendesk-java-client.git", + "svn_url": "https://github.com/Walti91/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1136, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-06T08:50:07Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1180, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 1, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/bc165881d0a863eebd8a920c6de4e0843875d99f" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 2, + "review_comments": 3, + "maintainer_can_modify": false, + "commits": 2, + "additions": 119, + "deletions": 0, + "changed_files": 2 + } + }, + "public": true, + "created_at": "2023-03-06T08:50:08Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27511021122", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1325745613, + "node_id": "PRR_kwDOAIy5dc5PBUXN", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "Zendesk support confirmed there is a documentation issue on their end, so I think we can move in with this PR.\r\nThanks for the contribution.", + "commit_id": "bc165881d0a863eebd8a920c6de4e0843875d99f", + "submitted_at": "2023-03-06T08:49:52Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545#pullrequestreview-1325745613", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545#pullrequestreview-1325745613" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545", + "id": 1260640470, + "node_id": "PR_kwDOAIy5dc5LI9jW", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545", + "number": 545, + "state": "open", + "locked": false, + "title": "implemented getCategoryTranslation, getSectionTranslation and getArticleTranslation.", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "body": "added methods to fetch a single translation for a category, section or an article. as seen here https://developer.zendesk.com/api-reference/help_center/help-center-api/translations/#show-translation", + "created_at": "2023-03-02T15:25:39Z", + "updated_at": "2023-03-06T08:49:52Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "5baf041bc7cfd9646633ec988791c1f4f1e73a2e", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/bc165881d0a863eebd8a920c6de4e0843875d99f", + "head": { + "label": "Walti91:master", + "ref": "master", + "sha": "bc165881d0a863eebd8a920c6de4e0843875d99f", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 608681427, + "node_id": "R_kgDOJEe90w", + "name": "zendesk-java-client", + "full_name": "Walti91/zendesk-java-client", + "private": false, + "owner": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/Walti91/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/Walti91/zendesk-java-client", + "forks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/Walti91/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Walti91/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Walti91/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/Walti91/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Walti91/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Walti91/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/Walti91/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Walti91/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/Walti91/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Walti91/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/Walti91/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Walti91/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Walti91/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Walti91/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/Walti91/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/deployments", + "created_at": "2023-03-02T14:22:26Z", + "updated_at": "2023-03-02T15:21:34Z", + "pushed_at": "2023-03-03T12:42:26Z", + "git_url": "git://github.com/Walti91/zendesk-java-client.git", + "ssh_url": "git@github.com:Walti91/zendesk-java-client.git", + "clone_url": "https://github.com/Walti91/zendesk-java-client.git", + "svn_url": "https://github.com/Walti91/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1136, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-06T08:49:10Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1180, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 2, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/bc165881d0a863eebd8a920c6de4e0843875d99f" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-06T08:49:53Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27511007923", + "type": "DeleteEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "ref": "dependabot/maven/org.apache.maven.plugins-maven-enforcer-plugin-3.2.1", + "ref_type": "branch", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-03-06T08:49:17Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27511006071", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 12837081046, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "f29f8ff7de641cd458fcefc6f1a577f1b36f450f", + "before": "d7772f1f6a1068675804c7dcda537e1dab45c501", + "commits": [ + { + "sha": "063facc896050bcf55cfe6d526386200efa242f6", + "author": { + "email": "49699333+dependabot[bot]@users.noreply.github.com", + "name": "dependabot[bot]" + }, + "message": "Bump maven-enforcer-plugin from 3.1.0 to 3.2.1\n\nBumps [maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.1.0 to 3.2.1.\n- [Release notes](https://github.com/apache/maven-enforcer/releases)\n- [Commits](https://github.com/apache/maven-enforcer/compare/enforcer-3.1.0...enforcer-3.2.1)\n\n---\nupdated-dependencies:\n- dependency-name: org.apache.maven.plugins:maven-enforcer-plugin\n dependency-type: direct:production\n update-type: version-update:semver-minor\n...\n\nSigned-off-by: dependabot[bot] ", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/063facc896050bcf55cfe6d526386200efa242f6" + }, + { + "sha": "f29f8ff7de641cd458fcefc6f1a577f1b36f450f", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #546 from cloudbees-oss/dependabot/maven/org.apache.maven.plugins-maven-enforcer-plugin-3.2.1", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/f29f8ff7de641cd458fcefc6f1a577f1b36f450f" + } + ] + }, + "public": true, + "created_at": "2023-03-06T08:49:12Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27511004907", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 546, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/546", + "id": 1262611667, + "node_id": "PR_kwDOAIy5dc5LQezT", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/546", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/546.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/546.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/546", + "number": 546, + "state": "closed", + "locked": false, + "title": "Bump maven-enforcer-plugin from 3.1.0 to 3.2.1", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.1.0 to 3.2.1.\n
    \nRelease notes\n

    Sourced from maven-enforcer-plugin's releases.

    \n
    \n

    3.2.1

    \n\n

    🚨 Removed

    \n\n

    🚀 New features and improvements

    \n\n

    🐛 Bug Fixes

    \n\n

    đŸ“Ļ Dependency updates

    \n\n\n
    \n

    ... (truncated)

    \n
    \n
    \nCommits\n
      \n
    • 4244e6a [maven-release-plugin] prepare release enforcer-3.2.1
    • \n
    • 65d68a3 [MENFORCER-464] Refresh site descriptors
    • \n
    • 73fef5a [MENFORCER-463] Change success message from executed to passed
    • \n
    • 769da0a [MENFORCER-462] Execute ReactorModuleConvergence only once
    • \n
    • 3e12af9 [MENFORCER-461] Fix NPE in RequirePluginVersions
    • \n
    • 86c0cc5 [maven-release-plugin] prepare for next development iteration
    • \n
    • 1937067 [maven-release-plugin] prepare release enforcer-3.2.0
    • \n
    • 84e0363 [MENFORCER-440] Fix pattern for Java 8 version
    • \n
    • 4bbf7cd [MENFORCER-415] Move error message to MojoException
    • \n
    • 26697b1 [MENFORCER-450] Code cleanup
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-enforcer-plugin&package-manager=maven&previous-version=3.1.0&new-version=3.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-03-03T20:56:50Z", + "updated_at": "2023-03-06T08:49:09Z", + "closed_at": "2023-03-06T08:49:09Z", + "merged_at": "2023-03-06T08:49:09Z", + "merge_commit_sha": "f29f8ff7de641cd458fcefc6f1a577f1b36f450f", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/546/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/546/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/546/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/063facc896050bcf55cfe6d526386200efa242f6", + "head": { + "label": "cloudbees-oss:dependabot/maven/org.apache.maven.plugins-maven-enforcer-plugin-3.2.1", + "ref": "dependabot/maven/org.apache.maven.plugins-maven-enforcer-plugin-3.2.1", + "sha": "063facc896050bcf55cfe6d526386200efa242f6", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-06T08:49:08Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1180, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 2, + "watchers": 145, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "d7772f1f6a1068675804c7dcda537e1dab45c501", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-06T08:49:08Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1180, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 2, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/546" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/546" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/546" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/546/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/546/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/546/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/063facc896050bcf55cfe6d526386200efa242f6" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-03-06T08:49:10Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27511003217", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1325744407, + "node_id": "PRR_kwDOAIy5dc5PBUEX", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "commit_id": "063facc896050bcf55cfe6d526386200efa242f6", + "submitted_at": "2023-03-06T08:49:04Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/546#pullrequestreview-1325744407", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/546", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/546#pullrequestreview-1325744407" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/546" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/546", + "id": 1262611667, + "node_id": "PR_kwDOAIy5dc5LQezT", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/546", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/546.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/546.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/546", + "number": 546, + "state": "open", + "locked": false, + "title": "Bump maven-enforcer-plugin from 3.1.0 to 3.2.1", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.1.0 to 3.2.1.\n
    \nRelease notes\n

    Sourced from maven-enforcer-plugin's releases.

    \n
    \n

    3.2.1

    \n\n

    🚨 Removed

    \n\n

    🚀 New features and improvements

    \n\n

    🐛 Bug Fixes

    \n\n

    đŸ“Ļ Dependency updates

    \n\n\n
    \n

    ... (truncated)

    \n
    \n
    \nCommits\n
      \n
    • 4244e6a [maven-release-plugin] prepare release enforcer-3.2.1
    • \n
    • 65d68a3 [MENFORCER-464] Refresh site descriptors
    • \n
    • 73fef5a [MENFORCER-463] Change success message from executed to passed
    • \n
    • 769da0a [MENFORCER-462] Execute ReactorModuleConvergence only once
    • \n
    • 3e12af9 [MENFORCER-461] Fix NPE in RequirePluginVersions
    • \n
    • 86c0cc5 [maven-release-plugin] prepare for next development iteration
    • \n
    • 1937067 [maven-release-plugin] prepare release enforcer-3.2.0
    • \n
    • 84e0363 [MENFORCER-440] Fix pattern for Java 8 version
    • \n
    • 4bbf7cd [MENFORCER-415] Move error message to MojoException
    • \n
    • 26697b1 [MENFORCER-450] Code cleanup
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-enforcer-plugin&package-manager=maven&previous-version=3.1.0&new-version=3.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-03-03T20:56:50Z", + "updated_at": "2023-03-06T08:49:04Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "bdf6ebe7b4be539bdf0e3765c254debe93c30083", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/546/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/546/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/546/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/063facc896050bcf55cfe6d526386200efa242f6", + "head": { + "label": "cloudbees-oss:dependabot/maven/org.apache.maven.plugins-maven-enforcer-plugin-3.2.1", + "ref": "dependabot/maven/org.apache.maven.plugins-maven-enforcer-plugin-3.2.1", + "sha": "063facc896050bcf55cfe6d526386200efa242f6", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T20:56:51Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1180, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 3, + "watchers": 145, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "d7772f1f6a1068675804c7dcda537e1dab45c501", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T20:56:51Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1180, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 3, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/546" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/546" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/546" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/546/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/546/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/546/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/063facc896050bcf55cfe6d526386200efa242f6" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-06T08:49:05Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27474869649", + "type": "IssueCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 44886691, + "name": "jenkins-infra/jenkins.io", + "url": "https://api.github.com/repos/jenkins-infra/jenkins.io" + }, + "payload": { + "action": "created", + "issue": { + "url": "https://api.github.com/repos/jenkins-infra/jenkins.io/issues/6035", + "repository_url": "https://api.github.com/repos/jenkins-infra/jenkins.io", + "labels_url": "https://api.github.com/repos/jenkins-infra/jenkins.io/issues/6035/labels{/name}", + "comments_url": "https://api.github.com/repos/jenkins-infra/jenkins.io/issues/6035/comments", + "events_url": "https://api.github.com/repos/jenkins-infra/jenkins.io/issues/6035/events", + "html_url": "https://github.com/jenkins-infra/jenkins.io/issues/6035", + "id": 1583086031, + "node_id": "I_kwDOAqzqo85eW_nP", + "number": 6035, + "title": "[Nominations Open] Most Valuable Jenkins Advocate 2023 🏆", + "user": { + "login": "alyssat", + "id": 15133103, + "node_id": "MDQ6VXNlcjE1MTMzMTAz", + "avatar_url": "https://avatars.githubusercontent.com/u/15133103?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/alyssat", + "html_url": "https://github.com/alyssat", + "followers_url": "https://api.github.com/users/alyssat/followers", + "following_url": "https://api.github.com/users/alyssat/following{/other_user}", + "gists_url": "https://api.github.com/users/alyssat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/alyssat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/alyssat/subscriptions", + "organizations_url": "https://api.github.com/users/alyssat/orgs", + "repos_url": "https://api.github.com/users/alyssat/repos", + "events_url": "https://api.github.com/users/alyssat/events{/privacy}", + "received_events_url": "https://api.github.com/users/alyssat/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 1754219349, + "node_id": "MDU6TGFiZWwxNzU0MjE5MzQ5", + "url": "https://api.github.com/repos/jenkins-infra/jenkins.io/labels/governance", + "name": "governance", + "color": "d4c5f9", + "default": false, + "description": "" + }, + { + "id": 2052596420, + "node_id": "MDU6TGFiZWwyMDUyNTk2NDIw", + "url": "https://api.github.com/repos/jenkins-infra/jenkins.io/labels/cdf", + "name": "cdf", + "color": "18ce58", + "default": false, + "description": "Changes related to Continuous Delivery Foundation" + }, + { + "id": 5162575455, + "node_id": "LA_kwDOAqzqo88AAAABM7amXw", + "url": "https://api.github.com/repos/jenkins-infra/jenkins.io/labels/community", + "name": "community", + "color": "C2E0C6", + "default": false, + "description": "Posts and topics for community engagement" + } + ], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 8, + "created_at": "2023-02-13T21:21:56Z", + "updated_at": "2023-03-03T15:24:11Z", + "closed_at": null, + "author_association": "CONTRIBUTOR", + "active_lock_reason": null, + "body": "This issue is to receive nominations for the Most Valuable Jenkins Advocate 2023. This award is presented to an individual who has helped advocate for Jenkins through organization of (a) local Jenkins Area Meet­up(s) or virtual equivalent.\r\n\r\nTo nominate someone, reply to this issue with the following:\r\n\r\n1. Full name of the person you’re nominating\r\n2. Short description of their contributions to Jenkins and why they should win.\r\n\r\nNomination Deadline: Friday, March 3, 2023\r\n\r\nPlease note: Last year's winner, Gavin Mogan, cannot win the award for Most Valuable Jenkins Advocate again this year.\r\n\r\nMore details are available here https://github.com/cdfoundation/foundation/blob/main/CDF%20Awards%20Guidelines.md \r\n", + "reactions": { + "url": "https://api.github.com/repos/jenkins-infra/jenkins.io/issues/6035/reactions", + "total_count": 2, + "+1": 2, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/jenkins-infra/jenkins.io/issues/6035/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "comment": { + "url": "https://api.github.com/repos/jenkins-infra/jenkins.io/issues/comments/1453694772", + "html_url": "https://github.com/jenkins-infra/jenkins.io/issues/6035#issuecomment-1453694772", + "issue_url": "https://api.github.com/repos/jenkins-infra/jenkins.io/issues/6035", + "id": 1453694772, + "node_id": "IC_kwDOAqzqo85WpZ80", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2023-03-03T15:24:11Z", + "updated_at": "2023-03-03T15:24:11Z", + "author_association": "CONTRIBUTOR", + "body": "1. @jmMeessen (Jean-Marc MEESSEN)\r\n2. for his work on GSOC and always seeing the best in people.", + "reactions": { + "url": "https://api.github.com/repos/jenkins-infra/jenkins.io/issues/comments/1453694772/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } + }, + "public": true, + "created_at": "2023-03-03T15:24:11Z", + "org": { + "id": 7422698, + "login": "jenkins-infra", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkins-infra", + "avatar_url": "https://avatars.githubusercontent.com/u/7422698?" + } + }, + { + "id": "27474851880", + "type": "IssueCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 44886691, + "name": "jenkins-infra/jenkins.io", + "url": "https://api.github.com/repos/jenkins-infra/jenkins.io" + }, + "payload": { + "action": "created", + "issue": { + "url": "https://api.github.com/repos/jenkins-infra/jenkins.io/issues/6035", + "repository_url": "https://api.github.com/repos/jenkins-infra/jenkins.io", + "labels_url": "https://api.github.com/repos/jenkins-infra/jenkins.io/issues/6035/labels{/name}", + "comments_url": "https://api.github.com/repos/jenkins-infra/jenkins.io/issues/6035/comments", + "events_url": "https://api.github.com/repos/jenkins-infra/jenkins.io/issues/6035/events", + "html_url": "https://github.com/jenkins-infra/jenkins.io/issues/6035", + "id": 1583086031, + "node_id": "I_kwDOAqzqo85eW_nP", + "number": 6035, + "title": "[Nominations Open] Most Valuable Jenkins Advocate 2023 🏆", + "user": { + "login": "alyssat", + "id": 15133103, + "node_id": "MDQ6VXNlcjE1MTMzMTAz", + "avatar_url": "https://avatars.githubusercontent.com/u/15133103?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/alyssat", + "html_url": "https://github.com/alyssat", + "followers_url": "https://api.github.com/users/alyssat/followers", + "following_url": "https://api.github.com/users/alyssat/following{/other_user}", + "gists_url": "https://api.github.com/users/alyssat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/alyssat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/alyssat/subscriptions", + "organizations_url": "https://api.github.com/users/alyssat/orgs", + "repos_url": "https://api.github.com/users/alyssat/repos", + "events_url": "https://api.github.com/users/alyssat/events{/privacy}", + "received_events_url": "https://api.github.com/users/alyssat/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 1754219349, + "node_id": "MDU6TGFiZWwxNzU0MjE5MzQ5", + "url": "https://api.github.com/repos/jenkins-infra/jenkins.io/labels/governance", + "name": "governance", + "color": "d4c5f9", + "default": false, + "description": "" + }, + { + "id": 2052596420, + "node_id": "MDU6TGFiZWwyMDUyNTk2NDIw", + "url": "https://api.github.com/repos/jenkins-infra/jenkins.io/labels/cdf", + "name": "cdf", + "color": "18ce58", + "default": false, + "description": "Changes related to Continuous Delivery Foundation" + }, + { + "id": 5162575455, + "node_id": "LA_kwDOAqzqo88AAAABM7amXw", + "url": "https://api.github.com/repos/jenkins-infra/jenkins.io/labels/community", + "name": "community", + "color": "C2E0C6", + "default": false, + "description": "Posts and topics for community engagement" + } + ], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 7, + "created_at": "2023-02-13T21:21:56Z", + "updated_at": "2023-03-03T15:23:28Z", + "closed_at": null, + "author_association": "CONTRIBUTOR", + "active_lock_reason": null, + "body": "This issue is to receive nominations for the Most Valuable Jenkins Advocate 2023. This award is presented to an individual who has helped advocate for Jenkins through organization of (a) local Jenkins Area Meet­up(s) or virtual equivalent.\r\n\r\nTo nominate someone, reply to this issue with the following:\r\n\r\n1. Full name of the person you’re nominating\r\n2. Short description of their contributions to Jenkins and why they should win.\r\n\r\nNomination Deadline: Friday, March 3, 2023\r\n\r\nPlease note: Last year's winner, Gavin Mogan, cannot win the award for Most Valuable Jenkins Advocate again this year.\r\n\r\nMore details are available here https://github.com/cdfoundation/foundation/blob/main/CDF%20Awards%20Guidelines.md \r\n", + "reactions": { + "url": "https://api.github.com/repos/jenkins-infra/jenkins.io/issues/6035/reactions", + "total_count": 2, + "+1": 2, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/jenkins-infra/jenkins.io/issues/6035/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "comment": { + "url": "https://api.github.com/repos/jenkins-infra/jenkins.io/issues/comments/1453693713", + "html_url": "https://github.com/jenkins-infra/jenkins.io/issues/6035#issuecomment-1453693713", + "issue_url": "https://api.github.com/repos/jenkins-infra/jenkins.io/issues/6035", + "id": 1453693713, + "node_id": "IC_kwDOAqzqo85WpZsR", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2023-03-03T15:23:28Z", + "updated_at": "2023-03-03T15:23:28Z", + "author_association": "CONTRIBUTOR", + "body": "1. @gounthar Bruno Verachten once more\r\n2. For his patience guiding people on the discourse", + "reactions": { + "url": "https://api.github.com/repos/jenkins-infra/jenkins.io/issues/comments/1453693713/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } + }, + "public": true, + "created_at": "2023-03-03T15:23:29Z", + "org": { + "id": 7422698, + "login": "jenkins-infra", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkins-infra", + "avatar_url": "https://avatars.githubusercontent.com/u/7422698?" + } + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user_9881659_events_public-7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user_9881659_events_public-7.json new file mode 100644 index 0000000000..e513d3ba49 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user_9881659_events_public-7.json @@ -0,0 +1,7527 @@ +[ + { + "id": "27472105536", + "type": "IssueCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "issue": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545", + "repository_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/labels{/name}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/comments", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/events", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545", + "id": 1607012351, + "node_id": "PR_kwDOAIy5dc5LI9jW", + "number": 545, + "title": "implemented getCategoryTranslation, getSectionTranslation and getArticleTranslation.", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 2, + "created_at": "2023-03-02T15:25:39Z", + "updated_at": "2023-03-03T13:33:40Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545.patch", + "merged_at": null + }, + "body": "added methods to fetch a single translation for a category, section or an article. as seen here https://developer.zendesk.com/api-reference/help_center/help-center-api/translations/#show-translation", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "comment": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1453540777", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545#issuecomment-1453540777", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545", + "id": 1453540777, + "node_id": "IC_kwDOAIy5dc5Wo0Wp", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2023-03-03T13:33:39Z", + "updated_at": "2023-03-03T13:33:39Z", + "author_association": "COLLABORATOR", + "body": "@Walti91 I opened a support ticket with Zendesk to understand why those APIs are not documented, we cannot really rely on them if the lack of documentation is on purpose and they are internal APIs for some reason. I'll keep you updated.", + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments/1453540777/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } + }, + "public": true, + "created_at": "2023-03-03T13:33:40Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468623269", + "type": "DeleteEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "ref": "dependabot/maven/org.slf4j-slf4j-api-2.0.6", + "ref_type": "branch", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-03-03T10:53:52Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468623237", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 12813598854, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "d7772f1f6a1068675804c7dcda537e1dab45c501", + "before": "7d12318007d21e106f7ff2db9ca3b5398b44f917", + "commits": [ + { + "sha": "047355c846d5f16b333fb35290b93407897a56bd", + "author": { + "email": "49699333+dependabot[bot]@users.noreply.github.com", + "name": "dependabot[bot]" + }, + "message": "Bump slf4j-api from 2.0.3 to 2.0.6\n\nBumps [slf4j-api](https://github.com/qos-ch/slf4j) from 2.0.3 to 2.0.6.\n- [Release notes](https://github.com/qos-ch/slf4j/releases)\n- [Commits](https://github.com/qos-ch/slf4j/compare/v_2.0.3...v_2.0.6)\n\n---\nupdated-dependencies:\n- dependency-name: org.slf4j:slf4j-api\n dependency-type: direct:production\n update-type: version-update:semver-patch\n...\n\nSigned-off-by: dependabot[bot] ", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/047355c846d5f16b333fb35290b93407897a56bd" + }, + { + "sha": "d7772f1f6a1068675804c7dcda537e1dab45c501", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #530 from cloudbees-oss/dependabot/maven/org.slf4j-slf4j-api-2.0.6", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/d7772f1f6a1068675804c7dcda537e1dab45c501" + } + ] + }, + "public": true, + "created_at": "2023-03-03T10:53:52Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468623041", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 530, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/530", + "id": 1163740125, + "node_id": "PR_kwDOAIy5dc5FXUPd", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/530", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/530.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/530.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/530", + "number": 530, + "state": "closed", + "locked": false, + "title": "Bump slf4j-api from 2.0.3 to 2.0.6", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [slf4j-api](https://github.com/qos-ch/slf4j) from 2.0.3 to 2.0.6.\n
    \nCommits\n
      \n
    • 5ff6f2c prepare for release 2.0.6
    • \n
    • 2f4aa75 fix SLF4J-575
    • \n
    • 363f0a5 remove unused parts
    • \n
    • 171679b SLF4J-574: Add full OSGi headers, especially "uses" clauses
    • \n
    • 921b5b3 fix FUNDING file
    • \n
    • e02244c fix FUNDING file
    • \n
    • 441d458 fix FUNDING file
    • \n
    • f5e741b add FUNDING file
    • \n
    • 2e71327 remove unused log4j dependency in the version definition section of pom.xml
    • \n
    • 3ff2a30 start work on 2.0.6-SNAPSHOT
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.slf4j:slf4j-api&package-manager=maven&previous-version=2.0.3&new-version=2.0.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2022-12-13T20:00:55Z", + "updated_at": "2023-03-03T10:53:50Z", + "closed_at": "2023-03-03T10:53:50Z", + "merged_at": "2023-03-03T10:53:50Z", + "merge_commit_sha": "d7772f1f6a1068675804c7dcda537e1dab45c501", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/530/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/530/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/530/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/047355c846d5f16b333fb35290b93407897a56bd", + "head": { + "label": "cloudbees-oss:dependabot/maven/org.slf4j-slf4j-api-2.0.6", + "ref": "dependabot/maven/org.slf4j-slf4j-api-2.0.6", + "sha": "047355c846d5f16b333fb35290b93407897a56bd", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:53:50Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 2, + "watchers": 145, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:53:50Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 2, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/530" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/530" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/530" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/530/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/530/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/530/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/047355c846d5f16b333fb35290b93407897a56bd" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-03-03T10:53:51Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468621290", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1323544804, + "node_id": "PRR_kwDOAIy5dc5O47Dk", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "commit_id": "047355c846d5f16b333fb35290b93407897a56bd", + "submitted_at": "2023-03-03T10:53:45Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/530#pullrequestreview-1323544804", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/530", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/530#pullrequestreview-1323544804" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/530" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/530", + "id": 1163740125, + "node_id": "PR_kwDOAIy5dc5FXUPd", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/530", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/530.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/530.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/530", + "number": 530, + "state": "open", + "locked": false, + "title": "Bump slf4j-api from 2.0.3 to 2.0.6", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [slf4j-api](https://github.com/qos-ch/slf4j) from 2.0.3 to 2.0.6.\n
    \nCommits\n
      \n
    • 5ff6f2c prepare for release 2.0.6
    • \n
    • 2f4aa75 fix SLF4J-575
    • \n
    • 363f0a5 remove unused parts
    • \n
    • 171679b SLF4J-574: Add full OSGi headers, especially "uses" clauses
    • \n
    • 921b5b3 fix FUNDING file
    • \n
    • e02244c fix FUNDING file
    • \n
    • 441d458 fix FUNDING file
    • \n
    • f5e741b add FUNDING file
    • \n
    • 2e71327 remove unused log4j dependency in the version definition section of pom.xml
    • \n
    • 3ff2a30 start work on 2.0.6-SNAPSHOT
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.slf4j:slf4j-api&package-manager=maven&previous-version=2.0.3&new-version=2.0.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2022-12-13T20:00:55Z", + "updated_at": "2023-03-03T10:53:46Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "29a2a2fc62861da8c3121816504e7e5877414abc", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/530/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/530/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/530/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/047355c846d5f16b333fb35290b93407897a56bd", + "head": { + "label": "cloudbees-oss:dependabot/maven/org.slf4j-slf4j-api-2.0.6", + "ref": "dependabot/maven/org.slf4j-slf4j-api-2.0.6", + "sha": "047355c846d5f16b333fb35290b93407897a56bd", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:53:37Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 3, + "watchers": 145, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:53:37Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 3, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/530" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/530" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/530" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/530/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/530/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/530/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/047355c846d5f16b333fb35290b93407897a56bd" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-03T10:53:46Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468617885", + "type": "DeleteEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "ref": "dependabot/maven/org.slf4j-slf4j-simple-2.0.6", + "ref_type": "branch", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-03-03T10:53:37Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468617817", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 12813596310, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "7d12318007d21e106f7ff2db9ca3b5398b44f917", + "before": "af807c4e8423b247c3df85e1eb27dd28d6c3d6be", + "commits": [ + { + "sha": "089f3a3a2f51c371937a30bd13718a13147e6b2d", + "author": { + "email": "49699333+dependabot[bot]@users.noreply.github.com", + "name": "dependabot[bot]" + }, + "message": "Bump slf4j-simple from 2.0.3 to 2.0.6\n\nBumps [slf4j-simple](https://github.com/qos-ch/slf4j) from 2.0.3 to 2.0.6.\n- [Release notes](https://github.com/qos-ch/slf4j/releases)\n- [Commits](https://github.com/qos-ch/slf4j/compare/v_2.0.3...v_2.0.6)\n\n---\nupdated-dependencies:\n- dependency-name: org.slf4j:slf4j-simple\n dependency-type: direct:development\n update-type: version-update:semver-patch\n...\n\nSigned-off-by: dependabot[bot] ", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/089f3a3a2f51c371937a30bd13718a13147e6b2d" + }, + { + "sha": "7d12318007d21e106f7ff2db9ca3b5398b44f917", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #531 from cloudbees-oss/dependabot/maven/org.slf4j-slf4j-simple-2.0.6", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/7d12318007d21e106f7ff2db9ca3b5398b44f917" + } + ] + }, + "public": true, + "created_at": "2023-03-03T10:53:37Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468617713", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 531, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/531", + "id": 1163740260, + "node_id": "PR_kwDOAIy5dc5FXURk", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/531", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/531.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/531.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/531", + "number": 531, + "state": "closed", + "locked": false, + "title": "Bump slf4j-simple from 2.0.3 to 2.0.6", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [slf4j-simple](https://github.com/qos-ch/slf4j) from 2.0.3 to 2.0.6.\n
    \nCommits\n
      \n
    • 5ff6f2c prepare for release 2.0.6
    • \n
    • 2f4aa75 fix SLF4J-575
    • \n
    • 363f0a5 remove unused parts
    • \n
    • 171679b SLF4J-574: Add full OSGi headers, especially "uses" clauses
    • \n
    • 921b5b3 fix FUNDING file
    • \n
    • e02244c fix FUNDING file
    • \n
    • 441d458 fix FUNDING file
    • \n
    • f5e741b add FUNDING file
    • \n
    • 2e71327 remove unused log4j dependency in the version definition section of pom.xml
    • \n
    • 3ff2a30 start work on 2.0.6-SNAPSHOT
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.slf4j:slf4j-simple&package-manager=maven&previous-version=2.0.3&new-version=2.0.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2022-12-13T20:01:00Z", + "updated_at": "2023-03-03T10:53:36Z", + "closed_at": "2023-03-03T10:53:36Z", + "merged_at": "2023-03-03T10:53:36Z", + "merge_commit_sha": "7d12318007d21e106f7ff2db9ca3b5398b44f917", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/531/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/531/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/531/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/089f3a3a2f51c371937a30bd13718a13147e6b2d", + "head": { + "label": "cloudbees-oss:dependabot/maven/org.slf4j-slf4j-simple-2.0.6", + "ref": "dependabot/maven/org.slf4j-slf4j-simple-2.0.6", + "sha": "089f3a3a2f51c371937a30bd13718a13147e6b2d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:53:35Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 3, + "watchers": 145, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:53:35Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 3, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/531" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/531" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/531" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/531/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/531/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/531/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/089f3a3a2f51c371937a30bd13718a13147e6b2d" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-03-03T10:53:37Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468615818", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1323544210, + "node_id": "PRR_kwDOAIy5dc5O466S", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "commit_id": "089f3a3a2f51c371937a30bd13718a13147e6b2d", + "submitted_at": "2023-03-03T10:53:31Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/531#pullrequestreview-1323544210", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/531", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/531#pullrequestreview-1323544210" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/531" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/531", + "id": 1163740260, + "node_id": "PR_kwDOAIy5dc5FXURk", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/531", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/531.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/531.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/531", + "number": 531, + "state": "open", + "locked": false, + "title": "Bump slf4j-simple from 2.0.3 to 2.0.6", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [slf4j-simple](https://github.com/qos-ch/slf4j) from 2.0.3 to 2.0.6.\n
    \nCommits\n
      \n
    • 5ff6f2c prepare for release 2.0.6
    • \n
    • 2f4aa75 fix SLF4J-575
    • \n
    • 363f0a5 remove unused parts
    • \n
    • 171679b SLF4J-574: Add full OSGi headers, especially "uses" clauses
    • \n
    • 921b5b3 fix FUNDING file
    • \n
    • e02244c fix FUNDING file
    • \n
    • 441d458 fix FUNDING file
    • \n
    • f5e741b add FUNDING file
    • \n
    • 2e71327 remove unused log4j dependency in the version definition section of pom.xml
    • \n
    • 3ff2a30 start work on 2.0.6-SNAPSHOT
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.slf4j:slf4j-simple&package-manager=maven&previous-version=2.0.3&new-version=2.0.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2022-12-13T20:01:00Z", + "updated_at": "2023-03-03T10:53:31Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "22889ed1814822116c726e68a0bbeee5270d9a4c", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/531/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/531/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/531/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/089f3a3a2f51c371937a30bd13718a13147e6b2d", + "head": { + "label": "cloudbees-oss:dependabot/maven/org.slf4j-slf4j-simple-2.0.6", + "ref": "dependabot/maven/org.slf4j-slf4j-simple-2.0.6", + "sha": "089f3a3a2f51c371937a30bd13718a13147e6b2d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:53:25Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 4, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 4, + "watchers": 145, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:53:25Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 4, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 4, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/531" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/531" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/531" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/531/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/531/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/531/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/089f3a3a2f51c371937a30bd13718a13147e6b2d" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-03T10:53:32Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468613335", + "type": "DeleteEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "ref": "dependabot/github_actions/actions/stale-7", + "ref_type": "branch", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-03-03T10:53:25Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468613327", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 12813594212, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "af807c4e8423b247c3df85e1eb27dd28d6c3d6be", + "before": "a81c2a174587d9ef53fbef43c8726de13c5cfee0", + "commits": [ + { + "sha": "28f8aab9f0c91c98de981e8153d26a198399a826", + "author": { + "email": "49699333+dependabot[bot]@users.noreply.github.com", + "name": "dependabot[bot]" + }, + "message": "Bump actions/stale from 6 to 7\n\nBumps [actions/stale](https://github.com/actions/stale) from 6 to 7.\n- [Release notes](https://github.com/actions/stale/releases)\n- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)\n- [Commits](https://github.com/actions/stale/compare/v6...v7)\n\n---\nupdated-dependencies:\n- dependency-name: actions/stale\n dependency-type: direct:production\n update-type: version-update:semver-major\n...\n\nSigned-off-by: dependabot[bot] ", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/28f8aab9f0c91c98de981e8153d26a198399a826" + }, + { + "sha": "af807c4e8423b247c3df85e1eb27dd28d6c3d6be", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #532 from cloudbees-oss/dependabot/github_actions/actions/stale-7", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/af807c4e8423b247c3df85e1eb27dd28d6c3d6be" + } + ] + }, + "public": true, + "created_at": "2023-03-03T10:53:25Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468613078", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 532, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/532", + "id": 1174178631, + "node_id": "PR_kwDOAIy5dc5F_ItH", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/532", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/532.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/532.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/532", + "number": 532, + "state": "closed", + "locked": false, + "title": "Bump actions/stale from 6 to 7", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [actions/stale](https://github.com/actions/stale) from 6 to 7.\n
    \nRelease notes\n

    Sourced from actions/stale's releases.

    \n
    \n

    v7.0.0

    \n

    ⚠ī¸ This version contains breaking changes ⚠ī¸

    \n

    What's Changed

    \n\n

    Breaking Changes

    \n
      \n
    • In this release we prevent this action from managing the stale label on items included in exempt-issue-labels and exempt-pr-labels
    • \n
    • We decided that this is outside of the scope of this action, and to be left up to the maintainer
    • \n
    \n

    New Contributors

    \n\n

    Full Changelog: https://github.com/actions/stale/compare/v6...v7.0.0

    \n

    v6.0.1

    \n

    Update @​actions/core to 1.10.0 #839

    \n

    Full Changelog: https://github.com/actions/stale/compare/v6.0.0...v6.0.1

    \n
    \n
    \n
    \nChangelog\n

    Sourced from actions/stale's changelog.

    \n
    \n

    Changelog

    \n

    [7.0.0]

    \n

    :warning: Breaking change :warning:

    \n\n

    [6.0.1]

    \n

    Update @​actions/core to v1.10.0 (#839)

    \n

    [6.0.0]

    \n

    :warning: Breaking change :warning:

    \n

    Issues/PRs default close-issue-reason is now not_planned(#789)

    \n

    [5.1.0]

    \n

    Don't process stale issues right after they're marked stale\n[Add close-issue-reason option]#764#772\nVarious dependabot/dependency updates

    \n

    4.1.0 (2021-07-14)

    \n

    Features

    \n\n

    4.0.0 (2021-07-14)

    \n

    Features

    \n
      \n
    • options: simplify config by removing skip stale message options (#457) (6ec637d), closes #405 #455
    • \n
    • output: print output parameters (#458) (3e6d35b)
    • \n
    \n

    Bug Fixes

    \n
      \n
    • dry-run: forbid mutations in dry-run (#500) (f1017f3), closes #499
    • \n
    • logs: coloured logs (#465) (5fbbfba)
    • \n
    • operations: fail fast the current batch to respect the operations limit (#474) (5f6f311), closes #466
    • \n
    • label comparison: make label comparison case insensitive #517, closes #516
    • \n
    • filtering comments by actor could have strange behavior: "stale" comments are now detected based on if the message is the stale message not who made the comment(#519), fixes #441, #509, #518
    • \n
    \n

    Breaking Changes

    \n\n
    \n

    ... (truncated)

    \n
    \n
    \nCommits\n
      \n
    • 6f05e42 draft release for v7.0.0 (#888)
    • \n
    • eed91cb Update how stale handles exempt items (#874)
    • \n
    • 10dc265 Merge pull request #880 from akv-platform/update-stale-repo
    • \n
    • 9c1eb3f Update .md files and allign build-test.yml with the current test.yml
    • \n
    • bc357bd Update .github/workflows/release-new-action-version.yml
    • \n
    • 690ede5 Update .github/ISSUE_TEMPLATE/bug_report.md
    • \n
    • afbcabf Merge branch 'main' into update-stale-repo
    • \n
    • e364411 Update name of codeql.yml file
    • \n
    • 627cef3 fix print outputs step (#859)
    • \n
    • 975308f Merge pull request #876 from jongwooo/chore/use-cache-in-check-dist
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/stale&package-manager=github_actions&previous-version=6&new-version=7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2022-12-21T20:04:02Z", + "updated_at": "2023-03-03T10:53:24Z", + "closed_at": "2023-03-03T10:53:23Z", + "merged_at": "2023-03-03T10:53:23Z", + "merge_commit_sha": "af807c4e8423b247c3df85e1eb27dd28d6c3d6be", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471562961, + "node_id": "LA_kwDOAIy5dc7O69jR", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/github_actions", + "name": "github_actions", + "color": "000000", + "default": false, + "description": "Pull requests that update Github_actions code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/532/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/532/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/532/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/28f8aab9f0c91c98de981e8153d26a198399a826", + "head": { + "label": "cloudbees-oss:dependabot/github_actions/actions/stale-7", + "ref": "dependabot/github_actions/actions/stale-7", + "sha": "28f8aab9f0c91c98de981e8153d26a198399a826", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:53:23Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 4, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 4, + "watchers": 145, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:53:23Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 4, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 4, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/532" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/532" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/532" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/532/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/532/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/532/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/28f8aab9f0c91c98de981e8153d26a198399a826" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-03-03T10:53:25Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468611281", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1323543728, + "node_id": "PRR_kwDOAIy5dc5O46yw", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "commit_id": "28f8aab9f0c91c98de981e8153d26a198399a826", + "submitted_at": "2023-03-03T10:53:19Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/532#pullrequestreview-1323543728", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/532", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/532#pullrequestreview-1323543728" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/532" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/532", + "id": 1174178631, + "node_id": "PR_kwDOAIy5dc5F_ItH", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/532", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/532.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/532.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/532", + "number": 532, + "state": "open", + "locked": false, + "title": "Bump actions/stale from 6 to 7", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [actions/stale](https://github.com/actions/stale) from 6 to 7.\n
    \nRelease notes\n

    Sourced from actions/stale's releases.

    \n
    \n

    v7.0.0

    \n

    ⚠ī¸ This version contains breaking changes ⚠ī¸

    \n

    What's Changed

    \n\n

    Breaking Changes

    \n
      \n
    • In this release we prevent this action from managing the stale label on items included in exempt-issue-labels and exempt-pr-labels
    • \n
    • We decided that this is outside of the scope of this action, and to be left up to the maintainer
    • \n
    \n

    New Contributors

    \n\n

    Full Changelog: https://github.com/actions/stale/compare/v6...v7.0.0

    \n

    v6.0.1

    \n

    Update @​actions/core to 1.10.0 #839

    \n

    Full Changelog: https://github.com/actions/stale/compare/v6.0.0...v6.0.1

    \n
    \n
    \n
    \nChangelog\n

    Sourced from actions/stale's changelog.

    \n
    \n

    Changelog

    \n

    [7.0.0]

    \n

    :warning: Breaking change :warning:

    \n\n

    [6.0.1]

    \n

    Update @​actions/core to v1.10.0 (#839)

    \n

    [6.0.0]

    \n

    :warning: Breaking change :warning:

    \n

    Issues/PRs default close-issue-reason is now not_planned(#789)

    \n

    [5.1.0]

    \n

    Don't process stale issues right after they're marked stale\n[Add close-issue-reason option]#764#772\nVarious dependabot/dependency updates

    \n

    4.1.0 (2021-07-14)

    \n

    Features

    \n\n

    4.0.0 (2021-07-14)

    \n

    Features

    \n
      \n
    • options: simplify config by removing skip stale message options (#457) (6ec637d), closes #405 #455
    • \n
    • output: print output parameters (#458) (3e6d35b)
    • \n
    \n

    Bug Fixes

    \n
      \n
    • dry-run: forbid mutations in dry-run (#500) (f1017f3), closes #499
    • \n
    • logs: coloured logs (#465) (5fbbfba)
    • \n
    • operations: fail fast the current batch to respect the operations limit (#474) (5f6f311), closes #466
    • \n
    • label comparison: make label comparison case insensitive #517, closes #516
    • \n
    • filtering comments by actor could have strange behavior: "stale" comments are now detected based on if the message is the stale message not who made the comment(#519), fixes #441, #509, #518
    • \n
    \n

    Breaking Changes

    \n\n
    \n

    ... (truncated)

    \n
    \n
    \nCommits\n
      \n
    • 6f05e42 draft release for v7.0.0 (#888)
    • \n
    • eed91cb Update how stale handles exempt items (#874)
    • \n
    • 10dc265 Merge pull request #880 from akv-platform/update-stale-repo
    • \n
    • 9c1eb3f Update .md files and allign build-test.yml with the current test.yml
    • \n
    • bc357bd Update .github/workflows/release-new-action-version.yml
    • \n
    • 690ede5 Update .github/ISSUE_TEMPLATE/bug_report.md
    • \n
    • afbcabf Merge branch 'main' into update-stale-repo
    • \n
    • e364411 Update name of codeql.yml file
    • \n
    • 627cef3 fix print outputs step (#859)
    • \n
    • 975308f Merge pull request #876 from jongwooo/chore/use-cache-in-check-dist
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/stale&package-manager=github_actions&previous-version=6&new-version=7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2022-12-21T20:04:02Z", + "updated_at": "2023-03-03T10:53:19Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "9ae26cabd7b6968e14dcaaca835850523d5b04d9", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471562961, + "node_id": "LA_kwDOAIy5dc7O69jR", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/github_actions", + "name": "github_actions", + "color": "000000", + "default": false, + "description": "Pull requests that update Github_actions code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/532/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/532/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/532/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/28f8aab9f0c91c98de981e8153d26a198399a826", + "head": { + "label": "cloudbees-oss:dependabot/github_actions/actions/stale-7", + "ref": "dependabot/github_actions/actions/stale-7", + "sha": "28f8aab9f0c91c98de981e8153d26a198399a826", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:53:12Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 5, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 5, + "watchers": 145, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:53:12Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 5, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 5, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/532" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/532" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/532" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/532/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/532/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/532/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/28f8aab9f0c91c98de981e8153d26a198399a826" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-03T10:53:20Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468608732", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 12813592032, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "a81c2a174587d9ef53fbef43c8726de13c5cfee0", + "before": "890101f02f8eb2baa60743366a5a1205dca63e62", + "commits": [ + { + "sha": "cbc94ebfdc1f4ea98643943e29ef67d3200e13a6", + "author": { + "email": "49699333+dependabot[bot]@users.noreply.github.com", + "name": "dependabot[bot]" + }, + "message": "Bump assertj-core from 3.23.1 to 3.24.2\n\nBumps assertj-core from 3.23.1 to 3.24.2.\n\n---\nupdated-dependencies:\n- dependency-name: org.assertj:assertj-core\n dependency-type: direct:development\n update-type: version-update:semver-minor\n...\n\nSigned-off-by: dependabot[bot] ", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/cbc94ebfdc1f4ea98643943e29ef67d3200e13a6" + }, + { + "sha": "a81c2a174587d9ef53fbef43c8726de13c5cfee0", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #538 from cloudbees-oss/dependabot/maven/org.assertj-assertj-core-3.24.2", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/a81c2a174587d9ef53fbef43c8726de13c5cfee0" + } + ] + }, + "public": true, + "created_at": "2023-03-03T10:53:13Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468608781", + "type": "DeleteEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "ref": "dependabot/maven/org.assertj-assertj-core-3.24.2", + "ref_type": "branch", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-03-03T10:53:13Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468608523", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 538, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/538", + "id": 1200784761, + "node_id": "PR_kwDOAIy5dc5HkoV5", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/538", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/538.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/538.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/538", + "number": 538, + "state": "closed", + "locked": false, + "title": "Bump assertj-core from 3.23.1 to 3.24.2", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps assertj-core from 3.23.1 to 3.24.2.\n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.assertj:assertj-core&package-manager=maven&previous-version=3.23.1&new-version=3.24.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-01-17T20:00:48Z", + "updated_at": "2023-03-03T10:53:12Z", + "closed_at": "2023-03-03T10:53:11Z", + "merged_at": "2023-03-03T10:53:11Z", + "merge_commit_sha": "a81c2a174587d9ef53fbef43c8726de13c5cfee0", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/538/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/538/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/538/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/cbc94ebfdc1f4ea98643943e29ef67d3200e13a6", + "head": { + "label": "cloudbees-oss:dependabot/maven/org.assertj-assertj-core-3.24.2", + "ref": "dependabot/maven/org.assertj-assertj-core-3.24.2", + "sha": "cbc94ebfdc1f4ea98643943e29ef67d3200e13a6", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:53:11Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 5, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 5, + "watchers": 145, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:53:11Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 5, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 5, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/538" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/538" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/538" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/538/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/538/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/538/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/cbc94ebfdc1f4ea98643943e29ef67d3200e13a6" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-03-03T10:53:12Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468606454", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1323543257, + "node_id": "PRR_kwDOAIy5dc5O46rZ", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "commit_id": "cbc94ebfdc1f4ea98643943e29ef67d3200e13a6", + "submitted_at": "2023-03-03T10:53:06Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/538#pullrequestreview-1323543257", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/538", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/538#pullrequestreview-1323543257" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/538" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/538", + "id": 1200784761, + "node_id": "PR_kwDOAIy5dc5HkoV5", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/538", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/538.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/538.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/538", + "number": 538, + "state": "open", + "locked": false, + "title": "Bump assertj-core from 3.23.1 to 3.24.2", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps assertj-core from 3.23.1 to 3.24.2.\n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.assertj:assertj-core&package-manager=maven&previous-version=3.23.1&new-version=3.24.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-01-17T20:00:48Z", + "updated_at": "2023-03-03T10:53:06Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "297f83e66f11146b932dc5b4772b6eef4c182ac0", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/538/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/538/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/538/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/cbc94ebfdc1f4ea98643943e29ef67d3200e13a6", + "head": { + "label": "cloudbees-oss:dependabot/maven/org.assertj-assertj-core-3.24.2", + "ref": "dependabot/maven/org.assertj-assertj-core-3.24.2", + "sha": "cbc94ebfdc1f4ea98643943e29ef67d3200e13a6", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:52:58Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 6, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 6, + "watchers": 145, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:52:58Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 6, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 6, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/538" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/538" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/538" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/538/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/538/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/538/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/cbc94ebfdc1f4ea98643943e29ef67d3200e13a6" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-03T10:53:07Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468603573", + "type": "DeleteEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "ref": "dependabot/maven/com.fasterxml.jackson-jackson-bom-2.14.2", + "ref_type": "branch", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-03-03T10:52:59Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468603584", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 12813589541, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "890101f02f8eb2baa60743366a5a1205dca63e62", + "before": "141af481489c4f13645d7942c1010a7c9170efa7", + "commits": [ + { + "sha": "1df67fbcf7f6e5ff02c6df2622005dcdc4cd6f22", + "author": { + "email": "49699333+dependabot[bot]@users.noreply.github.com", + "name": "dependabot[bot]" + }, + "message": "Bump jackson-bom from 2.13.4.20221013 to 2.14.2\n\nBumps [jackson-bom](https://github.com/FasterXML/jackson-bom) from 2.13.4.20221013 to 2.14.2.\n- [Release notes](https://github.com/FasterXML/jackson-bom/releases)\n- [Commits](https://github.com/FasterXML/jackson-bom/compare/jackson-bom-2.13.4.20221013...jackson-bom-2.14.2)\n\n---\nupdated-dependencies:\n- dependency-name: com.fasterxml.jackson:jackson-bom\n dependency-type: direct:production\n update-type: version-update:semver-minor\n...\n\nSigned-off-by: dependabot[bot] ", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/1df67fbcf7f6e5ff02c6df2622005dcdc4cd6f22" + }, + { + "sha": "890101f02f8eb2baa60743366a5a1205dca63e62", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #539 from cloudbees-oss/dependabot/maven/com.fasterxml.jackson-jackson-bom-2.14.2", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/890101f02f8eb2baa60743366a5a1205dca63e62" + } + ] + }, + "public": true, + "created_at": "2023-03-03T10:52:59Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468603414", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 539, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/539", + "id": 1222233830, + "node_id": "PR_kwDOAIy5dc5I2c7m", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/539", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/539.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/539.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/539", + "number": 539, + "state": "closed", + "locked": false, + "title": "Bump jackson-bom from 2.13.4.20221013 to 2.14.2", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [jackson-bom](https://github.com/FasterXML/jackson-bom) from 2.13.4.20221013 to 2.14.2.\n
    \nCommits\n
      \n
    • 6a38163 [maven-release-plugin] prepare release jackson-bom-2.14.2
    • \n
    • 6579bfc Prepare for 2.14.2 release
    • \n
    • 380ca76 Back to snapshot deps
    • \n
    • ce91dcc [maven-release-plugin] prepare for next development iteration
    • \n
    • 28345e8 [maven-release-plugin] prepare release jackson-bom-2.14.1
    • \n
    • 0d678d3 ...
    • \n
    • 04e59a5 Merge branch '2.14' of github.com:FasterXML/jackson-bom into 2.14
    • \n
    • 806813d [maven-release-plugin] prepare release jackson-bom-2.14.1
    • \n
    • 2a00d4b Prepare for 2.14.1 release
    • \n
    • 70c86d4 Merge pull request #55 from yeikel/patch-1
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.fasterxml.jackson:jackson-bom&package-manager=maven&previous-version=2.13.4.20221013&new-version=2.14.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-01-30T20:02:24Z", + "updated_at": "2023-03-03T10:52:57Z", + "closed_at": "2023-03-03T10:52:57Z", + "merged_at": "2023-03-03T10:52:57Z", + "merge_commit_sha": "890101f02f8eb2baa60743366a5a1205dca63e62", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/539/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/539/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/539/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/1df67fbcf7f6e5ff02c6df2622005dcdc4cd6f22", + "head": { + "label": "cloudbees-oss:dependabot/maven/com.fasterxml.jackson-jackson-bom-2.14.2", + "ref": "dependabot/maven/com.fasterxml.jackson-jackson-bom-2.14.2", + "sha": "1df67fbcf7f6e5ff02c6df2622005dcdc4cd6f22", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:52:57Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 6, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 6, + "watchers": 145, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:52:57Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 6, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 6, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/539" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/539" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/539" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/539/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/539/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/539/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/1df67fbcf7f6e5ff02c6df2622005dcdc4cd6f22" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-03-03T10:52:58Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468601518", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1323542757, + "node_id": "PRR_kwDOAIy5dc5O46jl", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "commit_id": "1df67fbcf7f6e5ff02c6df2622005dcdc4cd6f22", + "submitted_at": "2023-03-03T10:52:52Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/539#pullrequestreview-1323542757", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/539", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/539#pullrequestreview-1323542757" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/539" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/539", + "id": 1222233830, + "node_id": "PR_kwDOAIy5dc5I2c7m", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/539", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/539.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/539.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/539", + "number": 539, + "state": "open", + "locked": false, + "title": "Bump jackson-bom from 2.13.4.20221013 to 2.14.2", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [jackson-bom](https://github.com/FasterXML/jackson-bom) from 2.13.4.20221013 to 2.14.2.\n
    \nCommits\n
      \n
    • 6a38163 [maven-release-plugin] prepare release jackson-bom-2.14.2
    • \n
    • 6579bfc Prepare for 2.14.2 release
    • \n
    • 380ca76 Back to snapshot deps
    • \n
    • ce91dcc [maven-release-plugin] prepare for next development iteration
    • \n
    • 28345e8 [maven-release-plugin] prepare release jackson-bom-2.14.1
    • \n
    • 0d678d3 ...
    • \n
    • 04e59a5 Merge branch '2.14' of github.com:FasterXML/jackson-bom into 2.14
    • \n
    • 806813d [maven-release-plugin] prepare release jackson-bom-2.14.1
    • \n
    • 2a00d4b Prepare for 2.14.1 release
    • \n
    • 70c86d4 Merge pull request #55 from yeikel/patch-1
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.fasterxml.jackson:jackson-bom&package-manager=maven&previous-version=2.13.4.20221013&new-version=2.14.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-01-30T20:02:24Z", + "updated_at": "2023-03-03T10:52:52Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "7599c325dd276e7df57f97d2dd11c0b9a2a4ce18", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/539/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/539/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/539/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/1df67fbcf7f6e5ff02c6df2622005dcdc4cd6f22", + "head": { + "label": "cloudbees-oss:dependabot/maven/com.fasterxml.jackson-jackson-bom-2.14.2", + "ref": "dependabot/maven/com.fasterxml.jackson-jackson-bom-2.14.2", + "sha": "1df67fbcf7f6e5ff02c6df2622005dcdc4cd6f22", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:52:40Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 7, + "watchers": 145, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:52:40Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 7, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/539" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/539" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/539" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/539/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/539/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/539/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/1df67fbcf7f6e5ff02c6df2622005dcdc4cd6f22" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-03T10:52:53Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468596925", + "type": "DeleteEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "ref": "dependabot/maven/io.netty-netty-bom-4.1.89.Final", + "ref_type": "branch", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-03-03T10:52:40Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468596908", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 12813586292, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "141af481489c4f13645d7942c1010a7c9170efa7", + "before": "44cc73e74e03722bf8dd950db96879f6cf7f233d", + "commits": [ + { + "sha": "f90d1d13ff5894e79158ea93f536094c3299b702", + "author": { + "email": "49699333+dependabot[bot]@users.noreply.github.com", + "name": "dependabot[bot]" + }, + "message": "Bump netty-bom from 4.1.84.Final to 4.1.89.Final\n\nBumps [netty-bom](https://github.com/netty/netty) from 4.1.84.Final to 4.1.89.Final.\n- [Release notes](https://github.com/netty/netty/releases)\n- [Commits](https://github.com/netty/netty/compare/netty-4.1.84.Final...netty-4.1.89.Final)\n\n---\nupdated-dependencies:\n- dependency-name: io.netty:netty-bom\n dependency-type: direct:production\n update-type: version-update:semver-patch\n...\n\nSigned-off-by: dependabot[bot] ", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/f90d1d13ff5894e79158ea93f536094c3299b702" + }, + { + "sha": "141af481489c4f13645d7942c1010a7c9170efa7", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #540 from cloudbees-oss/dependabot/maven/io.netty-netty-bom-4.1.89.Final", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/141af481489c4f13645d7942c1010a7c9170efa7" + } + ] + }, + "public": true, + "created_at": "2023-03-03T10:52:40Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468596705", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 540, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/540", + "id": 1239608156, + "node_id": "PR_kwDOAIy5dc5J4utc", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/540", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/540.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/540.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/540", + "number": 540, + "state": "closed", + "locked": false, + "title": "Bump netty-bom from 4.1.84.Final to 4.1.89.Final", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [netty-bom](https://github.com/netty/netty) from 4.1.84.Final to 4.1.89.Final.\n
    \nCommits\n
      \n
    • 263a745 [maven-release-plugin] prepare release netty-4.1.89.Final
    • \n
    • ed425fe Don't fail on HttpObjectDecoder's maxHeaderSize greater then (Integer.MAX_VAL...
    • \n
    • a803e10 Revert "Revert "Speed-up HTTP 1.1 header and line parsing (#12321)""
    • \n
    • 9993e07 Revert "Speed-up HTTP 1.1 header and line parsing (#12321)"
    • \n
    • 4475b5c [maven-release-plugin] prepare for next development iteration
    • \n
    • 828ea7c [maven-release-plugin] prepare release netty-4.1.88.Final
    • \n
    • d010e63 Add handling of inflight lookups to reduce real queries when lookup same host...
    • \n
    • 6c0e69a WebSocketServerProtocolHandler: make HandshakeComplete constructor public (#1...
    • \n
    • 06f70a4 AsciiStrings can be batch-encoded (#13197)
    • \n
    • 272d749 Add unit test that verifies cancelled entries in ChannelOutboundBuffer are co...
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=io.netty:netty-bom&package-manager=maven&previous-version=4.1.84.Final&new-version=4.1.89.Final)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-02-13T20:56:55Z", + "updated_at": "2023-03-03T10:52:39Z", + "closed_at": "2023-03-03T10:52:39Z", + "merged_at": "2023-03-03T10:52:39Z", + "merge_commit_sha": "141af481489c4f13645d7942c1010a7c9170efa7", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/540/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/540/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/540/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/f90d1d13ff5894e79158ea93f536094c3299b702", + "head": { + "label": "cloudbees-oss:dependabot/maven/io.netty-netty-bom-4.1.89.Final", + "ref": "dependabot/maven/io.netty-netty-bom-4.1.89.Final", + "sha": "f90d1d13ff5894e79158ea93f536094c3299b702", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:52:39Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 7, + "watchers": 145, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:52:39Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 7, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/540" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/540" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/540" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/540/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/540/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/540/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/f90d1d13ff5894e79158ea93f536094c3299b702" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-03-03T10:52:40Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468594850", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1323542094, + "node_id": "PRR_kwDOAIy5dc5O46ZO", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "commit_id": "f90d1d13ff5894e79158ea93f536094c3299b702", + "submitted_at": "2023-03-03T10:52:34Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/540#pullrequestreview-1323542094", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/540", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/540#pullrequestreview-1323542094" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/540" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/540", + "id": 1239608156, + "node_id": "PR_kwDOAIy5dc5J4utc", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/540", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/540.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/540.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/540", + "number": 540, + "state": "open", + "locked": false, + "title": "Bump netty-bom from 4.1.84.Final to 4.1.89.Final", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [netty-bom](https://github.com/netty/netty) from 4.1.84.Final to 4.1.89.Final.\n
    \nCommits\n
      \n
    • 263a745 [maven-release-plugin] prepare release netty-4.1.89.Final
    • \n
    • ed425fe Don't fail on HttpObjectDecoder's maxHeaderSize greater then (Integer.MAX_VAL...
    • \n
    • a803e10 Revert "Revert "Speed-up HTTP 1.1 header and line parsing (#12321)""
    • \n
    • 9993e07 Revert "Speed-up HTTP 1.1 header and line parsing (#12321)"
    • \n
    • 4475b5c [maven-release-plugin] prepare for next development iteration
    • \n
    • 828ea7c [maven-release-plugin] prepare release netty-4.1.88.Final
    • \n
    • d010e63 Add handling of inflight lookups to reduce real queries when lookup same host...
    • \n
    • 6c0e69a WebSocketServerProtocolHandler: make HandshakeComplete constructor public (#1...
    • \n
    • 06f70a4 AsciiStrings can be batch-encoded (#13197)
    • \n
    • 272d749 Add unit test that verifies cancelled entries in ChannelOutboundBuffer are co...
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=io.netty:netty-bom&package-manager=maven&previous-version=4.1.84.Final&new-version=4.1.89.Final)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-02-13T20:56:55Z", + "updated_at": "2023-03-03T10:52:34Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "ffde5ac4cc706267663c1e60c9583632776812e1", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471606969, + "node_id": "LA_kwDOAIy5dc7O7IS5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/540/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/540/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/540/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/f90d1d13ff5894e79158ea93f536094c3299b702", + "head": { + "label": "cloudbees-oss:dependabot/maven/io.netty-netty-bom-4.1.89.Final", + "ref": "dependabot/maven/io.netty-netty-bom-4.1.89.Final", + "sha": "f90d1d13ff5894e79158ea93f536094c3299b702", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:52:15Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 8, + "watchers": 145, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:52:15Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 8, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/540" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/540" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/540" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/540/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/540/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/540/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/f90d1d13ff5894e79158ea93f536094c3299b702" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-03T10:52:34Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468588213", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "repository_id": 9222517, + "push_id": 12813582145, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "44cc73e74e03722bf8dd950db96879f6cf7f233d", + "before": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "commits": [ + { + "sha": "56e7a282a43630c0320e34de85242725c50a204b", + "author": { + "email": "49699333+dependabot[bot]@users.noreply.github.com", + "name": "dependabot[bot]" + }, + "message": "Bump release-drafter/release-drafter from 5.21.1 to 5.23.0\n\nBumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.21.1 to 5.23.0.\n- [Release notes](https://github.com/release-drafter/release-drafter/releases)\n- [Commits](https://github.com/release-drafter/release-drafter/compare/v5.21.1...v5.23.0)\n\n---\nupdated-dependencies:\n- dependency-name: release-drafter/release-drafter\n dependency-type: direct:production\n update-type: version-update:semver-minor\n...\n\nSigned-off-by: dependabot[bot] ", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/56e7a282a43630c0320e34de85242725c50a204b" + }, + { + "sha": "44cc73e74e03722bf8dd950db96879f6cf7f233d", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #542 from cloudbees-oss/dependabot/github_actions/release-drafter/release-drafter-5.23.0", + "distinct": true, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits/44cc73e74e03722bf8dd950db96879f6cf7f233d" + } + ] + }, + "public": true, + "created_at": "2023-03-03T10:52:16Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468588116", + "type": "DeleteEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "ref": "dependabot/github_actions/release-drafter/release-drafter-5.23.0", + "ref_type": "branch", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-03-03T10:52:16Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468587879", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "closed", + "number": 542, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/542", + "id": 1249254793, + "node_id": "PR_kwDOAIy5dc5Kdh2J", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/542", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/542.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/542.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/542", + "number": 542, + "state": "closed", + "locked": false, + "title": "Bump release-drafter/release-drafter from 5.21.1 to 5.23.0", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.21.1 to 5.23.0.\n
    \nRelease notes\n

    Sourced from release-drafter/release-drafter's releases.

    \n
    \n

    v5.23.0

    \n

    What's Changed

    \n

    New

    \n\n

    Full Changelog: https://github.com/release-drafter/release-drafter/compare/v5.22.0...v5.23.0

    \n

    v5.22.0

    \n

    What's Changed

    \n

    New

    \n\n

    Full Changelog: https://github.com/release-drafter/release-drafter/compare/v5.21.1...v5.22.0

    \n
    \n
    \n
    \nCommits\n\n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=release-drafter/release-drafter&package-manager=github_actions&previous-version=5.21.1&new-version=5.23.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-02-21T20:58:16Z", + "updated_at": "2023-03-03T10:52:14Z", + "closed_at": "2023-03-03T10:52:14Z", + "merged_at": "2023-03-03T10:52:14Z", + "merge_commit_sha": "44cc73e74e03722bf8dd950db96879f6cf7f233d", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471562961, + "node_id": "LA_kwDOAIy5dc7O69jR", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/github_actions", + "name": "github_actions", + "color": "000000", + "default": false, + "description": "Pull requests that update Github_actions code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/542/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/542/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/542/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/56e7a282a43630c0320e34de85242725c50a204b", + "head": { + "label": "cloudbees-oss:dependabot/github_actions/release-drafter/release-drafter-5.23.0", + "ref": "dependabot/github_actions/release-drafter/release-drafter-5.23.0", + "sha": "56e7a282a43630c0320e34de85242725c50a204b", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:52:14Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 8, + "watchers": 145, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-03T10:52:14Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 8, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/542" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/542" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/542" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/542/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/542/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/542/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/56e7a282a43630c0320e34de85242725c50a204b" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-03-03T10:52:15Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468585926", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1323541195, + "node_id": "PRR_kwDOAIy5dc5O46LL", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "", + "commit_id": "56e7a282a43630c0320e34de85242725c50a204b", + "submitted_at": "2023-03-03T10:52:09Z", + "state": "approved", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/542#pullrequestreview-1323541195", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/542", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/542#pullrequestreview-1323541195" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/542" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/542", + "id": 1249254793, + "node_id": "PR_kwDOAIy5dc5Kdh2J", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/542", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/542.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/542.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/542", + "number": 542, + "state": "open", + "locked": false, + "title": "Bump release-drafter/release-drafter from 5.21.1 to 5.23.0", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.21.1 to 5.23.0.\n
    \nRelease notes\n

    Sourced from release-drafter/release-drafter's releases.

    \n
    \n

    v5.23.0

    \n

    What's Changed

    \n

    New

    \n\n

    Full Changelog: https://github.com/release-drafter/release-drafter/compare/v5.22.0...v5.23.0

    \n

    v5.22.0

    \n

    What's Changed

    \n

    New

    \n\n

    Full Changelog: https://github.com/release-drafter/release-drafter/compare/v5.21.1...v5.22.0

    \n
    \n
    \n
    \nCommits\n\n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=release-drafter/release-drafter&package-manager=github_actions&previous-version=5.21.1&new-version=5.23.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2023-02-21T20:58:16Z", + "updated_at": "2023-03-03T10:52:09Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "e73f400393b2b4ed77272ac6129ce409e99be88d", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 1677026329, + "node_id": "MDU6TGFiZWwxNjc3MDI2MzI5", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 3471562961, + "node_id": "LA_kwDOAIy5dc7O69jR", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels/github_actions", + "name": "github_actions", + "color": "000000", + "default": false, + "description": "Pull requests that update Github_actions code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/542/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/542/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/542/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/56e7a282a43630c0320e34de85242725c50a204b", + "head": { + "label": "cloudbees-oss:dependabot/github_actions/release-drafter/release-drafter-5.23.0", + "ref": "dependabot/github_actions/release-drafter/release-drafter-5.23.0", + "sha": "56e7a282a43630c0320e34de85242725c50a204b", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-02T15:25:39Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 9, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 9, + "watchers": 145, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-02T15:25:39Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 9, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 9, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/542" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/542" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/542" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/542/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/542/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/542/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/56e7a282a43630c0320e34de85242725c50a204b" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-03T10:52:10Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468578919", + "type": "PullRequestReviewCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "comment": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments/1124297477", + "pull_request_review_id": 1323531725, + "id": 1124297477, + "node_id": "PRRC_kwDOAIy5dc5DA2sF", + "diff_hunk": "@@ -2384,6 +2399,14 @@ public Iterable getSectionTranslations(Long sectionId) {\n tmpl(\"/help_center/sections/{sectionId}/translations.json\").set(\"sectionId\", sectionId),\n handleList(Translation.class, \"translations\"));\n }\n+\n+ public Translation getSectionTranslation(long sectionId, String locale) {", + "path": "src/main/java/org/zendesk/client/v2/Zendesk.java", + "position": 34, + "original_position": 34, + "commit_id": "e6d1c779143db4531cc7a441dd64f55ce72770d2", + "original_commit_id": "e6d1c779143db4531cc7a441dd64f55ce72770d2", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "I don't see any endpoint to show translations for Section either.", + "created_at": "2023-03-03T10:49:08Z", + "updated_at": "2023-03-03T10:51:49Z", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545#discussion_r1124297477", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545", + "author_association": "COLLABORATOR", + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments/1124297477" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545#discussion_r1124297477" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545" + } + }, + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments/1124297477/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 2403, + "original_line": 2403, + "side": "RIGHT" + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545", + "id": 1260640470, + "node_id": "PR_kwDOAIy5dc5LI9jW", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545", + "number": 545, + "state": "open", + "locked": false, + "title": "implemented getCategoryTranslation, getSectionTranslation and getArticleTranslation.", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "body": "added methods to fetch a single translation for a category, section or an article. as seen here https://developer.zendesk.com/api-reference/help_center/help-center-api/translations/#show-translation", + "created_at": "2023-03-02T15:25:39Z", + "updated_at": "2023-03-03T10:51:49Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "600cbbb48986af544b33ad7ad2bf26685350c90c", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/e6d1c779143db4531cc7a441dd64f55ce72770d2", + "head": { + "label": "Walti91:master", + "ref": "master", + "sha": "e6d1c779143db4531cc7a441dd64f55ce72770d2", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 608681427, + "node_id": "R_kgDOJEe90w", + "name": "zendesk-java-client", + "full_name": "Walti91/zendesk-java-client", + "private": false, + "owner": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/Walti91/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/Walti91/zendesk-java-client", + "forks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/Walti91/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Walti91/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Walti91/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/Walti91/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Walti91/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Walti91/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/Walti91/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Walti91/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/Walti91/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Walti91/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/Walti91/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Walti91/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Walti91/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Walti91/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/Walti91/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/deployments", + "created_at": "2023-03-02T14:22:26Z", + "updated_at": "2023-03-02T15:21:34Z", + "pushed_at": "2023-03-02T15:21:28Z", + "git_url": "git://github.com/Walti91/zendesk-java-client.git", + "ssh_url": "git@github.com:Walti91/zendesk-java-client.git", + "clone_url": "https://github.com/Walti91/zendesk-java-client.git", + "svn_url": "https://github.com/Walti91/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1135, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-02T15:25:39Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 9, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 9, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/e6d1c779143db4531cc7a441dd64f55ce72770d2" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-03T10:49:08Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user_9881659_events_public-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user_9881659_events_public-8.json new file mode 100644 index 0000000000..9724adc6fe --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user_9881659_events_public-8.json @@ -0,0 +1,8034 @@ +[ + { + "id": "27468578745", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1323531725, + "node_id": "PRR_kwDOAIy5dc5O433N", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "Thanks for the contribution!\r\n\r\nWe need to sort out if the endpoint you are using for category and section exist.\r\n\r\nWe will also need to add some tests to cover the new method(s). I know that it's a bit hard to write those tests since external contributors don't have access to our Zendesk sandbox. In case you are not able to write those, I can do it for you when I have some time.", + "commit_id": "e6d1c779143db4531cc7a441dd64f55ce72770d2", + "submitted_at": "2023-03-03T10:51:48Z", + "state": "changes_requested", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545#pullrequestreview-1323531725", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545#pullrequestreview-1323531725" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545", + "id": 1260640470, + "node_id": "PR_kwDOAIy5dc5LI9jW", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545", + "number": 545, + "state": "open", + "locked": false, + "title": "implemented getCategoryTranslation, getSectionTranslation and getArticleTranslation.", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "body": "added methods to fetch a single translation for a category, section or an article. as seen here https://developer.zendesk.com/api-reference/help_center/help-center-api/translations/#show-translation", + "created_at": "2023-03-02T15:25:39Z", + "updated_at": "2023-03-03T10:51:49Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "600cbbb48986af544b33ad7ad2bf26685350c90c", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/e6d1c779143db4531cc7a441dd64f55ce72770d2", + "head": { + "label": "Walti91:master", + "ref": "master", + "sha": "e6d1c779143db4531cc7a441dd64f55ce72770d2", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 608681427, + "node_id": "R_kgDOJEe90w", + "name": "zendesk-java-client", + "full_name": "Walti91/zendesk-java-client", + "private": false, + "owner": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/Walti91/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/Walti91/zendesk-java-client", + "forks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/Walti91/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Walti91/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Walti91/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/Walti91/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Walti91/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Walti91/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/Walti91/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Walti91/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/Walti91/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Walti91/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/Walti91/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Walti91/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Walti91/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Walti91/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/Walti91/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/deployments", + "created_at": "2023-03-02T14:22:26Z", + "updated_at": "2023-03-02T15:21:34Z", + "pushed_at": "2023-03-02T15:21:28Z", + "git_url": "git://github.com/Walti91/zendesk-java-client.git", + "ssh_url": "git@github.com:Walti91/zendesk-java-client.git", + "clone_url": "https://github.com/Walti91/zendesk-java-client.git", + "svn_url": "https://github.com/Walti91/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1135, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-02T15:25:39Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 9, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 9, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/e6d1c779143db4531cc7a441dd64f55ce72770d2" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-03T10:51:49Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468578886", + "type": "PullRequestReviewCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "comment": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments/1124297141", + "pull_request_review_id": 1323531725, + "id": 1124297141, + "node_id": "PRRC_kwDOAIy5dc5DA2m1", + "diff_hunk": "@@ -2242,6 +2242,13 @@ public Iterable getArticleTranslations(Long articleId) {\n handleList(Translation.class, \"translations\"));\n }\n \n+ public Translation getArticleTranslation(long articleId, String locale) {", + "path": "src/main/java/org/zendesk/client/v2/Zendesk.java", + "position": 4, + "original_position": 4, + "commit_id": "e6d1c779143db4531cc7a441dd64f55ce72770d2", + "original_commit_id": "e6d1c779143db4531cc7a441dd64f55ce72770d2", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "Shouldn't we use the same verb as the Zendesk API: https://developer.zendesk.com/api-reference/help_center/help-center-api/translations/#show-translation:\r\n\r\n```suggestion\r\n public Translation showArticleTranslation(long articleId, String locale) {\r\n```", + "created_at": "2023-03-03T10:48:47Z", + "updated_at": "2023-03-03T10:51:48Z", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545#discussion_r1124297141", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545", + "author_association": "COLLABORATOR", + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments/1124297141" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545#discussion_r1124297141" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545" + } + }, + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments/1124297141/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 2245, + "original_line": 2245, + "side": "RIGHT" + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545", + "id": 1260640470, + "node_id": "PR_kwDOAIy5dc5LI9jW", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545", + "number": 545, + "state": "open", + "locked": false, + "title": "implemented getCategoryTranslation, getSectionTranslation and getArticleTranslation.", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "body": "added methods to fetch a single translation for a category, section or an article. as seen here https://developer.zendesk.com/api-reference/help_center/help-center-api/translations/#show-translation", + "created_at": "2023-03-02T15:25:39Z", + "updated_at": "2023-03-03T10:51:49Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "600cbbb48986af544b33ad7ad2bf26685350c90c", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/e6d1c779143db4531cc7a441dd64f55ce72770d2", + "head": { + "label": "Walti91:master", + "ref": "master", + "sha": "e6d1c779143db4531cc7a441dd64f55ce72770d2", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 608681427, + "node_id": "R_kgDOJEe90w", + "name": "zendesk-java-client", + "full_name": "Walti91/zendesk-java-client", + "private": false, + "owner": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/Walti91/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/Walti91/zendesk-java-client", + "forks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/Walti91/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Walti91/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Walti91/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/Walti91/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Walti91/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Walti91/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/Walti91/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Walti91/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/Walti91/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Walti91/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/Walti91/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Walti91/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Walti91/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Walti91/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/Walti91/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/deployments", + "created_at": "2023-03-02T14:22:26Z", + "updated_at": "2023-03-02T15:21:34Z", + "pushed_at": "2023-03-02T15:21:28Z", + "git_url": "git://github.com/Walti91/zendesk-java-client.git", + "ssh_url": "git@github.com:Walti91/zendesk-java-client.git", + "clone_url": "https://github.com/Walti91/zendesk-java-client.git", + "svn_url": "https://github.com/Walti91/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1135, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-02T15:25:39Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 9, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 9, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/e6d1c779143db4531cc7a441dd64f55ce72770d2" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-03T10:48:47Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468578822", + "type": "PullRequestReviewCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "comment": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments/1124297059", + "pull_request_review_id": 1323531725, + "id": 1124297059, + "node_id": "PRRC_kwDOAIy5dc5DA2lj", + "diff_hunk": "@@ -2333,6 +2340,14 @@ public Iterable getCategoryTranslations(Long categoryId) {\n tmpl(\"/help_center/categories/{categoryId}/translations.json\").set(\"categoryId\", categoryId),\n handleList(Translation.class, \"translations\"));\n }\n+\n+ public Translation getCategoryTranslation(long categoryId, String locale) {", + "path": "src/main/java/org/zendesk/client/v2/Zendesk.java", + "position": 19, + "original_position": 19, + "commit_id": "e6d1c779143db4531cc7a441dd64f55ce72770d2", + "original_commit_id": "e6d1c779143db4531cc7a441dd64f55ce72770d2", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "I don't see any endpoint to show translations for Category, am I missing something?", + "created_at": "2023-03-03T10:48:41Z", + "updated_at": "2023-03-03T10:51:48Z", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545#discussion_r1124297059", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545", + "author_association": "COLLABORATOR", + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments/1124297059" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545#discussion_r1124297059" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545" + } + }, + "reactions": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments/1124297059/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 2344, + "original_line": 2344, + "side": "RIGHT" + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545", + "id": 1260640470, + "node_id": "PR_kwDOAIy5dc5LI9jW", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545", + "number": 545, + "state": "open", + "locked": false, + "title": "implemented getCategoryTranslation, getSectionTranslation and getArticleTranslation.", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "body": "added methods to fetch a single translation for a category, section or an article. as seen here https://developer.zendesk.com/api-reference/help_center/help-center-api/translations/#show-translation", + "created_at": "2023-03-02T15:25:39Z", + "updated_at": "2023-03-03T10:51:49Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "600cbbb48986af544b33ad7ad2bf26685350c90c", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/e6d1c779143db4531cc7a441dd64f55ce72770d2", + "head": { + "label": "Walti91:master", + "ref": "master", + "sha": "e6d1c779143db4531cc7a441dd64f55ce72770d2", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 608681427, + "node_id": "R_kgDOJEe90w", + "name": "zendesk-java-client", + "full_name": "Walti91/zendesk-java-client", + "private": false, + "owner": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/Walti91/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/Walti91/zendesk-java-client", + "forks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/Walti91/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Walti91/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Walti91/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/Walti91/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Walti91/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Walti91/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/Walti91/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Walti91/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/Walti91/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Walti91/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/Walti91/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Walti91/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Walti91/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Walti91/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/Walti91/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/deployments", + "created_at": "2023-03-02T14:22:26Z", + "updated_at": "2023-03-02T15:21:34Z", + "pushed_at": "2023-03-02T15:21:28Z", + "git_url": "git://github.com/Walti91/zendesk-java-client.git", + "ssh_url": "git@github.com:Walti91/zendesk-java-client.git", + "clone_url": "https://github.com/Walti91/zendesk-java-client.git", + "svn_url": "https://github.com/Walti91/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1135, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-02T15:25:39Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 9, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 9, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/e6d1c779143db4531cc7a441dd64f55ce72770d2" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-03T10:48:41Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27468578706", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 9222517, + "name": "cloudbees-oss/zendesk-java-client", + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client" + }, + "payload": { + "action": "created", + "review": { + "id": 1323531725, + "node_id": "PRR_kwDOAIy5dc5O433N", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "Thanks for the contribution!\r\n\r\nWe need to sort out if the endpoint you are using for category and section exist.\r\n\r\nWe will also need to add some tests to cover the new method(s). I know that it's a bit hard to write those tests since external contributors don't have access to our Zendesk sandbox. In case you are not able to write those, I can do it for you when I have some time.", + "commit_id": "e6d1c779143db4531cc7a441dd64f55ce72770d2", + "submitted_at": "2023-03-03T10:51:48Z", + "state": "changes_requested", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545#pullrequestreview-1323531725", + "pull_request_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545", + "author_association": "COLLABORATOR", + "_links": { + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545#pullrequestreview-1323531725" + }, + "pull_request": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545", + "id": 1260640470, + "node_id": "PR_kwDOAIy5dc5LI9jW", + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545", + "diff_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545.diff", + "patch_url": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545.patch", + "issue_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545", + "number": 545, + "state": "open", + "locked": false, + "title": "implemented getCategoryTranslation, getSectionTranslation and getArticleTranslation.", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "body": "added methods to fetch a single translation for a category, section or an article. as seen here https://developer.zendesk.com/api-reference/help_center/help-center-api/translations/#show-translation", + "created_at": "2023-03-02T15:25:39Z", + "updated_at": "2023-03-03T10:51:49Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "600cbbb48986af544b33ad7ad2bf26685350c90c", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "duemir", + "id": 348580, + "node_id": "MDQ6VXNlcjM0ODU4MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/348580?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/duemir", + "html_url": "https://github.com/duemir", + "followers_url": "https://api.github.com/users/duemir/followers", + "following_url": "https://api.github.com/users/duemir/following{/other_user}", + "gists_url": "https://api.github.com/users/duemir/gists{/gist_id}", + "starred_url": "https://api.github.com/users/duemir/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/duemir/subscriptions", + "organizations_url": "https://api.github.com/users/duemir/orgs", + "repos_url": "https://api.github.com/users/duemir/repos", + "events_url": "https://api.github.com/users/duemir/events{/privacy}", + "received_events_url": "https://api.github.com/users/duemir/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/commits", + "review_comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/comments", + "review_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/comments", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/e6d1c779143db4531cc7a441dd64f55ce72770d2", + "head": { + "label": "Walti91:master", + "ref": "master", + "sha": "e6d1c779143db4531cc7a441dd64f55ce72770d2", + "user": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 608681427, + "node_id": "R_kgDOJEe90w", + "name": "zendesk-java-client", + "full_name": "Walti91/zendesk-java-client", + "private": false, + "owner": { + "login": "Walti91", + "id": 17833506, + "node_id": "MDQ6VXNlcjE3ODMzNTA2", + "avatar_url": "https://avatars.githubusercontent.com/u/17833506?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Walti91", + "html_url": "https://github.com/Walti91", + "followers_url": "https://api.github.com/users/Walti91/followers", + "following_url": "https://api.github.com/users/Walti91/following{/other_user}", + "gists_url": "https://api.github.com/users/Walti91/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Walti91/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Walti91/subscriptions", + "organizations_url": "https://api.github.com/users/Walti91/orgs", + "repos_url": "https://api.github.com/users/Walti91/repos", + "events_url": "https://api.github.com/users/Walti91/events{/privacy}", + "received_events_url": "https://api.github.com/users/Walti91/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/Walti91/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": true, + "url": "https://api.github.com/repos/Walti91/zendesk-java-client", + "forks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/Walti91/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Walti91/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Walti91/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/Walti91/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/Walti91/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/Walti91/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Walti91/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Walti91/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/Walti91/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Walti91/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Walti91/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/Walti91/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Walti91/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/Walti91/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Walti91/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/Walti91/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/Walti91/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Walti91/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Walti91/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Walti91/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/Walti91/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/Walti91/zendesk-java-client/deployments", + "created_at": "2023-03-02T14:22:26Z", + "updated_at": "2023-03-02T15:21:34Z", + "pushed_at": "2023-03-02T15:21:28Z", + "git_url": "git://github.com/Walti91/zendesk-java-client.git", + "ssh_url": "git@github.com:Walti91/zendesk-java-client.git", + "clone_url": "https://github.com/Walti91/zendesk-java-client.git", + "svn_url": "https://github.com/Walti91/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1135, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "cloudbees-oss:master", + "ref": "master", + "sha": "5b633c37a9587c33ed45b6b87a359f7ed56c205d", + "user": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 9222517, + "node_id": "MDEwOlJlcG9zaXRvcnk5MjIyNTE3", + "name": "zendesk-java-client", + "full_name": "cloudbees-oss/zendesk-java-client", + "private": false, + "owner": { + "login": "cloudbees-oss", + "id": 18043353, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE4MDQzMzUz", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cloudbees-oss", + "html_url": "https://github.com/cloudbees-oss", + "followers_url": "https://api.github.com/users/cloudbees-oss/followers", + "following_url": "https://api.github.com/users/cloudbees-oss/following{/other_user}", + "gists_url": "https://api.github.com/users/cloudbees-oss/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cloudbees-oss/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cloudbees-oss/subscriptions", + "organizations_url": "https://api.github.com/users/cloudbees-oss/orgs", + "repos_url": "https://api.github.com/users/cloudbees-oss/repos", + "events_url": "https://api.github.com/users/cloudbees-oss/events{/privacy}", + "received_events_url": "https://api.github.com/users/cloudbees-oss/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "description": "A Java client library for interacting with Zendesk", + "fork": false, + "url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client", + "forks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/forks", + "keys_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/teams", + "hooks_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/hooks", + "issue_events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/events{/number}", + "events_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/events", + "assignees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/assignees{/user}", + "branches_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/branches{/branch}", + "tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/tags", + "blobs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/{sha}", + "languages_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/languages", + "stargazers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/stargazers", + "contributors_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contributors", + "subscribers_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscribers", + "subscription_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/subscription", + "commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/contents/{+path}", + "compare_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/merges", + "archive_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/downloads", + "issues_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues{/number}", + "pulls_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls{/number}", + "milestones_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/milestones{/number}", + "notifications_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/labels{/name}", + "releases_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/releases{/id}", + "deployments_url": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/deployments", + "created_at": "2013-04-04T16:29:19Z", + "updated_at": "2022-12-04T18:47:20Z", + "pushed_at": "2023-03-02T15:25:39Z", + "git_url": "git://github.com/cloudbees-oss/zendesk-java-client.git", + "ssh_url": "git@github.com:cloudbees-oss/zendesk-java-client.git", + "clone_url": "https://github.com/cloudbees-oss/zendesk-java-client.git", + "svn_url": "https://github.com/cloudbees-oss/zendesk-java-client", + "homepage": "https://developer.zendesk.com/rest_api/docs/api-clients/java#zendesk-java-client-by-cloudbees", + "size": 1160, + "stargazers_count": 145, + "watchers_count": 145, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": true, + "forks_count": 238, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 9, + "license": { + "key": "apache-2.0", + "name": "Apache License 2.0", + "spdx_id": "Apache-2.0", + "url": "https://api.github.com/licenses/apache-2.0", + "node_id": "MDc6TGljZW5zZTI=" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "support-team" + ], + "visibility": "public", + "forks": 238, + "open_issues": 9, + "watchers": 145, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545" + }, + "html": { + "href": "https://github.com/cloudbees-oss/zendesk-java-client/pull/545" + }, + "issue": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545" + }, + "comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/issues/545/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/pulls/545/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/cloudbees-oss/zendesk-java-client/statuses/e6d1c779143db4531cc7a441dd64f55ce72770d2" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-03-03T10:51:49Z", + "org": { + "id": 18043353, + "login": "cloudbees-oss", + "gravatar_id": "", + "url": "https://api.github.com/orgs/cloudbees-oss", + "avatar_url": "https://avatars.githubusercontent.com/u/18043353?" + } + }, + { + "id": "27449881624", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 617210, + "name": "hub4j/github-api", + "url": "https://api.github.com/repos/hub4j/github-api" + }, + "payload": { + "action": "opened", + "number": 1624, + "pull_request": { + "url": "https://api.github.com/repos/hub4j/github-api/pulls/1624", + "id": 1260748442, + "node_id": "PR_kwDOAAlq-s5LJX6a", + "html_url": "https://github.com/hub4j/github-api/pull/1624", + "diff_url": "https://github.com/hub4j/github-api/pull/1624.diff", + "patch_url": "https://github.com/hub4j/github-api/pull/1624.patch", + "issue_url": "https://api.github.com/repos/hub4j/github-api/issues/1624", + "number": 1624, + "state": "open", + "locked": false, + "title": "Generify OrgAppInstallationAuthorizationProvider to support any kind of app lookup.", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "# Description\r\n\r\nThe `OrgAppInstallationAuthorizationProvider` only works with organization level apps, leaving out user apps. The bulk of the class logic remains useful to perform application lookup other ways (eg using the installation id), or even to lookup for user application.\r\n\r\nThis PR provides a way for the API user to provide its own lookup logic.\r\n\r\nThis PR is submitted as a draft because:\r\n* I would need access to the `hub4j-test-org` as well as the installation id of the test app to finish writing the tests.\r\n* I'm not 100% convinced `OrgAppInstallationAuthorizationProvider` should be deprecated. The way I see it, it's not useless and just a maintenance burden...\r\n\r\n# Before submitting a PR:\r\n\r\n- [x] Changes must not break binary backwards compatibility. If you are unclear on how to make the change you think is needed while maintaining backward compatibility, [CONTRIBUTING.md](CONTRIBUTING.md) for details.\r\n- [x] Add JavaDocs and other comments as appropriate. Consider including links in comments to relevant documentation on https://docs.github.com/en/rest . \r\n- [ ] Add tests that cover any added or changed code. This generally requires capturing snapshot test data. See [CONTRIBUTING.md](CONTRIBUTING.md) for details.\r\n- [x] Run `mvn -D enable-ci clean install site` locally. If this command doesn't succeed, your change will not pass CI.\r\n- [x] Push your changes to a branch other than `main`. You will create your PR from that branch.\r\n\r\n# When creating a PR: \r\n\r\n- [x] Fill in the \"Description\" above with clear summary of the changes. This includes:\r\n- ~[ ] If this PR fixes one or more issues, include \"Fixes #\" lines for each issue.~ \r\n- ~[ ] Provide links to relevant documentation on https://docs.github.com/en/rest where possible.~\r\n- [ ] All lines of new code should be covered by tests as reported by code coverage. Any lines that are not covered must have PR comments explaining why they cannot be covered. For example, \"Reaching this particular exception is hard and is not a particular common scenario.\"\r\n- [x] Enable \"Allow edits from maintainers\".\r\n", + "created_at": "2023-03-02T16:37:48Z", + "updated_at": "2023-03-02T16:37:48Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": true, + "commits_url": "https://api.github.com/repos/hub4j/github-api/pulls/1624/commits", + "review_comments_url": "https://api.github.com/repos/hub4j/github-api/pulls/1624/comments", + "review_comment_url": "https://api.github.com/repos/hub4j/github-api/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/1624/comments", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/e222a60017b9a598298ddcba7337b676b5756103", + "head": { + "label": "PierreBtz:pbeitz/generic-install-provider", + "ref": "pbeitz/generic-install-provider", + "sha": "e222a60017b9a598298ddcba7337b676b5756103", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 608727059, + "node_id": "R_kgDOJEhwEw", + "name": "github-api", + "full_name": "PierreBtz/github-api", + "private": false, + "owner": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/PierreBtz/github-api", + "description": "Java API for GitHub", + "fork": true, + "url": "https://api.github.com/repos/PierreBtz/github-api", + "forks_url": "https://api.github.com/repos/PierreBtz/github-api/forks", + "keys_url": "https://api.github.com/repos/PierreBtz/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/PierreBtz/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/PierreBtz/github-api/teams", + "hooks_url": "https://api.github.com/repos/PierreBtz/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/PierreBtz/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/PierreBtz/github-api/events", + "assignees_url": "https://api.github.com/repos/PierreBtz/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/PierreBtz/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/PierreBtz/github-api/tags", + "blobs_url": "https://api.github.com/repos/PierreBtz/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/PierreBtz/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/PierreBtz/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/PierreBtz/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/PierreBtz/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/PierreBtz/github-api/languages", + "stargazers_url": "https://api.github.com/repos/PierreBtz/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/PierreBtz/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/PierreBtz/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/PierreBtz/github-api/subscription", + "commits_url": "https://api.github.com/repos/PierreBtz/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/PierreBtz/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/PierreBtz/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/PierreBtz/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/PierreBtz/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/PierreBtz/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/PierreBtz/github-api/merges", + "archive_url": "https://api.github.com/repos/PierreBtz/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/PierreBtz/github-api/downloads", + "issues_url": "https://api.github.com/repos/PierreBtz/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/PierreBtz/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/PierreBtz/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/PierreBtz/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/PierreBtz/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/PierreBtz/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/PierreBtz/github-api/deployments", + "created_at": "2023-03-02T16:03:12Z", + "updated_at": "2023-02-28T04:43:18Z", + "pushed_at": "2023-03-02T16:28:49Z", + "git_url": "git://github.com/PierreBtz/github-api.git", + "ssh_url": "git@github.com:PierreBtz/github-api.git", + "clone_url": "https://github.com/PierreBtz/github-api.git", + "svn_url": "https://github.com/PierreBtz/github-api", + "homepage": "https://github-api.kohsuke.org/", + "size": 41016, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main" + } + }, + "base": { + "label": "hub4j:main", + "ref": "main", + "sha": "600933b58a9c4b80e863ca4358f68217a794cbb9", + "user": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "2023-02-28T04:43:18Z", + "pushed_at": "2023-03-02T16:37:49Z", + "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": "https://github-api.kohsuke.org/", + "size": 41016, + "stargazers_count": 982, + "watchers_count": 982, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "has_discussions": true, + "forks_count": 662, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 138, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 662, + "open_issues": 138, + "watchers": 982, + "default_branch": "main" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/hub4j/github-api/pulls/1624" + }, + "html": { + "href": "https://github.com/hub4j/github-api/pull/1624" + }, + "issue": { + "href": "https://api.github.com/repos/hub4j/github-api/issues/1624" + }, + "comments": { + "href": "https://api.github.com/repos/hub4j/github-api/issues/1624/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/hub4j/github-api/pulls/1624/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/hub4j/github-api/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/hub4j/github-api/pulls/1624/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/hub4j/github-api/statuses/e222a60017b9a598298ddcba7337b676b5756103" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null, + "merged": false, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": null, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": true, + "commits": 1, + "additions": 86, + "deletions": 46, + "changed_files": 4 + } + }, + "public": true, + "created_at": "2023-03-02T16:37:49Z", + "org": { + "id": 54909825, + "login": "hub4j", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j", + "avatar_url": "https://avatars.githubusercontent.com/u/54909825?" + } + }, + { + "id": "27449651542", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 608727059, + "name": "PierreBtz/github-api", + "url": "https://api.github.com/repos/PierreBtz/github-api" + }, + "payload": { + "ref": "pbeitz/generic-install-provider", + "ref_type": "branch", + "master_branch": "main", + "description": "Java API for GitHub", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-03-02T16:28:53Z" + }, + { + "id": "27448947676", + "type": "ForkEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 617210, + "name": "hub4j/github-api", + "url": "https://api.github.com/repos/hub4j/github-api" + }, + "payload": { + "forkee": { + "id": 608727059, + "node_id": "R_kgDOJEhwEw", + "name": "github-api", + "full_name": "PierreBtz/github-api", + "private": false, + "owner": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/PierreBtz/github-api", + "description": "Java API for GitHub", + "fork": true, + "url": "https://api.github.com/repos/PierreBtz/github-api", + "forks_url": "https://api.github.com/repos/PierreBtz/github-api/forks", + "keys_url": "https://api.github.com/repos/PierreBtz/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/PierreBtz/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/PierreBtz/github-api/teams", + "hooks_url": "https://api.github.com/repos/PierreBtz/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/PierreBtz/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/PierreBtz/github-api/events", + "assignees_url": "https://api.github.com/repos/PierreBtz/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/PierreBtz/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/PierreBtz/github-api/tags", + "blobs_url": "https://api.github.com/repos/PierreBtz/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/PierreBtz/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/PierreBtz/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/PierreBtz/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/PierreBtz/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/PierreBtz/github-api/languages", + "stargazers_url": "https://api.github.com/repos/PierreBtz/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/PierreBtz/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/PierreBtz/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/PierreBtz/github-api/subscription", + "commits_url": "https://api.github.com/repos/PierreBtz/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/PierreBtz/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/PierreBtz/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/PierreBtz/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/PierreBtz/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/PierreBtz/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/PierreBtz/github-api/merges", + "archive_url": "https://api.github.com/repos/PierreBtz/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/PierreBtz/github-api/downloads", + "issues_url": "https://api.github.com/repos/PierreBtz/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/PierreBtz/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/PierreBtz/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/PierreBtz/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/PierreBtz/github-api/labels{/name}", + "releases_url": "https://api.github.com/repos/PierreBtz/github-api/releases{/id}", + "deployments_url": "https://api.github.com/repos/PierreBtz/github-api/deployments", + "created_at": "2023-03-02T16:03:12Z", + "updated_at": "2023-02-28T04:43:18Z", + "pushed_at": "2023-03-01T02:56:26Z", + "git_url": "git://github.com/PierreBtz/github-api.git", + "ssh_url": "git@github.com:PierreBtz/github-api.git", + "clone_url": "https://github.com/PierreBtz/github-api.git", + "svn_url": "https://github.com/PierreBtz/github-api", + "homepage": "https://github-api.kohsuke.org/", + "size": 41016, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "public": true + } + }, + "public": true, + "created_at": "2023-03-02T16:03:13Z", + "org": { + "id": 54909825, + "login": "hub4j", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j", + "avatar_url": "https://avatars.githubusercontent.com/u/54909825?" + } + }, + { + "id": "27288638668", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 100904802, + "name": "jenkinsci/cloudbees-jenkins-advisor-plugin", + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin" + }, + "payload": { + "repository_id": 100904802, + "push_id": 12722167193, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "4d00382fe22caedf78732525285d32bf401f15a3", + "before": "3ce35b0ff40de943389d18cdd7b6a350c4e01991", + "commits": [ + { + "sha": "89f62786d020420d17899ef79e192dafa7426652", + "author": { + "email": "49699333+dependabot[bot]@users.noreply.github.com", + "name": "dependabot[bot]" + }, + "message": "Bump wiremock-jre8-standalone from 2.34.0 to 2.35.0\n\nBumps [wiremock-jre8-standalone](https://github.com/wiremock/wiremock) from 2.34.0 to 2.35.0.\n- [Release notes](https://github.com/wiremock/wiremock/releases)\n- [Commits](https://github.com/wiremock/wiremock/compare/2.34.0...2.35.0)\n\n---\nupdated-dependencies:\n- dependency-name: com.github.tomakehurst:wiremock-jre8-standalone\n dependency-type: direct:development\n update-type: version-update:semver-minor\n...\n\nSigned-off-by: dependabot[bot] ", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/commits/89f62786d020420d17899ef79e192dafa7426652" + }, + { + "sha": "4d00382fe22caedf78732525285d32bf401f15a3", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #169 from jenkinsci/dependabot/maven/com.github.tomakehurst-wiremock-jre8-standalone-2.35.0", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/commits/4d00382fe22caedf78732525285d32bf401f15a3" + } + ] + }, + "public": true, + "created_at": "2023-02-23T15:09:51Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "27288638616", + "type": "DeleteEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 100904802, + "name": "jenkinsci/cloudbees-jenkins-advisor-plugin", + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin" + }, + "payload": { + "ref": "dependabot/maven/com.github.tomakehurst-wiremock-jre8-standalone-2.35.0", + "ref_type": "branch", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-02-23T15:09:50Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "27288638428", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 100904802, + "name": "jenkinsci/cloudbees-jenkins-advisor-plugin", + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin" + }, + "payload": { + "action": "closed", + "number": 169, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/169", + "id": 1112158880, + "node_id": "PR_kwDOBgOvYs5CSjKg", + "html_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/169", + "diff_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/169.diff", + "patch_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/169.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/169", + "number": 169, + "state": "closed", + "locked": false, + "title": "Bump wiremock-jre8-standalone from 2.34.0 to 2.35.0", + "user": { + "login": "dependabot[bot]", + "id": 49699333, + "node_id": "MDM6Qm90NDk2OTkzMzM=", + "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dependabot%5Bbot%5D", + "html_url": "https://github.com/apps/dependabot", + "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", + "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", + "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", + "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", + "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", + "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", + "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", + "type": "Bot", + "site_admin": false + }, + "body": "Bumps [wiremock-jre8-standalone](https://github.com/wiremock/wiremock) from 2.34.0 to 2.35.0.\n
    \nRelease notes\n

    Sourced from wiremock-jre8-standalone's releases.

    \n
    \n

    2.35.0

    \n

    Enhancements

    \n
      \n
    • Add a negative contains matcher - thanks Damian Orzepowski
    • \n
    • Expose a Java API method for removing stubs by ID - thanks Patryk Fraczek
    • \n
    • Document the import API in the OpenAPI doc - thanks to user i-whammy
    • \n
    • Added the ability to restrict the addresses WireMock can proxy/record to, as a security measure.
    • \n
    \n

    Fixes

    \n
      \n
    • Strip Maven directories from the standalone JAR as some were appearing that weren't related to dependencies actually present, confusing scanning tools - thanks to user krageon
    • \n
    • Dropped back to slf4j 1.7.36 and relocate it in the standalone JAR (ensuring 2.x users won't experience conflicts).
    • \n
    \n
    \n
    \n
    \nCommits\n
      \n
    • a137ab1 Fixed #1684 - Expose remove stub mapping by ID (#1986)
    • \n
    • 6cfd74d Bump mockito-core from 4.8.0 to 4.8.1 (#1998)
    • \n
    • 328f6e5 Bumped minor version
    • \n
    • e1368f4 Added slf4j no-op (disables logging and annoying messages from slf4j) to the ...
    • \n
    • 1f43b27 Dropped back down to slf4j 1.7.36 and relocated it in the standalone JAR to a...
    • \n
    • b367b7b Switched BodyChunker to use the configured notifier rather than creating its own
    • \n
    • dac7adb Bumping Handlebars library version to 4.3.1, that includes the fixed (#1995)
    • \n
    • bfc5f1d removes maven dir in output shadow jar (#1993)
    • \n
    • 0746383 Bump versions.jsonUnit from 2.35.0 to 2.36.0 (#1976)
    • \n
    • d77938b Bump asm from 9.3 to 9.4 (#1974)
    • \n
    • Additional commits viewable in compare view
    • \n
    \n
    \n
    \n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.github.tomakehurst:wiremock-jre8-standalone&package-manager=maven&previous-version=2.34.0&new-version=2.35.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
    \nDependabot commands and options\n
    \n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n
    ", + "created_at": "2022-11-07T02:00:26Z", + "updated_at": "2023-02-23T15:09:49Z", + "closed_at": "2023-02-23T15:09:49Z", + "merged_at": "2023-02-23T15:09:49Z", + "merge_commit_sha": "4d00382fe22caedf78732525285d32bf401f15a3", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "aheritier", + "id": 174600, + "node_id": "MDQ6VXNlcjE3NDYwMA==", + "avatar_url": "https://avatars.githubusercontent.com/u/174600?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/aheritier", + "html_url": "https://github.com/aheritier", + "followers_url": "https://api.github.com/users/aheritier/followers", + "following_url": "https://api.github.com/users/aheritier/following{/other_user}", + "gists_url": "https://api.github.com/users/aheritier/gists{/gist_id}", + "starred_url": "https://api.github.com/users/aheritier/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/aheritier/subscriptions", + "organizations_url": "https://api.github.com/users/aheritier/orgs", + "repos_url": "https://api.github.com/users/aheritier/repos", + "events_url": "https://api.github.com/users/aheritier/events{/privacy}", + "received_events_url": "https://api.github.com/users/aheritier/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "kwhetstone", + "id": 14875282, + "node_id": "MDQ6VXNlcjE0ODc1Mjgy", + "avatar_url": "https://avatars.githubusercontent.com/u/14875282?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kwhetstone", + "html_url": "https://github.com/kwhetstone", + "followers_url": "https://api.github.com/users/kwhetstone/followers", + "following_url": "https://api.github.com/users/kwhetstone/following{/other_user}", + "gists_url": "https://api.github.com/users/kwhetstone/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kwhetstone/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kwhetstone/subscriptions", + "organizations_url": "https://api.github.com/users/kwhetstone/orgs", + "repos_url": "https://api.github.com/users/kwhetstone/repos", + "events_url": "https://api.github.com/users/kwhetstone/events{/privacy}", + "received_events_url": "https://api.github.com/users/kwhetstone/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 2217439742, + "node_id": "MDU6TGFiZWwyMjE3NDM5NzQy", + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/labels/dependencies", + "name": "dependencies", + "color": "0366d6", + "default": false, + "description": "Pull requests that update a dependency file" + }, + { + "id": 4678382997, + "node_id": "LA_kwDOBgOvYs8AAAABFtp1lQ", + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/labels/java", + "name": "java", + "color": "ffa221", + "default": false, + "description": "Pull requests that update Java code" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/169/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/169/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/169/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/statuses/89f62786d020420d17899ef79e192dafa7426652", + "head": { + "label": "jenkinsci:dependabot/maven/com.github.tomakehurst-wiremock-jre8-standalone-2.35.0", + "ref": "dependabot/maven/com.github.tomakehurst-wiremock-jre8-standalone-2.35.0", + "sha": "89f62786d020420d17899ef79e192dafa7426652", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 100904802, + "node_id": "MDEwOlJlcG9zaXRvcnkxMDA5MDQ4MDI=", + "name": "cloudbees-jenkins-advisor-plugin", + "full_name": "jenkinsci/cloudbees-jenkins-advisor-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin", + "description": "Jenkins Health Advisor by CloudBees proactively notifies you of problems with your Jenkins-based environment.", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/deployments", + "created_at": "2017-08-21T02:35:45Z", + "updated_at": "2023-02-23T14:52:53Z", + "pushed_at": "2023-02-23T15:09:48Z", + "git_url": "git://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin.git", + "ssh_url": "git@github.com:jenkinsci/cloudbees-jenkins-advisor-plugin.git", + "clone_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin.git", + "svn_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin", + "homepage": "https://plugins.jenkins.io/cloudbees-jenkins-advisor", + "size": 6200, + "stargazers_count": 8, + "watchers_count": 8, + "language": "Java", + "has_issues": false, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 22, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 4, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 22, + "open_issues": 4, + "watchers": 8, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "6556556832d40e575d8c236c1e8895400e71d2da", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 100904802, + "node_id": "MDEwOlJlcG9zaXRvcnkxMDA5MDQ4MDI=", + "name": "cloudbees-jenkins-advisor-plugin", + "full_name": "jenkinsci/cloudbees-jenkins-advisor-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin", + "description": "Jenkins Health Advisor by CloudBees proactively notifies you of problems with your Jenkins-based environment.", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/deployments", + "created_at": "2017-08-21T02:35:45Z", + "updated_at": "2023-02-23T14:52:53Z", + "pushed_at": "2023-02-23T15:09:48Z", + "git_url": "git://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin.git", + "ssh_url": "git@github.com:jenkinsci/cloudbees-jenkins-advisor-plugin.git", + "clone_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin.git", + "svn_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin", + "homepage": "https://plugins.jenkins.io/cloudbees-jenkins-advisor", + "size": 6200, + "stargazers_count": 8, + "watchers_count": 8, + "language": "Java", + "has_issues": false, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 22, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 4, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 22, + "open_issues": 4, + "watchers": 8, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/169" + }, + "html": { + "href": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/169" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/169" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/169/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/169/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/169/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/statuses/89f62786d020420d17899ef79e192dafa7426652" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 1, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-02-23T15:09:50Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "27288109185", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 100904802, + "name": "jenkinsci/cloudbees-jenkins-advisor-plugin", + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin" + }, + "payload": { + "repository_id": 100904802, + "push_id": 12721917437, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "3ce35b0ff40de943389d18cdd7b6a350c4e01991", + "before": "78a23dc3e50b5c4ed804d9b584da00942544420f", + "commits": [ + { + "sha": "22c441f1dcdc535d002bed6e5eabc59598dced29", + "author": { + "email": "jtnord@users.noreply.github.com", + "name": "James Nord" + }, + "message": "close stream so directory can be cleaned", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/commits/22c441f1dcdc535d002bed6e5eabc59598dced29" + }, + { + "sha": "3ce35b0ff40de943389d18cdd7b6a350c4e01991", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #180 from jtnord/close-stream", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/commits/3ce35b0ff40de943389d18cdd7b6a350c4e01991" + } + ] + }, + "public": true, + "created_at": "2023-02-23T14:51:31Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "27288108935", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 100904802, + "name": "jenkinsci/cloudbees-jenkins-advisor-plugin", + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin" + }, + "payload": { + "action": "closed", + "number": 180, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/180", + "id": 1251803969, + "node_id": "PR_kwDOBgOvYs5KnQNB", + "html_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/180", + "diff_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/180.diff", + "patch_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/180.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/180", + "number": 180, + "state": "closed", + "locked": false, + "title": "close stream so directory can be cleaned", + "user": { + "login": "jtnord", + "id": 494726, + "node_id": "MDQ6VXNlcjQ5NDcyNg==", + "avatar_url": "https://avatars.githubusercontent.com/u/494726?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jtnord", + "html_url": "https://github.com/jtnord", + "followers_url": "https://api.github.com/users/jtnord/followers", + "following_url": "https://api.github.com/users/jtnord/following{/other_user}", + "gists_url": "https://api.github.com/users/jtnord/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jtnord/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jtnord/subscriptions", + "organizations_url": "https://api.github.com/users/jtnord/orgs", + "repos_url": "https://api.github.com/users/jtnord/repos", + "events_url": "https://api.github.com/users/jtnord/events{/privacy}", + "received_events_url": "https://api.github.com/users/jtnord/received_events", + "type": "User", + "site_admin": false + }, + "body": "\r\n\r\n- [ ] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!\r\n- [ ] Ensure that the pull request title represents the desired changelog entry\r\n- [ ] Please describe what you did\r\n- [ ] Link to relevant issues in GitHub or Jira\r\n- [ ] Link to relevant pull requests, esp. upstream and downstream changes\r\n- [ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue\r\n\r\n\r\n", + "created_at": "2023-02-23T14:38:41Z", + "updated_at": "2023-02-23T14:51:30Z", + "closed_at": "2023-02-23T14:51:30Z", + "merged_at": "2023-02-23T14:51:30Z", + "merge_commit_sha": "3ce35b0ff40de943389d18cdd7b6a350c4e01991", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "aheritier", + "id": 174600, + "node_id": "MDQ6VXNlcjE3NDYwMA==", + "avatar_url": "https://avatars.githubusercontent.com/u/174600?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/aheritier", + "html_url": "https://github.com/aheritier", + "followers_url": "https://api.github.com/users/aheritier/followers", + "following_url": "https://api.github.com/users/aheritier/following{/other_user}", + "gists_url": "https://api.github.com/users/aheritier/gists{/gist_id}", + "starred_url": "https://api.github.com/users/aheritier/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/aheritier/subscriptions", + "organizations_url": "https://api.github.com/users/aheritier/orgs", + "repos_url": "https://api.github.com/users/aheritier/repos", + "events_url": "https://api.github.com/users/aheritier/events{/privacy}", + "received_events_url": "https://api.github.com/users/aheritier/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "kwhetstone", + "id": 14875282, + "node_id": "MDQ6VXNlcjE0ODc1Mjgy", + "avatar_url": "https://avatars.githubusercontent.com/u/14875282?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kwhetstone", + "html_url": "https://github.com/kwhetstone", + "followers_url": "https://api.github.com/users/kwhetstone/followers", + "following_url": "https://api.github.com/users/kwhetstone/following{/other_user}", + "gists_url": "https://api.github.com/users/kwhetstone/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kwhetstone/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kwhetstone/subscriptions", + "organizations_url": "https://api.github.com/users/kwhetstone/orgs", + "repos_url": "https://api.github.com/users/kwhetstone/repos", + "events_url": "https://api.github.com/users/kwhetstone/events{/privacy}", + "received_events_url": "https://api.github.com/users/kwhetstone/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/180/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/180/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/180/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/statuses/22c441f1dcdc535d002bed6e5eabc59598dced29", + "head": { + "label": "jtnord:close-stream", + "ref": "close-stream", + "sha": "22c441f1dcdc535d002bed6e5eabc59598dced29", + "user": { + "login": "jtnord", + "id": 494726, + "node_id": "MDQ6VXNlcjQ5NDcyNg==", + "avatar_url": "https://avatars.githubusercontent.com/u/494726?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jtnord", + "html_url": "https://github.com/jtnord", + "followers_url": "https://api.github.com/users/jtnord/followers", + "following_url": "https://api.github.com/users/jtnord/following{/other_user}", + "gists_url": "https://api.github.com/users/jtnord/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jtnord/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jtnord/subscriptions", + "organizations_url": "https://api.github.com/users/jtnord/orgs", + "repos_url": "https://api.github.com/users/jtnord/repos", + "events_url": "https://api.github.com/users/jtnord/events{/privacy}", + "received_events_url": "https://api.github.com/users/jtnord/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 605562646, + "node_id": "R_kgDOJBgnFg", + "name": "cloudbees-jenkins-advisor-plugin", + "full_name": "jtnord/cloudbees-jenkins-advisor-plugin", + "private": false, + "owner": { + "login": "jtnord", + "id": 494726, + "node_id": "MDQ6VXNlcjQ5NDcyNg==", + "avatar_url": "https://avatars.githubusercontent.com/u/494726?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jtnord", + "html_url": "https://github.com/jtnord", + "followers_url": "https://api.github.com/users/jtnord/followers", + "following_url": "https://api.github.com/users/jtnord/following{/other_user}", + "gists_url": "https://api.github.com/users/jtnord/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jtnord/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jtnord/subscriptions", + "organizations_url": "https://api.github.com/users/jtnord/orgs", + "repos_url": "https://api.github.com/users/jtnord/repos", + "events_url": "https://api.github.com/users/jtnord/events{/privacy}", + "received_events_url": "https://api.github.com/users/jtnord/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/jtnord/cloudbees-jenkins-advisor-plugin", + "description": "Jenkins Health Advisor by CloudBees proactively notifies you of problems with your Jenkins-based environment.", + "fork": true, + "url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin", + "forks_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/forks", + "keys_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/teams", + "hooks_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/events", + "assignees_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/tags", + "blobs_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/subscription", + "commits_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/merges", + "archive_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/downloads", + "issues_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/deployments", + "created_at": "2023-02-23T12:26:35Z", + "updated_at": "2022-07-13T13:28:39Z", + "pushed_at": "2023-02-23T14:38:33Z", + "git_url": "git://github.com/jtnord/cloudbees-jenkins-advisor-plugin.git", + "ssh_url": "git@github.com:jtnord/cloudbees-jenkins-advisor-plugin.git", + "clone_url": "https://github.com/jtnord/cloudbees-jenkins-advisor-plugin.git", + "svn_url": "https://github.com/jtnord/cloudbees-jenkins-advisor-plugin", + "homepage": "https://plugins.jenkins.io/cloudbees-jenkins-advisor", + "size": 6199, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "78a23dc3e50b5c4ed804d9b584da00942544420f", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 100904802, + "node_id": "MDEwOlJlcG9zaXRvcnkxMDA5MDQ4MDI=", + "name": "cloudbees-jenkins-advisor-plugin", + "full_name": "jenkinsci/cloudbees-jenkins-advisor-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin", + "description": "Jenkins Health Advisor by CloudBees proactively notifies you of problems with your Jenkins-based environment.", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/deployments", + "created_at": "2017-08-21T02:35:45Z", + "updated_at": "2022-07-13T13:28:39Z", + "pushed_at": "2023-02-23T14:51:29Z", + "git_url": "git://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin.git", + "ssh_url": "git@github.com:jenkinsci/cloudbees-jenkins-advisor-plugin.git", + "clone_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin.git", + "svn_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin", + "homepage": "https://plugins.jenkins.io/cloudbees-jenkins-advisor", + "size": 6189, + "stargazers_count": 7, + "watchers_count": 7, + "language": "Java", + "has_issues": false, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 22, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 5, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 22, + "open_issues": 5, + "watchers": 7, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/180" + }, + "html": { + "href": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/180" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/180" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/180/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/180/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/180/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/statuses/22c441f1dcdc535d002bed6e5eabc59598dced29" + } + }, + "author_association": "MEMBER", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 2, + "maintainer_can_modify": false, + "commits": 1, + "additions": 7, + "deletions": 2, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-02-23T14:51:31Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "27288103149", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 100904802, + "name": "jenkinsci/cloudbees-jenkins-advisor-plugin", + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin" + }, + "payload": { + "action": "created", + "review": { + "id": 1311476749, + "node_id": "PRR_kwDOBgOvYs5OK4wN", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "Thanks!", + "commit_id": "22c441f1dcdc535d002bed6e5eabc59598dced29", + "submitted_at": "2023-02-23T14:51:17Z", + "state": "approved", + "html_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/180#pullrequestreview-1311476749", + "pull_request_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/180", + "author_association": "CONTRIBUTOR", + "_links": { + "html": { + "href": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/180#pullrequestreview-1311476749" + }, + "pull_request": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/180" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/180", + "id": 1251803969, + "node_id": "PR_kwDOBgOvYs5KnQNB", + "html_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/180", + "diff_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/180.diff", + "patch_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/180.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/180", + "number": 180, + "state": "open", + "locked": false, + "title": "close stream so directory can be cleaned", + "user": { + "login": "jtnord", + "id": 494726, + "node_id": "MDQ6VXNlcjQ5NDcyNg==", + "avatar_url": "https://avatars.githubusercontent.com/u/494726?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jtnord", + "html_url": "https://github.com/jtnord", + "followers_url": "https://api.github.com/users/jtnord/followers", + "following_url": "https://api.github.com/users/jtnord/following{/other_user}", + "gists_url": "https://api.github.com/users/jtnord/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jtnord/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jtnord/subscriptions", + "organizations_url": "https://api.github.com/users/jtnord/orgs", + "repos_url": "https://api.github.com/users/jtnord/repos", + "events_url": "https://api.github.com/users/jtnord/events{/privacy}", + "received_events_url": "https://api.github.com/users/jtnord/received_events", + "type": "User", + "site_admin": false + }, + "body": "\r\n\r\n- [ ] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!\r\n- [ ] Ensure that the pull request title represents the desired changelog entry\r\n- [ ] Please describe what you did\r\n- [ ] Link to relevant issues in GitHub or Jira\r\n- [ ] Link to relevant pull requests, esp. upstream and downstream changes\r\n- [ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue\r\n\r\n\r\n", + "created_at": "2023-02-23T14:38:41Z", + "updated_at": "2023-02-23T14:51:17Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "121f9108d805c542280e905fcca69e1bacc4e436", + "assignee": null, + "assignees": [], + "requested_reviewers": [ + { + "login": "aheritier", + "id": 174600, + "node_id": "MDQ6VXNlcjE3NDYwMA==", + "avatar_url": "https://avatars.githubusercontent.com/u/174600?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/aheritier", + "html_url": "https://github.com/aheritier", + "followers_url": "https://api.github.com/users/aheritier/followers", + "following_url": "https://api.github.com/users/aheritier/following{/other_user}", + "gists_url": "https://api.github.com/users/aheritier/gists{/gist_id}", + "starred_url": "https://api.github.com/users/aheritier/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/aheritier/subscriptions", + "organizations_url": "https://api.github.com/users/aheritier/orgs", + "repos_url": "https://api.github.com/users/aheritier/repos", + "events_url": "https://api.github.com/users/aheritier/events{/privacy}", + "received_events_url": "https://api.github.com/users/aheritier/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "kwhetstone", + "id": 14875282, + "node_id": "MDQ6VXNlcjE0ODc1Mjgy", + "avatar_url": "https://avatars.githubusercontent.com/u/14875282?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kwhetstone", + "html_url": "https://github.com/kwhetstone", + "followers_url": "https://api.github.com/users/kwhetstone/followers", + "following_url": "https://api.github.com/users/kwhetstone/following{/other_user}", + "gists_url": "https://api.github.com/users/kwhetstone/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kwhetstone/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kwhetstone/subscriptions", + "organizations_url": "https://api.github.com/users/kwhetstone/orgs", + "repos_url": "https://api.github.com/users/kwhetstone/repos", + "events_url": "https://api.github.com/users/kwhetstone/events{/privacy}", + "received_events_url": "https://api.github.com/users/kwhetstone/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/180/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/180/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/180/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/statuses/22c441f1dcdc535d002bed6e5eabc59598dced29", + "head": { + "label": "jtnord:close-stream", + "ref": "close-stream", + "sha": "22c441f1dcdc535d002bed6e5eabc59598dced29", + "user": { + "login": "jtnord", + "id": 494726, + "node_id": "MDQ6VXNlcjQ5NDcyNg==", + "avatar_url": "https://avatars.githubusercontent.com/u/494726?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jtnord", + "html_url": "https://github.com/jtnord", + "followers_url": "https://api.github.com/users/jtnord/followers", + "following_url": "https://api.github.com/users/jtnord/following{/other_user}", + "gists_url": "https://api.github.com/users/jtnord/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jtnord/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jtnord/subscriptions", + "organizations_url": "https://api.github.com/users/jtnord/orgs", + "repos_url": "https://api.github.com/users/jtnord/repos", + "events_url": "https://api.github.com/users/jtnord/events{/privacy}", + "received_events_url": "https://api.github.com/users/jtnord/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 605562646, + "node_id": "R_kgDOJBgnFg", + "name": "cloudbees-jenkins-advisor-plugin", + "full_name": "jtnord/cloudbees-jenkins-advisor-plugin", + "private": false, + "owner": { + "login": "jtnord", + "id": 494726, + "node_id": "MDQ6VXNlcjQ5NDcyNg==", + "avatar_url": "https://avatars.githubusercontent.com/u/494726?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jtnord", + "html_url": "https://github.com/jtnord", + "followers_url": "https://api.github.com/users/jtnord/followers", + "following_url": "https://api.github.com/users/jtnord/following{/other_user}", + "gists_url": "https://api.github.com/users/jtnord/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jtnord/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jtnord/subscriptions", + "organizations_url": "https://api.github.com/users/jtnord/orgs", + "repos_url": "https://api.github.com/users/jtnord/repos", + "events_url": "https://api.github.com/users/jtnord/events{/privacy}", + "received_events_url": "https://api.github.com/users/jtnord/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/jtnord/cloudbees-jenkins-advisor-plugin", + "description": "Jenkins Health Advisor by CloudBees proactively notifies you of problems with your Jenkins-based environment.", + "fork": true, + "url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin", + "forks_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/forks", + "keys_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/teams", + "hooks_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/events", + "assignees_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/tags", + "blobs_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/subscription", + "commits_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/merges", + "archive_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/downloads", + "issues_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/deployments", + "created_at": "2023-02-23T12:26:35Z", + "updated_at": "2022-07-13T13:28:39Z", + "pushed_at": "2023-02-23T14:38:33Z", + "git_url": "git://github.com/jtnord/cloudbees-jenkins-advisor-plugin.git", + "ssh_url": "git@github.com:jtnord/cloudbees-jenkins-advisor-plugin.git", + "clone_url": "https://github.com/jtnord/cloudbees-jenkins-advisor-plugin.git", + "svn_url": "https://github.com/jtnord/cloudbees-jenkins-advisor-plugin", + "homepage": "https://plugins.jenkins.io/cloudbees-jenkins-advisor", + "size": 6199, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "78a23dc3e50b5c4ed804d9b584da00942544420f", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 100904802, + "node_id": "MDEwOlJlcG9zaXRvcnkxMDA5MDQ4MDI=", + "name": "cloudbees-jenkins-advisor-plugin", + "full_name": "jenkinsci/cloudbees-jenkins-advisor-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin", + "description": "Jenkins Health Advisor by CloudBees proactively notifies you of problems with your Jenkins-based environment.", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/deployments", + "created_at": "2017-08-21T02:35:45Z", + "updated_at": "2022-07-13T13:28:39Z", + "pushed_at": "2023-02-23T14:38:42Z", + "git_url": "git://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin.git", + "ssh_url": "git@github.com:jenkinsci/cloudbees-jenkins-advisor-plugin.git", + "clone_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin.git", + "svn_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin", + "homepage": "https://plugins.jenkins.io/cloudbees-jenkins-advisor", + "size": 6189, + "stargazers_count": 7, + "watchers_count": 7, + "language": "Java", + "has_issues": false, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 22, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 6, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 22, + "open_issues": 6, + "watchers": 7, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/180" + }, + "html": { + "href": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/180" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/180" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/180/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/180/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/180/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/statuses/22c441f1dcdc535d002bed6e5eabc59598dced29" + } + }, + "author_association": "MEMBER", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-02-23T14:51:18Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "27286675248", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 100904802, + "name": "jenkinsci/cloudbees-jenkins-advisor-plugin", + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin" + }, + "payload": { + "repository_id": 100904802, + "push_id": 12721222013, + "size": 4, + "distinct_size": 4, + "ref": "refs/heads/master", + "head": "78a23dc3e50b5c4ed804d9b584da00942544420f", + "before": "6556556832d40e575d8c236c1e8895400e71d2da", + "commits": [ + { + "sha": "123565ef635570a1b9023b1b3b6d192599fb26e1", + "author": { + "email": "jtnord@users.noreply.github.com", + "name": "James Nord" + }, + "message": "Add windows back\n\nSeveral tests are flaky and the performace of the windows agents meant\nthey where more likely than not to flake.\n\nHowever I am observing these flakes in a different CI system running\nLinux - so they are there and they are not windows specific. so it is\nbetter to have the report that the code is bad than to completely ignore\nit.", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/commits/123565ef635570a1b9023b1b3b6d192599fb26e1" + }, + { + "sha": "e08f0e6c8ace30323edfc5e667e4661620582738", + "author": { + "email": "jtnord@users.noreply.github.com", + "name": "James Nord" + }, + "message": "fix flkay BundleUploadTest.execute()", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/commits/e08f0e6c8ace30323edfc5e667e4661620582738" + }, + { + "sha": "aa4a43b1476c4a39fca15a4bace06246939a03ef", + "author": { + "email": "jtnord@users.noreply.github.com", + "name": "James Nord" + }, + "message": "alternaive approach without changing prod code", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/commits/aa4a43b1476c4a39fca15a4bace06246939a03ef" + }, + { + "sha": "78a23dc3e50b5c4ed804d9b584da00942544420f", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #179 from jtnord/bundle-upload-flake", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/commits/78a23dc3e50b5c4ed804d9b584da00942544420f" + } + ] + }, + "public": true, + "created_at": "2023-02-23T13:59:00Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "27286675063", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 100904802, + "name": "jenkinsci/cloudbees-jenkins-advisor-plugin", + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin" + }, + "payload": { + "action": "closed", + "number": 179, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/179", + "id": 1251615381, + "node_id": "PR_kwDOBgOvYs5KmiKV", + "html_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/179", + "diff_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/179.diff", + "patch_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/179.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/179", + "number": 179, + "state": "closed", + "locked": false, + "title": "Fix flaky BundleUploadTest", + "user": { + "login": "jtnord", + "id": 494726, + "node_id": "MDQ6VXNlcjQ5NDcyNg==", + "avatar_url": "https://avatars.githubusercontent.com/u/494726?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jtnord", + "html_url": "https://github.com/jtnord", + "followers_url": "https://api.github.com/users/jtnord/followers", + "following_url": "https://api.github.com/users/jtnord/following{/other_user}", + "gists_url": "https://api.github.com/users/jtnord/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jtnord/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jtnord/subscriptions", + "organizations_url": "https://api.github.com/users/jtnord/orgs", + "repos_url": "https://api.github.com/users/jtnord/repos", + "events_url": "https://api.github.com/users/jtnord/events{/privacy}", + "received_events_url": "https://api.github.com/users/jtnord/received_events", + "type": "User", + "site_admin": false + }, + "body": "`BundleUploadTest` is flaky and the performance of the windows agents meant they where more likely than not to flake.\r\n\r\nHowever I am observing these flakes in a different CI system running Linux.\r\n\r\nthis changes the test to call the synchonous `execute(TaskListener)` rather than the asynchronous `run`\r\n\r\n\r\n\r\n- [x] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!\r\n- [x] Ensure that the pull request title represents the desired changelog entry\r\n- [x] Please describe what you did\r\n- [ ] Link to relevant issues in GitHub or Jira\r\n- [x] Link to relevant pull requests, esp. upstream and downstream changes\r\n- [x] Ensure you have provided tests - that demonstrates feature works or fixes the issue\r\n\r\n\r\n", + "created_at": "2023-02-23T12:28:42Z", + "updated_at": "2023-02-23T13:58:59Z", + "closed_at": "2023-02-23T13:58:59Z", + "merged_at": "2023-02-23T13:58:58Z", + "merge_commit_sha": "78a23dc3e50b5c4ed804d9b584da00942544420f", + "assignee": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_reviewers": [ + { + "login": "aheritier", + "id": 174600, + "node_id": "MDQ6VXNlcjE3NDYwMA==", + "avatar_url": "https://avatars.githubusercontent.com/u/174600?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/aheritier", + "html_url": "https://github.com/aheritier", + "followers_url": "https://api.github.com/users/aheritier/followers", + "following_url": "https://api.github.com/users/aheritier/following{/other_user}", + "gists_url": "https://api.github.com/users/aheritier/gists{/gist_id}", + "starred_url": "https://api.github.com/users/aheritier/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/aheritier/subscriptions", + "organizations_url": "https://api.github.com/users/aheritier/orgs", + "repos_url": "https://api.github.com/users/aheritier/repos", + "events_url": "https://api.github.com/users/aheritier/events{/privacy}", + "received_events_url": "https://api.github.com/users/aheritier/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "kwhetstone", + "id": 14875282, + "node_id": "MDQ6VXNlcjE0ODc1Mjgy", + "avatar_url": "https://avatars.githubusercontent.com/u/14875282?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kwhetstone", + "html_url": "https://github.com/kwhetstone", + "followers_url": "https://api.github.com/users/kwhetstone/followers", + "following_url": "https://api.github.com/users/kwhetstone/following{/other_user}", + "gists_url": "https://api.github.com/users/kwhetstone/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kwhetstone/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kwhetstone/subscriptions", + "organizations_url": "https://api.github.com/users/kwhetstone/orgs", + "repos_url": "https://api.github.com/users/kwhetstone/repos", + "events_url": "https://api.github.com/users/kwhetstone/events{/privacy}", + "received_events_url": "https://api.github.com/users/kwhetstone/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 2409220647, + "node_id": "MDU6TGFiZWwyNDA5MjIwNjQ3", + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/labels/chore", + "name": "chore", + "color": "0096aa", + "default": false, + "description": "" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/179/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/179/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/179/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/statuses/aa4a43b1476c4a39fca15a4bace06246939a03ef", + "head": { + "label": "jtnord:bundle-upload-flake", + "ref": "bundle-upload-flake", + "sha": "aa4a43b1476c4a39fca15a4bace06246939a03ef", + "user": { + "login": "jtnord", + "id": 494726, + "node_id": "MDQ6VXNlcjQ5NDcyNg==", + "avatar_url": "https://avatars.githubusercontent.com/u/494726?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jtnord", + "html_url": "https://github.com/jtnord", + "followers_url": "https://api.github.com/users/jtnord/followers", + "following_url": "https://api.github.com/users/jtnord/following{/other_user}", + "gists_url": "https://api.github.com/users/jtnord/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jtnord/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jtnord/subscriptions", + "organizations_url": "https://api.github.com/users/jtnord/orgs", + "repos_url": "https://api.github.com/users/jtnord/repos", + "events_url": "https://api.github.com/users/jtnord/events{/privacy}", + "received_events_url": "https://api.github.com/users/jtnord/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 605562646, + "node_id": "R_kgDOJBgnFg", + "name": "cloudbees-jenkins-advisor-plugin", + "full_name": "jtnord/cloudbees-jenkins-advisor-plugin", + "private": false, + "owner": { + "login": "jtnord", + "id": 494726, + "node_id": "MDQ6VXNlcjQ5NDcyNg==", + "avatar_url": "https://avatars.githubusercontent.com/u/494726?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jtnord", + "html_url": "https://github.com/jtnord", + "followers_url": "https://api.github.com/users/jtnord/followers", + "following_url": "https://api.github.com/users/jtnord/following{/other_user}", + "gists_url": "https://api.github.com/users/jtnord/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jtnord/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jtnord/subscriptions", + "organizations_url": "https://api.github.com/users/jtnord/orgs", + "repos_url": "https://api.github.com/users/jtnord/repos", + "events_url": "https://api.github.com/users/jtnord/events{/privacy}", + "received_events_url": "https://api.github.com/users/jtnord/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/jtnord/cloudbees-jenkins-advisor-plugin", + "description": "Jenkins Health Advisor by CloudBees proactively notifies you of problems with your Jenkins-based environment.", + "fork": true, + "url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin", + "forks_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/forks", + "keys_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/teams", + "hooks_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/events", + "assignees_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/tags", + "blobs_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/subscription", + "commits_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/merges", + "archive_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/downloads", + "issues_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/deployments", + "created_at": "2023-02-23T12:26:35Z", + "updated_at": "2022-07-13T13:28:39Z", + "pushed_at": "2023-02-23T13:42:37Z", + "git_url": "git://github.com/jtnord/cloudbees-jenkins-advisor-plugin.git", + "ssh_url": "git@github.com:jtnord/cloudbees-jenkins-advisor-plugin.git", + "clone_url": "https://github.com/jtnord/cloudbees-jenkins-advisor-plugin.git", + "svn_url": "https://github.com/jtnord/cloudbees-jenkins-advisor-plugin", + "homepage": "https://plugins.jenkins.io/cloudbees-jenkins-advisor", + "size": 6194, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "6556556832d40e575d8c236c1e8895400e71d2da", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 100904802, + "node_id": "MDEwOlJlcG9zaXRvcnkxMDA5MDQ4MDI=", + "name": "cloudbees-jenkins-advisor-plugin", + "full_name": "jenkinsci/cloudbees-jenkins-advisor-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin", + "description": "Jenkins Health Advisor by CloudBees proactively notifies you of problems with your Jenkins-based environment.", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/deployments", + "created_at": "2017-08-21T02:35:45Z", + "updated_at": "2022-07-13T13:28:39Z", + "pushed_at": "2023-02-23T13:58:58Z", + "git_url": "git://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin.git", + "ssh_url": "git@github.com:jenkinsci/cloudbees-jenkins-advisor-plugin.git", + "clone_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin.git", + "svn_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin", + "homepage": "https://plugins.jenkins.io/cloudbees-jenkins-advisor", + "size": 6189, + "stargazers_count": 7, + "watchers_count": 7, + "language": "Java", + "has_issues": false, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 22, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 5, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 22, + "open_issues": 5, + "watchers": 7, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/179" + }, + "html": { + "href": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/179" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/179" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/179/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/179/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/179/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/statuses/aa4a43b1476c4a39fca15a4bace06246939a03ef" + } + }, + "author_association": "MEMBER", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 3, + "additions": 13, + "deletions": 16, + "changed_files": 2 + } + }, + "public": true, + "created_at": "2023-02-23T13:59:00Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "27286672479", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 100904802, + "name": "jenkinsci/cloudbees-jenkins-advisor-plugin", + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin" + }, + "payload": { + "action": "created", + "review": { + "id": 1311373908, + "node_id": "PRR_kwDOBgOvYs5OKfpU", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "lgtm, thanks!", + "commit_id": "aa4a43b1476c4a39fca15a4bace06246939a03ef", + "submitted_at": "2023-02-23T13:58:52Z", + "state": "approved", + "html_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/179#pullrequestreview-1311373908", + "pull_request_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/179", + "author_association": "CONTRIBUTOR", + "_links": { + "html": { + "href": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/179#pullrequestreview-1311373908" + }, + "pull_request": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/179" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/179", + "id": 1251615381, + "node_id": "PR_kwDOBgOvYs5KmiKV", + "html_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/179", + "diff_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/179.diff", + "patch_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/179.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/179", + "number": 179, + "state": "open", + "locked": false, + "title": "Fix flaky BundleUploadTest", + "user": { + "login": "jtnord", + "id": 494726, + "node_id": "MDQ6VXNlcjQ5NDcyNg==", + "avatar_url": "https://avatars.githubusercontent.com/u/494726?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jtnord", + "html_url": "https://github.com/jtnord", + "followers_url": "https://api.github.com/users/jtnord/followers", + "following_url": "https://api.github.com/users/jtnord/following{/other_user}", + "gists_url": "https://api.github.com/users/jtnord/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jtnord/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jtnord/subscriptions", + "organizations_url": "https://api.github.com/users/jtnord/orgs", + "repos_url": "https://api.github.com/users/jtnord/repos", + "events_url": "https://api.github.com/users/jtnord/events{/privacy}", + "received_events_url": "https://api.github.com/users/jtnord/received_events", + "type": "User", + "site_admin": false + }, + "body": "`BundleUploadTest` is flaky and the performance of the windows agents meant they where more likely than not to flake.\r\n\r\nHowever I am observing these flakes in a different CI system running Linux.\r\n\r\nthis changes the test to call the synchonous `execute(TaskListener)` rather than the asynchronous `run`\r\n\r\n\r\n\r\n- [x] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!\r\n- [x] Ensure that the pull request title represents the desired changelog entry\r\n- [x] Please describe what you did\r\n- [ ] Link to relevant issues in GitHub or Jira\r\n- [x] Link to relevant pull requests, esp. upstream and downstream changes\r\n- [x] Ensure you have provided tests - that demonstrates feature works or fixes the issue\r\n\r\n\r\n", + "created_at": "2023-02-23T12:28:42Z", + "updated_at": "2023-02-23T13:58:53Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "862aa8e9ac0451803bfefc27ba9075d3aa223dd4", + "assignee": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_reviewers": [ + { + "login": "aheritier", + "id": 174600, + "node_id": "MDQ6VXNlcjE3NDYwMA==", + "avatar_url": "https://avatars.githubusercontent.com/u/174600?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/aheritier", + "html_url": "https://github.com/aheritier", + "followers_url": "https://api.github.com/users/aheritier/followers", + "following_url": "https://api.github.com/users/aheritier/following{/other_user}", + "gists_url": "https://api.github.com/users/aheritier/gists{/gist_id}", + "starred_url": "https://api.github.com/users/aheritier/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/aheritier/subscriptions", + "organizations_url": "https://api.github.com/users/aheritier/orgs", + "repos_url": "https://api.github.com/users/aheritier/repos", + "events_url": "https://api.github.com/users/aheritier/events{/privacy}", + "received_events_url": "https://api.github.com/users/aheritier/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "kwhetstone", + "id": 14875282, + "node_id": "MDQ6VXNlcjE0ODc1Mjgy", + "avatar_url": "https://avatars.githubusercontent.com/u/14875282?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kwhetstone", + "html_url": "https://github.com/kwhetstone", + "followers_url": "https://api.github.com/users/kwhetstone/followers", + "following_url": "https://api.github.com/users/kwhetstone/following{/other_user}", + "gists_url": "https://api.github.com/users/kwhetstone/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kwhetstone/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kwhetstone/subscriptions", + "organizations_url": "https://api.github.com/users/kwhetstone/orgs", + "repos_url": "https://api.github.com/users/kwhetstone/repos", + "events_url": "https://api.github.com/users/kwhetstone/events{/privacy}", + "received_events_url": "https://api.github.com/users/kwhetstone/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_teams": [], + "labels": [ + { + "id": 2409220647, + "node_id": "MDU6TGFiZWwyNDA5MjIwNjQ3", + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/labels/chore", + "name": "chore", + "color": "0096aa", + "default": false, + "description": "" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/179/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/179/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/179/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/statuses/aa4a43b1476c4a39fca15a4bace06246939a03ef", + "head": { + "label": "jtnord:bundle-upload-flake", + "ref": "bundle-upload-flake", + "sha": "aa4a43b1476c4a39fca15a4bace06246939a03ef", + "user": { + "login": "jtnord", + "id": 494726, + "node_id": "MDQ6VXNlcjQ5NDcyNg==", + "avatar_url": "https://avatars.githubusercontent.com/u/494726?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jtnord", + "html_url": "https://github.com/jtnord", + "followers_url": "https://api.github.com/users/jtnord/followers", + "following_url": "https://api.github.com/users/jtnord/following{/other_user}", + "gists_url": "https://api.github.com/users/jtnord/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jtnord/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jtnord/subscriptions", + "organizations_url": "https://api.github.com/users/jtnord/orgs", + "repos_url": "https://api.github.com/users/jtnord/repos", + "events_url": "https://api.github.com/users/jtnord/events{/privacy}", + "received_events_url": "https://api.github.com/users/jtnord/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 605562646, + "node_id": "R_kgDOJBgnFg", + "name": "cloudbees-jenkins-advisor-plugin", + "full_name": "jtnord/cloudbees-jenkins-advisor-plugin", + "private": false, + "owner": { + "login": "jtnord", + "id": 494726, + "node_id": "MDQ6VXNlcjQ5NDcyNg==", + "avatar_url": "https://avatars.githubusercontent.com/u/494726?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jtnord", + "html_url": "https://github.com/jtnord", + "followers_url": "https://api.github.com/users/jtnord/followers", + "following_url": "https://api.github.com/users/jtnord/following{/other_user}", + "gists_url": "https://api.github.com/users/jtnord/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jtnord/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jtnord/subscriptions", + "organizations_url": "https://api.github.com/users/jtnord/orgs", + "repos_url": "https://api.github.com/users/jtnord/repos", + "events_url": "https://api.github.com/users/jtnord/events{/privacy}", + "received_events_url": "https://api.github.com/users/jtnord/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/jtnord/cloudbees-jenkins-advisor-plugin", + "description": "Jenkins Health Advisor by CloudBees proactively notifies you of problems with your Jenkins-based environment.", + "fork": true, + "url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin", + "forks_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/forks", + "keys_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/teams", + "hooks_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/events", + "assignees_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/tags", + "blobs_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/subscription", + "commits_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/merges", + "archive_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/downloads", + "issues_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jtnord/cloudbees-jenkins-advisor-plugin/deployments", + "created_at": "2023-02-23T12:26:35Z", + "updated_at": "2022-07-13T13:28:39Z", + "pushed_at": "2023-02-23T13:42:37Z", + "git_url": "git://github.com/jtnord/cloudbees-jenkins-advisor-plugin.git", + "ssh_url": "git@github.com:jtnord/cloudbees-jenkins-advisor-plugin.git", + "clone_url": "https://github.com/jtnord/cloudbees-jenkins-advisor-plugin.git", + "svn_url": "https://github.com/jtnord/cloudbees-jenkins-advisor-plugin", + "homepage": "https://plugins.jenkins.io/cloudbees-jenkins-advisor", + "size": 6194, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "6556556832d40e575d8c236c1e8895400e71d2da", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 100904802, + "node_id": "MDEwOlJlcG9zaXRvcnkxMDA5MDQ4MDI=", + "name": "cloudbees-jenkins-advisor-plugin", + "full_name": "jenkinsci/cloudbees-jenkins-advisor-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin", + "description": "Jenkins Health Advisor by CloudBees proactively notifies you of problems with your Jenkins-based environment.", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/deployments", + "created_at": "2017-08-21T02:35:45Z", + "updated_at": "2022-07-13T13:28:39Z", + "pushed_at": "2023-02-23T13:42:39Z", + "git_url": "git://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin.git", + "ssh_url": "git@github.com:jenkinsci/cloudbees-jenkins-advisor-plugin.git", + "clone_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin.git", + "svn_url": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin", + "homepage": "https://plugins.jenkins.io/cloudbees-jenkins-advisor", + "size": 6189, + "stargazers_count": 7, + "watchers_count": 7, + "language": "Java", + "has_issues": false, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 22, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 6, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 22, + "open_issues": 6, + "watchers": 7, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/179" + }, + "html": { + "href": "https://github.com/jenkinsci/cloudbees-jenkins-advisor-plugin/pull/179" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/179" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/issues/179/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/179/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/pulls/179/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/cloudbees-jenkins-advisor-plugin/statuses/aa4a43b1476c4a39fca15a4bace06246939a03ef" + } + }, + "author_association": "MEMBER", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-02-23T13:58:54Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26773120026", + "type": "DeleteEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 138700053, + "name": "PierreBtz/audit-trail-plugin", + "url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin" + }, + "payload": { + "ref": "pbeitz/skip-flake", + "ref_type": "branch", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-01-31T15:22:40Z" + }, + { + "id": "26773119562", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "push_id": 12461081779, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "be1bb0f1238c362c836accd83224280fd7f39364", + "before": "9eddd71ac0c36f19e514c4a95ccb5572646d9e0c", + "commits": [ + { + "sha": "a97813beedc82c8d6436735f7467daf4824691e4", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "[chore] skip flacky test on Windows", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/a97813beedc82c8d6436735f7467daf4824691e4" + }, + { + "sha": "be1bb0f1238c362c836accd83224280fd7f39364", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #103 from PierreBtz/pbeitz/skip-flake", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/be1bb0f1238c362c836accd83224280fd7f39364" + } + ] + }, + "public": true, + "created_at": "2023-01-31T15:22:40Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26773119247", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "action": "closed", + "number": 103, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/103", + "id": 1223485424, + "node_id": "PR_kwDOABHApc5I7Ofw", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/103", + "diff_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/103.diff", + "patch_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/103.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/103", + "number": 103, + "state": "closed", + "locked": false, + "title": "[chore] skip flacky test on Windows", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": null, + "created_at": "2023-01-31T15:22:32Z", + "updated_at": "2023-01-31T15:22:38Z", + "closed_at": "2023-01-31T15:22:38Z", + "merged_at": "2023-01-31T15:22:38Z", + "merge_commit_sha": "be1bb0f1238c362c836accd83224280fd7f39364", + "assignee": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_reviewers": [], + "requested_teams": [], + "labels": [ + { + "id": 1682161962, + "node_id": "MDU6TGFiZWwxNjgyMTYxOTYy", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels/chore", + "name": "chore", + "color": "cc7c14", + "default": false, + "description": "" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/103/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/103/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/103/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/a97813beedc82c8d6436735f7467daf4824691e4", + "head": { + "label": "PierreBtz:pbeitz/skip-flake", + "ref": "pbeitz/skip-flake", + "sha": "a97813beedc82c8d6436735f7467daf4824691e4", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 138700053, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzg3MDAwNTM=", + "name": "audit-trail-plugin", + "full_name": "PierreBtz/audit-trail-plugin", + "private": false, + "owner": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/PierreBtz/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": true, + "url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/deployments", + "created_at": "2018-06-26T07:21:38Z", + "updated_at": "2018-06-26T07:21:40Z", + "pushed_at": "2023-01-31T15:22:11Z", + "git_url": "git://github.com/PierreBtz/audit-trail-plugin.git", + "ssh_url": "git@github.com:PierreBtz/audit-trail-plugin.git", + "clone_url": "https://github.com/PierreBtz/audit-trail-plugin.git", + "svn_url": "https://github.com/PierreBtz/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 516, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "9eddd71ac0c36f19e514c4a95ccb5572646d9e0c", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 1163429, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTYzNDI5", + "name": "audit-trail-plugin", + "full_name": "jenkinsci/audit-trail-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/deployments", + "created_at": "2010-12-13T05:25:45Z", + "updated_at": "2023-01-30T10:38:51Z", + "pushed_at": "2023-01-31T15:22:37Z", + "git_url": "git://github.com/jenkinsci/audit-trail-plugin.git", + "ssh_url": "git@github.com:jenkinsci/audit-trail-plugin.git", + "clone_url": "https://github.com/jenkinsci/audit-trail-plugin.git", + "svn_url": "https://github.com/jenkinsci/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 544, + "stargazers_count": 18, + "watchers_count": 18, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 44, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "administrative-monitor", + "audit", + "logging" + ], + "visibility": "public", + "forks": 44, + "open_issues": 1, + "watchers": 18, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/103" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/103" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/103" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/103/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/103/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/103/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/a97813beedc82c8d6436735f7467daf4824691e4" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 4, + "deletions": 0, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-01-31T15:22:39Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26773116715", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "action": "opened", + "number": 103, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/103", + "id": 1223485424, + "node_id": "PR_kwDOABHApc5I7Ofw", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/103", + "diff_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/103.diff", + "patch_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/103.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/103", + "number": 103, + "state": "open", + "locked": false, + "title": "[chore] skip flacky test on Windows", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": null, + "created_at": "2023-01-31T15:22:32Z", + "updated_at": "2023-01-31T15:22:33Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "assignee": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_reviewers": [], + "requested_teams": [], + "labels": [ + { + "id": 1682161962, + "node_id": "MDU6TGFiZWwxNjgyMTYxOTYy", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels/chore", + "name": "chore", + "color": "cc7c14", + "default": false, + "description": "" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/103/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/103/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/103/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/a97813beedc82c8d6436735f7467daf4824691e4", + "head": { + "label": "PierreBtz:pbeitz/skip-flake", + "ref": "pbeitz/skip-flake", + "sha": "a97813beedc82c8d6436735f7467daf4824691e4", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 138700053, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzg3MDAwNTM=", + "name": "audit-trail-plugin", + "full_name": "PierreBtz/audit-trail-plugin", + "private": false, + "owner": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/PierreBtz/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": true, + "url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/deployments", + "created_at": "2018-06-26T07:21:38Z", + "updated_at": "2018-06-26T07:21:40Z", + "pushed_at": "2023-01-31T15:22:11Z", + "git_url": "git://github.com/PierreBtz/audit-trail-plugin.git", + "ssh_url": "git@github.com:PierreBtz/audit-trail-plugin.git", + "clone_url": "https://github.com/PierreBtz/audit-trail-plugin.git", + "svn_url": "https://github.com/PierreBtz/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 516, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "9eddd71ac0c36f19e514c4a95ccb5572646d9e0c", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 1163429, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTYzNDI5", + "name": "audit-trail-plugin", + "full_name": "jenkinsci/audit-trail-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/deployments", + "created_at": "2010-12-13T05:25:45Z", + "updated_at": "2023-01-30T10:38:51Z", + "pushed_at": "2023-01-31T15:22:33Z", + "git_url": "git://github.com/jenkinsci/audit-trail-plugin.git", + "ssh_url": "git@github.com:jenkinsci/audit-trail-plugin.git", + "clone_url": "https://github.com/jenkinsci/audit-trail-plugin.git", + "svn_url": "https://github.com/jenkinsci/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 544, + "stargazers_count": 18, + "watchers_count": 18, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 44, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "administrative-monitor", + "audit", + "logging" + ], + "visibility": "public", + "forks": 44, + "open_issues": 2, + "watchers": 18, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/103" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/103" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/103" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/103/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/103/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/103/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/a97813beedc82c8d6436735f7467daf4824691e4" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": false, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": null, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": true, + "commits": 1, + "additions": 4, + "deletions": 0, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-01-31T15:22:33Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26773107678", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 138700053, + "name": "PierreBtz/audit-trail-plugin", + "url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin" + }, + "payload": { + "ref": "pbeitz/skip-flake", + "ref_type": "branch", + "master_branch": "master", + "description": "Jenkins audit-trail plugin", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-01-31T15:22:14Z" + }, + { + "id": "26771788283", + "type": "DeleteEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 138700053, + "name": "PierreBtz/audit-trail-plugin", + "url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin" + }, + "payload": { + "ref": "pbeitz/fix-gha", + "ref_type": "branch", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-01-31T14:35:53Z" + }, + { + "id": "26771787910", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "push_id": 12460459458, + "size": 2, + "distinct_size": 2, + "ref": "refs/heads/master", + "head": "9eddd71ac0c36f19e514c4a95ccb5572646d9e0c", + "before": "b9e0b9c1a3fe5eff0ec258137d02fe88328d5035", + "commits": [ + { + "sha": "bafc2834bf788ada65b907e9158a729216ef9134", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "[chore] fix cd gha", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/bafc2834bf788ada65b907e9158a729216ef9134" + }, + { + "sha": "9eddd71ac0c36f19e514c4a95ccb5572646d9e0c", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #102 from PierreBtz/pbeitz/fix-gha", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/9eddd71ac0c36f19e514c4a95ccb5572646d9e0c" + } + ] + }, + "public": true, + "created_at": "2023-01-31T14:35:52Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26771787740", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "action": "closed", + "number": 102, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/102", + "id": 1223400412, + "node_id": "PR_kwDOABHApc5I65vc", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/102", + "diff_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/102.diff", + "patch_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/102.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/102", + "number": 102, + "state": "closed", + "locked": false, + "title": "[chore] fix cd gha", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": null, + "created_at": "2023-01-31T14:35:40Z", + "updated_at": "2023-01-31T14:35:51Z", + "closed_at": "2023-01-31T14:35:51Z", + "merged_at": "2023-01-31T14:35:50Z", + "merge_commit_sha": "9eddd71ac0c36f19e514c4a95ccb5572646d9e0c", + "assignee": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_reviewers": [], + "requested_teams": [], + "labels": [ + { + "id": 1682161962, + "node_id": "MDU6TGFiZWwxNjgyMTYxOTYy", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels/chore", + "name": "chore", + "color": "cc7c14", + "default": false, + "description": "" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/102/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/102/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/102/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/bafc2834bf788ada65b907e9158a729216ef9134", + "head": { + "label": "PierreBtz:pbeitz/fix-gha", + "ref": "pbeitz/fix-gha", + "sha": "bafc2834bf788ada65b907e9158a729216ef9134", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 138700053, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzg3MDAwNTM=", + "name": "audit-trail-plugin", + "full_name": "PierreBtz/audit-trail-plugin", + "private": false, + "owner": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/PierreBtz/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": true, + "url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/deployments", + "created_at": "2018-06-26T07:21:38Z", + "updated_at": "2018-06-26T07:21:40Z", + "pushed_at": "2023-01-31T14:35:22Z", + "git_url": "git://github.com/PierreBtz/audit-trail-plugin.git", + "ssh_url": "git@github.com:PierreBtz/audit-trail-plugin.git", + "clone_url": "https://github.com/PierreBtz/audit-trail-plugin.git", + "svn_url": "https://github.com/PierreBtz/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 516, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "b9e0b9c1a3fe5eff0ec258137d02fe88328d5035", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 1163429, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTYzNDI5", + "name": "audit-trail-plugin", + "full_name": "jenkinsci/audit-trail-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/deployments", + "created_at": "2010-12-13T05:25:45Z", + "updated_at": "2023-01-30T10:38:51Z", + "pushed_at": "2023-01-31T14:35:50Z", + "git_url": "git://github.com/jenkinsci/audit-trail-plugin.git", + "ssh_url": "git@github.com:jenkinsci/audit-trail-plugin.git", + "clone_url": "https://github.com/jenkinsci/audit-trail-plugin.git", + "svn_url": "https://github.com/jenkinsci/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 544, + "stargazers_count": 18, + "watchers_count": 18, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 44, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "administrative-monitor", + "audit", + "logging" + ], + "visibility": "public", + "forks": 44, + "open_issues": 1, + "watchers": 18, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/102" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/102" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/102" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/102/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/102/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/102/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/bafc2834bf788ada65b907e9158a729216ef9134" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 0, + "deletions": 0, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-01-31T14:35:52Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26771783825", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "action": "opened", + "number": 102, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/102", + "id": 1223400412, + "node_id": "PR_kwDOABHApc5I65vc", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/102", + "diff_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/102.diff", + "patch_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/102.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/102", + "number": 102, + "state": "open", + "locked": false, + "title": "[chore] fix cd gha", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": null, + "created_at": "2023-01-31T14:35:40Z", + "updated_at": "2023-01-31T14:35:40Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "assignee": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_reviewers": [], + "requested_teams": [], + "labels": [ + { + "id": 1682161962, + "node_id": "MDU6TGFiZWwxNjgyMTYxOTYy", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels/chore", + "name": "chore", + "color": "cc7c14", + "default": false, + "description": "" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/102/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/102/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/102/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/bafc2834bf788ada65b907e9158a729216ef9134", + "head": { + "label": "PierreBtz:pbeitz/fix-gha", + "ref": "pbeitz/fix-gha", + "sha": "bafc2834bf788ada65b907e9158a729216ef9134", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 138700053, + "node_id": "MDEwOlJlcG9zaXRvcnkxMzg3MDAwNTM=", + "name": "audit-trail-plugin", + "full_name": "PierreBtz/audit-trail-plugin", + "private": false, + "owner": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/PierreBtz/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": true, + "url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin/deployments", + "created_at": "2018-06-26T07:21:38Z", + "updated_at": "2018-06-26T07:21:40Z", + "pushed_at": "2023-01-31T14:35:22Z", + "git_url": "git://github.com/PierreBtz/audit-trail-plugin.git", + "ssh_url": "git@github.com:PierreBtz/audit-trail-plugin.git", + "clone_url": "https://github.com/PierreBtz/audit-trail-plugin.git", + "svn_url": "https://github.com/PierreBtz/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 516, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "b9e0b9c1a3fe5eff0ec258137d02fe88328d5035", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 1163429, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTYzNDI5", + "name": "audit-trail-plugin", + "full_name": "jenkinsci/audit-trail-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/deployments", + "created_at": "2010-12-13T05:25:45Z", + "updated_at": "2023-01-30T10:38:51Z", + "pushed_at": "2023-01-31T14:35:43Z", + "git_url": "git://github.com/jenkinsci/audit-trail-plugin.git", + "ssh_url": "git@github.com:jenkinsci/audit-trail-plugin.git", + "clone_url": "https://github.com/jenkinsci/audit-trail-plugin.git", + "svn_url": "https://github.com/jenkinsci/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 544, + "stargazers_count": 18, + "watchers_count": 18, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 44, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "administrative-monitor", + "audit", + "logging" + ], + "visibility": "public", + "forks": 44, + "open_issues": 2, + "watchers": 18, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/102" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/102" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/102" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/102/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/102/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/102/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/bafc2834bf788ada65b907e9158a729216ef9134" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": false, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": null, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": true, + "commits": 1, + "additions": 0, + "deletions": 0, + "changed_files": 1 + } + }, + "public": true, + "created_at": "2023-01-31T14:35:43Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26771775350", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 138700053, + "name": "PierreBtz/audit-trail-plugin", + "url": "https://api.github.com/repos/PierreBtz/audit-trail-plugin" + }, + "payload": { + "ref": "pbeitz/fix-gha", + "ref_type": "branch", + "master_branch": "master", + "description": "Jenkins audit-trail plugin", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-01-31T14:35:25Z" + }, + { + "id": "26769817679", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "push_id": 12459520855, + "size": 14, + "distinct_size": 14, + "ref": "refs/heads/master", + "head": "b9e0b9c1a3fe5eff0ec258137d02fe88328d5035", + "before": "83ffd0d99aeab297c3da748bd92031d06842dbc4", + "commits": [ + { + "sha": "ba9ea47e77bc884fcae242a5d64440e2a9f265d1", + "author": { + "email": "fbelzunc@gmail.com", + "name": "fbelzunc" + }, + "message": "Add daily rotation for LogFileAuditLogger", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/ba9ea47e77bc884fcae242a5d64440e2a9f265d1" + }, + { + "sha": "0f8d507fe3c8c26d788668fe80b89186dc426da7", + "author": { + "email": "jandreu@cloudbees.com", + "name": "Juanjo Andreu" + }, + "message": "Expanded the LogFileAuditLoggerTest with more tests and some minor typography changes in AuditTrailFilterTest", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/0f8d507fe3c8c26d788668fe80b89186dc426da7" + }, + { + "sha": "3f7782436735f499ba02d30bebf4a9693e0aed5a", + "author": { + "email": "fbelzunc@gmail.com", + "name": "fbelzunc" + }, + "message": "Fix SportBugs issues", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/3f7782436735f499ba02d30bebf4a9693e0aed5a" + }, + { + "sha": "ca3225f215adb9c6f91825af4c048f8a7ba02559", + "author": { + "email": "jandreu@cloudbees.com", + "name": "Juanjo Andreu" + }, + "message": "Deleted a method used only for tests, revamp tests a little to ensure testing properly in the same class as the unit test.", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/ca3225f215adb9c6f91825af4c048f8a7ba02559" + }, + { + "sha": "a5265d0239a0d6ae784af2d9b73d94f3442ef56a", + "author": { + "email": "fbelzunc@gmail.com", + "name": "fbelzunc" + }, + "message": "Add new test to ensure that rotation works", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/a5265d0239a0d6ae784af2d9b73d94f3442ef56a" + }, + { + "sha": "1b3f536d8751bba3a0e4fc1ffda6a9eeed138e7e", + "author": { + "email": "fbelzunc@gmail.com", + "name": "fbelzunc" + }, + "message": "Closing MockedStatic on each test", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/1b3f536d8751bba3a0e4fc1ffda6a9eeed138e7e" + }, + { + "sha": "0b367b00e8502c466cc12fcd84be1492c6b74355", + "author": { + "email": "fbelzunc@gmail.com", + "name": "fbelzunc" + }, + "message": "Address code changes from the PR review", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/0b367b00e8502c466cc12fcd84be1492c6b74355" + }, + { + "sha": "35752251c0b57bc63a5e049a17c0c1ac4bc82e3e", + "author": { + "email": "fbelzunc@gmail.com", + "name": "fbelzunc" + }, + "message": "Major refractor taking Pierre feedback/pair programming experience", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/35752251c0b57bc63a5e049a17c0c1ac4bc82e3e" + }, + { + "sha": "0402b92ec119392a5a9fe133a473c53911679682", + "author": { + "email": "fbelzunc@gmail.com", + "name": "fbelzunc" + }, + "message": "Minor changes", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/0402b92ec119392a5a9fe133a473c53911679682" + }, + { + "sha": "b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "author": { + "email": "fbelzunc@gmail.com", + "name": "fbelzunc" + }, + "message": "More minor changes", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/b65dc6cb57e438ebae7e372c812c498a32d9e9f0" + }, + { + "sha": "08b1d1a6b4af44c26b83b5f868cc585136884573", + "author": { + "email": "fbelzunc@gmail.com", + "name": "fbelzunc" + }, + "message": "Address feedback from PR review", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/08b1d1a6b4af44c26b83b5f868cc585136884573" + }, + { + "sha": "48b5e9329cccdd0d6fac3d8b0988cd86c3c53ed9", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge remote-tracking branch 'upstream/master' into daily-rotation", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/48b5e9329cccdd0d6fac3d8b0988cd86c3c53ed9" + }, + { + "sha": "ffedd60844f1298e35a116ffba35f161d7cb02d8", + "author": { + "email": "fbelzunc@gmail.com", + "name": "fbelzunc" + }, + "message": "Address feedback from PR", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/ffedd60844f1298e35a116ffba35f161d7cb02d8" + }, + { + "sha": "b9e0b9c1a3fe5eff0ec258137d02fe88328d5035", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #96 from fbelzunc/daily-rotation", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/b9e0b9c1a3fe5eff0ec258137d02fe88328d5035" + } + ] + }, + "public": true, + "created_at": "2023-01-31T13:21:39Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26769817490", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "action": "closed", + "number": 96, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "id": 1166633695, + "node_id": "PR_kwDOABHApc5FiWrf", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96", + "diff_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.diff", + "patch_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96", + "number": 96, + "state": "closed", + "locked": false, + "title": "Add daily rotation logs for LogFileAuditLogger", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "body": "The current PR adds the functionality of rotating logs daily instead of per file size.\r\n\r\nThis is very useful in case you are saving audit logs for auditing purposes as you have a file per day that represents the changes performed on that specific day. You could then send them to an S3 bucket for example. \r\n\r\nThe files will be created in the specified configured location `Log Location: /tmp/audit-trail-logs/audit.log` and will create files like the ones below. Adding at the end of the specified file a data timestamp.\r\n\r\n```\r\naudit.log-2022-12-16\r\naudit.log-2022-12-15\r\naudit.log-2022-12-14\r\n```\r\n\r\nCC @chikitulfo\r\n\r\n\r\n\r\n- [X] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!\r\n- [X] Ensure that the pull request title represents the desired changelog entry\r\n- [X] Please describe what you did\r\n- [ ] Link to relevant issues in GitHub or Jira\r\n- [ ] Link to relevant pull requests, esp. upstream and downstream changes\r\n- [X] Ensure you have provided tests - that demonstrates feature works or fixes the issue\r\n\r\n\r\n", + "created_at": "2022-12-15T11:28:13Z", + "updated_at": "2023-01-31T13:21:37Z", + "closed_at": "2023-01-31T13:21:37Z", + "merged_at": "2023-01-31T13:21:37Z", + "merge_commit_sha": "b9e0b9c1a3fe5eff0ec258137d02fe88328d5035", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/ffedd60844f1298e35a116ffba35f161d7cb02d8", + "head": { + "label": "fbelzunc:daily-rotation", + "ref": "daily-rotation", + "sha": "ffedd60844f1298e35a116ffba35f161d7cb02d8", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 539839949, + "node_id": "R_kgDOIC1NzQ", + "name": "audit-trail-plugin", + "full_name": "fbelzunc/audit-trail-plugin", + "private": false, + "owner": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/fbelzunc/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": true, + "url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/deployments", + "created_at": "2022-09-22T06:51:59Z", + "updated_at": "2022-08-21T18:06:56Z", + "pushed_at": "2023-01-31T12:12:34Z", + "git_url": "git://github.com/fbelzunc/audit-trail-plugin.git", + "ssh_url": "git@github.com:fbelzunc/audit-trail-plugin.git", + "clone_url": "https://github.com/fbelzunc/audit-trail-plugin.git", + "svn_url": "https://github.com/fbelzunc/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 542, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "83ffd0d99aeab297c3da748bd92031d06842dbc4", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 1163429, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTYzNDI5", + "name": "audit-trail-plugin", + "full_name": "jenkinsci/audit-trail-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/deployments", + "created_at": "2010-12-13T05:25:45Z", + "updated_at": "2023-01-30T10:38:51Z", + "pushed_at": "2023-01-31T13:21:37Z", + "git_url": "git://github.com/jenkinsci/audit-trail-plugin.git", + "ssh_url": "git@github.com:jenkinsci/audit-trail-plugin.git", + "clone_url": "https://github.com/jenkinsci/audit-trail-plugin.git", + "svn_url": "https://github.com/jenkinsci/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 505, + "stargazers_count": 18, + "watchers_count": 18, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 44, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "administrative-monitor", + "audit", + "logging" + ], + "visibility": "public", + "forks": 44, + "open_issues": 1, + "watchers": 18, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/ffedd60844f1298e35a116ffba35f161d7cb02d8" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 5, + "review_comments": 17, + "maintainer_can_modify": false, + "commits": 13, + "additions": 491, + "deletions": 117, + "changed_files": 10 + } + }, + "public": true, + "created_at": "2023-01-31T13:21:38Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26766205341", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 539839949, + "name": "fbelzunc/audit-trail-plugin", + "url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin" + }, + "payload": { + "push_id": 12457752366, + "size": 7, + "distinct_size": 7, + "ref": "refs/heads/daily-rotation", + "head": "48b5e9329cccdd0d6fac3d8b0988cd86c3c53ed9", + "before": "08b1d1a6b4af44c26b83b5f868cc585136884573", + "commits": [ + { + "sha": "8c0fccc7bd0f33941b95ea330978f0db19ded4a8", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "[JENKINS-70313] Update the doc to reflect the current behavior of the plugin", + "distinct": true, + "url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/commits/8c0fccc7bd0f33941b95ea330978f0db19ded4a8" + }, + { + "sha": "ba116f0a2a47d62ee93bddd7c0c44c15dd123e86", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #100 from jenkinsci/PierreBtz-patch-1", + "distinct": true, + "url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/commits/ba116f0a2a47d62ee93bddd7c0c44c15dd123e86" + }, + { + "sha": "011e37643be88235af68fc9ea1b67a00d0241c91", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Bump minimal Jenkins version to 2.361.1", + "distinct": true, + "url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/commits/011e37643be88235af68fc9ea1b67a00d0241c91" + }, + { + "sha": "6ed85073af7d3253ed941f7d23539de38551c124", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Specify target jdks (also add 17 to check in advance for potential issues).", + "distinct": true, + "url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/commits/6ed85073af7d3253ed941f7d23539de38551c124" + }, + { + "sha": "01c9283a6ee5770d8b10567da5d67ceae0e67b73", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Replace unsupported tt tags with code", + "distinct": true, + "url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/commits/01c9283a6ee5770d8b10567da5d67ceae0e67b73" + }, + { + "sha": "83ffd0d99aeab297c3da748bd92031d06842dbc4", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #101 from jenkinsci/PierreBtz-patch-1\n\nBump minimal Jenkins version to 2.361.1", + "distinct": true, + "url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/commits/83ffd0d99aeab297c3da748bd92031d06842dbc4" + }, + { + "sha": "48b5e9329cccdd0d6fac3d8b0988cd86c3c53ed9", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge remote-tracking branch 'upstream/master' into daily-rotation", + "distinct": true, + "url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/commits/48b5e9329cccdd0d6fac3d8b0988cd86c3c53ed9" + } + ] + }, + "public": true, + "created_at": "2023-01-31T10:49:09Z" + }, + { + "id": "26766086691", + "type": "PullRequestReviewCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "action": "created", + "comment": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments/1091748795", + "pull_request_review_id": 1276920961, + "id": 1091748795, + "node_id": "PRRC_kwDOABHApc5BEsO7", + "diff_hunk": "@@ -1,147 +1,54 @@\n package hudson.plugins.audit_trail;\n \n import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;\n-import hudson.EnvVars;\n import hudson.Extension;\n-import hudson.Util;\n import hudson.model.Descriptor;\n import org.kohsuke.stapler.DataBoundConstructor;\n \n-import javax.annotation.Nonnull;\n-import java.io.File;\n import java.io.IOException;\n-import java.nio.file.NoSuchFileException;\n-import java.text.SimpleDateFormat;\n-import java.util.Date;\n-import java.util.Optional;\n import java.util.logging.FileHandler;\n-import java.util.logging.Formatter;\n-import java.util.logging.Level;\n-import java.util.logging.LogRecord;\n-import java.util.logging.Logger;\n-\n-import static java.util.logging.Level.CONFIG;\n \n /**\n * @author Nicolas De Loof\n * @author Pierre Beitz\n */\n-public class LogFileAuditLogger extends AuditLogger {\n-\n- private static final Logger LOGGER = Logger.getLogger(LogFileAuditLogger.class.getName());\n- static final String DEFAULT_LOG_SEPARATOR=\" \";\n- @Nonnull\n- private String logSeparator;\n+public class LogFileAuditLogger extends AbstractLogFileAuditLogger {\n \n- private transient FileHandler handler;\n+ private int limit = 1;\n \n @DataBoundConstructor\n public LogFileAuditLogger(String log, int limit, int count, String logSeparator) {\n- this.log = Util.replaceMacro(log, EnvVars.masterEnvVars);\n+ super(log, count, logSeparator);\n this.limit = limit;\n- this.count = count;\n- this.logSeparator = Optional.ofNullable(logSeparator).orElse(DEFAULT_LOG_SEPARATOR);\n configure();\n }\n \n @SuppressFBWarnings(\n- value=\"RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE\",\n+ value = \"RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE\",\n justification = \"value can be null if no config file exists\")\n- private Object readResolve() {\n- if(logSeparator == null) {\n- logSeparator = DEFAULT_LOG_SEPARATOR;\n- }\n+ Object readResolve() {\n+ super.readResolve();\n configure();\n return this;\n }\n \n @Override\n- public void log(String event) {\n- if (handler == null) return;\n- handler.publish(new LogRecord(CONFIG, event));\n+ FileHandler getLogFileHandler() throws IOException {\n+ return new FileHandler(getLog(), getLimit() * 1024 * 1024, getCount(), true);\n }\n \n- private String log;\n- private int limit = 1;\n- private int count = 1;\n-\n- public String getLog() { return log; }\n-\n- public int getLimit() { return limit; }\n-\n- public int getCount() { return count; }\n-\n- @Nonnull\n- public String getLogSeparator() {\n- return logSeparator;\n+ public int getLimit() {\n+ return limit;\n }\n \n @Override\n public boolean equals(Object o) {\n- if (this == o) return true;\n- if (!(o instanceof LogFileAuditLogger)) return false;\n-\n- LogFileAuditLogger that = (LogFileAuditLogger) o;\n-\n- if (count != that.count) return false;\n- if (limit != that.limit) return false;\n- if (!logSeparator.equals(that.logSeparator)) return false;\n- if (log != null ? !log.equals(that.log) : that.log != null) return false;\n-\n- return true;\n+ return super.equals(o);", + "path": "src/main/java/hudson/plugins/audit_trail/LogFileAuditLogger.java", + "position": 102, + "original_position": 102, + "commit_id": "08b1d1a6b4af44c26b83b5f868cc585136884573", + "original_commit_id": "08b1d1a6b4af44c26b83b5f868cc585136884573", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "ditto", + "created_at": "2023-01-31T10:43:04Z", + "updated_at": "2023-01-31T10:44:02Z", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#discussion_r1091748795", + "pull_request_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "author_association": "CONTRIBUTOR", + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments/1091748795" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#discussion_r1091748795" + }, + "pull_request": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + } + }, + "reactions": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments/1091748795/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 46, + "original_line": 46, + "side": "RIGHT" + }, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "id": 1166633695, + "node_id": "PR_kwDOABHApc5FiWrf", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96", + "diff_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.diff", + "patch_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96", + "number": 96, + "state": "open", + "locked": false, + "title": "Add daily rotation logs for LogFileAuditLogger", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "body": "The current PR adds the functionality of rotating logs daily instead of per file size.\r\n\r\nThis is very useful in case you are saving audit logs for auditing purposes as you have a file per day that represents the changes performed on that specific day. You could then send them to an S3 bucket for example. \r\n\r\nThe files will be created in the specified configured location `Log Location: /tmp/audit-trail-logs/audit.log` and will create files like the ones below. Adding at the end of the specified file a data timestamp.\r\n\r\n```\r\naudit.log-2022-12-16\r\naudit.log-2022-12-15\r\naudit.log-2022-12-14\r\n```\r\n\r\nCC @chikitulfo\r\n\r\n\r\n\r\n- [X] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!\r\n- [X] Ensure that the pull request title represents the desired changelog entry\r\n- [X] Please describe what you did\r\n- [ ] Link to relevant issues in GitHub or Jira\r\n- [ ] Link to relevant pull requests, esp. upstream and downstream changes\r\n- [X] Ensure you have provided tests - that demonstrates feature works or fixes the issue\r\n\r\n\r\n", + "created_at": "2022-12-15T11:28:13Z", + "updated_at": "2023-01-31T10:44:02Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "d77b47123b0afb97df321d270f29bf9b4667a2af", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/08b1d1a6b4af44c26b83b5f868cc585136884573", + "head": { + "label": "fbelzunc:daily-rotation", + "ref": "daily-rotation", + "sha": "08b1d1a6b4af44c26b83b5f868cc585136884573", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 539839949, + "node_id": "R_kgDOIC1NzQ", + "name": "audit-trail-plugin", + "full_name": "fbelzunc/audit-trail-plugin", + "private": false, + "owner": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/fbelzunc/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": true, + "url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/deployments", + "created_at": "2022-09-22T06:51:59Z", + "updated_at": "2022-08-21T18:06:56Z", + "pushed_at": "2023-01-31T09:41:38Z", + "git_url": "git://github.com/fbelzunc/audit-trail-plugin.git", + "ssh_url": "git@github.com:fbelzunc/audit-trail-plugin.git", + "clone_url": "https://github.com/fbelzunc/audit-trail-plugin.git", + "svn_url": "https://github.com/fbelzunc/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 530, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "b948de58ee2258e22d6d5ab7863a769ea3847c2a", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 1163429, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTYzNDI5", + "name": "audit-trail-plugin", + "full_name": "jenkinsci/audit-trail-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/deployments", + "created_at": "2010-12-13T05:25:45Z", + "updated_at": "2023-01-30T10:38:51Z", + "pushed_at": "2023-01-31T09:41:40Z", + "git_url": "git://github.com/jenkinsci/audit-trail-plugin.git", + "ssh_url": "git@github.com:jenkinsci/audit-trail-plugin.git", + "clone_url": "https://github.com/jenkinsci/audit-trail-plugin.git", + "svn_url": "https://github.com/jenkinsci/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 505, + "stargazers_count": 18, + "watchers_count": 18, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 44, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "administrative-monitor", + "audit", + "logging" + ], + "visibility": "public", + "forks": 44, + "open_issues": 2, + "watchers": 18, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/08b1d1a6b4af44c26b83b5f868cc585136884573" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-01-31T10:43:04Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user_9881659_events_public-9.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user_9881659_events_public-9.json new file mode 100644 index 0000000000..647ba93441 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/user_9881659_events_public-9.json @@ -0,0 +1,5525 @@ +[ + { + "id": "26766086665", + "type": "PullRequestReviewCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "action": "created", + "comment": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments/1091748559", + "pull_request_review_id": 1276920961, + "id": 1091748559, + "node_id": "PRRC_kwDOABHApc5BEsLP", + "diff_hunk": "@@ -0,0 +1,172 @@\n+package hudson.plugins.audit_trail;\n+\n+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;\n+import hudson.Extension;\n+import hudson.model.Descriptor;\n+import org.apache.commons.io.FileUtils;\n+import org.apache.commons.io.FilenameUtils;\n+import org.apache.commons.io.filefilter.DirectoryFileFilter;\n+import org.apache.commons.io.filefilter.RegexFileFilter;\n+import org.kohsuke.stapler.DataBoundConstructor;\n+\n+import java.io.File;\n+import java.io.IOException;\n+import java.nio.file.Path;\n+import java.nio.file.Paths;\n+import java.time.Duration;\n+import java.time.Instant;\n+import java.time.ZoneId;\n+import java.time.ZonedDateTime;\n+import java.time.format.DateTimeFormatter;\n+import java.time.temporal.ChronoUnit;\n+import java.util.Collection;\n+import java.util.List;\n+import java.util.logging.FileHandler;\n+import java.util.logging.Level;\n+import java.util.logging.Logger;\n+import java.util.regex.Matcher;\n+import java.util.regex.Pattern;\n+import java.util.stream.Collectors;\n+\n+import static org.apache.commons.io.comparator.LastModifiedFileComparator.LASTMODIFIED_REVERSE;\n+\n+public class LogFileDailyRotationAuditLogger extends AbstractLogFileAuditLogger {\n+\n+ private static final Logger LOGGER = Logger.getLogger(LogFileDailyRotationAuditLogger.class.getName());\n+ static final String DAILY_ROTATING_FILE_REGEX_PATTERN = \"-[0-9]{4}-[0-9]{2}-[0-9]{2}\" + \".*\" + \"(? files = FileUtils.listFiles(new File(directoryPath.toString()), new RegexFileFilter(\".*\" + FilenameUtils.getName(basePattern.toString()) + DAILY_ROTATING_FILE_REGEX_PATTERN), DirectoryFileFilter.DIRECTORY);\n+ if (files.size() > 0) {\n+ List orderedList = files.stream().sorted(LASTMODIFIED_REVERSE).collect(Collectors.toList());\n+ File lastFile = orderedList.get(0);\n+ Matcher matcher = Pattern.compile(\"[0-9]{4}-[0-9]{2}-[0-9]{2}\").matcher(lastFile.getName());\n+ if (matcher.find()) {\n+ // Initialize initInstant with the date saved on the audit file name\n+ // See example https://stackoverflow.com/questions/14385834/java-regex-group-0\n+ initInstant = Instant.parse(matcher.group(0) + \"T00:00:00.00Z\").atZone(ZoneId.systemDefault());\n+ }\n+ }\n+ }\n+ // Initialize initInstant to the current instant\n+ if (initInstant == null) {\n+ initInstant = ZonedDateTime.now().truncatedTo(ChronoUnit.DAYS);\n+ }\n+ configure();\n+ }\n+\n+ String computePattern() {\n+ DateTimeFormatter formatter = DateTimeFormatter.ofPattern(\"yyyy-MM-dd\").withZone(ZoneId.systemDefault());\n+ String formattedInstant = formatter.format(initInstant);\n+ String computedFileName = String.format(\"%s-%s\", FilenameUtils.getName(basePattern.toString()) , formattedInstant);\n+ Path parentFolder = basePattern.getParent();\n+ if (parentFolder != null) {\n+ return parentFolder.resolve(computedFileName).toString();\n+ }\n+ return computedFileName;\n+ }\n+\n+ private boolean shouldRotate() {\n+ return ZonedDateTime.now().isAfter(initInstant.plus(Duration.ofDays(1)));\n+ }\n+\n+ /**\n+ * Rotates the daily rotation logger\n+ */\n+ private void rotate() {\n+ if (getHandler() != null) {\n+ getHandler().close();\n+ }\n+ initInstant = ZonedDateTime.now().truncatedTo(ChronoUnit.DAYS);\n+ configure();\n+ // After rotating remove old files\n+ removeOldFiles();\n+ }\n+\n+ private void removeOldFiles() {\n+ Path directoryPath = basePattern.getParent();\n+ if (directoryPath != null) {\n+ Collection files = FileUtils.listFiles(directoryPath.toFile(), new RegexFileFilter(\".*\" + FilenameUtils.getName(basePattern.toString()) + DAILY_ROTATING_FILE_REGEX_PATTERN), DirectoryFileFilter.DIRECTORY);\n+ if (files.size() > getCount()) {\n+ List orderedList = files.stream().sorted(LASTMODIFIED_REVERSE).collect(Collectors.toList());\n+ List toDelete = orderedList.subList(getCount(), orderedList.size());\n+ for (File file : toDelete) {\n+ if (!file.delete()) {\n+ LOGGER.log(Level.SEVERE, \"File {0} could not be removed on rotate overation\", file.getName());\n+ }\n+ }\n+ }\n+ }\n+ }\n+\n+ @Override\n+ public void log(String event) {\n+ // to avoid synchronizing the whole method\n+ if (shouldRotate()) {\n+ synchronized (this) {\n+ if (shouldRotate()) rotate();\n+ }\n+ }\n+ super.log(event);\n+ }\n+\n+ @Override\n+ public boolean equals(Object o) {", + "path": "src/main/java/hudson/plugins/audit_trail/LogFileDailyRotationAuditLogger.java", + "position": 155, + "original_position": 155, + "commit_id": "08b1d1a6b4af44c26b83b5f868cc585136884573", + "original_commit_id": "08b1d1a6b4af44c26b83b5f868cc585136884573", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "This is implicit in Java. Perhaps you wanted to add the `initInstant` to the comparison?", + "created_at": "2023-01-31T10:42:50Z", + "updated_at": "2023-01-31T10:44:02Z", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#discussion_r1091748559", + "pull_request_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "author_association": "CONTRIBUTOR", + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments/1091748559" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#discussion_r1091748559" + }, + "pull_request": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + } + }, + "reactions": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments/1091748559/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 155, + "original_line": 155, + "side": "RIGHT" + }, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "id": 1166633695, + "node_id": "PR_kwDOABHApc5FiWrf", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96", + "diff_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.diff", + "patch_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96", + "number": 96, + "state": "open", + "locked": false, + "title": "Add daily rotation logs for LogFileAuditLogger", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "body": "The current PR adds the functionality of rotating logs daily instead of per file size.\r\n\r\nThis is very useful in case you are saving audit logs for auditing purposes as you have a file per day that represents the changes performed on that specific day. You could then send them to an S3 bucket for example. \r\n\r\nThe files will be created in the specified configured location `Log Location: /tmp/audit-trail-logs/audit.log` and will create files like the ones below. Adding at the end of the specified file a data timestamp.\r\n\r\n```\r\naudit.log-2022-12-16\r\naudit.log-2022-12-15\r\naudit.log-2022-12-14\r\n```\r\n\r\nCC @chikitulfo\r\n\r\n\r\n\r\n- [X] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!\r\n- [X] Ensure that the pull request title represents the desired changelog entry\r\n- [X] Please describe what you did\r\n- [ ] Link to relevant issues in GitHub or Jira\r\n- [ ] Link to relevant pull requests, esp. upstream and downstream changes\r\n- [X] Ensure you have provided tests - that demonstrates feature works or fixes the issue\r\n\r\n\r\n", + "created_at": "2022-12-15T11:28:13Z", + "updated_at": "2023-01-31T10:44:02Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "d77b47123b0afb97df321d270f29bf9b4667a2af", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/08b1d1a6b4af44c26b83b5f868cc585136884573", + "head": { + "label": "fbelzunc:daily-rotation", + "ref": "daily-rotation", + "sha": "08b1d1a6b4af44c26b83b5f868cc585136884573", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 539839949, + "node_id": "R_kgDOIC1NzQ", + "name": "audit-trail-plugin", + "full_name": "fbelzunc/audit-trail-plugin", + "private": false, + "owner": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/fbelzunc/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": true, + "url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/deployments", + "created_at": "2022-09-22T06:51:59Z", + "updated_at": "2022-08-21T18:06:56Z", + "pushed_at": "2023-01-31T09:41:38Z", + "git_url": "git://github.com/fbelzunc/audit-trail-plugin.git", + "ssh_url": "git@github.com:fbelzunc/audit-trail-plugin.git", + "clone_url": "https://github.com/fbelzunc/audit-trail-plugin.git", + "svn_url": "https://github.com/fbelzunc/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 530, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "b948de58ee2258e22d6d5ab7863a769ea3847c2a", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 1163429, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTYzNDI5", + "name": "audit-trail-plugin", + "full_name": "jenkinsci/audit-trail-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/deployments", + "created_at": "2010-12-13T05:25:45Z", + "updated_at": "2023-01-30T10:38:51Z", + "pushed_at": "2023-01-31T09:41:40Z", + "git_url": "git://github.com/jenkinsci/audit-trail-plugin.git", + "ssh_url": "git@github.com:jenkinsci/audit-trail-plugin.git", + "clone_url": "https://github.com/jenkinsci/audit-trail-plugin.git", + "svn_url": "https://github.com/jenkinsci/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 505, + "stargazers_count": 18, + "watchers_count": 18, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 44, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "administrative-monitor", + "audit", + "logging" + ], + "visibility": "public", + "forks": 44, + "open_issues": 2, + "watchers": 18, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/08b1d1a6b4af44c26b83b5f868cc585136884573" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-01-31T10:42:50Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26766086677", + "type": "PullRequestReviewCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "action": "created", + "comment": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments/1091748676", + "pull_request_review_id": 1276920961, + "id": 1091748676, + "node_id": "PRRC_kwDOABHApc5BEsNE", + "diff_hunk": "@@ -0,0 +1,172 @@\n+package hudson.plugins.audit_trail;\n+\n+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;\n+import hudson.Extension;\n+import hudson.model.Descriptor;\n+import org.apache.commons.io.FileUtils;\n+import org.apache.commons.io.FilenameUtils;\n+import org.apache.commons.io.filefilter.DirectoryFileFilter;\n+import org.apache.commons.io.filefilter.RegexFileFilter;\n+import org.kohsuke.stapler.DataBoundConstructor;\n+\n+import java.io.File;\n+import java.io.IOException;\n+import java.nio.file.Path;\n+import java.nio.file.Paths;\n+import java.time.Duration;\n+import java.time.Instant;\n+import java.time.ZoneId;\n+import java.time.ZonedDateTime;\n+import java.time.format.DateTimeFormatter;\n+import java.time.temporal.ChronoUnit;\n+import java.util.Collection;\n+import java.util.List;\n+import java.util.logging.FileHandler;\n+import java.util.logging.Level;\n+import java.util.logging.Logger;\n+import java.util.regex.Matcher;\n+import java.util.regex.Pattern;\n+import java.util.stream.Collectors;\n+\n+import static org.apache.commons.io.comparator.LastModifiedFileComparator.LASTMODIFIED_REVERSE;\n+\n+public class LogFileDailyRotationAuditLogger extends AbstractLogFileAuditLogger {\n+\n+ private static final Logger LOGGER = Logger.getLogger(LogFileDailyRotationAuditLogger.class.getName());\n+ static final String DAILY_ROTATING_FILE_REGEX_PATTERN = \"-[0-9]{4}-[0-9]{2}-[0-9]{2}\" + \".*\" + \"(? files = FileUtils.listFiles(new File(directoryPath.toString()), new RegexFileFilter(\".*\" + FilenameUtils.getName(basePattern.toString()) + DAILY_ROTATING_FILE_REGEX_PATTERN), DirectoryFileFilter.DIRECTORY);\n+ if (files.size() > 0) {\n+ List orderedList = files.stream().sorted(LASTMODIFIED_REVERSE).collect(Collectors.toList());\n+ File lastFile = orderedList.get(0);\n+ Matcher matcher = Pattern.compile(\"[0-9]{4}-[0-9]{2}-[0-9]{2}\").matcher(lastFile.getName());\n+ if (matcher.find()) {\n+ // Initialize initInstant with the date saved on the audit file name\n+ // See example https://stackoverflow.com/questions/14385834/java-regex-group-0\n+ initInstant = Instant.parse(matcher.group(0) + \"T00:00:00.00Z\").atZone(ZoneId.systemDefault());\n+ }\n+ }\n+ }\n+ // Initialize initInstant to the current instant\n+ if (initInstant == null) {\n+ initInstant = ZonedDateTime.now().truncatedTo(ChronoUnit.DAYS);\n+ }\n+ configure();\n+ }\n+\n+ String computePattern() {\n+ DateTimeFormatter formatter = DateTimeFormatter.ofPattern(\"yyyy-MM-dd\").withZone(ZoneId.systemDefault());\n+ String formattedInstant = formatter.format(initInstant);\n+ String computedFileName = String.format(\"%s-%s\", FilenameUtils.getName(basePattern.toString()) , formattedInstant);\n+ Path parentFolder = basePattern.getParent();\n+ if (parentFolder != null) {\n+ return parentFolder.resolve(computedFileName).toString();\n+ }\n+ return computedFileName;\n+ }\n+\n+ private boolean shouldRotate() {\n+ return ZonedDateTime.now().isAfter(initInstant.plus(Duration.ofDays(1)));\n+ }\n+\n+ /**\n+ * Rotates the daily rotation logger\n+ */\n+ private void rotate() {\n+ if (getHandler() != null) {\n+ getHandler().close();\n+ }\n+ initInstant = ZonedDateTime.now().truncatedTo(ChronoUnit.DAYS);\n+ configure();\n+ // After rotating remove old files\n+ removeOldFiles();\n+ }\n+\n+ private void removeOldFiles() {\n+ Path directoryPath = basePattern.getParent();\n+ if (directoryPath != null) {\n+ Collection files = FileUtils.listFiles(directoryPath.toFile(), new RegexFileFilter(\".*\" + FilenameUtils.getName(basePattern.toString()) + DAILY_ROTATING_FILE_REGEX_PATTERN), DirectoryFileFilter.DIRECTORY);\n+ if (files.size() > getCount()) {\n+ List orderedList = files.stream().sorted(LASTMODIFIED_REVERSE).collect(Collectors.toList());\n+ List toDelete = orderedList.subList(getCount(), orderedList.size());\n+ for (File file : toDelete) {\n+ if (!file.delete()) {\n+ LOGGER.log(Level.SEVERE, \"File {0} could not be removed on rotate overation\", file.getName());\n+ }\n+ }\n+ }\n+ }\n+ }\n+\n+ @Override\n+ public void log(String event) {\n+ // to avoid synchronizing the whole method\n+ if (shouldRotate()) {\n+ synchronized (this) {\n+ if (shouldRotate()) rotate();\n+ }\n+ }\n+ super.log(event);\n+ }\n+\n+ @Override\n+ public boolean equals(Object o) {\n+ return super.equals(o);\n+ }\n+\n+ @Override\n+ public int hashCode() {", + "path": "src/main/java/hudson/plugins/audit_trail/LogFileDailyRotationAuditLogger.java", + "position": 160, + "original_position": 160, + "commit_id": "08b1d1a6b4af44c26b83b5f868cc585136884573", + "original_commit_id": "08b1d1a6b4af44c26b83b5f868cc585136884573", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "ditto", + "created_at": "2023-01-31T10:42:56Z", + "updated_at": "2023-01-31T10:44:02Z", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#discussion_r1091748676", + "pull_request_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "author_association": "CONTRIBUTOR", + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments/1091748676" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#discussion_r1091748676" + }, + "pull_request": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + } + }, + "reactions": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments/1091748676/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 160, + "original_line": 160, + "side": "RIGHT" + }, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "id": 1166633695, + "node_id": "PR_kwDOABHApc5FiWrf", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96", + "diff_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.diff", + "patch_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96", + "number": 96, + "state": "open", + "locked": false, + "title": "Add daily rotation logs for LogFileAuditLogger", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "body": "The current PR adds the functionality of rotating logs daily instead of per file size.\r\n\r\nThis is very useful in case you are saving audit logs for auditing purposes as you have a file per day that represents the changes performed on that specific day. You could then send them to an S3 bucket for example. \r\n\r\nThe files will be created in the specified configured location `Log Location: /tmp/audit-trail-logs/audit.log` and will create files like the ones below. Adding at the end of the specified file a data timestamp.\r\n\r\n```\r\naudit.log-2022-12-16\r\naudit.log-2022-12-15\r\naudit.log-2022-12-14\r\n```\r\n\r\nCC @chikitulfo\r\n\r\n\r\n\r\n- [X] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!\r\n- [X] Ensure that the pull request title represents the desired changelog entry\r\n- [X] Please describe what you did\r\n- [ ] Link to relevant issues in GitHub or Jira\r\n- [ ] Link to relevant pull requests, esp. upstream and downstream changes\r\n- [X] Ensure you have provided tests - that demonstrates feature works or fixes the issue\r\n\r\n\r\n", + "created_at": "2022-12-15T11:28:13Z", + "updated_at": "2023-01-31T10:44:02Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "d77b47123b0afb97df321d270f29bf9b4667a2af", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/08b1d1a6b4af44c26b83b5f868cc585136884573", + "head": { + "label": "fbelzunc:daily-rotation", + "ref": "daily-rotation", + "sha": "08b1d1a6b4af44c26b83b5f868cc585136884573", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 539839949, + "node_id": "R_kgDOIC1NzQ", + "name": "audit-trail-plugin", + "full_name": "fbelzunc/audit-trail-plugin", + "private": false, + "owner": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/fbelzunc/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": true, + "url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/deployments", + "created_at": "2022-09-22T06:51:59Z", + "updated_at": "2022-08-21T18:06:56Z", + "pushed_at": "2023-01-31T09:41:38Z", + "git_url": "git://github.com/fbelzunc/audit-trail-plugin.git", + "ssh_url": "git@github.com:fbelzunc/audit-trail-plugin.git", + "clone_url": "https://github.com/fbelzunc/audit-trail-plugin.git", + "svn_url": "https://github.com/fbelzunc/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 530, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "b948de58ee2258e22d6d5ab7863a769ea3847c2a", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 1163429, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTYzNDI5", + "name": "audit-trail-plugin", + "full_name": "jenkinsci/audit-trail-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/deployments", + "created_at": "2010-12-13T05:25:45Z", + "updated_at": "2023-01-30T10:38:51Z", + "pushed_at": "2023-01-31T09:41:40Z", + "git_url": "git://github.com/jenkinsci/audit-trail-plugin.git", + "ssh_url": "git@github.com:jenkinsci/audit-trail-plugin.git", + "clone_url": "https://github.com/jenkinsci/audit-trail-plugin.git", + "svn_url": "https://github.com/jenkinsci/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 505, + "stargazers_count": 18, + "watchers_count": 18, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 44, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "administrative-monitor", + "audit", + "logging" + ], + "visibility": "public", + "forks": 44, + "open_issues": 2, + "watchers": 18, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/08b1d1a6b4af44c26b83b5f868cc585136884573" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-01-31T10:42:56Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26766086658", + "type": "PullRequestReviewCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "action": "created", + "comment": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments/1091748885", + "pull_request_review_id": 1276920961, + "id": 1091748885, + "node_id": "PRRC_kwDOABHApc5BEsQV", + "diff_hunk": "@@ -1,147 +1,54 @@\n package hudson.plugins.audit_trail;\n \n import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;\n-import hudson.EnvVars;\n import hudson.Extension;\n-import hudson.Util;\n import hudson.model.Descriptor;\n import org.kohsuke.stapler.DataBoundConstructor;\n \n-import javax.annotation.Nonnull;\n-import java.io.File;\n import java.io.IOException;\n-import java.nio.file.NoSuchFileException;\n-import java.text.SimpleDateFormat;\n-import java.util.Date;\n-import java.util.Optional;\n import java.util.logging.FileHandler;\n-import java.util.logging.Formatter;\n-import java.util.logging.Level;\n-import java.util.logging.LogRecord;\n-import java.util.logging.Logger;\n-\n-import static java.util.logging.Level.CONFIG;\n \n /**\n * @author Nicolas De Loof\n * @author Pierre Beitz\n */\n-public class LogFileAuditLogger extends AuditLogger {\n-\n- private static final Logger LOGGER = Logger.getLogger(LogFileAuditLogger.class.getName());\n- static final String DEFAULT_LOG_SEPARATOR=\" \";\n- @Nonnull\n- private String logSeparator;\n+public class LogFileAuditLogger extends AbstractLogFileAuditLogger {\n \n- private transient FileHandler handler;\n+ private int limit = 1;\n \n @DataBoundConstructor\n public LogFileAuditLogger(String log, int limit, int count, String logSeparator) {\n- this.log = Util.replaceMacro(log, EnvVars.masterEnvVars);\n+ super(log, count, logSeparator);\n this.limit = limit;\n- this.count = count;\n- this.logSeparator = Optional.ofNullable(logSeparator).orElse(DEFAULT_LOG_SEPARATOR);\n configure();\n }\n \n @SuppressFBWarnings(\n- value=\"RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE\",\n+ value = \"RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE\",\n justification = \"value can be null if no config file exists\")\n- private Object readResolve() {\n- if(logSeparator == null) {\n- logSeparator = DEFAULT_LOG_SEPARATOR;\n- }\n+ Object readResolve() {\n+ super.readResolve();\n configure();\n return this;\n }\n \n @Override\n- public void log(String event) {\n- if (handler == null) return;\n- handler.publish(new LogRecord(CONFIG, event));\n+ FileHandler getLogFileHandler() throws IOException {\n+ return new FileHandler(getLog(), getLimit() * 1024 * 1024, getCount(), true);\n }\n \n- private String log;\n- private int limit = 1;\n- private int count = 1;\n-\n- public String getLog() { return log; }\n-\n- public int getLimit() { return limit; }\n-\n- public int getCount() { return count; }\n-\n- @Nonnull\n- public String getLogSeparator() {\n- return logSeparator;\n+ public int getLimit() {\n+ return limit;\n }\n \n @Override\n public boolean equals(Object o) {\n- if (this == o) return true;\n- if (!(o instanceof LogFileAuditLogger)) return false;\n-\n- LogFileAuditLogger that = (LogFileAuditLogger) o;\n-\n- if (count != that.count) return false;\n- if (limit != that.limit) return false;\n- if (!logSeparator.equals(that.logSeparator)) return false;\n- if (log != null ? !log.equals(that.log) : that.log != null) return false;\n-\n- return true;\n+ return super.equals(o);\n }\n \n @Override\n public int hashCode() {\n- int result = log != null ? log.hashCode() : 0;\n- result = 31 * result + limit;\n- result = 31 * result + count;\n- result = 31 * result + logSeparator.hashCode();\n- return result;\n- }\n-\n- private void configure() {\n- // looks like https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6244047 is somehow still there\n- // there is no way for us to know before hand what path we are looking to create as it would\n- // mean having access to FileHandler#generate so either reflexion or catching the exception and retrieving\n- // the path. Let's go with number 2.\n- try {\n- FileHandler h = null;\n- try {\n- h = new FileHandler(log, limit * 1024 * 1024, count, true);\n- } catch (NoSuchFileException ex) {\n- LOGGER.info(\"Couldn't create the file handler lock file, forcing creation of intermediate directories\");\n- String lockFileName = ex.getFile();\n- boolean mkdirs = new File(lockFileName).getParentFile().mkdirs();\n- if (mkdirs) {\n- h = new FileHandler(log, limit * 1024 * 1024, count, true);\n- }\n- }\n- if (h != null) {\n- h.setFormatter(new Formatter() {\n- SimpleDateFormat dateFormat = new SimpleDateFormat(\"MMM d, yyyy h:mm:ss,SSS aa\");\n-\n- @Override\n- public synchronized String format(LogRecord record) {\n- return dateFormat.format(new Date(record.getMillis())) + getLogSeparator()\n- + record.getMessage() + '\\n';\n- }\n- });\n- h.setLevel(CONFIG);\n- handler = h;\n- } else {\n- LOGGER.severe(\"Couldn't configure the plugin, as the file handler wasn't successfully created. You should report this issue\");\n- }\n- } catch (IOException ex) {\n- LOGGER.log(Level.SEVERE, \"Couldn't configure the plugin, you should report this issue\", ex);\n- }\n- }\n-\n- @Override\n- public void cleanUp() throws SecurityException {\n- if(handler != null) {\n- handler.close();\n- }\n+ return super.hashCode();", + "path": "src/main/java/hudson/plugins/audit_trail/LogFileAuditLogger.java", + "position": 156, + "original_position": 156, + "commit_id": "08b1d1a6b4af44c26b83b5f868cc585136884573", + "original_commit_id": "08b1d1a6b4af44c26b83b5f868cc585136884573", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "ditto", + "created_at": "2023-01-31T10:43:08Z", + "updated_at": "2023-01-31T10:44:02Z", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#discussion_r1091748885", + "pull_request_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "author_association": "CONTRIBUTOR", + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments/1091748885" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#discussion_r1091748885" + }, + "pull_request": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + } + }, + "reactions": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments/1091748885/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 51, + "original_line": 51, + "side": "RIGHT" + }, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "id": 1166633695, + "node_id": "PR_kwDOABHApc5FiWrf", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96", + "diff_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.diff", + "patch_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96", + "number": 96, + "state": "open", + "locked": false, + "title": "Add daily rotation logs for LogFileAuditLogger", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "body": "The current PR adds the functionality of rotating logs daily instead of per file size.\r\n\r\nThis is very useful in case you are saving audit logs for auditing purposes as you have a file per day that represents the changes performed on that specific day. You could then send them to an S3 bucket for example. \r\n\r\nThe files will be created in the specified configured location `Log Location: /tmp/audit-trail-logs/audit.log` and will create files like the ones below. Adding at the end of the specified file a data timestamp.\r\n\r\n```\r\naudit.log-2022-12-16\r\naudit.log-2022-12-15\r\naudit.log-2022-12-14\r\n```\r\n\r\nCC @chikitulfo\r\n\r\n\r\n\r\n- [X] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!\r\n- [X] Ensure that the pull request title represents the desired changelog entry\r\n- [X] Please describe what you did\r\n- [ ] Link to relevant issues in GitHub or Jira\r\n- [ ] Link to relevant pull requests, esp. upstream and downstream changes\r\n- [X] Ensure you have provided tests - that demonstrates feature works or fixes the issue\r\n\r\n\r\n", + "created_at": "2022-12-15T11:28:13Z", + "updated_at": "2023-01-31T10:44:02Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "d77b47123b0afb97df321d270f29bf9b4667a2af", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/08b1d1a6b4af44c26b83b5f868cc585136884573", + "head": { + "label": "fbelzunc:daily-rotation", + "ref": "daily-rotation", + "sha": "08b1d1a6b4af44c26b83b5f868cc585136884573", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 539839949, + "node_id": "R_kgDOIC1NzQ", + "name": "audit-trail-plugin", + "full_name": "fbelzunc/audit-trail-plugin", + "private": false, + "owner": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/fbelzunc/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": true, + "url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/deployments", + "created_at": "2022-09-22T06:51:59Z", + "updated_at": "2022-08-21T18:06:56Z", + "pushed_at": "2023-01-31T09:41:38Z", + "git_url": "git://github.com/fbelzunc/audit-trail-plugin.git", + "ssh_url": "git@github.com:fbelzunc/audit-trail-plugin.git", + "clone_url": "https://github.com/fbelzunc/audit-trail-plugin.git", + "svn_url": "https://github.com/fbelzunc/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 530, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "b948de58ee2258e22d6d5ab7863a769ea3847c2a", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 1163429, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTYzNDI5", + "name": "audit-trail-plugin", + "full_name": "jenkinsci/audit-trail-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/deployments", + "created_at": "2010-12-13T05:25:45Z", + "updated_at": "2023-01-30T10:38:51Z", + "pushed_at": "2023-01-31T09:41:40Z", + "git_url": "git://github.com/jenkinsci/audit-trail-plugin.git", + "ssh_url": "git@github.com:jenkinsci/audit-trail-plugin.git", + "clone_url": "https://github.com/jenkinsci/audit-trail-plugin.git", + "svn_url": "https://github.com/jenkinsci/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 505, + "stargazers_count": 18, + "watchers_count": 18, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 44, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "administrative-monitor", + "audit", + "logging" + ], + "visibility": "public", + "forks": 44, + "open_issues": 2, + "watchers": 18, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/08b1d1a6b4af44c26b83b5f868cc585136884573" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-01-31T10:43:08Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26766086575", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "action": "created", + "review": { + "id": 1276920961, + "node_id": "PRR_kwDOABHApc5MHESB", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "lgtm, thanks for the contribution, I'll refresh your branch onto the master branch (since it was bumped to java 11) to perform some testing on it.", + "commit_id": "08b1d1a6b4af44c26b83b5f868cc585136884573", + "submitted_at": "2023-01-31T10:44:02Z", + "state": "approved", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#pullrequestreview-1276920961", + "pull_request_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "author_association": "CONTRIBUTOR", + "_links": { + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#pullrequestreview-1276920961" + }, + "pull_request": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "id": 1166633695, + "node_id": "PR_kwDOABHApc5FiWrf", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96", + "diff_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.diff", + "patch_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96", + "number": 96, + "state": "open", + "locked": false, + "title": "Add daily rotation logs for LogFileAuditLogger", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "body": "The current PR adds the functionality of rotating logs daily instead of per file size.\r\n\r\nThis is very useful in case you are saving audit logs for auditing purposes as you have a file per day that represents the changes performed on that specific day. You could then send them to an S3 bucket for example. \r\n\r\nThe files will be created in the specified configured location `Log Location: /tmp/audit-trail-logs/audit.log` and will create files like the ones below. Adding at the end of the specified file a data timestamp.\r\n\r\n```\r\naudit.log-2022-12-16\r\naudit.log-2022-12-15\r\naudit.log-2022-12-14\r\n```\r\n\r\nCC @chikitulfo\r\n\r\n\r\n\r\n- [X] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!\r\n- [X] Ensure that the pull request title represents the desired changelog entry\r\n- [X] Please describe what you did\r\n- [ ] Link to relevant issues in GitHub or Jira\r\n- [ ] Link to relevant pull requests, esp. upstream and downstream changes\r\n- [X] Ensure you have provided tests - that demonstrates feature works or fixes the issue\r\n\r\n\r\n", + "created_at": "2022-12-15T11:28:13Z", + "updated_at": "2023-01-31T10:44:02Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "d77b47123b0afb97df321d270f29bf9b4667a2af", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/08b1d1a6b4af44c26b83b5f868cc585136884573", + "head": { + "label": "fbelzunc:daily-rotation", + "ref": "daily-rotation", + "sha": "08b1d1a6b4af44c26b83b5f868cc585136884573", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 539839949, + "node_id": "R_kgDOIC1NzQ", + "name": "audit-trail-plugin", + "full_name": "fbelzunc/audit-trail-plugin", + "private": false, + "owner": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/fbelzunc/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": true, + "url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/deployments", + "created_at": "2022-09-22T06:51:59Z", + "updated_at": "2022-08-21T18:06:56Z", + "pushed_at": "2023-01-31T09:41:38Z", + "git_url": "git://github.com/fbelzunc/audit-trail-plugin.git", + "ssh_url": "git@github.com:fbelzunc/audit-trail-plugin.git", + "clone_url": "https://github.com/fbelzunc/audit-trail-plugin.git", + "svn_url": "https://github.com/fbelzunc/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 530, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "b948de58ee2258e22d6d5ab7863a769ea3847c2a", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 1163429, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTYzNDI5", + "name": "audit-trail-plugin", + "full_name": "jenkinsci/audit-trail-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/deployments", + "created_at": "2010-12-13T05:25:45Z", + "updated_at": "2023-01-30T10:38:51Z", + "pushed_at": "2023-01-31T09:41:40Z", + "git_url": "git://github.com/jenkinsci/audit-trail-plugin.git", + "ssh_url": "git@github.com:jenkinsci/audit-trail-plugin.git", + "clone_url": "https://github.com/jenkinsci/audit-trail-plugin.git", + "svn_url": "https://github.com/jenkinsci/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 505, + "stargazers_count": 18, + "watchers_count": 18, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 44, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "administrative-monitor", + "audit", + "logging" + ], + "visibility": "public", + "forks": 44, + "open_issues": 2, + "watchers": 18, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/08b1d1a6b4af44c26b83b5f868cc585136884573" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-01-31T10:44:03Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26766086513", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "action": "created", + "review": { + "id": 1276920961, + "node_id": "PRR_kwDOABHApc5MHESB", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "lgtm, thanks for the contribution, I'll refresh your branch onto the master branch (since it was bumped to java 11) to perform some testing on it.", + "commit_id": "08b1d1a6b4af44c26b83b5f868cc585136884573", + "submitted_at": "2023-01-31T10:44:02Z", + "state": "approved", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#pullrequestreview-1276920961", + "pull_request_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "author_association": "CONTRIBUTOR", + "_links": { + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#pullrequestreview-1276920961" + }, + "pull_request": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "id": 1166633695, + "node_id": "PR_kwDOABHApc5FiWrf", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96", + "diff_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.diff", + "patch_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96", + "number": 96, + "state": "open", + "locked": false, + "title": "Add daily rotation logs for LogFileAuditLogger", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "body": "The current PR adds the functionality of rotating logs daily instead of per file size.\r\n\r\nThis is very useful in case you are saving audit logs for auditing purposes as you have a file per day that represents the changes performed on that specific day. You could then send them to an S3 bucket for example. \r\n\r\nThe files will be created in the specified configured location `Log Location: /tmp/audit-trail-logs/audit.log` and will create files like the ones below. Adding at the end of the specified file a data timestamp.\r\n\r\n```\r\naudit.log-2022-12-16\r\naudit.log-2022-12-15\r\naudit.log-2022-12-14\r\n```\r\n\r\nCC @chikitulfo\r\n\r\n\r\n\r\n- [X] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!\r\n- [X] Ensure that the pull request title represents the desired changelog entry\r\n- [X] Please describe what you did\r\n- [ ] Link to relevant issues in GitHub or Jira\r\n- [ ] Link to relevant pull requests, esp. upstream and downstream changes\r\n- [X] Ensure you have provided tests - that demonstrates feature works or fixes the issue\r\n\r\n\r\n", + "created_at": "2022-12-15T11:28:13Z", + "updated_at": "2023-01-31T10:44:02Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "d77b47123b0afb97df321d270f29bf9b4667a2af", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/08b1d1a6b4af44c26b83b5f868cc585136884573", + "head": { + "label": "fbelzunc:daily-rotation", + "ref": "daily-rotation", + "sha": "08b1d1a6b4af44c26b83b5f868cc585136884573", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 539839949, + "node_id": "R_kgDOIC1NzQ", + "name": "audit-trail-plugin", + "full_name": "fbelzunc/audit-trail-plugin", + "private": false, + "owner": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/fbelzunc/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": true, + "url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/deployments", + "created_at": "2022-09-22T06:51:59Z", + "updated_at": "2022-08-21T18:06:56Z", + "pushed_at": "2023-01-31T09:41:38Z", + "git_url": "git://github.com/fbelzunc/audit-trail-plugin.git", + "ssh_url": "git@github.com:fbelzunc/audit-trail-plugin.git", + "clone_url": "https://github.com/fbelzunc/audit-trail-plugin.git", + "svn_url": "https://github.com/fbelzunc/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 530, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "b948de58ee2258e22d6d5ab7863a769ea3847c2a", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 1163429, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTYzNDI5", + "name": "audit-trail-plugin", + "full_name": "jenkinsci/audit-trail-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/deployments", + "created_at": "2010-12-13T05:25:45Z", + "updated_at": "2023-01-30T10:38:51Z", + "pushed_at": "2023-01-31T09:41:40Z", + "git_url": "git://github.com/jenkinsci/audit-trail-plugin.git", + "ssh_url": "git@github.com:jenkinsci/audit-trail-plugin.git", + "clone_url": "https://github.com/jenkinsci/audit-trail-plugin.git", + "svn_url": "https://github.com/jenkinsci/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 505, + "stargazers_count": 18, + "watchers_count": 18, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 44, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 2, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "administrative-monitor", + "audit", + "logging" + ], + "visibility": "public", + "forks": 44, + "open_issues": 2, + "watchers": 18, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/08b1d1a6b4af44c26b83b5f868cc585136884573" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-01-31T10:44:03Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26737667831", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "push_id": 12444016712, + "size": 4, + "distinct_size": 4, + "ref": "refs/heads/master", + "head": "83ffd0d99aeab297c3da748bd92031d06842dbc4", + "before": "ba116f0a2a47d62ee93bddd7c0c44c15dd123e86", + "commits": [ + { + "sha": "011e37643be88235af68fc9ea1b67a00d0241c91", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Bump minimal Jenkins version to 2.361.1", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/011e37643be88235af68fc9ea1b67a00d0241c91" + }, + { + "sha": "6ed85073af7d3253ed941f7d23539de38551c124", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Specify target jdks (also add 17 to check in advance for potential issues).", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/6ed85073af7d3253ed941f7d23539de38551c124" + }, + { + "sha": "01c9283a6ee5770d8b10567da5d67ceae0e67b73", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Replace unsupported tt tags with code", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/01c9283a6ee5770d8b10567da5d67ceae0e67b73" + }, + { + "sha": "83ffd0d99aeab297c3da748bd92031d06842dbc4", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Merge pull request #101 from jenkinsci/PierreBtz-patch-1\n\nBump minimal Jenkins version to 2.361.1", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/83ffd0d99aeab297c3da748bd92031d06842dbc4" + } + ] + }, + "public": true, + "created_at": "2023-01-30T10:37:17Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26737667760", + "type": "DeleteEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "ref": "PierreBtz-patch-1", + "ref_type": "branch", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-01-30T10:37:17Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26737667597", + "type": "PullRequestEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "action": "closed", + "number": 101, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/101", + "id": 1183641728, + "node_id": "PR_kwDOABHApc5GjPCA", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/101", + "diff_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/101.diff", + "patch_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/101.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/101", + "number": 101, + "state": "closed", + "locked": false, + "title": "Bump minimal Jenkins version to 2.361.1", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "\r\n\r\n- [ ] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!\r\n- [ ] Ensure that the pull request title represents the desired changelog entry\r\n- [ ] Please describe what you did\r\n- [ ] Link to relevant issues in GitHub or Jira\r\n- [ ] Link to relevant pull requests, esp. upstream and downstream changes\r\n- [ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue\r\n\r\n\r\n", + "created_at": "2023-01-03T15:44:42Z", + "updated_at": "2023-01-30T10:37:16Z", + "closed_at": "2023-01-30T10:37:16Z", + "merged_at": "2023-01-30T10:37:15Z", + "merge_commit_sha": "83ffd0d99aeab297c3da748bd92031d06842dbc4", + "assignee": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_reviewers": [], + "requested_teams": [], + "labels": [ + { + "id": 1682161962, + "node_id": "MDU6TGFiZWwxNjgyMTYxOTYy", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels/chore", + "name": "chore", + "color": "cc7c14", + "default": false, + "description": "" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/101/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/101/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/101/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/01c9283a6ee5770d8b10567da5d67ceae0e67b73", + "head": { + "label": "jenkinsci:PierreBtz-patch-1", + "ref": "PierreBtz-patch-1", + "sha": "01c9283a6ee5770d8b10567da5d67ceae0e67b73", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 1163429, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTYzNDI5", + "name": "audit-trail-plugin", + "full_name": "jenkinsci/audit-trail-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/deployments", + "created_at": "2010-12-13T05:25:45Z", + "updated_at": "2022-08-21T18:06:56Z", + "pushed_at": "2023-01-30T10:37:15Z", + "git_url": "git://github.com/jenkinsci/audit-trail-plugin.git", + "ssh_url": "git@github.com:jenkinsci/audit-trail-plugin.git", + "clone_url": "https://github.com/jenkinsci/audit-trail-plugin.git", + "svn_url": "https://github.com/jenkinsci/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 502, + "stargazers_count": 17, + "watchers_count": 17, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 44, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "administrative-monitor", + "audit", + "logging" + ], + "visibility": "public", + "forks": 44, + "open_issues": 3, + "watchers": 17, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "ba116f0a2a47d62ee93bddd7c0c44c15dd123e86", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 1163429, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTYzNDI5", + "name": "audit-trail-plugin", + "full_name": "jenkinsci/audit-trail-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/deployments", + "created_at": "2010-12-13T05:25:45Z", + "updated_at": "2022-08-21T18:06:56Z", + "pushed_at": "2023-01-30T10:37:15Z", + "git_url": "git://github.com/jenkinsci/audit-trail-plugin.git", + "ssh_url": "git@github.com:jenkinsci/audit-trail-plugin.git", + "clone_url": "https://github.com/jenkinsci/audit-trail-plugin.git", + "svn_url": "https://github.com/jenkinsci/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 502, + "stargazers_count": 17, + "watchers_count": 17, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 44, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 3, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "administrative-monitor", + "audit", + "logging" + ], + "visibility": "public", + "forks": 44, + "open_issues": 3, + "watchers": 17, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/101" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/101" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/101" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/101/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/101/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/101/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/01c9283a6ee5770d8b10567da5d67ceae0e67b73" + } + }, + "author_association": "CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 3, + "additions": 18, + "deletions": 11, + "changed_files": 5 + } + }, + "public": true, + "created_at": "2023-01-30T10:37:17Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26737319942", + "type": "PullRequestReviewCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "action": "created", + "comment": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments/1090430884", + "pull_request_review_id": 1274870415, + "id": 1090430884, + "node_id": "PRRC_kwDOABHApc5A_qek", + "diff_hunk": "@@ -0,0 +1,8 @@\n+
    \n+ Full path for log location and filename. May contain FileHandler pattern tokens, such as %g for a number", + "path": "src/main/resources/hudson/plugins/audit_trail/LogFileDailyRotationAuditLogger/help-log.html", + "position": 4, + "original_position": 4, + "commit_id": "b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "original_commit_id": "b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "This tag needs to be changed as in https://github.com/jenkinsci/audit-trail-plugin/pull/101 (jdk 11 isn't compatible anymore with the deprecated tt tag):\r\n\r\n```suggestion\r\n >FileHandler pattern tokens, such as %g for a number\r\n```", + "created_at": "2023-01-30T10:23:31Z", + "updated_at": "2023-01-30T10:23:32Z", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#discussion_r1090430884", + "pull_request_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "author_association": "CONTRIBUTOR", + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments/1090430884" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#discussion_r1090430884" + }, + "pull_request": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + } + }, + "reactions": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments/1090430884/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 4, + "original_line": 4, + "side": "RIGHT" + }, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "id": 1166633695, + "node_id": "PR_kwDOABHApc5FiWrf", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96", + "diff_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.diff", + "patch_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96", + "number": 96, + "state": "open", + "locked": false, + "title": "Add daily rotation logs for LogFileAuditLogger", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "body": "The current PR adds the functionality of rotating logs daily instead of per file size.\r\n\r\nThis is very useful in case you are saving audit logs for auditing purposes as you have a file per day that represents the changes performed on that specific day. You could then send them to an S3 bucket for example. \r\n\r\nThe files will be created in the specified configured location `Log Location: /tmp/audit-trail-logs/audit.log` and will create files like the ones below. Adding at the end of the specified file a data timestamp.\r\n\r\n```\r\naudit.log-2022-12-16\r\naudit.log-2022-12-15\r\naudit.log-2022-12-14\r\n```\r\n\r\nCC @chikitulfo\r\n\r\n\r\n\r\n- [X] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!\r\n- [X] Ensure that the pull request title represents the desired changelog entry\r\n- [X] Please describe what you did\r\n- [ ] Link to relevant issues in GitHub or Jira\r\n- [ ] Link to relevant pull requests, esp. upstream and downstream changes\r\n- [X] Ensure you have provided tests - that demonstrates feature works or fixes the issue\r\n\r\n\r\n", + "created_at": "2022-12-15T11:28:13Z", + "updated_at": "2023-01-30T10:23:32Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "eea7c192fecdbb91e263890a7c5ca0610ea8245d", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "head": { + "label": "fbelzunc:daily-rotation", + "ref": "daily-rotation", + "sha": "b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 539839949, + "node_id": "R_kgDOIC1NzQ", + "name": "audit-trail-plugin", + "full_name": "fbelzunc/audit-trail-plugin", + "private": false, + "owner": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/fbelzunc/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": true, + "url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/deployments", + "created_at": "2022-09-22T06:51:59Z", + "updated_at": "2022-08-21T18:06:56Z", + "pushed_at": "2023-01-05T12:48:42Z", + "git_url": "git://github.com/fbelzunc/audit-trail-plugin.git", + "ssh_url": "git@github.com:fbelzunc/audit-trail-plugin.git", + "clone_url": "https://github.com/fbelzunc/audit-trail-plugin.git", + "svn_url": "https://github.com/fbelzunc/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 526, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "b948de58ee2258e22d6d5ab7863a769ea3847c2a", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 1163429, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTYzNDI5", + "name": "audit-trail-plugin", + "full_name": "jenkinsci/audit-trail-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/deployments", + "created_at": "2010-12-13T05:25:45Z", + "updated_at": "2022-08-21T18:06:56Z", + "pushed_at": "2023-01-30T10:22:22Z", + "git_url": "git://github.com/jenkinsci/audit-trail-plugin.git", + "ssh_url": "git@github.com:jenkinsci/audit-trail-plugin.git", + "clone_url": "https://github.com/jenkinsci/audit-trail-plugin.git", + "svn_url": "https://github.com/jenkinsci/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 502, + "stargazers_count": 17, + "watchers_count": 17, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 44, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 4, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "administrative-monitor", + "audit", + "logging" + ], + "visibility": "public", + "forks": 44, + "open_issues": 4, + "watchers": 17, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/b65dc6cb57e438ebae7e372c812c498a32d9e9f0" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-01-30T10:23:31Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26737319903", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "action": "created", + "review": { + "id": 1274870415, + "node_id": "PRR_kwDOABHApc5L_PqP", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": null, + "commit_id": "b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "submitted_at": "2023-01-30T10:23:32Z", + "state": "commented", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#pullrequestreview-1274870415", + "pull_request_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "author_association": "CONTRIBUTOR", + "_links": { + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#pullrequestreview-1274870415" + }, + "pull_request": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "id": 1166633695, + "node_id": "PR_kwDOABHApc5FiWrf", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96", + "diff_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.diff", + "patch_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96", + "number": 96, + "state": "open", + "locked": false, + "title": "Add daily rotation logs for LogFileAuditLogger", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "body": "The current PR adds the functionality of rotating logs daily instead of per file size.\r\n\r\nThis is very useful in case you are saving audit logs for auditing purposes as you have a file per day that represents the changes performed on that specific day. You could then send them to an S3 bucket for example. \r\n\r\nThe files will be created in the specified configured location `Log Location: /tmp/audit-trail-logs/audit.log` and will create files like the ones below. Adding at the end of the specified file a data timestamp.\r\n\r\n```\r\naudit.log-2022-12-16\r\naudit.log-2022-12-15\r\naudit.log-2022-12-14\r\n```\r\n\r\nCC @chikitulfo\r\n\r\n\r\n\r\n- [X] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!\r\n- [X] Ensure that the pull request title represents the desired changelog entry\r\n- [X] Please describe what you did\r\n- [ ] Link to relevant issues in GitHub or Jira\r\n- [ ] Link to relevant pull requests, esp. upstream and downstream changes\r\n- [X] Ensure you have provided tests - that demonstrates feature works or fixes the issue\r\n\r\n\r\n", + "created_at": "2022-12-15T11:28:13Z", + "updated_at": "2023-01-30T10:23:32Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "eea7c192fecdbb91e263890a7c5ca0610ea8245d", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "head": { + "label": "fbelzunc:daily-rotation", + "ref": "daily-rotation", + "sha": "b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 539839949, + "node_id": "R_kgDOIC1NzQ", + "name": "audit-trail-plugin", + "full_name": "fbelzunc/audit-trail-plugin", + "private": false, + "owner": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/fbelzunc/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": true, + "url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/deployments", + "created_at": "2022-09-22T06:51:59Z", + "updated_at": "2022-08-21T18:06:56Z", + "pushed_at": "2023-01-05T12:48:42Z", + "git_url": "git://github.com/fbelzunc/audit-trail-plugin.git", + "ssh_url": "git@github.com:fbelzunc/audit-trail-plugin.git", + "clone_url": "https://github.com/fbelzunc/audit-trail-plugin.git", + "svn_url": "https://github.com/fbelzunc/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 526, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "b948de58ee2258e22d6d5ab7863a769ea3847c2a", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 1163429, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTYzNDI5", + "name": "audit-trail-plugin", + "full_name": "jenkinsci/audit-trail-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/deployments", + "created_at": "2010-12-13T05:25:45Z", + "updated_at": "2022-08-21T18:06:56Z", + "pushed_at": "2023-01-30T10:22:22Z", + "git_url": "git://github.com/jenkinsci/audit-trail-plugin.git", + "ssh_url": "git@github.com:jenkinsci/audit-trail-plugin.git", + "clone_url": "https://github.com/jenkinsci/audit-trail-plugin.git", + "svn_url": "https://github.com/jenkinsci/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 502, + "stargazers_count": 17, + "watchers_count": 17, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 44, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 4, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "administrative-monitor", + "audit", + "logging" + ], + "visibility": "public", + "forks": 44, + "open_issues": 4, + "watchers": 17, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/b65dc6cb57e438ebae7e372c812c498a32d9e9f0" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-01-30T10:23:32Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26737288201", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "push_id": 12443836975, + "size": 1, + "distinct_size": 1, + "ref": "refs/heads/PierreBtz-patch-1", + "head": "01c9283a6ee5770d8b10567da5d67ceae0e67b73", + "before": "6ed85073af7d3253ed941f7d23539de38551c124", + "commits": [ + { + "sha": "01c9283a6ee5770d8b10567da5d67ceae0e67b73", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Replace unsupported tt tags with code", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/01c9283a6ee5770d8b10567da5d67ceae0e67b73" + } + ] + }, + "public": true, + "created_at": "2023-01-30T10:22:20Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26737157600", + "type": "PullRequestReviewCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "action": "created", + "comment": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments/1090421259", + "pull_request_review_id": 1274844118, + "id": 1090421259, + "node_id": "PRRC_kwDOABHApc5A_oIL", + "diff_hunk": "@@ -0,0 +1,180 @@\n+package hudson.plugins.audit_trail;\n+\n+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;\n+import hudson.Extension;\n+import hudson.model.Descriptor;\n+import org.apache.commons.io.FileUtils;\n+import org.apache.commons.io.FilenameUtils;\n+import org.apache.commons.io.filefilter.DirectoryFileFilter;\n+import org.apache.commons.io.filefilter.RegexFileFilter;\n+import org.kohsuke.stapler.DataBoundConstructor;\n+\n+import java.io.File;\n+import java.io.IOException;\n+import java.nio.file.Path;\n+import java.nio.file.Paths;\n+import java.time.Duration;\n+import java.time.Instant;\n+import java.time.ZoneId;\n+import java.time.ZonedDateTime;\n+import java.time.format.DateTimeFormatter;\n+import java.time.temporal.ChronoUnit;\n+import java.util.Collection;\n+import java.util.List;\n+import java.util.logging.FileHandler;\n+import java.util.logging.Level;\n+import java.util.logging.Logger;\n+import java.util.regex.Matcher;\n+import java.util.regex.Pattern;\n+import java.util.stream.Collectors;\n+\n+import static org.apache.commons.io.comparator.LastModifiedFileComparator.LASTMODIFIED_REVERSE;\n+\n+public class LogFileDailyRotationAuditLogger extends AbstractLogFileAuditLogger {\n+\n+ private static final Logger LOGGER = Logger.getLogger(LogFileDailyRotationAuditLogger.class.getName());\n+ static final String DAILY_ROTATING_FILE_REGEX_PATTERN = \"-[0-9]{4}-[0-9]{2}-[0-9]{2}\" + \".*\" + \"(? files = FileUtils.listFiles(new File(directoryPath.toString()), new RegexFileFilter(\".*\" + FilenameUtils.getName(basePattern.toString()) + DAILY_ROTATING_FILE_REGEX_PATTERN), DirectoryFileFilter.DIRECTORY);\n+ if (files.size() > 0) {\n+ List orderedList = files.stream().sorted(LASTMODIFIED_REVERSE).collect(Collectors.toList());\n+ File lastFile = orderedList.get(0);\n+ Matcher matcher = Pattern.compile(\"[0-9]{4}-[0-9]{2}-[0-9]{2}\").matcher(lastFile.getName());\n+ if (matcher.find()) {\n+ // Initialize initInstant with the date saved on the audit file name\n+ // See example https://stackoverflow.com/questions/14385834/java-regex-group-0\n+ initInstant = Instant.parse(matcher.group(0) + \"T00:00:00.00Z\").atZone(ZoneId.systemDefault());\n+ }\n+ }\n+ }\n+ // Initialize initInstant to the current instant\n+ if (initInstant == null) {\n+ initInstant = ZonedDateTime.now().truncatedTo(ChronoUnit.DAYS);\n+ }\n+ configure();\n+ }\n+\n+ String computePattern() {\n+ DateTimeFormatter formatter = DateTimeFormatter.ofPattern(\"yyyy-MM-dd\").withZone(ZoneId.systemDefault());\n+ String formattedInstant = formatter.format(initInstant);\n+ String computedFileName = String.format(\"%s-%s\", FilenameUtils.getName(basePattern.toString()) , formattedInstant);\n+ Path parentFolder = basePattern.getParent();\n+ if (parentFolder != null) {\n+ return parentFolder.resolve(computedFileName).toString();\n+ }\n+ return computedFileName;\n+ }\n+\n+ private boolean shouldRotate() {\n+ return ZonedDateTime.now().isAfter(initInstant.plus(Duration.ofDays(1)));\n+ }\n+\n+ /**\n+ * Rotates the daily rotation logger\n+ */\n+ private void rotate() {\n+ if (getHandler() != null) {\n+ getHandler().close();\n+ }\n+ initInstant = ZonedDateTime.now().truncatedTo(ChronoUnit.DAYS);\n+ configure();\n+ // After rotating remove old files\n+ removeOldFiles();\n+ }\n+\n+ private void removeOldFiles() {\n+ Path directoryPath = basePattern.getParent();\n+ if (directoryPath != null) {\n+ Collection files = FileUtils.listFiles(directoryPath.toFile(), new RegexFileFilter(\".*\" + FilenameUtils.getName(basePattern.toString()) + DAILY_ROTATING_FILE_REGEX_PATTERN), DirectoryFileFilter.DIRECTORY);\n+ if (files.size() > getCount()) {\n+ List orderedList = files.stream().sorted(LASTMODIFIED_REVERSE).collect(Collectors.toList());\n+ List toDelete = orderedList.subList(getCount(), orderedList.size());\n+ for (File file : toDelete) {\n+ if (!file.delete()) {\n+ LOGGER.log(Level.SEVERE, \"File {0} could not be removed on rotate overation\", file.getName());\n+ }\n+ }\n+ }\n+ }\n+ }\n+\n+ @Override\n+ public void log(String event) {\n+ // to avoid synchronizing the whole method\n+ if (shouldRotate()) {\n+ synchronized (this) {\n+ if (shouldRotate()) rotate();\n+ }\n+ }\n+ super.log(event);\n+ }\n+\n+ @Override\n+ public boolean equals(Object o) {\n+ if (this == o) return true;\n+ if (o == null || getClass() != o.getClass()) return false;\n+\n+ LogFileDailyRotationAuditLogger that = (LogFileDailyRotationAuditLogger) o;\n+\n+ if (initInstant != null ? !initInstant.equals(that.initInstant) : that.initInstant != null) return false;", + "path": "src/main/java/hudson/plugins/audit_trail/LogFileDailyRotationAuditLogger.java", + "position": 161, + "original_position": 161, + "commit_id": "b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "original_commit_id": "b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "The `equals` doesn't take into account the fields of the super class.\r\nFor instance that means that the plugin would consider two different loggers configured with a different `separator` as equals (since the `separator` field is configured in the super). I'm not sure it would cause a bug currently since IIRC we only push the loggers in a list, but it could be cause for subtle bugs in the future (if we add a feature needing to compare loggers, or we store them in a `Set` for instance).\r\n\r\nI'd suggest:\r\n* in this class: call the super (same in `LogFileAuditLogger`), and same for the hashcode.\r\n* in the super class generate equals and hashcode (let your IDE do it).", + "created_at": "2023-01-30T10:14:42Z", + "updated_at": "2023-01-30T10:17:21Z", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#discussion_r1090421259", + "pull_request_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "author_association": "CONTRIBUTOR", + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments/1090421259" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#discussion_r1090421259" + }, + "pull_request": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + } + }, + "reactions": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments/1090421259/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 161, + "original_line": 161, + "side": "RIGHT" + }, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "id": 1166633695, + "node_id": "PR_kwDOABHApc5FiWrf", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96", + "diff_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.diff", + "patch_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96", + "number": 96, + "state": "open", + "locked": false, + "title": "Add daily rotation logs for LogFileAuditLogger", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "body": "The current PR adds the functionality of rotating logs daily instead of per file size.\r\n\r\nThis is very useful in case you are saving audit logs for auditing purposes as you have a file per day that represents the changes performed on that specific day. You could then send them to an S3 bucket for example. \r\n\r\nThe files will be created in the specified configured location `Log Location: /tmp/audit-trail-logs/audit.log` and will create files like the ones below. Adding at the end of the specified file a data timestamp.\r\n\r\n```\r\naudit.log-2022-12-16\r\naudit.log-2022-12-15\r\naudit.log-2022-12-14\r\n```\r\n\r\nCC @chikitulfo\r\n\r\n\r\n\r\n- [X] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!\r\n- [X] Ensure that the pull request title represents the desired changelog entry\r\n- [X] Please describe what you did\r\n- [ ] Link to relevant issues in GitHub or Jira\r\n- [ ] Link to relevant pull requests, esp. upstream and downstream changes\r\n- [X] Ensure you have provided tests - that demonstrates feature works or fixes the issue\r\n\r\n\r\n", + "created_at": "2022-12-15T11:28:13Z", + "updated_at": "2023-01-30T10:17:21Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "eea7c192fecdbb91e263890a7c5ca0610ea8245d", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "head": { + "label": "fbelzunc:daily-rotation", + "ref": "daily-rotation", + "sha": "b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 539839949, + "node_id": "R_kgDOIC1NzQ", + "name": "audit-trail-plugin", + "full_name": "fbelzunc/audit-trail-plugin", + "private": false, + "owner": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/fbelzunc/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": true, + "url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/deployments", + "created_at": "2022-09-22T06:51:59Z", + "updated_at": "2022-08-21T18:06:56Z", + "pushed_at": "2023-01-05T12:48:42Z", + "git_url": "git://github.com/fbelzunc/audit-trail-plugin.git", + "ssh_url": "git@github.com:fbelzunc/audit-trail-plugin.git", + "clone_url": "https://github.com/fbelzunc/audit-trail-plugin.git", + "svn_url": "https://github.com/fbelzunc/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 526, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "b948de58ee2258e22d6d5ab7863a769ea3847c2a", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 1163429, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTYzNDI5", + "name": "audit-trail-plugin", + "full_name": "jenkinsci/audit-trail-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/deployments", + "created_at": "2010-12-13T05:25:45Z", + "updated_at": "2022-08-21T18:06:56Z", + "pushed_at": "2023-01-30T09:58:32Z", + "git_url": "git://github.com/jenkinsci/audit-trail-plugin.git", + "ssh_url": "git@github.com:jenkinsci/audit-trail-plugin.git", + "clone_url": "https://github.com/jenkinsci/audit-trail-plugin.git", + "svn_url": "https://github.com/jenkinsci/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 502, + "stargazers_count": 17, + "watchers_count": 17, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 44, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 4, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "administrative-monitor", + "audit", + "logging" + ], + "visibility": "public", + "forks": 44, + "open_issues": 4, + "watchers": 17, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/b65dc6cb57e438ebae7e372c812c498a32d9e9f0" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-01-30T10:14:42Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26737157491", + "type": "PullRequestReviewCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "action": "created", + "comment": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments/1090413586", + "pull_request_review_id": 1274844118, + "id": 1090413586, + "node_id": "PRRC_kwDOABHApc5A_mQS", + "diff_hunk": "@@ -0,0 +1,124 @@\n+package hudson.plugins.audit_trail;\n+\n+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;\n+import hudson.EnvVars;\n+import hudson.Util;\n+\n+import javax.annotation.Nonnull;\n+import java.io.File;\n+import java.io.IOException;\n+import java.nio.file.NoSuchFileException;\n+import java.text.SimpleDateFormat;\n+import java.util.Date;\n+import java.util.Optional;\n+import java.util.logging.FileHandler;\n+import java.util.logging.Formatter;\n+import java.util.logging.Level;\n+import java.util.logging.LogRecord;\n+import java.util.logging.Logger;\n+\n+import static java.util.logging.Level.CONFIG;\n+\n+public abstract class AbstractLogFileAuditLogger extends AuditLogger {\n+\n+ private static final Logger LOGGER = Logger.getLogger(AbstractLogFileAuditLogger.class.getName());\n+ static final String DEFAULT_LOG_SEPARATOR =\" \";\n+\n+ @Nonnull\n+ private String logSeparator;\n+ private String log;\n+ private int count = 1;\n+ private int limit = 1;", + "path": "src/main/java/hudson/plugins/audit_trail/AbstractLogFileAuditLogger.java", + "position": 31, + "original_position": 31, + "commit_id": "b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "original_commit_id": "b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "Limit is never used in `AbstractLogFileAuditLogger` and in `LogFileDailyRotationAuditLogger`, it's purely code pertaining to `LogFileAuditLogger`, it shouldn't appear elsewhere.", + "created_at": "2023-01-30T10:08:02Z", + "updated_at": "2023-01-30T10:17:21Z", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#discussion_r1090413586", + "pull_request_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "author_association": "CONTRIBUTOR", + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments/1090413586" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#discussion_r1090413586" + }, + "pull_request": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + } + }, + "reactions": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments/1090413586/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 31, + "original_line": 31, + "side": "RIGHT" + }, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "id": 1166633695, + "node_id": "PR_kwDOABHApc5FiWrf", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96", + "diff_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.diff", + "patch_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96", + "number": 96, + "state": "open", + "locked": false, + "title": "Add daily rotation logs for LogFileAuditLogger", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "body": "The current PR adds the functionality of rotating logs daily instead of per file size.\r\n\r\nThis is very useful in case you are saving audit logs for auditing purposes as you have a file per day that represents the changes performed on that specific day. You could then send them to an S3 bucket for example. \r\n\r\nThe files will be created in the specified configured location `Log Location: /tmp/audit-trail-logs/audit.log` and will create files like the ones below. Adding at the end of the specified file a data timestamp.\r\n\r\n```\r\naudit.log-2022-12-16\r\naudit.log-2022-12-15\r\naudit.log-2022-12-14\r\n```\r\n\r\nCC @chikitulfo\r\n\r\n\r\n\r\n- [X] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!\r\n- [X] Ensure that the pull request title represents the desired changelog entry\r\n- [X] Please describe what you did\r\n- [ ] Link to relevant issues in GitHub or Jira\r\n- [ ] Link to relevant pull requests, esp. upstream and downstream changes\r\n- [X] Ensure you have provided tests - that demonstrates feature works or fixes the issue\r\n\r\n\r\n", + "created_at": "2022-12-15T11:28:13Z", + "updated_at": "2023-01-30T10:17:21Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "eea7c192fecdbb91e263890a7c5ca0610ea8245d", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "head": { + "label": "fbelzunc:daily-rotation", + "ref": "daily-rotation", + "sha": "b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 539839949, + "node_id": "R_kgDOIC1NzQ", + "name": "audit-trail-plugin", + "full_name": "fbelzunc/audit-trail-plugin", + "private": false, + "owner": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/fbelzunc/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": true, + "url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/deployments", + "created_at": "2022-09-22T06:51:59Z", + "updated_at": "2022-08-21T18:06:56Z", + "pushed_at": "2023-01-05T12:48:42Z", + "git_url": "git://github.com/fbelzunc/audit-trail-plugin.git", + "ssh_url": "git@github.com:fbelzunc/audit-trail-plugin.git", + "clone_url": "https://github.com/fbelzunc/audit-trail-plugin.git", + "svn_url": "https://github.com/fbelzunc/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 526, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "b948de58ee2258e22d6d5ab7863a769ea3847c2a", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 1163429, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTYzNDI5", + "name": "audit-trail-plugin", + "full_name": "jenkinsci/audit-trail-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/deployments", + "created_at": "2010-12-13T05:25:45Z", + "updated_at": "2022-08-21T18:06:56Z", + "pushed_at": "2023-01-30T09:58:32Z", + "git_url": "git://github.com/jenkinsci/audit-trail-plugin.git", + "ssh_url": "git@github.com:jenkinsci/audit-trail-plugin.git", + "clone_url": "https://github.com/jenkinsci/audit-trail-plugin.git", + "svn_url": "https://github.com/jenkinsci/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 502, + "stargazers_count": 17, + "watchers_count": 17, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 44, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 4, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "administrative-monitor", + "audit", + "logging" + ], + "visibility": "public", + "forks": 44, + "open_issues": 4, + "watchers": 17, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/b65dc6cb57e438ebae7e372c812c498a32d9e9f0" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-01-30T10:08:02Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26737157478", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "action": "created", + "review": { + "id": 1274844118, + "node_id": "PRR_kwDOABHApc5L_JPW", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "Thanks for taking my suggestion into account! I think we are almost there, I'd like at least the equals/hashcode issue fixed since it's a potential bug.", + "commit_id": "b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "submitted_at": "2023-01-30T10:17:21Z", + "state": "changes_requested", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#pullrequestreview-1274844118", + "pull_request_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "author_association": "CONTRIBUTOR", + "_links": { + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#pullrequestreview-1274844118" + }, + "pull_request": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "id": 1166633695, + "node_id": "PR_kwDOABHApc5FiWrf", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96", + "diff_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.diff", + "patch_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96", + "number": 96, + "state": "open", + "locked": false, + "title": "Add daily rotation logs for LogFileAuditLogger", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "body": "The current PR adds the functionality of rotating logs daily instead of per file size.\r\n\r\nThis is very useful in case you are saving audit logs for auditing purposes as you have a file per day that represents the changes performed on that specific day. You could then send them to an S3 bucket for example. \r\n\r\nThe files will be created in the specified configured location `Log Location: /tmp/audit-trail-logs/audit.log` and will create files like the ones below. Adding at the end of the specified file a data timestamp.\r\n\r\n```\r\naudit.log-2022-12-16\r\naudit.log-2022-12-15\r\naudit.log-2022-12-14\r\n```\r\n\r\nCC @chikitulfo\r\n\r\n\r\n\r\n- [X] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!\r\n- [X] Ensure that the pull request title represents the desired changelog entry\r\n- [X] Please describe what you did\r\n- [ ] Link to relevant issues in GitHub or Jira\r\n- [ ] Link to relevant pull requests, esp. upstream and downstream changes\r\n- [X] Ensure you have provided tests - that demonstrates feature works or fixes the issue\r\n\r\n\r\n", + "created_at": "2022-12-15T11:28:13Z", + "updated_at": "2023-01-30T10:17:21Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "eea7c192fecdbb91e263890a7c5ca0610ea8245d", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "head": { + "label": "fbelzunc:daily-rotation", + "ref": "daily-rotation", + "sha": "b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 539839949, + "node_id": "R_kgDOIC1NzQ", + "name": "audit-trail-plugin", + "full_name": "fbelzunc/audit-trail-plugin", + "private": false, + "owner": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/fbelzunc/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": true, + "url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/deployments", + "created_at": "2022-09-22T06:51:59Z", + "updated_at": "2022-08-21T18:06:56Z", + "pushed_at": "2023-01-05T12:48:42Z", + "git_url": "git://github.com/fbelzunc/audit-trail-plugin.git", + "ssh_url": "git@github.com:fbelzunc/audit-trail-plugin.git", + "clone_url": "https://github.com/fbelzunc/audit-trail-plugin.git", + "svn_url": "https://github.com/fbelzunc/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 526, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "b948de58ee2258e22d6d5ab7863a769ea3847c2a", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 1163429, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTYzNDI5", + "name": "audit-trail-plugin", + "full_name": "jenkinsci/audit-trail-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/deployments", + "created_at": "2010-12-13T05:25:45Z", + "updated_at": "2022-08-21T18:06:56Z", + "pushed_at": "2023-01-30T09:58:32Z", + "git_url": "git://github.com/jenkinsci/audit-trail-plugin.git", + "ssh_url": "git@github.com:jenkinsci/audit-trail-plugin.git", + "clone_url": "https://github.com/jenkinsci/audit-trail-plugin.git", + "svn_url": "https://github.com/jenkinsci/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 502, + "stargazers_count": 17, + "watchers_count": 17, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 44, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 4, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "administrative-monitor", + "audit", + "logging" + ], + "visibility": "public", + "forks": 44, + "open_issues": 4, + "watchers": 17, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/b65dc6cb57e438ebae7e372c812c498a32d9e9f0" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-01-30T10:17:22Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26737157379", + "type": "PullRequestReviewEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "action": "created", + "review": { + "id": 1274844118, + "node_id": "PRR_kwDOABHApc5L_JPW", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "body": "Thanks for taking my suggestion into account! I think we are almost there, I'd like at least the equals/hashcode issue fixed since it's a potential bug.", + "commit_id": "b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "submitted_at": "2023-01-30T10:17:21Z", + "state": "changes_requested", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#pullrequestreview-1274844118", + "pull_request_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "author_association": "CONTRIBUTOR", + "_links": { + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#pullrequestreview-1274844118" + }, + "pull_request": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + } + } + }, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "id": 1166633695, + "node_id": "PR_kwDOABHApc5FiWrf", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96", + "diff_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.diff", + "patch_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.patch", + "issue_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96", + "number": 96, + "state": "open", + "locked": false, + "title": "Add daily rotation logs for LogFileAuditLogger", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "body": "The current PR adds the functionality of rotating logs daily instead of per file size.\r\n\r\nThis is very useful in case you are saving audit logs for auditing purposes as you have a file per day that represents the changes performed on that specific day. You could then send them to an S3 bucket for example. \r\n\r\nThe files will be created in the specified configured location `Log Location: /tmp/audit-trail-logs/audit.log` and will create files like the ones below. Adding at the end of the specified file a data timestamp.\r\n\r\n```\r\naudit.log-2022-12-16\r\naudit.log-2022-12-15\r\naudit.log-2022-12-14\r\n```\r\n\r\nCC @chikitulfo\r\n\r\n\r\n\r\n- [X] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!\r\n- [X] Ensure that the pull request title represents the desired changelog entry\r\n- [X] Please describe what you did\r\n- [ ] Link to relevant issues in GitHub or Jira\r\n- [ ] Link to relevant pull requests, esp. upstream and downstream changes\r\n- [X] Ensure you have provided tests - that demonstrates feature works or fixes the issue\r\n\r\n\r\n", + "created_at": "2022-12-15T11:28:13Z", + "updated_at": "2023-01-30T10:17:21Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "eea7c192fecdbb91e263890a7c5ca0610ea8245d", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits", + "review_comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments", + "review_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "head": { + "label": "fbelzunc:daily-rotation", + "ref": "daily-rotation", + "sha": "b65dc6cb57e438ebae7e372c812c498a32d9e9f0", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 539839949, + "node_id": "R_kgDOIC1NzQ", + "name": "audit-trail-plugin", + "full_name": "fbelzunc/audit-trail-plugin", + "private": false, + "owner": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/fbelzunc/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": true, + "url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/fbelzunc/audit-trail-plugin/deployments", + "created_at": "2022-09-22T06:51:59Z", + "updated_at": "2022-08-21T18:06:56Z", + "pushed_at": "2023-01-05T12:48:42Z", + "git_url": "git://github.com/fbelzunc/audit-trail-plugin.git", + "ssh_url": "git@github.com:fbelzunc/audit-trail-plugin.git", + "clone_url": "https://github.com/fbelzunc/audit-trail-plugin.git", + "svn_url": "https://github.com/fbelzunc/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 526, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "jenkinsci:master", + "ref": "master", + "sha": "b948de58ee2258e22d6d5ab7863a769ea3847c2a", + "user": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 1163429, + "node_id": "MDEwOlJlcG9zaXRvcnkxMTYzNDI5", + "name": "audit-trail-plugin", + "full_name": "jenkinsci/audit-trail-plugin", + "private": false, + "owner": { + "login": "jenkinsci", + "id": 107424, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jenkinsci", + "html_url": "https://github.com/jenkinsci", + "followers_url": "https://api.github.com/users/jenkinsci/followers", + "following_url": "https://api.github.com/users/jenkinsci/following{/other_user}", + "gists_url": "https://api.github.com/users/jenkinsci/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jenkinsci/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jenkinsci/subscriptions", + "organizations_url": "https://api.github.com/users/jenkinsci/orgs", + "repos_url": "https://api.github.com/users/jenkinsci/repos", + "events_url": "https://api.github.com/users/jenkinsci/events{/privacy}", + "received_events_url": "https://api.github.com/users/jenkinsci/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/jenkinsci/audit-trail-plugin", + "description": "Jenkins audit-trail plugin", + "fork": false, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin", + "forks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/forks", + "keys_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/teams", + "hooks_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/hooks", + "issue_events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/events{/number}", + "events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/events", + "assignees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/assignees{/user}", + "branches_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/branches{/branch}", + "tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/tags", + "blobs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/{sha}", + "languages_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/languages", + "stargazers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/stargazers", + "contributors_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contributors", + "subscribers_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscribers", + "subscription_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/subscription", + "commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/contents/{+path}", + "compare_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/merges", + "archive_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/downloads", + "issues_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues{/number}", + "pulls_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls{/number}", + "milestones_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/milestones{/number}", + "notifications_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/labels{/name}", + "releases_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/releases{/id}", + "deployments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/deployments", + "created_at": "2010-12-13T05:25:45Z", + "updated_at": "2022-08-21T18:06:56Z", + "pushed_at": "2023-01-30T09:58:32Z", + "git_url": "git://github.com/jenkinsci/audit-trail-plugin.git", + "ssh_url": "git@github.com:jenkinsci/audit-trail-plugin.git", + "clone_url": "https://github.com/jenkinsci/audit-trail-plugin.git", + "svn_url": "https://github.com/jenkinsci/audit-trail-plugin", + "homepage": "https://wiki.jenkins.io/display/JENKINS/Audit+Trail+Plugin", + "size": 502, + "stargazers_count": 17, + "watchers_count": 17, + "language": "Java", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 44, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 4, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "administrative-monitor", + "audit", + "logging" + ], + "visibility": "public", + "forks": 44, + "open_issues": 4, + "watchers": 17, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96" + }, + "html": { + "href": "https://github.com/jenkinsci/audit-trail-plugin/pull/96" + }, + "issue": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96" + }, + "comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/statuses/b65dc6cb57e438ebae7e372c812c498a32d9e9f0" + } + }, + "author_association": "NONE", + "auto_merge": null, + "active_lock_reason": null + } + }, + "public": true, + "created_at": "2023-01-30T10:17:22Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26736668499", + "type": "PushEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "push_id": 12443552184, + "size": 1, + "distinct_size": 1, + "ref": "refs/heads/PierreBtz-patch-1", + "head": "6ed85073af7d3253ed941f7d23539de38551c124", + "before": "011e37643be88235af68fc9ea1b67a00d0241c91", + "commits": [ + { + "sha": "6ed85073af7d3253ed941f7d23539de38551c124", + "author": { + "email": "pibeitz@gmail.com", + "name": "Pierre Beitz" + }, + "message": "Specify target jdks (also add 17 to check in advance for potential issues).", + "distinct": true, + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/commits/6ed85073af7d3253ed941f7d23539de38551c124" + } + ] + }, + "public": true, + "created_at": "2023-01-30T09:58:31Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + }, + { + "id": "26528537229", + "type": "IssueCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 1163429, + "name": "jenkinsci/audit-trail-plugin", + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin" + }, + "payload": { + "action": "created", + "issue": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96", + "repository_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin", + "labels_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/labels{/name}", + "comments_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/comments", + "events_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/events", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96", + "id": 1498261267, + "node_id": "PR_kwDOABHApc5FiWrf", + "number": 96, + "title": "Add daily rotation logs for LogFileAuditLogger", + "user": { + "login": "fbelzunc", + "id": 3898648, + "node_id": "MDQ6VXNlcjM4OTg2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3898648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fbelzunc", + "html_url": "https://github.com/fbelzunc", + "followers_url": "https://api.github.com/users/fbelzunc/followers", + "following_url": "https://api.github.com/users/fbelzunc/following{/other_user}", + "gists_url": "https://api.github.com/users/fbelzunc/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fbelzunc/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fbelzunc/subscriptions", + "organizations_url": "https://api.github.com/users/fbelzunc/orgs", + "repos_url": "https://api.github.com/users/fbelzunc/repos", + "events_url": "https://api.github.com/users/fbelzunc/events{/privacy}", + "received_events_url": "https://api.github.com/users/fbelzunc/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 3, + "created_at": "2022-12-15T11:28:13Z", + "updated_at": "2023-01-19T10:37:47Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/pulls/96", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96", + "diff_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.diff", + "patch_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96.patch", + "merged_at": null + }, + "body": "The current PR adds the functionality of rotating logs daily instead of per file size.\r\n\r\nThis is very useful in case you are saving audit logs for auditing purposes as you have a file per day that represents the changes performed on that specific day. You could then send them to an S3 bucket for example. \r\n\r\nThe files will be created in the specified configured location `Log Location: /tmp/audit-trail-logs/audit.log` and will create files like the ones below. Adding at the end of the specified file a data timestamp.\r\n\r\n```\r\naudit.log-2022-12-16\r\naudit.log-2022-12-15\r\naudit.log-2022-12-14\r\n```\r\n\r\nCC @chikitulfo\r\n\r\n\r\n\r\n- [X] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!\r\n- [X] Ensure that the pull request title represents the desired changelog entry\r\n- [X] Please describe what you did\r\n- [ ] Link to relevant issues in GitHub or Jira\r\n- [ ] Link to relevant pull requests, esp. upstream and downstream changes\r\n- [X] Ensure you have provided tests - that demonstrates feature works or fixes the issue\r\n\r\n\r\n", + "reactions": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "comment": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/comments/1396763076", + "html_url": "https://github.com/jenkinsci/audit-trail-plugin/pull/96#issuecomment-1396763076", + "issue_url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/96", + "id": 1396763076, + "node_id": "IC_kwDOABHApc5TQOnE", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2023-01-19T10:37:47Z", + "updated_at": "2023-01-19T10:37:47Z", + "author_association": "CONTRIBUTOR", + "body": "Sorry I didn't have time to review this yet, I'll try to do it next week.", + "reactions": { + "url": "https://api.github.com/repos/jenkinsci/audit-trail-plugin/issues/comments/1396763076/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } + }, + "public": true, + "created_at": "2023-01-19T10:37:47Z", + "org": { + "id": 107424, + "login": "jenkinsci", + "gravatar_id": "", + "url": "https://api.github.com/orgs/jenkinsci", + "avatar_url": "https://avatars.githubusercontent.com/u/107424?" + } + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/users_pierrebtz_events_public-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/users_pierrebtz_events_public-2.json new file mode 100644 index 0000000000..04915f3660 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/__files/users_pierrebtz_events_public-2.json @@ -0,0 +1,1100 @@ +[ + { + "id": "28417092178", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627847050, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": "main", + "ref_type": "branch", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T10:29:56Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28417091682", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627847050, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": null, + "ref_type": "repository", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T10:29:54Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28417089846", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627847015, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": "main", + "ref_type": "branch", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T10:29:49Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28417089541", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627847015, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": null, + "ref_type": "repository", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T10:29:49Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28417086303", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627846950, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": "main", + "ref_type": "branch", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T10:29:40Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28417085920", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627846950, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": null, + "ref_type": "repository", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T10:29:39Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28417081790", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627846878, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": "main", + "ref_type": "branch", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T10:29:27Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28417081467", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627846878, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": null, + "ref_type": "repository", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T10:29:26Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28417078254", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627846820, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": "main", + "ref_type": "branch", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T10:29:17Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28417077932", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627846820, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": null, + "ref_type": "repository", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T10:29:16Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28417064775", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627846624, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": "main", + "ref_type": "branch", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T10:28:41Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28417064527", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627846624, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": null, + "ref_type": "repository", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T10:28:40Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28416955472", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627844976, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": "main", + "ref_type": "branch", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T10:23:52Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28416955223", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627844976, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": null, + "ref_type": "repository", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T10:23:52Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28416328202", + "type": "IssueCommentEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 617210, + "name": "hub4j/github-api", + "url": "https://api.github.com/repos/hub4j/github-api" + }, + "payload": { + "action": "created", + "issue": { + "url": "https://api.github.com/repos/hub4j/github-api/issues/1624", + "repository_url": "https://api.github.com/repos/hub4j/github-api", + "labels_url": "https://api.github.com/repos/hub4j/github-api/issues/1624/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/issues/1624/comments", + "events_url": "https://api.github.com/repos/hub4j/github-api/issues/1624/events", + "html_url": "https://github.com/hub4j/github-api/pull/1624", + "id": 1607134951, + "node_id": "PR_kwDOAAlq-s5LJX6a", + "number": 1624, + "title": "Generify OrgAppInstallationAuthorizationProvider to support any kind of app lookup.", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 2, + "created_at": "2023-03-02T16:37:48Z", + "updated_at": "2023-04-14T09:56:31Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/hub4j/github-api/pulls/1624", + "html_url": "https://github.com/hub4j/github-api/pull/1624", + "diff_url": "https://github.com/hub4j/github-api/pull/1624.diff", + "patch_url": "https://github.com/hub4j/github-api/pull/1624.patch", + "merged_at": null + }, + "body": "# Description\r\n\r\nThe `OrgAppInstallationAuthorizationProvider` only works with organization level apps, leaving out user apps. The bulk of the class logic remains useful to perform application lookup other ways (eg using the installation id), or even to lookup for user application.\r\n\r\nThis PR provides a way for the API user to provide its own lookup logic.\r\n\r\nThis PR is submitted as a draft because:\r\n* I would need access to the `hub4j-test-org` as well as the installation id of the test app to finish writing the tests.\r\n* I'm not 100% convinced `OrgAppInstallationAuthorizationProvider` should be deprecated. The way I see it, it's not useless and just a maintenance burden that you might want to remove in the future after a deprecation phase :)\r\n\r\n# Before submitting a PR:\r\n\r\n- [x] Changes must not break binary backwards compatibility. If you are unclear on how to make the change you think is needed while maintaining backward compatibility, [CONTRIBUTING.md](CONTRIBUTING.md) for details.\r\n- [x] Add JavaDocs and other comments as appropriate. Consider including links in comments to relevant documentation on https://docs.github.com/en/rest . \r\n- [x] Add tests that cover any added or changed code. This generally requires capturing snapshot test data. See [CONTRIBUTING.md](CONTRIBUTING.md) for details.\r\n- [x] Run `mvn -D enable-ci clean install site` locally. If this command doesn't succeed, your change will not pass CI.\r\n- [x] Push your changes to a branch other than `main`. You will create your PR from that branch.\r\n\r\n# When creating a PR: \r\n\r\n- [x] Fill in the \"Description\" above with clear summary of the changes. This includes:\r\n- ~[ ] If this PR fixes one or more issues, include \"Fixes #\" lines for each issue.~ \r\n- ~[ ] Provide links to relevant documentation on https://docs.github.com/en/rest where possible.~\r\n- [x] All lines of new code should be covered by tests as reported by code coverage. Any lines that are not covered must have PR comments explaining why they cannot be covered. For example, \"Reaching this particular exception is hard and is not a particular common scenario.\"\r\n- [x] Enable \"Allow edits from maintainers\".\r\n", + "reactions": { + "url": "https://api.github.com/repos/hub4j/github-api/issues/1624/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j/github-api/issues/1624/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "comment": { + "url": "https://api.github.com/repos/hub4j/github-api/issues/comments/1508257742", + "html_url": "https://github.com/hub4j/github-api/pull/1624#issuecomment-1508257742", + "issue_url": "https://api.github.com/repos/hub4j/github-api/issues/1624", + "id": 1508257742, + "node_id": "IC_kwDOAAlq-s5Z5i_O", + "user": { + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2023-04-14T09:56:30Z", + "updated_at": "2023-04-14T09:56:30Z", + "author_association": "NONE", + "body": "@bitwiseman thanks for the access. I finally had time to complete this work...", + "reactions": { + "url": "https://api.github.com/repos/hub4j/github-api/issues/comments/1508257742/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } + }, + "public": true, + "created_at": "2023-04-14T09:56:31Z", + "org": { + "id": 54909825, + "login": "hub4j", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j", + "avatar_url": "https://avatars.githubusercontent.com/u/54909825?" + } + }, + { + "id": "28416107012", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627831602, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": "main", + "ref_type": "branch", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T09:46:46Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28416106622", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627831602, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": null, + "ref_type": "repository", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T09:46:45Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28416104711", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627831568, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": "main", + "ref_type": "branch", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T09:46:40Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28416104351", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627831568, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": null, + "ref_type": "repository", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T09:46:39Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28416100777", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627831506, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": null, + "ref_type": "repository", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T09:46:29Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28416101046", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627831506, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": "main", + "ref_type": "branch", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T09:46:30Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28416096242", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627831437, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": "main", + "ref_type": "branch", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T09:46:17Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28416096050", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627831437, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": null, + "ref_type": "repository", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T09:46:17Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28416092544", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627831387, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": "main", + "ref_type": "branch", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T09:46:07Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28416092214", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627831387, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": null, + "ref_type": "repository", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T09:46:06Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28416062608", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627830900, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": "main", + "ref_type": "branch", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T09:44:48Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28416062374", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627830900, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": null, + "ref_type": "repository", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T09:44:47Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28416060343", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627830861, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": "main", + "ref_type": "branch", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T09:44:42Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28416060072", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627830861, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": null, + "ref_type": "repository", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T09:44:41Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + }, + { + "id": "28416056662", + "type": "CreateEvent", + "actor": { + "id": 9881659, + "login": "PierreBtz", + "display_login": "PierreBtz", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?" + }, + "repo": { + "id": 627830807, + "name": "hub4j-test-org/github-api-test", + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test" + }, + "payload": { + "ref": "main", + "ref_type": "branch", + "master_branch": "main", + "description": "A test repository for testing the github-api project: github-api-test", + "pusher_type": "user" + }, + "public": true, + "created_at": "2023-04-14T09:44:33Z", + "org": { + "id": 7544739, + "login": "hub4j-test-org", + "gravatar_id": "", + "url": "https://api.github.com/orgs/hub4j-test-org", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?" + } + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/orgs_hub4j-10.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/orgs_hub4j-10.json new file mode 100644 index 0000000000..e96842bba3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/orgs_hub4j-10.json @@ -0,0 +1,51 @@ +{ + "id": "319161e2-5ca3-4b9b-a864-d2769ac65c0a", + "name": "orgs_hub4j", + "request": { + "url": "/orgs/hub4j", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hub4j-10.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 14 Apr 2023 10:30:36 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"17886ad5c709d602ea2edce0f5e2d0eaa4ce42eb7c93ccff5095454230e09133\"", + "Last-Modified": "Fri, 08 May 2020 21:26:19 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "github-authentication-token-expiration": "2023-05-14 08:53:01 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4759", + "X-RateLimit-Reset": "1681471155", + "X-RateLimit-Used": "241", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "C5C5:1390:D738B6:1BBB72B:64392B4C" + } + }, + "uuid": "319161e2-5ca3-4b9b-a864-d2769ac65c0a", + "persistent": true, + "insertionIndex": 10 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/repos_hub4j_github-api-11.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/repos_hub4j_github-api-11.json new file mode 100644 index 0000000000..c735bfcea5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/repos_hub4j_github-api-11.json @@ -0,0 +1,51 @@ +{ + "id": "53397f79-286b-40e3-a46e-7f0b62f9a25e", + "name": "repos_hub4j_github-api", + "request": { + "url": "/repos/hub4j/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j_github-api-11.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 14 Apr 2023 10:30:37 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"bac5736f3987e66f5d6ab2330342e5bc4ed32a83cc9755ab208df5c66e6fa3d0\"", + "Last-Modified": "Fri, 14 Apr 2023 09:46:15 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2023-05-14 08:53:01 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4758", + "X-RateLimit-Reset": "1681471155", + "X-RateLimit-Used": "242", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "C5C6:159C:E2F7A4:1D30890:64392B4C" + } + }, + "uuid": "53397f79-286b-40e3-a46e-7f0b62f9a25e", + "persistent": true, + "insertionIndex": 11 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user-1.json new file mode 100644 index 0000000000..df77409e00 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user-1.json @@ -0,0 +1,51 @@ +{ + "id": "707ef7bb-0c32-468f-8fbd-3e6484b992a7", + "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": "Fri, 14 Apr 2023 10:30:29 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/\"73d604d21fe5c7578604fafd3caaea441d8d1b33b6a7ee437e050ba01c63f39c\"", + "Last-Modified": "Thu, 13 Apr 2023 15:51:35 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-05-14 08:53:01 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4769", + "X-RateLimit-Reset": "1681471155", + "X-RateLimit-Used": "231", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "C5BC:6C1E:E30F35:1D2C06D:64392B45" + } + }, + "uuid": "707ef7bb-0c32-468f-8fbd-3e6484b992a7", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user_9881659_events_public-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user_9881659_events_public-3.json new file mode 100644 index 0000000000..10d3c09c14 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user_9881659_events_public-3.json @@ -0,0 +1,53 @@ +{ + "id": "c5b548a9-1c5e-4e92-be20-c28938172fe6", + "name": "user_9881659_events_public", + "request": { + "url": "/user/9881659/events/public?page=2", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user_9881659_events_public-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 14 Apr 2023 10:30:31 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/\"19848c85743be1e583d6c54e6d23a7c678210fe724dd5160d307416f016fbac1\"", + "Last-Modified": "Fri, 14 Apr 2023 09:44:31 GMT", + "X-Poll-Interval": "60", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-05-14 08:53:01 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4766", + "X-RateLimit-Reset": "1681471155", + "X-RateLimit-Used": "234", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "C5BE:65B8:D6D8BF:1BA8266:64392B46", + "Link": "; rel=\"prev\", ; rel=\"next\", ; rel=\"last\", ; rel=\"first\"" + } + }, + "uuid": "c5b548a9-1c5e-4e92-be20-c28938172fe6", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user_9881659_events_public-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user_9881659_events_public-4.json new file mode 100644 index 0000000000..2d0f22f9f8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user_9881659_events_public-4.json @@ -0,0 +1,53 @@ +{ + "id": "d326540e-2493-43b4-ac55-3a674b873156", + "name": "user_9881659_events_public", + "request": { + "url": "/user/9881659/events/public?page=3", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user_9881659_events_public-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 14 Apr 2023 10:30:31 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/\"227972ff561a621d376f1d0b24b5db0f2f2c19e85fbd56b5160d3c8888740dad\"", + "Last-Modified": "Mon, 03 Apr 2023 10:10:01 GMT", + "X-Poll-Interval": "60", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-05-14 08:53:01 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4765", + "X-RateLimit-Reset": "1681471155", + "X-RateLimit-Used": "235", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "C5BF:576B:D18CB9:1B08B08:64392B47", + "Link": "; rel=\"prev\", ; rel=\"next\", ; rel=\"last\", ; rel=\"first\"" + } + }, + "uuid": "d326540e-2493-43b4-ac55-3a674b873156", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user_9881659_events_public-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user_9881659_events_public-5.json new file mode 100644 index 0000000000..f3926e1563 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user_9881659_events_public-5.json @@ -0,0 +1,53 @@ +{ + "id": "9c39603e-fd85-49e1-afa2-cb83d44f7eea", + "name": "user_9881659_events_public", + "request": { + "url": "/user/9881659/events/public?page=4", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user_9881659_events_public-5.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 14 Apr 2023 10:30:32 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/\"a139b5a8504378b77e4ad307609b666c6f6d72fb5c0858f5a3323188751d2d61\"", + "Last-Modified": "Mon, 20 Mar 2023 09:34:43 GMT", + "X-Poll-Interval": "60", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-05-14 08:53:01 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4764", + "X-RateLimit-Reset": "1681471155", + "X-RateLimit-Used": "236", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "C5C0:5950:CD2D4C:1A76F26:64392B48", + "Link": "; rel=\"prev\", ; rel=\"next\", ; rel=\"last\", ; rel=\"first\"" + } + }, + "uuid": "9c39603e-fd85-49e1-afa2-cb83d44f7eea", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user_9881659_events_public-6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user_9881659_events_public-6.json new file mode 100644 index 0000000000..967525a5ad --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user_9881659_events_public-6.json @@ -0,0 +1,53 @@ +{ + "id": "d6cd04ce-78f2-4335-a3e7-33e2b22f43f1", + "name": "user_9881659_events_public", + "request": { + "url": "/user/9881659/events/public?page=5", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user_9881659_events_public-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 14 Apr 2023 10:30:33 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"fd190cc27740185030291aaf99fb7bb3999ec0c41b4df050182913a87a5c431d\"", + "Last-Modified": "Thu, 09 Mar 2023 13:49:22 GMT", + "X-Poll-Interval": "60", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-05-14 08:53:01 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4763", + "X-RateLimit-Reset": "1681471155", + "X-RateLimit-Used": "237", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "C5C1:1A2C:D52D9D:1B7235D:64392B49", + "Link": "; rel=\"prev\", ; rel=\"next\", ; rel=\"last\", ; rel=\"first\"" + } + }, + "uuid": "d6cd04ce-78f2-4335-a3e7-33e2b22f43f1", + "persistent": true, + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user_9881659_events_public-7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user_9881659_events_public-7.json new file mode 100644 index 0000000000..07650dbc44 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user_9881659_events_public-7.json @@ -0,0 +1,53 @@ +{ + "id": "f5565be2-f059-4d73-9a31-94e1e87369ca", + "name": "user_9881659_events_public", + "request": { + "url": "/user/9881659/events/public?page=6", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user_9881659_events_public-7.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 14 Apr 2023 10:30:34 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/\"b3a8273b75efef955e1e9fdb9fc373b9d22c6dda0b6664a8ff3afb9fdf01321a\"", + "Last-Modified": "Fri, 03 Mar 2023 13:33:40 GMT", + "X-Poll-Interval": "60", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-05-14 08:53:01 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4762", + "X-RateLimit-Reset": "1681471155", + "X-RateLimit-Used": "238", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "C5C2:0A09:DCBA21:1C66EAF:64392B49", + "Link": "; rel=\"prev\", ; rel=\"next\", ; rel=\"last\", ; rel=\"first\"" + } + }, + "uuid": "f5565be2-f059-4d73-9a31-94e1e87369ca", + "persistent": true, + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user_9881659_events_public-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user_9881659_events_public-8.json new file mode 100644 index 0000000000..11658e93c2 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user_9881659_events_public-8.json @@ -0,0 +1,53 @@ +{ + "id": "575826d3-bee1-4084-bd64-81aa77f72870", + "name": "user_9881659_events_public", + "request": { + "url": "/user/9881659/events/public?page=7", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user_9881659_events_public-8.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 14 Apr 2023 10:30:35 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"de313e052bf9655b5ea0d57522f18f6de796d91aa52dfffa7361f051ad14b216\"", + "Last-Modified": "Fri, 03 Mar 2023 10:51:50 GMT", + "X-Poll-Interval": "60", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-05-14 08:53:01 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4761", + "X-RateLimit-Reset": "1681471155", + "X-RateLimit-Used": "239", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "C5C3:576B:D19042:1B09258:64392B4A", + "Link": "; rel=\"prev\", ; rel=\"next\", ; rel=\"last\", ; rel=\"first\"" + } + }, + "uuid": "575826d3-bee1-4084-bd64-81aa77f72870", + "persistent": true, + "insertionIndex": 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user_9881659_events_public-9.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user_9881659_events_public-9.json new file mode 100644 index 0000000000..260a71dc75 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/user_9881659_events_public-9.json @@ -0,0 +1,53 @@ +{ + "id": "7fa8f12b-7c40-48ad-b9a5-df42ac2dcc16", + "name": "user_9881659_events_public", + "request": { + "url": "/user/9881659/events/public?page=8", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user_9881659_events_public-9.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 14 Apr 2023 10:30:35 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"43148e753d0c870d80f889465bbd53b26b42a591610c25d0c479a7b5d2790de6\"", + "Last-Modified": "Tue, 31 Jan 2023 10:44:03 GMT", + "X-Poll-Interval": "60", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-05-14 08:53:01 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4760", + "X-RateLimit-Reset": "1681471155", + "X-RateLimit-Used": "240", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "C5C4:1A2C:D530CA:1B72A06:64392B4B", + "Link": "; rel=\"prev\", ; rel=\"first\"" + } + }, + "uuid": "7fa8f12b-7c40-48ad-b9a5-df42ac2dcc16", + "persistent": true, + "insertionIndex": 9 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/users_pierrebtz_events_public-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/users_pierrebtz_events_public-2.json new file mode 100644 index 0000000000..3f8305ecf6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testUserPublicEventApi/mappings/users_pierrebtz_events_public-2.json @@ -0,0 +1,53 @@ +{ + "id": "3523b3bf-59fb-4067-9e96-09c1e2c0489c", + "name": "users_pierrebtz_events_public", + "request": { + "url": "/users/PierreBtz/events/public", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "users_pierrebtz_events_public-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 14 Apr 2023 10:30:30 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/\"86d0517dface20075f5beb5287aa6a413faff55313a79d132a0adaab4a03abef\"", + "Last-Modified": "Fri, 14 Apr 2023 10:29:56 GMT", + "X-Poll-Interval": "60", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-05-14 08:53:01 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4767", + "X-RateLimit-Reset": "1681471155", + "X-RateLimit-Used": "233", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "C5BD:1A2C:D52965:1B71AB3:64392B46", + "Link": "; rel=\"next\", ; rel=\"last\"" + } + }, + "uuid": "3523b3bf-59fb-4067-9e96-09c1e2c0489c", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler-2.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler-2.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler-2.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler-2.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits-3.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits-3.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits-3.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits-3.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-8.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-8.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-8.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-8.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-9.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-9.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-9.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-9.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-10.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-10.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-10.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-10.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-11.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-11.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-11.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-11.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-12.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-12.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-12.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-12.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-13.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-13.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-13.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-13.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-22.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-22.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-22.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-22.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-23.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-23.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-23.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-23.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-18.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-18.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-18.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-18.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-19.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-19.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-19.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-19.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-6.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-6.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-6.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-6.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-7.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-7.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-7.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-7.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-20.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-20.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-20.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-20.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-21.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-21.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-21.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-21.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-4.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-4.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-4.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-4.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-5.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-5.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-5.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-5.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-14.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-14.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-14.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-14.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-15.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-15.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-15.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-15.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-16.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-16.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-16.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-16.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-17.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-17.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-17.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-17.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/user-1.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/user-1.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/__files/user-1.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/__files/user-1.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler-2.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler-2.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler-2.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler-2.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits-3.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits-3.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits-3.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits-3.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-8.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-8.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-8.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-8.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-9.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-9.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-9.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_06b1108ec041fd8d6e7f54c8578d84a672fee9e4-9.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-10.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-10.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-10.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-10.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-11.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-11.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-11.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_2a971c4e38c6d6693f7ad8b6768e4d74840d6679-11.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-12.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-12.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-12.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-12.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-13.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-13.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-13.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_2f4ca0f03c1e6188867bddddce12ff213a107d9d-13.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-22.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-22.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-22.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-22.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-23.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-23.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-23.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_4f260c560ec120f4e2c2ed727244690b1f4d5dca-23.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-18.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-18.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-18.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-18.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-19.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-19.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-19.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_53ce34d7d89c5172ae4f4f3167e35852b1910b59-19.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-6.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-6.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-6.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-6.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-7.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-7.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-7.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_6a243869aa3c3f80579102d00848a0083953d654-7.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-20.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-20.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-20.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-20.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-21.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-21.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-21.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_72343298733508cced8dcb8eb43594bcc6130b26-21.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-4.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-4.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-4.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-4.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-5.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-5.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-5.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_950acbd60ed4289520dcd2a395e5d77f181e1cff-5.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-14.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-14.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-14.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-14.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-15.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-15.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-15.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_d922b808068cf95d6f6ab624ce2c7f49d51f5321-15.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-16.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-16.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-16.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-16.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-17.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-17.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-17.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/repos_stapler_stapler_commits_efe737fa365a0187e052bc81391efbd84847a1b0-17.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/user-1.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/user-1.json similarity index 100% rename from src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFiles/mappings/user-1.json rename to src/test/resources/org/kohsuke/github/CommitTest/wiremock/getFiles/mappings/user-1.json diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..d1155bee31 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,31 @@ +{ + "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": 26, + "public_gists": 0, + "followers": 1, + "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/CommitTest/wiremock/getMessage/__files/repos_hub4j-test-org_committest-3.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/__files/repos_hub4j-test-org_committest-3.json new file mode 100644 index 0000000000..e846a32a4c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/__files/repos_hub4j-test-org_committest-3.json @@ -0,0 +1,129 @@ +{ + "id": 657543062, + "node_id": "R_kgDOJzFPlg", + "name": "CommitTest", + "full_name": "hub4j-test-org/CommitTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/CommitTest", + "description": "Repository used by CommitTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/deployments", + "created_at": "2023-06-23T09:43:53Z", + "updated_at": "2023-06-23T12:58:28Z", + "pushed_at": "2023-06-23T09:52:49Z", + "git_url": "git://github.com/hub4j-test-org/CommitTest.git", + "ssh_url": "git@github.com:hub4j-test-org/CommitTest.git", + "clone_url": "https://github.com/hub4j-test-org/CommitTest.git", + "svn_url": "https://github.com/hub4j-test-org/CommitTest", + "homepage": null, + "size": 27, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 21 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/__files/repos_hub4j-test-org_committest_commits_dabf0e89fe7107d6e294a924561533ecf80f2384-4.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/__files/repos_hub4j-test-org_committest_commits_dabf0e89fe7107d6e294a924561533ecf80f2384-4.json new file mode 100644 index 0000000000..56cb469415 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/__files/repos_hub4j-test-org_committest_commits_dabf0e89fe7107d6e294a924561533ecf80f2384-4.json @@ -0,0 +1,422 @@ +{ + "sha": "dabf0e89fe7107d6e294a924561533ecf80f2384", + "node_id": "C_kwDOJzFPltoAKGRhYmYwZTg5ZmU3MTA3ZDZlMjk0YTkyNDU2MTUzM2VjZjgwZjIzODQ", + "commit": { + "author": { + "name": "Stephen Horgan", + "email": "frink182@users.noreply.github.com", + "date": "2023-06-23T09:52:45Z" + }, + "committer": { + "name": "Stephen Horgan", + "email": "frink182@users.noreply.github.com", + "date": "2023-06-23T09:52:45Z" + }, + "message": "A commit with a few files", + "tree": { + "sha": "bf2f212df308d53119dc94ddc20eb596ca38e8ac", + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/trees/bf2f212df308d53119dc94ddc20eb596ca38e8ac" + }, + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/commits/dabf0e89fe7107d6e294a924561533ecf80f2384", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/commits/dabf0e89fe7107d6e294a924561533ecf80f2384", + "html_url": "https://github.com/hub4j-test-org/CommitTest/commit/dabf0e89fe7107d6e294a924561533ecf80f2384", + "comments_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/commits/dabf0e89fe7107d6e294a924561533ecf80f2384/comments", + "author": { + "login": "frink182", + "id": 10921922, + "node_id": "MDQ6VXNlcjEwOTIxOTIy", + "avatar_url": "https://avatars.githubusercontent.com/u/10921922?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/frink182", + "html_url": "https://github.com/frink182", + "followers_url": "https://api.github.com/users/frink182/followers", + "following_url": "https://api.github.com/users/frink182/following{/other_user}", + "gists_url": "https://api.github.com/users/frink182/gists{/gist_id}", + "starred_url": "https://api.github.com/users/frink182/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/frink182/subscriptions", + "organizations_url": "https://api.github.com/users/frink182/orgs", + "repos_url": "https://api.github.com/users/frink182/repos", + "events_url": "https://api.github.com/users/frink182/events{/privacy}", + "received_events_url": "https://api.github.com/users/frink182/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "frink182", + "id": 10921922, + "node_id": "MDQ6VXNlcjEwOTIxOTIy", + "avatar_url": "https://avatars.githubusercontent.com/u/10921922?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/frink182", + "html_url": "https://github.com/frink182", + "followers_url": "https://api.github.com/users/frink182/followers", + "following_url": "https://api.github.com/users/frink182/following{/other_user}", + "gists_url": "https://api.github.com/users/frink182/gists{/gist_id}", + "starred_url": "https://api.github.com/users/frink182/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/frink182/subscriptions", + "organizations_url": "https://api.github.com/users/frink182/orgs", + "repos_url": "https://api.github.com/users/frink182/repos", + "events_url": "https://api.github.com/users/frink182/events{/privacy}", + "received_events_url": "https://api.github.com/users/frink182/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/commits/b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "html_url": "https://github.com/hub4j-test-org/CommitTest/commit/b83812aa76bb7c3c43da96fbf8aec1e45db87624" + } + ], + "stats": { + "total": 28, + "additions": 0, + "deletions": 28 + }, + "files": [ + { + "sha": "75eda8d1cda42b65f94bed0f37ae01a87d0b7355", + "filename": "random/9016.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9016.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9016.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9016.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-19378" + }, + { + "sha": "ad120f8060ecbd270e2389363d676dbbbc926948", + "filename": "random/9022.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9022.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9022.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9022.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-25931" + }, + { + "sha": "926254112306e8b0266c8305b7603ee3b42ba89a", + "filename": "random/9039.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9039.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9039.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9039.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-27153" + }, + { + "sha": "251d54deaf456022558d283ce73fb28aef7eec6a", + "filename": "random/9051.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9051.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9051.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9051.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-9121" + }, + { + "sha": "bea6c87fde2c2d5bf0fa83246251b56b39d6329c", + "filename": "random/9122.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9122.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9122.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9122.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-21593" + }, + { + "sha": "f992d65065b2c6c6e30aefd3086a3302b406dfd4", + "filename": "random/9126.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9126.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9126.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9126.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-8947" + }, + { + "sha": "7cf74aca5488cafda4f7feabb0c15976a9d1d56b", + "filename": "random/9156.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9156.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9156.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9156.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-13964" + }, + { + "sha": "3d068fdc94329daeb7dac8ede8ce564449f797fd", + "filename": "random/9165.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9165.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9165.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9165.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-26012" + }, + { + "sha": "1ad4e3d972a12cbe574ea529b0ed4e8122ec10c9", + "filename": "random/922.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F922.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F922.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F922.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-32311" + }, + { + "sha": "b3084c0a62aab761640b385dc96a046ec7d1da8e", + "filename": "random/9220.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9220.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9220.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9220.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-23889" + }, + { + "sha": "7182af9961399938b8c00e1e2d84ce7ebb2a2dab", + "filename": "random/9286.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9286.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9286.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9286.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-28563" + }, + { + "sha": "35fc9dd49e1abb8b0cc6c8a0a2e42298e68ec4e6", + "filename": "random/9291.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9291.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9291.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9291.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-14003" + }, + { + "sha": "faa29ef7e5d0be6da92ae8920b95dbad1a331f21", + "filename": "random/9347.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9347.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9347.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9347.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-1184" + }, + { + "sha": "37ce6f2909f097320b07d808958066b1df4d4b6f", + "filename": "random/9367.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9367.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9367.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9367.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-27492" + }, + { + "sha": "f609e173d2baf6d4a50785ca9f505cc4ad75da22", + "filename": "random/9383.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9383.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9383.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9383.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-20661" + }, + { + "sha": "738688342c10ed3106d152820e942dd57257a58c", + "filename": "random/9400.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9400.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9400.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9400.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-28397" + }, + { + "sha": "eac03d8bcdaf572eee49f967e1921f2ab16b3c69", + "filename": "random/952.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F952.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F952.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F952.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-10072" + }, + { + "sha": "1125b8a65723efe5e00b0311d6587c5c93e38e26", + "filename": "random/9533.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9533.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9533.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9533.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-18623" + }, + { + "sha": "74a16aae535681e4c92b7875189fc79fc05da739", + "filename": "random/9567.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9567.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9567.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9567.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-22985" + }, + { + "sha": "736dfba31951429e99623e9f92f1287399260e0c", + "filename": "random/9601.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9601.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9601.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9601.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-14968" + }, + { + "sha": "61560f2b8a50f81bc2da2ed4cbbde276304c0d8c", + "filename": "random/9658.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9658.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9658.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9658.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-23193" + }, + { + "sha": "212000d5d19addce43e0c6d756a99cbf6e2bf857", + "filename": "random/970.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F970.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F970.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F970.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-29137" + }, + { + "sha": "d8d30652a50892d149a3b22618e8140f2cab0012", + "filename": "random/9780.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9780.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9780.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9780.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-22061" + }, + { + "sha": "3c3026c1544bb8b9a9cf6e8eb3fdaf7c82d593fa", + "filename": "random/9786.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9786.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9786.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9786.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-17545" + }, + { + "sha": "5e70af066247fa61b1d80640a177d57f43dac27b", + "filename": "random/9852.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9852.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9852.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9852.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-30327" + }, + { + "sha": "d5633366b7d2d7e7ccf2501887462a512358356f", + "filename": "random/9958.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9958.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9958.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9958.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-9532" + }, + { + "sha": "88af16f4f329470ef3124e15f732476930ab5e01", + "filename": "random/998.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F998.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F998.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F998.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-12704" + }, + { + "sha": "1819e489226215dfc59436313c6aa70a2d764672", + "filename": "random/9985.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9985.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9985.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9985.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-10402" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/__files/user-1.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/__files/user-1.json new file mode 100644 index 0000000000..5bb6552b14 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/__files/user-1.json @@ -0,0 +1,34 @@ +{ + "login": "frink182", + "id": 10921922, + "node_id": "MDQ6VXNlcjEwOTIxOTIy", + "avatar_url": "https://avatars.githubusercontent.com/u/10921922?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/frink182", + "html_url": "https://github.com/frink182", + "followers_url": "https://api.github.com/users/frink182/followers", + "following_url": "https://api.github.com/users/frink182/following{/other_user}", + "gists_url": "https://api.github.com/users/frink182/gists{/gist_id}", + "starred_url": "https://api.github.com/users/frink182/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/frink182/subscriptions", + "organizations_url": "https://api.github.com/users/frink182/orgs", + "repos_url": "https://api.github.com/users/frink182/repos", + "events_url": "https://api.github.com/users/frink182/events{/privacy}", + "received_events_url": "https://api.github.com/users/frink182/received_events", + "type": "User", + "site_admin": false, + "name": null, + "company": null, + "blog": "", + "location": null, + "email": null, + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 2, + "public_gists": 0, + "followers": 0, + "following": 1, + "created_at": "2015-02-09T11:27:02Z", + "updated_at": "2023-06-19T12:28:16Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..5cc0bb434c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,49 @@ +{ + "id": "568ad1f7-70f3-44b4-9dd2-fced1bda461c", + "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": { + "Server": "GitHub.com", + "Date": "Fri, 23 Jun 2023 13:45:42 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"f088026de3a7d5b131d22cc2e1f5f9c2162bacfd941b25b52b253d81245f2ee3\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "github-authentication-token-expiration": "2023-07-19 10:23:39 +0100", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4706", + "X-RateLimit-Reset": "1687528241", + "X-RateLimit-Used": "294", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "BD97:111A:7D15490:7E51FFF:6495A206" + } + }, + "uuid": "568ad1f7-70f3-44b4-9dd2-fced1bda461c", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/mappings/repos_hub4j-test-org_committest-3.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/mappings/repos_hub4j-test-org_committest-3.json new file mode 100644 index 0000000000..ed57a32643 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/mappings/repos_hub4j-test-org_committest-3.json @@ -0,0 +1,49 @@ +{ + "id": "f7aa481e-6f1a-4a8a-b76a-c092eb976ce1", + "name": "repos_hub4j-test-org_committest", + "request": { + "url": "/repos/hub4j-test-org/CommitTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_committest-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 23 Jun 2023 13:45:42 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"98268d9c57c53e7c3cf61ab77b0aa654fc9cad2b9cf048989e80acada2aaccd0\"", + "Last-Modified": "Fri, 23 Jun 2023 12:58:28 GMT", + "github-authentication-token-expiration": "2023-07-19 10:23:39 +0100", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4705", + "X-RateLimit-Reset": "1687528241", + "X-RateLimit-Used": "295", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "7596:3F14:319F1C1:322CDF6:6495A206" + } + }, + "uuid": "f7aa481e-6f1a-4a8a-b76a-c092eb976ce1", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/mappings/repos_hub4j-test-org_committest_commits_dabf0e89fe7107d6e294a924561533ecf80f2384-4.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/mappings/repos_hub4j-test-org_committest_commits_dabf0e89fe7107d6e294a924561533ecf80f2384-4.json new file mode 100644 index 0000000000..94e928d817 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/mappings/repos_hub4j-test-org_committest_commits_dabf0e89fe7107d6e294a924561533ecf80f2384-4.json @@ -0,0 +1,49 @@ +{ + "id": "a285c063-57a7-4fb4-88ed-4d918b86dadf", + "name": "repos_hub4j-test-org_committest_commits_dabf0e89fe7107d6e294a924561533ecf80f2384", + "request": { + "url": "/repos/hub4j-test-org/CommitTest/commits/dabf0e89fe7107d6e294a924561533ecf80f2384", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_committest_commits_dabf0e89fe7107d6e294a924561533ecf80f2384-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 23 Jun 2023 13:45:43 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"6ea0a1de87eb2456ac1d04542fb8c991256a409b20e279ad0167e2d6136b1acd\"", + "Last-Modified": "Fri, 23 Jun 2023 09:52:45 GMT", + "github-authentication-token-expiration": "2023-07-19 10:23:39 +0100", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4704", + "X-RateLimit-Reset": "1687528241", + "X-RateLimit-Used": "296", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "8839:5D2A:7EDAEAB:8017A05:6495A206" + } + }, + "uuid": "a285c063-57a7-4fb4-88ed-4d918b86dadf", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/mappings/user-1.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/mappings/user-1.json new file mode 100644 index 0000000000..cbf2dbe6e5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/getMessage/mappings/user-1.json @@ -0,0 +1,49 @@ +{ + "id": "a43edd39-0975-47f6-8142-ae9f26d4660c", + "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": "Fri, 23 Jun 2023 13:45:41 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"b142ca081f3c3ae38c3b38386b1f54994546feb4c284595350117b14b741cd37\"", + "Last-Modified": "Mon, 19 Jun 2023 12:28:16 GMT", + "github-authentication-token-expiration": "2023-07-19 10:23:39 +0100", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4708", + "X-RateLimit-Reset": "1687528241", + "X-RateLimit-Used": "292", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "183E:B69E:7986A76:7AC363F:6495A205" + } + }, + "uuid": "a43edd39-0975-47f6-8142-ae9f26d4660c", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..d1155bee31 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,31 @@ +{ + "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": 26, + "public_gists": 0, + "followers": 1, + "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/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/__files/repos_hub4j-test-org_committest-3.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/__files/repos_hub4j-test-org_committest-3.json new file mode 100644 index 0000000000..e846a32a4c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/__files/repos_hub4j-test-org_committest-3.json @@ -0,0 +1,129 @@ +{ + "id": 657543062, + "node_id": "R_kgDOJzFPlg", + "name": "CommitTest", + "full_name": "hub4j-test-org/CommitTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/CommitTest", + "description": "Repository used by CommitTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/deployments", + "created_at": "2023-06-23T09:43:53Z", + "updated_at": "2023-06-23T12:58:28Z", + "pushed_at": "2023-06-23T09:52:49Z", + "git_url": "git://github.com/hub4j-test-org/CommitTest.git", + "ssh_url": "git@github.com:hub4j-test-org/CommitTest.git", + "clone_url": "https://github.com/hub4j-test-org/CommitTest.git", + "svn_url": "https://github.com/hub4j-test-org/CommitTest", + "homepage": null, + "size": 27, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 21 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/__files/repos_hub4j-test-org_committest_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-4.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/__files/repos_hub4j-test-org_committest_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-4.json new file mode 100644 index 0000000000..591a59f8d5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/__files/repos_hub4j-test-org_committest_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-4.json @@ -0,0 +1,3686 @@ +{ + "sha": "b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "node_id": "C_kwDOJzFPltoAKGI4MzgxMmFhNzZiYjdjM2M0M2RhOTZmYmY4YWVjMWU0NWRiODc2MjQ", + "commit": { + "author": { + "name": "Stephen Horgan", + "email": "frink182@users.noreply.github.com", + "date": "2023-06-23T09:50:57Z" + }, + "committer": { + "name": "Stephen Horgan", + "email": "frink182@users.noreply.github.com", + "date": "2023-06-23T09:50:57Z" + }, + "message": "A commit with lots of files", + "tree": { + "sha": "6718afb2869b086c47122e4187b14585fed52644", + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/trees/6718afb2869b086c47122e4187b14585fed52644" + }, + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/commits/b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/commits/b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "html_url": "https://github.com/hub4j-test-org/CommitTest/commit/b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "comments_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/commits/b83812aa76bb7c3c43da96fbf8aec1e45db87624/comments", + "author": { + "login": "frink182", + "id": 10921922, + "node_id": "MDQ6VXNlcjEwOTIxOTIy", + "avatar_url": "https://avatars.githubusercontent.com/u/10921922?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/frink182", + "html_url": "https://github.com/frink182", + "followers_url": "https://api.github.com/users/frink182/followers", + "following_url": "https://api.github.com/users/frink182/following{/other_user}", + "gists_url": "https://api.github.com/users/frink182/gists{/gist_id}", + "starred_url": "https://api.github.com/users/frink182/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/frink182/subscriptions", + "organizations_url": "https://api.github.com/users/frink182/orgs", + "repos_url": "https://api.github.com/users/frink182/repos", + "events_url": "https://api.github.com/users/frink182/events{/privacy}", + "received_events_url": "https://api.github.com/users/frink182/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "frink182", + "id": 10921922, + "node_id": "MDQ6VXNlcjEwOTIxOTIy", + "avatar_url": "https://avatars.githubusercontent.com/u/10921922?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/frink182", + "html_url": "https://github.com/frink182", + "followers_url": "https://api.github.com/users/frink182/followers", + "following_url": "https://api.github.com/users/frink182/following{/other_user}", + "gists_url": "https://api.github.com/users/frink182/gists{/gist_id}", + "starred_url": "https://api.github.com/users/frink182/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/frink182/subscriptions", + "organizations_url": "https://api.github.com/users/frink182/orgs", + "repos_url": "https://api.github.com/users/frink182/repos", + "events_url": "https://api.github.com/users/frink182/events{/privacy}", + "received_events_url": "https://api.github.com/users/frink182/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "5cd73f73a713a9b912a6c82334d6b7c7dab0fe96", + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/commits/5cd73f73a713a9b912a6c82334d6b7c7dab0fe96", + "html_url": "https://github.com/hub4j-test-org/CommitTest/commit/5cd73f73a713a9b912a6c82334d6b7c7dab0fe96" + } + ], + "stats": { + "total": 691, + "additions": 691, + "deletions": 0 + }, + "files": [ + { + "sha": "58109dfb98bafcd984fbeab28225453212473725", + "filename": "random/10054.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10054.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10054.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10054.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4202" + }, + { + "sha": "c1b93cca5c675c0ead59073b8c8040fe7fc32b3d", + "filename": "random/10083.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10083.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10083.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10083.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20054" + }, + { + "sha": "3d833d0152bb15e0fc639ebb5926fa5a7e9ba61b", + "filename": "random/10117.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10117.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10117.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10117.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7422" + }, + { + "sha": "8b7736421f3124c0c1383af38bd4a623f4f9ef6b", + "filename": "random/10129.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10129.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10129.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10129.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31715" + }, + { + "sha": "280de93c82bb2da1d383f0933cc7d1889cd9966b", + "filename": "random/10271.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10271.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10271.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10271.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14188" + }, + { + "sha": "49bf8bf0b77b1c3e5069c60955cbf1568f95d800", + "filename": "random/10286.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10286.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10286.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10286.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16231" + }, + { + "sha": "caed6f18ea4a568375a67685116979faff41d8f3", + "filename": "random/1030.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1030.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1030.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1030.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20159" + }, + { + "sha": "f1bbeacd0b541b2be1b7c0df0601a3f26ad28791", + "filename": "random/1031.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1031.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1031.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1031.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26813" + }, + { + "sha": "2e442b4e1bebab2385081439658a98cf411a0838", + "filename": "random/10341.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10341.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10341.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10341.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26190" + }, + { + "sha": "db3ad957347f4c5735bdcd0edb989e266f52b09e", + "filename": "random/10390.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10390.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10390.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10390.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23726" + }, + { + "sha": "e775b2b9963d8917f408e67b83bc4efb1e074dd0", + "filename": "random/10461.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10461.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10461.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10461.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22930" + }, + { + "sha": "77de9266d3ef4cc7e6dfffbe194c8853ede9145c", + "filename": "random/10485.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10485.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10485.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10485.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1767" + }, + { + "sha": "b9423ab4e029e1247ccf5706b45a134fed986c5e", + "filename": "random/10562.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10562.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10562.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10562.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12336" + }, + { + "sha": "4d853e9b473b67d11c439ee543239eaa0fdd8c95", + "filename": "random/10618.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10618.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10618.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10618.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24556" + }, + { + "sha": "29988c80205f0718a61492794612ee7a9ab94fee", + "filename": "random/10675.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10675.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10675.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10675.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+751" + }, + { + "sha": "24c133331a35c2fbc178d60ab0145dca1aba8084", + "filename": "random/10680.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10680.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10680.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10680.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14876" + }, + { + "sha": "2709a9818d75e0d66916d90662dcb0bcf2240ce1", + "filename": "random/1069.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1069.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1069.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1069.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17233" + }, + { + "sha": "e2de40278c03b0bab2ee0d3f9748d0d8eb168b5a", + "filename": "random/10925.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10925.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10925.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10925.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19949" + }, + { + "sha": "d2a032914a670901c68eda150909c6de4aa4e29e", + "filename": "random/10937.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10937.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10937.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10937.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23757" + }, + { + "sha": "af08b9088cf0ef87c7756330c0d03b98ff1af411", + "filename": "random/10959.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10959.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10959.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10959.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6483" + }, + { + "sha": "ee92ddfbb7d0bc7f8ff2d3a69df6c6402e68890a", + "filename": "random/10970.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10970.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10970.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10970.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19415" + }, + { + "sha": "a194806864cba3dbd597c840d399f157b7f16e73", + "filename": "random/11035.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11035.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11035.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11035.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12106" + }, + { + "sha": "ad58e907b52c0b3c802a3c1865d5fdbc7cc79c07", + "filename": "random/11062.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11062.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11062.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11062.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13075" + }, + { + "sha": "48abe000dd882219080c19912c549d35249f600f", + "filename": "random/11069.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11069.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11069.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11069.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19916" + }, + { + "sha": "20cc2a0e602e9f0484d024f810629d67aabf7cfc", + "filename": "random/11129.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11129.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11129.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11129.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30263" + }, + { + "sha": "4c23fe508263f40344889258ded7d7b2a68baae4", + "filename": "random/11174.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11174.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11174.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11174.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7879" + }, + { + "sha": "aaed00b0188132192dec6bb5705d767a41ee020c", + "filename": "random/11234.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11234.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11234.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11234.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14332" + }, + { + "sha": "0ff5ad9b30431e05092954425645f050293c8813", + "filename": "random/11265.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11265.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11265.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11265.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2361" + }, + { + "sha": "10455291eb355cf2b0430dfd4bdf0d5fb951c30b", + "filename": "random/11267.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11267.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11267.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11267.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16882" + }, + { + "sha": "5257135e4e26840aff747cf4566e385f6e1d2152", + "filename": "random/11313.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11313.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11313.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11313.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16855" + }, + { + "sha": "d7a33ea4704b08e41ae10f1b4bb6e5f9b3f8f484", + "filename": "random/11343.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11343.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11343.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11343.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+3297" + }, + { + "sha": "761fcd3ac2102706b66c0443712c3c4af9f42d9d", + "filename": "random/11348.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11348.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11348.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11348.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+499" + }, + { + "sha": "e758f9f21ed7b1bc331777e3e054e54d887aadfd", + "filename": "random/11360.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11360.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11360.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11360.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28204" + }, + { + "sha": "95f513b2a8750a50b3760a88a96a564f1f045742", + "filename": "random/11366.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11366.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11366.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11366.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30364" + }, + { + "sha": "d9062d27a112b79ad8c5d91dc7fe65e0422f809a", + "filename": "random/11466.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11466.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11466.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11466.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16660" + }, + { + "sha": "c49ee91c1b721157758d74d57e78be81db1cb47a", + "filename": "random/115.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F115.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F115.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F115.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32288" + }, + { + "sha": "f6f0b4a895689622132fdbe8f5ed16ba2781c737", + "filename": "random/11511.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11511.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11511.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11511.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28346" + }, + { + "sha": "5629b493867bcac1b0f62a11e8d1a9afe9040044", + "filename": "random/11519.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11519.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11519.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11519.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28752" + }, + { + "sha": "2573adf01667939eaa4d715ffe68c57002cb64d4", + "filename": "random/11574.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11574.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11574.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11574.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4182" + }, + { + "sha": "fcb5710b163fca50533a70130cc75ded08fbd1f3", + "filename": "random/11619.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11619.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11619.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11619.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14773" + }, + { + "sha": "fb5296e3e56435b7975a837bfe383d95b527b2b2", + "filename": "random/11668.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11668.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11668.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11668.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9493" + }, + { + "sha": "4146d1bfbc3866e9648d1caa68589c840a0959ee", + "filename": "random/11709.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11709.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11709.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11709.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20294" + }, + { + "sha": "80442778f7daab9583d7c13b2a4831baf64eb8d9", + "filename": "random/11740.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11740.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11740.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11740.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+11493" + }, + { + "sha": "f4304ee3debbd9bcb2303428825e890855bb38f4", + "filename": "random/11761.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11761.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11761.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11761.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25927" + }, + { + "sha": "2ef4cc65da8682a143116b9317f66de29d699475", + "filename": "random/11783.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11783.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11783.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11783.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4393" + }, + { + "sha": "428a9a569ea0075b32d61e66379405f8e13c5221", + "filename": "random/11843.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11843.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11843.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11843.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+11238" + }, + { + "sha": "8267ef1a708058427cb5d9574d3d69b7034fb893", + "filename": "random/11853.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11853.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11853.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11853.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24566" + }, + { + "sha": "835c5f1dcd337466bbb385de656b22792b45416a", + "filename": "random/11978.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11978.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11978.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11978.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+973" + }, + { + "sha": "b894075a640b9126c67e6b6c41acca968ade9368", + "filename": "random/12017.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12017.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12017.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12017.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21018" + }, + { + "sha": "e9feae6e323e01d13d50f203534db23b788ad612", + "filename": "random/12082.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12082.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12082.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12082.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22199" + }, + { + "sha": "9d1731d8adc8f6eaa07228211e847b6f4b61fb61", + "filename": "random/12126.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12126.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12126.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12126.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1642" + }, + { + "sha": "f9ce2ceb82c343ebc87a97008d47ac22f2ebf673", + "filename": "random/12214.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12214.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12214.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12214.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13695" + }, + { + "sha": "6265238261ba6081917451d7c7688a1bd603cca9", + "filename": "random/12222.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12222.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12222.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12222.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31039" + }, + { + "sha": "ad1c0201ef68e51c79930cbe19c86fc102b1cb88", + "filename": "random/12233.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12233.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12233.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12233.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22035" + }, + { + "sha": "ce0a11d0eb149935469242f1e5bebd57aa2cd493", + "filename": "random/12443.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12443.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12443.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12443.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1367" + }, + { + "sha": "1cd5130788b06db0d1c23854d1b6d5840e5c6283", + "filename": "random/12476.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12476.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12476.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12476.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21439" + }, + { + "sha": "2f66db150b1ed915aced0c068fd15a7eaa3989b6", + "filename": "random/1248.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1248.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1248.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1248.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15137" + }, + { + "sha": "0b7138ded57a23662b330dca1a29223ac878e4bb", + "filename": "random/12513.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12513.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12513.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12513.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22595" + }, + { + "sha": "a272df67cdd076ce0b5a722c38129365ba3ea9af", + "filename": "random/12569.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12569.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12569.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12569.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22499" + }, + { + "sha": "b790b6934314afa91a63fad94d4ddfa5e9cc056b", + "filename": "random/12570.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12570.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12570.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12570.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22150" + }, + { + "sha": "9a3585133d4416d05db47b39b9104f38de4e9330", + "filename": "random/12606.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12606.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12606.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12606.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17537" + }, + { + "sha": "8503f29cee34618e65ac5cf3c9eba836710b8697", + "filename": "random/12650.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12650.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12650.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12650.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7649" + }, + { + "sha": "ee093ac5aaf62ae0ed1b0e335d77a2987e498d3d", + "filename": "random/12675.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12675.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12675.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12675.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12796" + }, + { + "sha": "643216e08df1a769631bf1b704b2243402356513", + "filename": "random/12708.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12708.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12708.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12708.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29933" + }, + { + "sha": "dcda5ac69fe7daa8e30525089b5440ee16236a28", + "filename": "random/12715.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12715.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12715.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12715.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17294" + }, + { + "sha": "94907966eaaf3b65ac50ba97d0a859edbcb0939e", + "filename": "random/12752.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12752.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12752.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12752.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28091" + }, + { + "sha": "815094360f45bd7324342f1a05f58dc439980c84", + "filename": "random/12814.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12814.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12814.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12814.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18312" + }, + { + "sha": "2d984996c225a626f1016658ccc79678e3c2a499", + "filename": "random/12834.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12834.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12834.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12834.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17504" + }, + { + "sha": "6e5fd786dd4a3d1978d93a02caff6cdec4cc7c81", + "filename": "random/12842.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12842.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12842.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12842.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29867" + }, + { + "sha": "7fba2b43771eec7be9298f8336f9a6cf52f159b0", + "filename": "random/12885.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12885.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12885.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12885.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+209" + }, + { + "sha": "20c89be1ef05fac1162b143d1f97f2eb3945e7ce", + "filename": "random/12913.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12913.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12913.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12913.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30996" + }, + { + "sha": "accf44d4842335ed03aee7843120dcf70daa67b8", + "filename": "random/12945.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12945.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12945.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12945.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1402" + }, + { + "sha": "419270dd5b881cd2c339c97632db332a10758c8e", + "filename": "random/13090.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13090.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13090.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13090.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30384" + }, + { + "sha": "165ef87e5427c30047073d8d763ef36335dac6db", + "filename": "random/13099.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13099.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13099.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13099.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20150" + }, + { + "sha": "27149576c254b367b0ca1327e4aa3a9ad9ee849a", + "filename": "random/13151.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13151.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13151.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13151.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2611" + }, + { + "sha": "a26a312b0d824e92eef87248511f892332b93aa6", + "filename": "random/13170.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13170.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13170.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13170.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32729" + }, + { + "sha": "02555d0b74881ab508bbf2027df7907b64379772", + "filename": "random/13199.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13199.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13199.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13199.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19091" + }, + { + "sha": "c48f9e045258746be228297abdb2ab587e5db7c3", + "filename": "random/13241.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13241.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13241.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13241.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+269" + }, + { + "sha": "0baf28e7dd9e728ac621da29d63f44b4b472d365", + "filename": "random/13266.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13266.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13266.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13266.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24504" + }, + { + "sha": "946caf00cf3699733cd90b18dcec3cecead48f94", + "filename": "random/13386.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13386.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13386.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13386.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8828" + }, + { + "sha": "882e3064dd2cde1768ad7ce94db9d2b8ac63d676", + "filename": "random/13387.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13387.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13387.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13387.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32068" + }, + { + "sha": "9f810330cbb38269b01d037ea61fb8ad5c8d753f", + "filename": "random/13399.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13399.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13399.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13399.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14580" + }, + { + "sha": "d90f2b1d5b5199b1dec442ae45e0a0fbd424f3ed", + "filename": "random/13444.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13444.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13444.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13444.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1026" + }, + { + "sha": "9b517ca72671b43836bc2a8dd3cb6a802750980b", + "filename": "random/13480.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13480.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13480.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13480.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18764" + }, + { + "sha": "17f03e10b2194865fdf989bfbaf2d46f5c82a0d2", + "filename": "random/13508.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13508.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13508.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13508.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+3480" + }, + { + "sha": "3028632c3c90fb159c3256a6cd8b471a8e4d1ccb", + "filename": "random/13561.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13561.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13561.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13561.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17508" + }, + { + "sha": "8840d1b1338266f480151c179427ca2c00fc918b", + "filename": "random/13624.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13624.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13624.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13624.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+27555" + }, + { + "sha": "7404e68b8aa642ef4cb71874a41ce257f4bac385", + "filename": "random/13632.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13632.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13632.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13632.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5826" + }, + { + "sha": "8d38d80416dbdabe6a10aa5d627f4a5795ee24a5", + "filename": "random/13687.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13687.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13687.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13687.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4707" + }, + { + "sha": "4b05652d17b4559b1ce828286ce57adc141e96f0", + "filename": "random/13688.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13688.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13688.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13688.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14601" + }, + { + "sha": "fedfc77fe06a626ccba2788976e9f8f3ac456961", + "filename": "random/1369.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1369.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1369.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1369.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30779" + }, + { + "sha": "24bfa7ba705b956e24ea78ad24acb13b44342c7f", + "filename": "random/13690.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13690.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13690.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13690.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17976" + }, + { + "sha": "9eb7ef36419ce6ab19cc29b8e2d711a2fd2e24fb", + "filename": "random/138.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F138.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F138.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F138.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29110" + }, + { + "sha": "a9497ce39b1c77399ae4d18170bae590fd589463", + "filename": "random/13855.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13855.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13855.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13855.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32119" + }, + { + "sha": "519124ef06879ce0277299e8266754c0e3818cd5", + "filename": "random/13858.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13858.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13858.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13858.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19986" + }, + { + "sha": "5fb5f3ef7c552d40bf879319849c0c3ab3632589", + "filename": "random/13895.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13895.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13895.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13895.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16046" + }, + { + "sha": "4bfcaa645630d3b54e8644f620f754944a91a8ad", + "filename": "random/13959.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13959.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13959.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13959.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6982" + }, + { + "sha": "41f2d300887b34b50bf7920a8c6ca32cec4d3434", + "filename": "random/14040.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14040.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14040.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14040.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6009" + }, + { + "sha": "5dedbc6fa02c3cc0522ff9e4ba458cba1663d0f8", + "filename": "random/14048.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14048.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14048.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14048.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23609" + }, + { + "sha": "655b7b967197287b8c3f56177365d3445fef590b", + "filename": "random/14071.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14071.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14071.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14071.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26568" + }, + { + "sha": "e546a9546ba594a14926ceb09763d4cbe05e7d90", + "filename": "random/14079.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14079.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14079.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14079.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31441" + }, + { + "sha": "1d16a6b49d637f6278456ccd2db008fb189a8759", + "filename": "random/14118.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14118.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14118.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14118.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8195" + }, + { + "sha": "e4d301eed3ae52b78aa0f554720908640bb9eafe", + "filename": "random/14126.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14126.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14126.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14126.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20023" + }, + { + "sha": "57d73c9fe6acf1d0c502f82073cbe0a4688fcb15", + "filename": "random/1420.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1420.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1420.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1420.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24331" + }, + { + "sha": "def16005beb64a19d94d8b6fc8e1101ad1665b3d", + "filename": "random/14200.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14200.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14200.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14200.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8179" + }, + { + "sha": "f3f8990db48afa944f8b7d67094e2b75f086ef0c", + "filename": "random/14279.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14279.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14279.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14279.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14141" + }, + { + "sha": "dda59effd6bec6eb3887884b4ab6911f886bfbc4", + "filename": "random/1428.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1428.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1428.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1428.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31604" + }, + { + "sha": "ee5c5adcba0f00cd28a67fbd47bbf85dfcb9b9d5", + "filename": "random/14352.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14352.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14352.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14352.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23270" + }, + { + "sha": "188a3957e0dd32b62d1472704f7f43996cddfc47", + "filename": "random/14366.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14366.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14366.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14366.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14615" + }, + { + "sha": "46a1e0753d0b594d53efc6025a50eb92d6a7e6c0", + "filename": "random/1440.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1440.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1440.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1440.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9689" + }, + { + "sha": "c8498e3241fe26197226caf8f4f4c4b9bbb71851", + "filename": "random/14448.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14448.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14448.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14448.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26506" + }, + { + "sha": "26ce5fe233906f2c7b96206b925cabce702341f4", + "filename": "random/14504.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14504.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14504.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14504.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6228" + }, + { + "sha": "e05d7e09ca23acb331bc71c9177910ffe3aed3ce", + "filename": "random/14521.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14521.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14521.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14521.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24652" + }, + { + "sha": "5b6bd6d05af0b858abfe5c0b884ef9d0a0c35159", + "filename": "random/14680.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14680.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14680.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14680.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7267" + }, + { + "sha": "cf3f777f2521eceebedab2afa1df36e15d9b0536", + "filename": "random/14703.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14703.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14703.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14703.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9170" + }, + { + "sha": "8d957a49943c2018de079e30fb076695f38e9e8b", + "filename": "random/14704.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14704.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14704.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14704.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23617" + }, + { + "sha": "1e13fe97b9a706d32ecdfc6fb1208e0a5fc34548", + "filename": "random/14723.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14723.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14723.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14723.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22905" + }, + { + "sha": "b9b885ab071b23269001bdebc2b250015c7f25e9", + "filename": "random/14741.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14741.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14741.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14741.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6031" + }, + { + "sha": "f57caa331062585edb9cf1b4fb813a7b4c6ab4f0", + "filename": "random/14778.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14778.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14778.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14778.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20749" + }, + { + "sha": "eefbcda642d34ea7fdd8809785882b648e6cda67", + "filename": "random/14804.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14804.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14804.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14804.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26089" + }, + { + "sha": "8c0653ad445aee37e8db421d3d48139e382beb54", + "filename": "random/14834.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14834.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14834.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14834.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32080" + }, + { + "sha": "db638bdbcbe80d9c598e9f5f863bac217afde0c0", + "filename": "random/14839.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14839.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14839.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14839.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8302" + }, + { + "sha": "aa87d5acfbd3b859590b1f75465cb058f334502f", + "filename": "random/14930.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14930.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14930.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14930.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12098" + }, + { + "sha": "556927fab9e930ecb5df5869d37f6447b4ec106f", + "filename": "random/14931.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14931.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14931.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14931.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12225" + }, + { + "sha": "803389ff9f51be0a2acfa5cfba1cad825050c4d4", + "filename": "random/1501.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1501.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1501.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1501.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28472" + }, + { + "sha": "ad71acb8a1ceae9098a200b342aae33a7b4eeac5", + "filename": "random/15012.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15012.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15012.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15012.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16654" + }, + { + "sha": "126b9d2a54a0fb15fb395774408bd8fc9f392563", + "filename": "random/15045.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15045.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15045.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15045.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13708" + }, + { + "sha": "bce7cf71880861fa00bf7a45e84141a764a0711a", + "filename": "random/15056.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15056.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15056.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15056.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16424" + }, + { + "sha": "f2f440eb13f87587ce3ca23fbbbb69c78ca450f1", + "filename": "random/15072.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15072.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15072.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15072.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9602" + }, + { + "sha": "048efdb52e2be816f8d83a4ca962ead0b853ccf8", + "filename": "random/15111.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15111.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15111.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15111.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+919" + }, + { + "sha": "105b190b990122f3c5ee1ea89dea833f364b2a09", + "filename": "random/15167.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15167.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15167.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15167.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32394" + }, + { + "sha": "3ca932e6958d1126c324244bc348a16a10687817", + "filename": "random/15181.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15181.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15181.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15181.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8840" + }, + { + "sha": "2603e5a5c0a181a990ee5030104457142c0073c5", + "filename": "random/15205.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15205.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15205.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15205.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15586" + }, + { + "sha": "d3ea9f5793238e330f94db2f191515684aa1bf59", + "filename": "random/15209.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15209.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15209.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15209.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23970" + }, + { + "sha": "608a55039e440cd3bcbee71c9e02a574f265522e", + "filename": "random/15329.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15329.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15329.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15329.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28374" + }, + { + "sha": "f5bb9c530258507476537a3198a7b908820dfa4e", + "filename": "random/15345.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15345.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15345.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15345.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19536" + }, + { + "sha": "459d38138452b55d7c2e3413e5e5634cf631cf28", + "filename": "random/15349.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15349.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15349.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15349.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32601" + }, + { + "sha": "8392dfc53668d19e774b85a11c47d5d7cbbc9343", + "filename": "random/15410.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15410.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15410.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15410.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15939" + }, + { + "sha": "cba04597815c4b218efcc398da12cef381e57184", + "filename": "random/15478.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15478.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15478.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15478.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29327" + }, + { + "sha": "fae180cf24a8ba6697114984b86ed8952a187043", + "filename": "random/15487.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15487.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15487.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15487.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29247" + }, + { + "sha": "df13e00702ad75a7790aa8dc82bb37fad0f2436c", + "filename": "random/1549.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1549.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1549.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1549.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31608" + }, + { + "sha": "8f32f885403ebfb42e2c61a2574fed20b3b3a7a8", + "filename": "random/15543.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15543.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15543.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15543.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13792" + }, + { + "sha": "a9ae4798040f3beaf382f0e2a47e3405fba90e85", + "filename": "random/15544.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15544.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15544.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15544.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2258" + }, + { + "sha": "1f1d3a8a62db3375caf52663947b3121d45b2d94", + "filename": "random/15552.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15552.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15552.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15552.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+10766" + }, + { + "sha": "2ebd3a0c97f42f839cf6479f837ccab04466932c", + "filename": "random/1557.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1557.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1557.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1557.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+945" + }, + { + "sha": "848b9f4e4c824bb8bc5131c8aa23f6ef4a3e6720", + "filename": "random/15575.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15575.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15575.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15575.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8710" + }, + { + "sha": "da989926c1a93478778f30e211b62ff56e6bd349", + "filename": "random/1559.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1559.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1559.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1559.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15755" + }, + { + "sha": "8ebbef08979b67a19391f05d81bc1498d399151e", + "filename": "random/15630.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15630.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15630.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15630.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12166" + }, + { + "sha": "81dfdfd15f461d5304a6a16cc2255bf18ae5705b", + "filename": "random/15666.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15666.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15666.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15666.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31000" + }, + { + "sha": "76e8ecbc6ac1ef0565ad48b3a34c6e3e3cbafd67", + "filename": "random/15668.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15668.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15668.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15668.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13338" + }, + { + "sha": "6d5177e445af0445aa76c3e54405b9ff9af6a39c", + "filename": "random/15675.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15675.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15675.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15675.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1082" + }, + { + "sha": "b76f96d7b79c0a523e9a444a0a9ace975a778f07", + "filename": "random/15721.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15721.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15721.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15721.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4906" + }, + { + "sha": "9cdbe12d23720d00e11967f1bb4fd52353b7e35b", + "filename": "random/15724.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15724.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15724.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15724.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16803" + }, + { + "sha": "579f90d67174930f922b51f3b8924d7fac3541ae", + "filename": "random/15735.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15735.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15735.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15735.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31376" + }, + { + "sha": "7743c61bc26d28b2bff2974611987127f55e7277", + "filename": "random/15771.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15771.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15771.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15771.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6910" + }, + { + "sha": "df3e459afacedd61f7b198a017177ca972278180", + "filename": "random/15814.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15814.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15814.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15814.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28885" + }, + { + "sha": "3a83c78b94577dec9df12295983aa9e656ff6506", + "filename": "random/15828.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15828.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15828.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15828.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13167" + }, + { + "sha": "a80b6f961e6c0ea08e62fe1ceb3861ff1b8e0b1b", + "filename": "random/15857.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15857.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15857.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15857.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4420" + }, + { + "sha": "069e415a5e16959b0c0302833a93e3d8a1572b8e", + "filename": "random/15876.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15876.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15876.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15876.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22441" + }, + { + "sha": "bf6950a47c65da23bed8e8fd06e9744df37cbb0f", + "filename": "random/15899.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15899.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15899.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15899.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+3387" + }, + { + "sha": "aed450155b53e8b4d19bfd76d2cb7aac07161816", + "filename": "random/15900.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15900.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15900.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15900.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13763" + }, + { + "sha": "a41893f99f90e718f2ac8bb7c179267f8678687b", + "filename": "random/15929.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15929.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15929.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15929.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20462" + }, + { + "sha": "757fa317e58fcd99c0eb5fc09944283aae2bdf63", + "filename": "random/15982.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15982.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15982.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15982.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17078" + }, + { + "sha": "edfdf9504569fc6b6ff4bdc13cacfaad86af72d9", + "filename": "random/15988.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15988.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15988.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15988.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+11708" + }, + { + "sha": "14b82c0eb857f12c38674dc4e3bed397484a74cc", + "filename": "random/1602.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1602.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1602.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1602.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30806" + }, + { + "sha": "48e0848b00c8402fff7884c067f4feb49d8d417e", + "filename": "random/16066.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16066.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16066.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16066.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19390" + }, + { + "sha": "c9b1b7c81ca42077959798ece254c8356ea05d5e", + "filename": "random/16141.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16141.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16141.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16141.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+3061" + }, + { + "sha": "eb34a7c79c0163b5eb54ded5724bf2eb5d0e74c8", + "filename": "random/16147.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16147.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16147.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16147.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29863" + }, + { + "sha": "e397113de20e34659b8e4a371ec1cb6a01975119", + "filename": "random/16299.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16299.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16299.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16299.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31854" + }, + { + "sha": "15f22840aaa1958326336e9b022c9f39f2d76318", + "filename": "random/16345.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16345.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16345.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16345.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14278" + }, + { + "sha": "91d29eedca13a8de64452768e8fcea1a6c7fcf5a", + "filename": "random/16367.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16367.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16367.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16367.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6222" + }, + { + "sha": "4946b5fbc1da2a12ca2aad3ad3bb0e4e9ea6c102", + "filename": "random/16634.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16634.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16634.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16634.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30392" + }, + { + "sha": "32950588a3a8fcebe54c86da9f603a2ce2212689", + "filename": "random/16756.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16756.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16756.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16756.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17142" + }, + { + "sha": "fa365d023484526dfb2cac67bd88cdb00cb875d1", + "filename": "random/16787.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16787.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16787.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16787.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15528" + }, + { + "sha": "ed0aba6d721ed4e46615c55c84f6b60205b39b71", + "filename": "random/168.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F168.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F168.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F168.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+3749" + }, + { + "sha": "a35854776a38a4a88aaf1e47be08403582d0e858", + "filename": "random/1689.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1689.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1689.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1689.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4201" + }, + { + "sha": "9a3b6c5527bb66f096b783052c038a490277dc76", + "filename": "random/16913.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16913.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16913.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16913.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16269" + }, + { + "sha": "67cd4cb15b58c072f5c1590357f898e3490a65fd", + "filename": "random/16940.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16940.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16940.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16940.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28296" + }, + { + "sha": "a50b24c46a189542fb34897e4a7efb185982b41b", + "filename": "random/16948.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16948.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16948.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16948.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+27210" + }, + { + "sha": "3a695d2c312b8750f7ce5fa854c08d8ede7f82b9", + "filename": "random/17043.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17043.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17043.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17043.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18481" + }, + { + "sha": "66cfe99515a7c202221157773e4be98d9dc411b9", + "filename": "random/1709.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1709.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1709.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1709.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7525" + }, + { + "sha": "56c905831364abce8f5e88ecaf33d5da3519b628", + "filename": "random/17205.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17205.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17205.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17205.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14309" + }, + { + "sha": "400354d6f22d25beab771ed6a460b3b8084045ce", + "filename": "random/1729.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1729.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1729.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1729.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29605" + }, + { + "sha": "776bb6d134bd2e733fb18d41f16d0c36a52284b9", + "filename": "random/17305.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17305.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17305.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17305.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21381" + }, + { + "sha": "a5c3fde3c17743db5d582d70778c79931da584ec", + "filename": "random/17352.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17352.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17352.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17352.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+373" + }, + { + "sha": "596134a7ce04956e7d8d141d159f12e822875e4b", + "filename": "random/17419.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17419.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17419.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17419.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18602" + }, + { + "sha": "db0e38b0ee1350806da6f95819bdb2d3eae403b7", + "filename": "random/1742.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1742.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1742.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1742.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2045" + }, + { + "sha": "b1e142d995fa14627074fc15981b8f3225c0f2d4", + "filename": "random/17426.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17426.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17426.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17426.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1584" + }, + { + "sha": "aeaee565f96102a6a20b9a354dec483498a8bf17", + "filename": "random/1748.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1748.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1748.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1748.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2985" + }, + { + "sha": "18821c947f53562d7a44727501de16849fafcb1c", + "filename": "random/17483.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17483.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17483.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17483.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15707" + }, + { + "sha": "8fdd8b5e78e72125df77d4df0b16524e4313740a", + "filename": "random/17546.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17546.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17546.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17546.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31710" + }, + { + "sha": "ffba30626f6e6f535b279009a701c74704deaf35", + "filename": "random/17580.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17580.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17580.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17580.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31182" + }, + { + "sha": "7c3005f03680f0a302f4cc669482218b8f7345d4", + "filename": "random/17704.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17704.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17704.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17704.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32170" + }, + { + "sha": "7f8678a7c58fe0ea1b64c2f10bc74d37671f69fd", + "filename": "random/17824.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17824.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17824.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17824.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13096" + }, + { + "sha": "99f88f8be65412a6f5a9cc6944cb6cb14ad6c0a2", + "filename": "random/17829.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17829.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17829.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17829.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+10932" + }, + { + "sha": "627b39e1378568b66d1c0c2f2f934937bbbf2bda", + "filename": "random/18049.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18049.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18049.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18049.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+3062" + }, + { + "sha": "cdaa99b540e82d22b47798125e7736f5998d595a", + "filename": "random/18137.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18137.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18137.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18137.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12742" + }, + { + "sha": "2eb76e72e6c68fdcd61190488f3cd3942f098bfb", + "filename": "random/18141.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18141.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18141.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18141.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12605" + }, + { + "sha": "557cea072dcbe7e72f24d31878d2e7a49769e07b", + "filename": "random/18156.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18156.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18156.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18156.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25409" + }, + { + "sha": "ee97dd04ced3a38169235397aa38bca34117ee5d", + "filename": "random/18158.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18158.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18158.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18158.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30885" + }, + { + "sha": "f4cac6ae1ed2180745fa82eb80caed34e2d753bf", + "filename": "random/18167.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18167.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18167.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18167.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9610" + }, + { + "sha": "1b800d417465778f0c38d3311983689b335ad441", + "filename": "random/18175.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18175.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18175.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18175.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7567" + }, + { + "sha": "e961d1fe2782e4e6072b172fa260c4791253ec87", + "filename": "random/18217.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18217.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18217.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18217.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17805" + }, + { + "sha": "1e5f294b61d35e398591e27a65d2c21c51dfee59", + "filename": "random/18240.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18240.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18240.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18240.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6503" + }, + { + "sha": "a8a58af06d23444bc7eaf40f155185e465142874", + "filename": "random/18322.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18322.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18322.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18322.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14810" + }, + { + "sha": "5cc796bc33729168fd2f77494aa6f9c932a44e56", + "filename": "random/18335.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18335.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18335.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18335.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6668" + }, + { + "sha": "5e19d047f41d753c73f3fb53144c566fa6982afc", + "filename": "random/18415.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18415.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18415.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18415.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26337" + }, + { + "sha": "35843b2696556ef7c393f19cac8b807af164b54c", + "filename": "random/18424.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18424.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18424.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18424.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17002" + }, + { + "sha": "6bd823fbeb53459108b7e42c171e7b2c85772007", + "filename": "random/18425.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18425.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18425.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18425.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18351" + }, + { + "sha": "500569dc4ee8b30c711848c813603ee05d92041c", + "filename": "random/18478.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18478.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18478.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18478.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12436" + }, + { + "sha": "adc7a5a8ef7c120c934704849e15379df77e1e87", + "filename": "random/18510.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18510.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18510.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18510.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23806" + }, + { + "sha": "fc4c10bd6a21de414ad4e7db16ba683b8f85ec71", + "filename": "random/18535.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18535.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18535.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18535.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7097" + }, + { + "sha": "179dae4a826ba8c007c506d014d16f5340caeaca", + "filename": "random/1861.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1861.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1861.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1861.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23370" + }, + { + "sha": "75132fa7768afcc6b9dde9332c6996b2277c783b", + "filename": "random/18626.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18626.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18626.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18626.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26908" + }, + { + "sha": "3d5ab518e1fb1845f5b68271b891a84a7d15747a", + "filename": "random/18629.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18629.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18629.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18629.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30023" + }, + { + "sha": "750c44b31236a0b81684014d04af055853e85c4c", + "filename": "random/1864.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1864.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1864.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1864.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30652" + }, + { + "sha": "049de3d31353c49bbe6c56ba699ed454c2812f5e", + "filename": "random/18670.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18670.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18670.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18670.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32250" + }, + { + "sha": "47499bca2639b021584787b49014d0827913f29d", + "filename": "random/1873.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1873.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1873.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1873.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13795" + }, + { + "sha": "08594e77eba0c79ea0b7955e96c09024ec66177f", + "filename": "random/1877.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1877.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1877.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1877.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20793" + }, + { + "sha": "0262e5efb41367f424300e98bad24571635f8501", + "filename": "random/18852.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18852.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18852.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18852.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1506" + }, + { + "sha": "b26d474ac80a3833329b9e586efa54e22d3c6fe1", + "filename": "random/18862.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18862.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18862.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18862.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5569" + }, + { + "sha": "f1281c35108ae4e8a9d8822e27bbd67045dfc4aa", + "filename": "random/18953.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18953.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18953.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18953.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21712" + }, + { + "sha": "4b92bb132c0abf33453d4b65a834743be0ca527f", + "filename": "random/19013.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19013.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19013.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19013.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13110" + }, + { + "sha": "9c95d8d2edb2ec746fa4b34d2d81887a76bf34f1", + "filename": "random/191.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F191.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F191.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F191.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9274" + }, + { + "sha": "92048a505a35e670a30c72fb6448b65d08646e8f", + "filename": "random/19131.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19131.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19131.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19131.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5629" + }, + { + "sha": "8d3be532de35b925ba2efc2cd97dbb5d85db5f1a", + "filename": "random/19175.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19175.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19175.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19175.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25814" + }, + { + "sha": "d1b8e2f29a872729b992e55caf5309c0f04d7035", + "filename": "random/19189.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19189.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19189.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19189.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1660" + }, + { + "sha": "0be1ce65f9d10f22ad32ca22b541cc94ca1474ca", + "filename": "random/19234.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19234.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19234.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19234.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23141" + }, + { + "sha": "442711b3ea4c7f7b15f3547d49a1f554fd7906fc", + "filename": "random/19258.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19258.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19258.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19258.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32503" + }, + { + "sha": "73f10fb8f3afb92d7fbeafb417f5e556daa2d429", + "filename": "random/19309.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19309.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19309.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19309.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26746" + }, + { + "sha": "59ec8b5d38d2ba2352f27db66b46f57dfd18bcc2", + "filename": "random/19368.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19368.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19368.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19368.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21954" + }, + { + "sha": "340b3519a5d90e562d088561582bcf18c32734d0", + "filename": "random/19385.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19385.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19385.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19385.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1576" + }, + { + "sha": "bba5da15f401cf8d0a0dd16152dd4a7484127528", + "filename": "random/19469.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19469.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19469.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19469.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1958" + }, + { + "sha": "d80e90bb407d3b7a182f7d771d46bb67e0408609", + "filename": "random/19490.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19490.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19490.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19490.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30597" + }, + { + "sha": "b4e485a6bbe1596ca126b755393d52e6da1bd0b9", + "filename": "random/19532.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19532.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19532.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19532.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17318" + }, + { + "sha": "2bdc6533bec75e2127a1315799e96da11004bc01", + "filename": "random/19536.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19536.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19536.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19536.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7000" + }, + { + "sha": "e8be186012394c5a1028872dcfbb625acc9dce06", + "filename": "random/19673.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19673.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19673.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19673.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5493" + }, + { + "sha": "4bc6ac2684e29c5cb34697fbae29e006d052c672", + "filename": "random/19677.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19677.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19677.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19677.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25023" + }, + { + "sha": "3fd30e580586056557c6ecabebdc4b66402e6bb8", + "filename": "random/19678.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19678.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19678.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19678.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30663" + }, + { + "sha": "1f9839b26725c0e95f19091ef7b0cf851a7938d2", + "filename": "random/19739.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19739.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19739.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19739.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21215" + }, + { + "sha": "9c63f04035a9de6a3e9ea3314446006ed5dfbfc3", + "filename": "random/19757.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19757.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19757.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19757.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15202" + }, + { + "sha": "5fdb783e5262ec199d6b91b0c0113d28a6605c87", + "filename": "random/19912.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19912.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19912.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19912.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28881" + }, + { + "sha": "fd6169b6e3364b2dd0a033d24965c9dbab9c6f9a", + "filename": "random/19922.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19922.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19922.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19922.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18023" + }, + { + "sha": "02b9e1eb18cd39a78af33d7559d7ed2ba8934b8c", + "filename": "random/19952.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19952.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19952.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19952.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+10334" + }, + { + "sha": "c45c303affc42adad9d559b17e17537c9f778f57", + "filename": "random/20007.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20007.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20007.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20007.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+27298" + }, + { + "sha": "b630da6c8469ff5852c37f9f1e1f1d27bf209a0c", + "filename": "random/20050.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20050.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20050.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20050.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13806" + }, + { + "sha": "cef7c446ac227cf550615950929a840f9a4d2320", + "filename": "random/20058.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20058.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20058.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20058.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16588" + }, + { + "sha": "07e62978eb8f8989b5f4d4d3241d9590bee7aadd", + "filename": "random/20073.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20073.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20073.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20073.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+27692" + }, + { + "sha": "3a5c1c66c27aacfff46ea16d7b28fc6c908dd531", + "filename": "random/20173.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20173.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20173.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20173.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6577" + }, + { + "sha": "b57252391c66ad28b2c83dd6f4ef9180cfc78eef", + "filename": "random/20240.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20240.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20240.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20240.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8357" + }, + { + "sha": "570a868e942df851e969b611ad4d6d3ae58420f8", + "filename": "random/20383.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20383.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20383.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20383.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5421" + }, + { + "sha": "fb5ec0567573771fa07af43032663a1fd581b9f9", + "filename": "random/20416.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20416.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20416.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20416.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25707" + }, + { + "sha": "20de14b506ee8d309eb7233a9e23e87baee6ed49", + "filename": "random/20543.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20543.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20543.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20543.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4337" + }, + { + "sha": "a70b62183792e449b4a909cf7e4846716c08542e", + "filename": "random/2059.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2059.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2059.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F2059.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23031" + }, + { + "sha": "f339067f32b5c98e86d3225a4cc8b007a885514a", + "filename": "random/20682.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20682.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20682.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20682.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18107" + }, + { + "sha": "e83eb2865aca6532dec029d3de81ebb18a1b7996", + "filename": "random/20811.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20811.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20811.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20811.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14224" + }, + { + "sha": "33d6168ad20bb6e5e2366a986529ad83f308c7c9", + "filename": "random/20904.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20904.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20904.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20904.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6856" + }, + { + "sha": "193548119a9173b05da0aef418af8f3a58d02068", + "filename": "random/20922.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20922.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20922.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20922.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18291" + }, + { + "sha": "79bf159caab0e7a18945513e8daeee57e7d5756f", + "filename": "random/20949.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20949.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20949.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20949.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14734" + }, + { + "sha": "682f073dce810db438b1a35398f25967a72028c9", + "filename": "random/20976.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20976.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20976.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20976.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23081" + }, + { + "sha": "43f26745913d68bacc27482c4b1af4efe4142a49", + "filename": "random/21000.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21000.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21000.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21000.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22794" + }, + { + "sha": "e4bace5a356dd825b4d7dd7bd262e982c515cc2f", + "filename": "random/21014.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21014.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21014.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21014.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9519" + }, + { + "sha": "991b11f5d755030ec20f33c447af96854083d8e6", + "filename": "random/2110.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2110.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2110.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F2110.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25885" + }, + { + "sha": "06cd33b3a2a647062ea186abdec79610b5af9410", + "filename": "random/21111.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21111.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21111.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21111.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15928" + }, + { + "sha": "a20e18243e7cbb44a3f86420b100966807a6fb52", + "filename": "random/21128.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21128.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21128.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21128.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20486" + }, + { + "sha": "6ff058e4ba7b7a6691056f727e3007893b4c5033", + "filename": "random/21164.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21164.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21164.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21164.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22671" + }, + { + "sha": "6ba0028cf1f009c82fbd6eaf54e98b67fd5186e5", + "filename": "random/21304.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21304.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21304.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21304.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17324" + }, + { + "sha": "ec42e6d49a9f887b4263755068bb31dfe6ad2a7e", + "filename": "random/21357.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21357.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21357.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21357.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2142" + }, + { + "sha": "38c11d1503cbd6973e748cc45878e6f4106597fa", + "filename": "random/21360.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21360.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21360.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21360.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19846" + }, + { + "sha": "3e481871272d4e22a7b824c87025ca522e71b4be", + "filename": "random/21459.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21459.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21459.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21459.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30737" + }, + { + "sha": "33949a58ac9fa6e69522c657016dcbfee8605464", + "filename": "random/21707.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21707.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21707.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21707.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15267" + }, + { + "sha": "a37e2a8309c39263a54e692492f3702d76325d15", + "filename": "random/21712.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21712.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21712.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21712.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5980" + }, + { + "sha": "50e370fcddd8f589d6fc6c22d78674028e7461cc", + "filename": "random/21724.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21724.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21724.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21724.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32242" + }, + { + "sha": "d3c134636374c2fd26a47d3a6f2ecdf07343cd66", + "filename": "random/21835.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21835.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21835.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21835.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21517" + }, + { + "sha": "e98bb82afe3002e14f6ae3d044d9828c40b9cdde", + "filename": "random/21847.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21847.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21847.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21847.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17232" + }, + { + "sha": "caf313abb1c80f6b2e59c44d2f0e9981ef6ff374", + "filename": "random/21875.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21875.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21875.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21875.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23561" + }, + { + "sha": "f3e93d79f9817ea060d72204b7bf8167eadb23ad", + "filename": "random/21881.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21881.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21881.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21881.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13925" + }, + { + "sha": "217ec973caa3d4aa7c7c278d405f20650c2ff51d", + "filename": "random/21884.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21884.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21884.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21884.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5649" + }, + { + "sha": "c5162e2c5c4e7d4d60550ba33dc952af16add899", + "filename": "random/21987.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21987.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21987.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21987.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19429" + }, + { + "sha": "df616618d257ef10208f6b22c4a769e1df7b113a", + "filename": "random/22014.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22014.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22014.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22014.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23268" + }, + { + "sha": "55c23b97e1a7a589660f86a22b081a883f89055f", + "filename": "random/22046.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22046.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22046.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22046.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25251" + }, + { + "sha": "0fc1b9e382e36a6b04ce846c90a133ad6b8bdfbd", + "filename": "random/22126.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22126.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22126.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22126.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20396" + }, + { + "sha": "531f73c0c781df7282829f153be9072d0009f3ad", + "filename": "random/22154.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22154.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22154.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22154.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13161" + }, + { + "sha": "263896ceab90da18101055fb8273ddccb3f0f8ed", + "filename": "random/22168.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22168.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22168.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22168.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21523" + }, + { + "sha": "0b869f9e5a9949ea191494f283a2c8bce41ed43a", + "filename": "random/22200.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22200.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22200.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22200.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18191" + }, + { + "sha": "cf8e983961502b43f5205d49560d4d451852e944", + "filename": "random/22215.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22215.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22215.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22215.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26450" + }, + { + "sha": "aa0787943184ec8d17333e04f16a189893f84ea3", + "filename": "random/22233.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22233.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22233.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22233.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8297" + }, + { + "sha": "112df5f7d17813c08048c0d709c1ff5f4be37010", + "filename": "random/22255.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22255.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22255.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22255.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26622" + }, + { + "sha": "9adbd23923bacef95f462638443fe16f45bf2f4b", + "filename": "random/22264.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22264.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22264.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22264.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2042" + }, + { + "sha": "fbaf601af1b23a27736ad529def8ac5bd174add9", + "filename": "random/22332.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22332.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22332.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22332.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26150" + }, + { + "sha": "86761e45f7a9131560207db0f64c51901924b999", + "filename": "random/22364.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22364.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22364.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22364.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9671" + }, + { + "sha": "966e333dd72d7a267604b48bc868e8e92be69149", + "filename": "random/22416.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22416.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22416.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22416.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23309" + }, + { + "sha": "ee944c2d8f3450a4673ad71e82dd462828499131", + "filename": "random/22464.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22464.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22464.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22464.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+10354" + }, + { + "sha": "8f901d83747ee20a19cbe4f199b083e5a3678c61", + "filename": "random/22516.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22516.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22516.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22516.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25397" + }, + { + "sha": "29235ffb78a1170c734cacea68d0a126028adc1d", + "filename": "random/22526.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22526.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22526.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22526.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4306" + }, + { + "sha": "e06108c0fa14137d39a66c5a45d58dbde7904cc6", + "filename": "random/22587.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22587.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22587.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22587.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+247" + }, + { + "sha": "731db4d71751d70fb93863e782c9b25a6f5af00e", + "filename": "random/22592.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22592.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22592.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22592.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22161" + }, + { + "sha": "d837ea78a0a321485e60d977bd887a157d0ab6f3", + "filename": "random/22613.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22613.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22613.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22613.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5608" + }, + { + "sha": "8df6f8a0aa30cb4c198e9f23d6ab2d76128867a8", + "filename": "random/22649.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22649.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22649.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22649.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19069" + }, + { + "sha": "2a1922f8e90baacf7ef0e8b64172916b32c72daa", + "filename": "random/22659.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22659.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22659.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22659.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24276" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/__files/repos_hub4j-test-org_committest_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-5.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/__files/repos_hub4j-test-org_committest_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-5.json new file mode 100644 index 0000000000..591a59f8d5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/__files/repos_hub4j-test-org_committest_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-5.json @@ -0,0 +1,3686 @@ +{ + "sha": "b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "node_id": "C_kwDOJzFPltoAKGI4MzgxMmFhNzZiYjdjM2M0M2RhOTZmYmY4YWVjMWU0NWRiODc2MjQ", + "commit": { + "author": { + "name": "Stephen Horgan", + "email": "frink182@users.noreply.github.com", + "date": "2023-06-23T09:50:57Z" + }, + "committer": { + "name": "Stephen Horgan", + "email": "frink182@users.noreply.github.com", + "date": "2023-06-23T09:50:57Z" + }, + "message": "A commit with lots of files", + "tree": { + "sha": "6718afb2869b086c47122e4187b14585fed52644", + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/trees/6718afb2869b086c47122e4187b14585fed52644" + }, + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/commits/b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/commits/b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "html_url": "https://github.com/hub4j-test-org/CommitTest/commit/b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "comments_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/commits/b83812aa76bb7c3c43da96fbf8aec1e45db87624/comments", + "author": { + "login": "frink182", + "id": 10921922, + "node_id": "MDQ6VXNlcjEwOTIxOTIy", + "avatar_url": "https://avatars.githubusercontent.com/u/10921922?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/frink182", + "html_url": "https://github.com/frink182", + "followers_url": "https://api.github.com/users/frink182/followers", + "following_url": "https://api.github.com/users/frink182/following{/other_user}", + "gists_url": "https://api.github.com/users/frink182/gists{/gist_id}", + "starred_url": "https://api.github.com/users/frink182/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/frink182/subscriptions", + "organizations_url": "https://api.github.com/users/frink182/orgs", + "repos_url": "https://api.github.com/users/frink182/repos", + "events_url": "https://api.github.com/users/frink182/events{/privacy}", + "received_events_url": "https://api.github.com/users/frink182/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "frink182", + "id": 10921922, + "node_id": "MDQ6VXNlcjEwOTIxOTIy", + "avatar_url": "https://avatars.githubusercontent.com/u/10921922?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/frink182", + "html_url": "https://github.com/frink182", + "followers_url": "https://api.github.com/users/frink182/followers", + "following_url": "https://api.github.com/users/frink182/following{/other_user}", + "gists_url": "https://api.github.com/users/frink182/gists{/gist_id}", + "starred_url": "https://api.github.com/users/frink182/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/frink182/subscriptions", + "organizations_url": "https://api.github.com/users/frink182/orgs", + "repos_url": "https://api.github.com/users/frink182/repos", + "events_url": "https://api.github.com/users/frink182/events{/privacy}", + "received_events_url": "https://api.github.com/users/frink182/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "5cd73f73a713a9b912a6c82334d6b7c7dab0fe96", + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/commits/5cd73f73a713a9b912a6c82334d6b7c7dab0fe96", + "html_url": "https://github.com/hub4j-test-org/CommitTest/commit/5cd73f73a713a9b912a6c82334d6b7c7dab0fe96" + } + ], + "stats": { + "total": 691, + "additions": 691, + "deletions": 0 + }, + "files": [ + { + "sha": "58109dfb98bafcd984fbeab28225453212473725", + "filename": "random/10054.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10054.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10054.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10054.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4202" + }, + { + "sha": "c1b93cca5c675c0ead59073b8c8040fe7fc32b3d", + "filename": "random/10083.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10083.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10083.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10083.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20054" + }, + { + "sha": "3d833d0152bb15e0fc639ebb5926fa5a7e9ba61b", + "filename": "random/10117.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10117.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10117.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10117.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7422" + }, + { + "sha": "8b7736421f3124c0c1383af38bd4a623f4f9ef6b", + "filename": "random/10129.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10129.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10129.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10129.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31715" + }, + { + "sha": "280de93c82bb2da1d383f0933cc7d1889cd9966b", + "filename": "random/10271.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10271.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10271.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10271.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14188" + }, + { + "sha": "49bf8bf0b77b1c3e5069c60955cbf1568f95d800", + "filename": "random/10286.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10286.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10286.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10286.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16231" + }, + { + "sha": "caed6f18ea4a568375a67685116979faff41d8f3", + "filename": "random/1030.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1030.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1030.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1030.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20159" + }, + { + "sha": "f1bbeacd0b541b2be1b7c0df0601a3f26ad28791", + "filename": "random/1031.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1031.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1031.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1031.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26813" + }, + { + "sha": "2e442b4e1bebab2385081439658a98cf411a0838", + "filename": "random/10341.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10341.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10341.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10341.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26190" + }, + { + "sha": "db3ad957347f4c5735bdcd0edb989e266f52b09e", + "filename": "random/10390.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10390.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10390.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10390.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23726" + }, + { + "sha": "e775b2b9963d8917f408e67b83bc4efb1e074dd0", + "filename": "random/10461.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10461.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10461.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10461.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22930" + }, + { + "sha": "77de9266d3ef4cc7e6dfffbe194c8853ede9145c", + "filename": "random/10485.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10485.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10485.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10485.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1767" + }, + { + "sha": "b9423ab4e029e1247ccf5706b45a134fed986c5e", + "filename": "random/10562.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10562.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10562.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10562.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12336" + }, + { + "sha": "4d853e9b473b67d11c439ee543239eaa0fdd8c95", + "filename": "random/10618.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10618.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10618.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10618.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24556" + }, + { + "sha": "29988c80205f0718a61492794612ee7a9ab94fee", + "filename": "random/10675.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10675.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10675.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10675.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+751" + }, + { + "sha": "24c133331a35c2fbc178d60ab0145dca1aba8084", + "filename": "random/10680.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10680.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10680.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10680.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14876" + }, + { + "sha": "2709a9818d75e0d66916d90662dcb0bcf2240ce1", + "filename": "random/1069.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1069.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1069.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1069.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17233" + }, + { + "sha": "e2de40278c03b0bab2ee0d3f9748d0d8eb168b5a", + "filename": "random/10925.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10925.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10925.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10925.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19949" + }, + { + "sha": "d2a032914a670901c68eda150909c6de4aa4e29e", + "filename": "random/10937.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10937.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10937.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10937.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23757" + }, + { + "sha": "af08b9088cf0ef87c7756330c0d03b98ff1af411", + "filename": "random/10959.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10959.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10959.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10959.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6483" + }, + { + "sha": "ee92ddfbb7d0bc7f8ff2d3a69df6c6402e68890a", + "filename": "random/10970.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10970.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F10970.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F10970.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19415" + }, + { + "sha": "a194806864cba3dbd597c840d399f157b7f16e73", + "filename": "random/11035.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11035.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11035.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11035.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12106" + }, + { + "sha": "ad58e907b52c0b3c802a3c1865d5fdbc7cc79c07", + "filename": "random/11062.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11062.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11062.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11062.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13075" + }, + { + "sha": "48abe000dd882219080c19912c549d35249f600f", + "filename": "random/11069.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11069.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11069.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11069.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19916" + }, + { + "sha": "20cc2a0e602e9f0484d024f810629d67aabf7cfc", + "filename": "random/11129.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11129.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11129.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11129.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30263" + }, + { + "sha": "4c23fe508263f40344889258ded7d7b2a68baae4", + "filename": "random/11174.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11174.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11174.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11174.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7879" + }, + { + "sha": "aaed00b0188132192dec6bb5705d767a41ee020c", + "filename": "random/11234.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11234.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11234.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11234.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14332" + }, + { + "sha": "0ff5ad9b30431e05092954425645f050293c8813", + "filename": "random/11265.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11265.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11265.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11265.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2361" + }, + { + "sha": "10455291eb355cf2b0430dfd4bdf0d5fb951c30b", + "filename": "random/11267.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11267.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11267.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11267.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16882" + }, + { + "sha": "5257135e4e26840aff747cf4566e385f6e1d2152", + "filename": "random/11313.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11313.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11313.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11313.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16855" + }, + { + "sha": "d7a33ea4704b08e41ae10f1b4bb6e5f9b3f8f484", + "filename": "random/11343.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11343.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11343.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11343.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+3297" + }, + { + "sha": "761fcd3ac2102706b66c0443712c3c4af9f42d9d", + "filename": "random/11348.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11348.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11348.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11348.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+499" + }, + { + "sha": "e758f9f21ed7b1bc331777e3e054e54d887aadfd", + "filename": "random/11360.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11360.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11360.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11360.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28204" + }, + { + "sha": "95f513b2a8750a50b3760a88a96a564f1f045742", + "filename": "random/11366.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11366.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11366.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11366.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30364" + }, + { + "sha": "d9062d27a112b79ad8c5d91dc7fe65e0422f809a", + "filename": "random/11466.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11466.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11466.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11466.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16660" + }, + { + "sha": "c49ee91c1b721157758d74d57e78be81db1cb47a", + "filename": "random/115.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F115.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F115.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F115.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32288" + }, + { + "sha": "f6f0b4a895689622132fdbe8f5ed16ba2781c737", + "filename": "random/11511.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11511.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11511.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11511.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28346" + }, + { + "sha": "5629b493867bcac1b0f62a11e8d1a9afe9040044", + "filename": "random/11519.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11519.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11519.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11519.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28752" + }, + { + "sha": "2573adf01667939eaa4d715ffe68c57002cb64d4", + "filename": "random/11574.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11574.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11574.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11574.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4182" + }, + { + "sha": "fcb5710b163fca50533a70130cc75ded08fbd1f3", + "filename": "random/11619.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11619.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11619.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11619.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14773" + }, + { + "sha": "fb5296e3e56435b7975a837bfe383d95b527b2b2", + "filename": "random/11668.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11668.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11668.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11668.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9493" + }, + { + "sha": "4146d1bfbc3866e9648d1caa68589c840a0959ee", + "filename": "random/11709.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11709.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11709.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11709.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20294" + }, + { + "sha": "80442778f7daab9583d7c13b2a4831baf64eb8d9", + "filename": "random/11740.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11740.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11740.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11740.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+11493" + }, + { + "sha": "f4304ee3debbd9bcb2303428825e890855bb38f4", + "filename": "random/11761.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11761.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11761.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11761.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25927" + }, + { + "sha": "2ef4cc65da8682a143116b9317f66de29d699475", + "filename": "random/11783.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11783.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11783.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11783.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4393" + }, + { + "sha": "428a9a569ea0075b32d61e66379405f8e13c5221", + "filename": "random/11843.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11843.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11843.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11843.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+11238" + }, + { + "sha": "8267ef1a708058427cb5d9574d3d69b7034fb893", + "filename": "random/11853.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11853.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11853.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11853.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24566" + }, + { + "sha": "835c5f1dcd337466bbb385de656b22792b45416a", + "filename": "random/11978.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11978.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F11978.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F11978.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+973" + }, + { + "sha": "b894075a640b9126c67e6b6c41acca968ade9368", + "filename": "random/12017.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12017.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12017.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12017.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21018" + }, + { + "sha": "e9feae6e323e01d13d50f203534db23b788ad612", + "filename": "random/12082.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12082.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12082.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12082.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22199" + }, + { + "sha": "9d1731d8adc8f6eaa07228211e847b6f4b61fb61", + "filename": "random/12126.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12126.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12126.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12126.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1642" + }, + { + "sha": "f9ce2ceb82c343ebc87a97008d47ac22f2ebf673", + "filename": "random/12214.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12214.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12214.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12214.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13695" + }, + { + "sha": "6265238261ba6081917451d7c7688a1bd603cca9", + "filename": "random/12222.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12222.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12222.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12222.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31039" + }, + { + "sha": "ad1c0201ef68e51c79930cbe19c86fc102b1cb88", + "filename": "random/12233.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12233.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12233.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12233.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22035" + }, + { + "sha": "ce0a11d0eb149935469242f1e5bebd57aa2cd493", + "filename": "random/12443.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12443.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12443.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12443.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1367" + }, + { + "sha": "1cd5130788b06db0d1c23854d1b6d5840e5c6283", + "filename": "random/12476.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12476.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12476.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12476.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21439" + }, + { + "sha": "2f66db150b1ed915aced0c068fd15a7eaa3989b6", + "filename": "random/1248.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1248.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1248.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1248.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15137" + }, + { + "sha": "0b7138ded57a23662b330dca1a29223ac878e4bb", + "filename": "random/12513.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12513.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12513.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12513.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22595" + }, + { + "sha": "a272df67cdd076ce0b5a722c38129365ba3ea9af", + "filename": "random/12569.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12569.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12569.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12569.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22499" + }, + { + "sha": "b790b6934314afa91a63fad94d4ddfa5e9cc056b", + "filename": "random/12570.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12570.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12570.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12570.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22150" + }, + { + "sha": "9a3585133d4416d05db47b39b9104f38de4e9330", + "filename": "random/12606.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12606.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12606.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12606.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17537" + }, + { + "sha": "8503f29cee34618e65ac5cf3c9eba836710b8697", + "filename": "random/12650.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12650.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12650.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12650.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7649" + }, + { + "sha": "ee093ac5aaf62ae0ed1b0e335d77a2987e498d3d", + "filename": "random/12675.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12675.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12675.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12675.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12796" + }, + { + "sha": "643216e08df1a769631bf1b704b2243402356513", + "filename": "random/12708.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12708.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12708.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12708.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29933" + }, + { + "sha": "dcda5ac69fe7daa8e30525089b5440ee16236a28", + "filename": "random/12715.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12715.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12715.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12715.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17294" + }, + { + "sha": "94907966eaaf3b65ac50ba97d0a859edbcb0939e", + "filename": "random/12752.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12752.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12752.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12752.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28091" + }, + { + "sha": "815094360f45bd7324342f1a05f58dc439980c84", + "filename": "random/12814.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12814.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12814.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12814.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18312" + }, + { + "sha": "2d984996c225a626f1016658ccc79678e3c2a499", + "filename": "random/12834.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12834.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12834.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12834.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17504" + }, + { + "sha": "6e5fd786dd4a3d1978d93a02caff6cdec4cc7c81", + "filename": "random/12842.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12842.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12842.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12842.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29867" + }, + { + "sha": "7fba2b43771eec7be9298f8336f9a6cf52f159b0", + "filename": "random/12885.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12885.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12885.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12885.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+209" + }, + { + "sha": "20c89be1ef05fac1162b143d1f97f2eb3945e7ce", + "filename": "random/12913.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12913.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12913.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12913.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30996" + }, + { + "sha": "accf44d4842335ed03aee7843120dcf70daa67b8", + "filename": "random/12945.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12945.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F12945.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F12945.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1402" + }, + { + "sha": "419270dd5b881cd2c339c97632db332a10758c8e", + "filename": "random/13090.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13090.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13090.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13090.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30384" + }, + { + "sha": "165ef87e5427c30047073d8d763ef36335dac6db", + "filename": "random/13099.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13099.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13099.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13099.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20150" + }, + { + "sha": "27149576c254b367b0ca1327e4aa3a9ad9ee849a", + "filename": "random/13151.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13151.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13151.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13151.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2611" + }, + { + "sha": "a26a312b0d824e92eef87248511f892332b93aa6", + "filename": "random/13170.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13170.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13170.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13170.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32729" + }, + { + "sha": "02555d0b74881ab508bbf2027df7907b64379772", + "filename": "random/13199.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13199.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13199.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13199.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19091" + }, + { + "sha": "c48f9e045258746be228297abdb2ab587e5db7c3", + "filename": "random/13241.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13241.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13241.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13241.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+269" + }, + { + "sha": "0baf28e7dd9e728ac621da29d63f44b4b472d365", + "filename": "random/13266.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13266.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13266.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13266.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24504" + }, + { + "sha": "946caf00cf3699733cd90b18dcec3cecead48f94", + "filename": "random/13386.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13386.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13386.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13386.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8828" + }, + { + "sha": "882e3064dd2cde1768ad7ce94db9d2b8ac63d676", + "filename": "random/13387.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13387.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13387.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13387.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32068" + }, + { + "sha": "9f810330cbb38269b01d037ea61fb8ad5c8d753f", + "filename": "random/13399.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13399.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13399.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13399.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14580" + }, + { + "sha": "d90f2b1d5b5199b1dec442ae45e0a0fbd424f3ed", + "filename": "random/13444.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13444.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13444.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13444.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1026" + }, + { + "sha": "9b517ca72671b43836bc2a8dd3cb6a802750980b", + "filename": "random/13480.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13480.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13480.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13480.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18764" + }, + { + "sha": "17f03e10b2194865fdf989bfbaf2d46f5c82a0d2", + "filename": "random/13508.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13508.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13508.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13508.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+3480" + }, + { + "sha": "3028632c3c90fb159c3256a6cd8b471a8e4d1ccb", + "filename": "random/13561.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13561.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13561.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13561.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17508" + }, + { + "sha": "8840d1b1338266f480151c179427ca2c00fc918b", + "filename": "random/13624.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13624.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13624.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13624.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+27555" + }, + { + "sha": "7404e68b8aa642ef4cb71874a41ce257f4bac385", + "filename": "random/13632.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13632.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13632.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13632.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5826" + }, + { + "sha": "8d38d80416dbdabe6a10aa5d627f4a5795ee24a5", + "filename": "random/13687.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13687.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13687.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13687.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4707" + }, + { + "sha": "4b05652d17b4559b1ce828286ce57adc141e96f0", + "filename": "random/13688.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13688.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13688.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13688.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14601" + }, + { + "sha": "fedfc77fe06a626ccba2788976e9f8f3ac456961", + "filename": "random/1369.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1369.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1369.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1369.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30779" + }, + { + "sha": "24bfa7ba705b956e24ea78ad24acb13b44342c7f", + "filename": "random/13690.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13690.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13690.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13690.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17976" + }, + { + "sha": "9eb7ef36419ce6ab19cc29b8e2d711a2fd2e24fb", + "filename": "random/138.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F138.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F138.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F138.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29110" + }, + { + "sha": "a9497ce39b1c77399ae4d18170bae590fd589463", + "filename": "random/13855.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13855.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13855.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13855.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32119" + }, + { + "sha": "519124ef06879ce0277299e8266754c0e3818cd5", + "filename": "random/13858.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13858.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13858.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13858.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19986" + }, + { + "sha": "5fb5f3ef7c552d40bf879319849c0c3ab3632589", + "filename": "random/13895.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13895.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13895.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13895.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16046" + }, + { + "sha": "4bfcaa645630d3b54e8644f620f754944a91a8ad", + "filename": "random/13959.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13959.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F13959.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F13959.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6982" + }, + { + "sha": "41f2d300887b34b50bf7920a8c6ca32cec4d3434", + "filename": "random/14040.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14040.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14040.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14040.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6009" + }, + { + "sha": "5dedbc6fa02c3cc0522ff9e4ba458cba1663d0f8", + "filename": "random/14048.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14048.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14048.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14048.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23609" + }, + { + "sha": "655b7b967197287b8c3f56177365d3445fef590b", + "filename": "random/14071.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14071.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14071.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14071.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26568" + }, + { + "sha": "e546a9546ba594a14926ceb09763d4cbe05e7d90", + "filename": "random/14079.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14079.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14079.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14079.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31441" + }, + { + "sha": "1d16a6b49d637f6278456ccd2db008fb189a8759", + "filename": "random/14118.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14118.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14118.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14118.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8195" + }, + { + "sha": "e4d301eed3ae52b78aa0f554720908640bb9eafe", + "filename": "random/14126.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14126.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14126.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14126.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20023" + }, + { + "sha": "57d73c9fe6acf1d0c502f82073cbe0a4688fcb15", + "filename": "random/1420.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1420.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1420.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1420.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24331" + }, + { + "sha": "def16005beb64a19d94d8b6fc8e1101ad1665b3d", + "filename": "random/14200.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14200.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14200.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14200.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8179" + }, + { + "sha": "f3f8990db48afa944f8b7d67094e2b75f086ef0c", + "filename": "random/14279.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14279.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14279.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14279.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14141" + }, + { + "sha": "dda59effd6bec6eb3887884b4ab6911f886bfbc4", + "filename": "random/1428.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1428.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1428.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1428.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31604" + }, + { + "sha": "ee5c5adcba0f00cd28a67fbd47bbf85dfcb9b9d5", + "filename": "random/14352.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14352.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14352.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14352.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23270" + }, + { + "sha": "188a3957e0dd32b62d1472704f7f43996cddfc47", + "filename": "random/14366.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14366.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14366.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14366.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14615" + }, + { + "sha": "46a1e0753d0b594d53efc6025a50eb92d6a7e6c0", + "filename": "random/1440.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1440.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1440.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1440.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9689" + }, + { + "sha": "c8498e3241fe26197226caf8f4f4c4b9bbb71851", + "filename": "random/14448.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14448.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14448.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14448.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26506" + }, + { + "sha": "26ce5fe233906f2c7b96206b925cabce702341f4", + "filename": "random/14504.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14504.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14504.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14504.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6228" + }, + { + "sha": "e05d7e09ca23acb331bc71c9177910ffe3aed3ce", + "filename": "random/14521.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14521.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14521.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14521.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24652" + }, + { + "sha": "5b6bd6d05af0b858abfe5c0b884ef9d0a0c35159", + "filename": "random/14680.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14680.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14680.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14680.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7267" + }, + { + "sha": "cf3f777f2521eceebedab2afa1df36e15d9b0536", + "filename": "random/14703.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14703.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14703.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14703.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9170" + }, + { + "sha": "8d957a49943c2018de079e30fb076695f38e9e8b", + "filename": "random/14704.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14704.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14704.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14704.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23617" + }, + { + "sha": "1e13fe97b9a706d32ecdfc6fb1208e0a5fc34548", + "filename": "random/14723.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14723.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14723.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14723.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22905" + }, + { + "sha": "b9b885ab071b23269001bdebc2b250015c7f25e9", + "filename": "random/14741.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14741.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14741.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14741.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6031" + }, + { + "sha": "f57caa331062585edb9cf1b4fb813a7b4c6ab4f0", + "filename": "random/14778.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14778.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14778.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14778.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20749" + }, + { + "sha": "eefbcda642d34ea7fdd8809785882b648e6cda67", + "filename": "random/14804.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14804.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14804.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14804.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26089" + }, + { + "sha": "8c0653ad445aee37e8db421d3d48139e382beb54", + "filename": "random/14834.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14834.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14834.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14834.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32080" + }, + { + "sha": "db638bdbcbe80d9c598e9f5f863bac217afde0c0", + "filename": "random/14839.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14839.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14839.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14839.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8302" + }, + { + "sha": "aa87d5acfbd3b859590b1f75465cb058f334502f", + "filename": "random/14930.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14930.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14930.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14930.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12098" + }, + { + "sha": "556927fab9e930ecb5df5869d37f6447b4ec106f", + "filename": "random/14931.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14931.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F14931.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F14931.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12225" + }, + { + "sha": "803389ff9f51be0a2acfa5cfba1cad825050c4d4", + "filename": "random/1501.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1501.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1501.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1501.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28472" + }, + { + "sha": "ad71acb8a1ceae9098a200b342aae33a7b4eeac5", + "filename": "random/15012.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15012.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15012.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15012.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16654" + }, + { + "sha": "126b9d2a54a0fb15fb395774408bd8fc9f392563", + "filename": "random/15045.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15045.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15045.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15045.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13708" + }, + { + "sha": "bce7cf71880861fa00bf7a45e84141a764a0711a", + "filename": "random/15056.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15056.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15056.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15056.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16424" + }, + { + "sha": "f2f440eb13f87587ce3ca23fbbbb69c78ca450f1", + "filename": "random/15072.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15072.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15072.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15072.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9602" + }, + { + "sha": "048efdb52e2be816f8d83a4ca962ead0b853ccf8", + "filename": "random/15111.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15111.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15111.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15111.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+919" + }, + { + "sha": "105b190b990122f3c5ee1ea89dea833f364b2a09", + "filename": "random/15167.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15167.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15167.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15167.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32394" + }, + { + "sha": "3ca932e6958d1126c324244bc348a16a10687817", + "filename": "random/15181.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15181.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15181.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15181.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8840" + }, + { + "sha": "2603e5a5c0a181a990ee5030104457142c0073c5", + "filename": "random/15205.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15205.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15205.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15205.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15586" + }, + { + "sha": "d3ea9f5793238e330f94db2f191515684aa1bf59", + "filename": "random/15209.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15209.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15209.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15209.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23970" + }, + { + "sha": "608a55039e440cd3bcbee71c9e02a574f265522e", + "filename": "random/15329.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15329.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15329.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15329.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28374" + }, + { + "sha": "f5bb9c530258507476537a3198a7b908820dfa4e", + "filename": "random/15345.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15345.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15345.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15345.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19536" + }, + { + "sha": "459d38138452b55d7c2e3413e5e5634cf631cf28", + "filename": "random/15349.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15349.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15349.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15349.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32601" + }, + { + "sha": "8392dfc53668d19e774b85a11c47d5d7cbbc9343", + "filename": "random/15410.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15410.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15410.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15410.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15939" + }, + { + "sha": "cba04597815c4b218efcc398da12cef381e57184", + "filename": "random/15478.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15478.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15478.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15478.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29327" + }, + { + "sha": "fae180cf24a8ba6697114984b86ed8952a187043", + "filename": "random/15487.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15487.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15487.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15487.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29247" + }, + { + "sha": "df13e00702ad75a7790aa8dc82bb37fad0f2436c", + "filename": "random/1549.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1549.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1549.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1549.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31608" + }, + { + "sha": "8f32f885403ebfb42e2c61a2574fed20b3b3a7a8", + "filename": "random/15543.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15543.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15543.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15543.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13792" + }, + { + "sha": "a9ae4798040f3beaf382f0e2a47e3405fba90e85", + "filename": "random/15544.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15544.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15544.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15544.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2258" + }, + { + "sha": "1f1d3a8a62db3375caf52663947b3121d45b2d94", + "filename": "random/15552.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15552.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15552.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15552.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+10766" + }, + { + "sha": "2ebd3a0c97f42f839cf6479f837ccab04466932c", + "filename": "random/1557.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1557.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1557.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1557.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+945" + }, + { + "sha": "848b9f4e4c824bb8bc5131c8aa23f6ef4a3e6720", + "filename": "random/15575.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15575.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15575.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15575.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8710" + }, + { + "sha": "da989926c1a93478778f30e211b62ff56e6bd349", + "filename": "random/1559.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1559.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1559.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1559.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15755" + }, + { + "sha": "8ebbef08979b67a19391f05d81bc1498d399151e", + "filename": "random/15630.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15630.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15630.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15630.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12166" + }, + { + "sha": "81dfdfd15f461d5304a6a16cc2255bf18ae5705b", + "filename": "random/15666.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15666.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15666.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15666.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31000" + }, + { + "sha": "76e8ecbc6ac1ef0565ad48b3a34c6e3e3cbafd67", + "filename": "random/15668.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15668.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15668.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15668.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13338" + }, + { + "sha": "6d5177e445af0445aa76c3e54405b9ff9af6a39c", + "filename": "random/15675.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15675.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15675.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15675.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1082" + }, + { + "sha": "b76f96d7b79c0a523e9a444a0a9ace975a778f07", + "filename": "random/15721.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15721.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15721.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15721.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4906" + }, + { + "sha": "9cdbe12d23720d00e11967f1bb4fd52353b7e35b", + "filename": "random/15724.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15724.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15724.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15724.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16803" + }, + { + "sha": "579f90d67174930f922b51f3b8924d7fac3541ae", + "filename": "random/15735.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15735.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15735.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15735.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31376" + }, + { + "sha": "7743c61bc26d28b2bff2974611987127f55e7277", + "filename": "random/15771.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15771.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15771.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15771.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6910" + }, + { + "sha": "df3e459afacedd61f7b198a017177ca972278180", + "filename": "random/15814.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15814.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15814.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15814.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28885" + }, + { + "sha": "3a83c78b94577dec9df12295983aa9e656ff6506", + "filename": "random/15828.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15828.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15828.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15828.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13167" + }, + { + "sha": "a80b6f961e6c0ea08e62fe1ceb3861ff1b8e0b1b", + "filename": "random/15857.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15857.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15857.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15857.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4420" + }, + { + "sha": "069e415a5e16959b0c0302833a93e3d8a1572b8e", + "filename": "random/15876.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15876.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15876.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15876.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22441" + }, + { + "sha": "bf6950a47c65da23bed8e8fd06e9744df37cbb0f", + "filename": "random/15899.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15899.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15899.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15899.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+3387" + }, + { + "sha": "aed450155b53e8b4d19bfd76d2cb7aac07161816", + "filename": "random/15900.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15900.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15900.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15900.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13763" + }, + { + "sha": "a41893f99f90e718f2ac8bb7c179267f8678687b", + "filename": "random/15929.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15929.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15929.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15929.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20462" + }, + { + "sha": "757fa317e58fcd99c0eb5fc09944283aae2bdf63", + "filename": "random/15982.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15982.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15982.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15982.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17078" + }, + { + "sha": "edfdf9504569fc6b6ff4bdc13cacfaad86af72d9", + "filename": "random/15988.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15988.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F15988.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F15988.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+11708" + }, + { + "sha": "14b82c0eb857f12c38674dc4e3bed397484a74cc", + "filename": "random/1602.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1602.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1602.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1602.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30806" + }, + { + "sha": "48e0848b00c8402fff7884c067f4feb49d8d417e", + "filename": "random/16066.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16066.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16066.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16066.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19390" + }, + { + "sha": "c9b1b7c81ca42077959798ece254c8356ea05d5e", + "filename": "random/16141.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16141.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16141.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16141.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+3061" + }, + { + "sha": "eb34a7c79c0163b5eb54ded5724bf2eb5d0e74c8", + "filename": "random/16147.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16147.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16147.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16147.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29863" + }, + { + "sha": "e397113de20e34659b8e4a371ec1cb6a01975119", + "filename": "random/16299.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16299.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16299.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16299.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31854" + }, + { + "sha": "15f22840aaa1958326336e9b022c9f39f2d76318", + "filename": "random/16345.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16345.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16345.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16345.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14278" + }, + { + "sha": "91d29eedca13a8de64452768e8fcea1a6c7fcf5a", + "filename": "random/16367.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16367.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16367.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16367.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6222" + }, + { + "sha": "4946b5fbc1da2a12ca2aad3ad3bb0e4e9ea6c102", + "filename": "random/16634.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16634.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16634.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16634.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30392" + }, + { + "sha": "32950588a3a8fcebe54c86da9f603a2ce2212689", + "filename": "random/16756.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16756.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16756.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16756.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17142" + }, + { + "sha": "fa365d023484526dfb2cac67bd88cdb00cb875d1", + "filename": "random/16787.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16787.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16787.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16787.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15528" + }, + { + "sha": "ed0aba6d721ed4e46615c55c84f6b60205b39b71", + "filename": "random/168.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F168.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F168.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F168.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+3749" + }, + { + "sha": "a35854776a38a4a88aaf1e47be08403582d0e858", + "filename": "random/1689.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1689.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1689.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1689.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4201" + }, + { + "sha": "9a3b6c5527bb66f096b783052c038a490277dc76", + "filename": "random/16913.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16913.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16913.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16913.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16269" + }, + { + "sha": "67cd4cb15b58c072f5c1590357f898e3490a65fd", + "filename": "random/16940.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16940.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16940.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16940.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28296" + }, + { + "sha": "a50b24c46a189542fb34897e4a7efb185982b41b", + "filename": "random/16948.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16948.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F16948.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F16948.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+27210" + }, + { + "sha": "3a695d2c312b8750f7ce5fa854c08d8ede7f82b9", + "filename": "random/17043.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17043.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17043.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17043.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18481" + }, + { + "sha": "66cfe99515a7c202221157773e4be98d9dc411b9", + "filename": "random/1709.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1709.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1709.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1709.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7525" + }, + { + "sha": "56c905831364abce8f5e88ecaf33d5da3519b628", + "filename": "random/17205.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17205.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17205.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17205.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14309" + }, + { + "sha": "400354d6f22d25beab771ed6a460b3b8084045ce", + "filename": "random/1729.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1729.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1729.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1729.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29605" + }, + { + "sha": "776bb6d134bd2e733fb18d41f16d0c36a52284b9", + "filename": "random/17305.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17305.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17305.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17305.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21381" + }, + { + "sha": "a5c3fde3c17743db5d582d70778c79931da584ec", + "filename": "random/17352.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17352.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17352.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17352.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+373" + }, + { + "sha": "596134a7ce04956e7d8d141d159f12e822875e4b", + "filename": "random/17419.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17419.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17419.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17419.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18602" + }, + { + "sha": "db0e38b0ee1350806da6f95819bdb2d3eae403b7", + "filename": "random/1742.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1742.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1742.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1742.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2045" + }, + { + "sha": "b1e142d995fa14627074fc15981b8f3225c0f2d4", + "filename": "random/17426.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17426.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17426.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17426.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1584" + }, + { + "sha": "aeaee565f96102a6a20b9a354dec483498a8bf17", + "filename": "random/1748.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1748.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1748.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1748.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2985" + }, + { + "sha": "18821c947f53562d7a44727501de16849fafcb1c", + "filename": "random/17483.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17483.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17483.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17483.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15707" + }, + { + "sha": "8fdd8b5e78e72125df77d4df0b16524e4313740a", + "filename": "random/17546.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17546.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17546.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17546.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31710" + }, + { + "sha": "ffba30626f6e6f535b279009a701c74704deaf35", + "filename": "random/17580.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17580.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17580.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17580.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31182" + }, + { + "sha": "7c3005f03680f0a302f4cc669482218b8f7345d4", + "filename": "random/17704.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17704.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17704.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17704.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32170" + }, + { + "sha": "7f8678a7c58fe0ea1b64c2f10bc74d37671f69fd", + "filename": "random/17824.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17824.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17824.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17824.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13096" + }, + { + "sha": "99f88f8be65412a6f5a9cc6944cb6cb14ad6c0a2", + "filename": "random/17829.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17829.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F17829.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F17829.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+10932" + }, + { + "sha": "627b39e1378568b66d1c0c2f2f934937bbbf2bda", + "filename": "random/18049.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18049.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18049.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18049.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+3062" + }, + { + "sha": "cdaa99b540e82d22b47798125e7736f5998d595a", + "filename": "random/18137.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18137.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18137.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18137.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12742" + }, + { + "sha": "2eb76e72e6c68fdcd61190488f3cd3942f098bfb", + "filename": "random/18141.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18141.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18141.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18141.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12605" + }, + { + "sha": "557cea072dcbe7e72f24d31878d2e7a49769e07b", + "filename": "random/18156.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18156.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18156.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18156.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25409" + }, + { + "sha": "ee97dd04ced3a38169235397aa38bca34117ee5d", + "filename": "random/18158.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18158.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18158.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18158.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30885" + }, + { + "sha": "f4cac6ae1ed2180745fa82eb80caed34e2d753bf", + "filename": "random/18167.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18167.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18167.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18167.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9610" + }, + { + "sha": "1b800d417465778f0c38d3311983689b335ad441", + "filename": "random/18175.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18175.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18175.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18175.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7567" + }, + { + "sha": "e961d1fe2782e4e6072b172fa260c4791253ec87", + "filename": "random/18217.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18217.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18217.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18217.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17805" + }, + { + "sha": "1e5f294b61d35e398591e27a65d2c21c51dfee59", + "filename": "random/18240.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18240.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18240.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18240.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6503" + }, + { + "sha": "a8a58af06d23444bc7eaf40f155185e465142874", + "filename": "random/18322.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18322.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18322.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18322.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14810" + }, + { + "sha": "5cc796bc33729168fd2f77494aa6f9c932a44e56", + "filename": "random/18335.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18335.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18335.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18335.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6668" + }, + { + "sha": "5e19d047f41d753c73f3fb53144c566fa6982afc", + "filename": "random/18415.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18415.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18415.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18415.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26337" + }, + { + "sha": "35843b2696556ef7c393f19cac8b807af164b54c", + "filename": "random/18424.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18424.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18424.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18424.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17002" + }, + { + "sha": "6bd823fbeb53459108b7e42c171e7b2c85772007", + "filename": "random/18425.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18425.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18425.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18425.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18351" + }, + { + "sha": "500569dc4ee8b30c711848c813603ee05d92041c", + "filename": "random/18478.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18478.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18478.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18478.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12436" + }, + { + "sha": "adc7a5a8ef7c120c934704849e15379df77e1e87", + "filename": "random/18510.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18510.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18510.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18510.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23806" + }, + { + "sha": "fc4c10bd6a21de414ad4e7db16ba683b8f85ec71", + "filename": "random/18535.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18535.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18535.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18535.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7097" + }, + { + "sha": "179dae4a826ba8c007c506d014d16f5340caeaca", + "filename": "random/1861.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1861.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1861.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1861.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23370" + }, + { + "sha": "75132fa7768afcc6b9dde9332c6996b2277c783b", + "filename": "random/18626.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18626.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18626.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18626.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26908" + }, + { + "sha": "3d5ab518e1fb1845f5b68271b891a84a7d15747a", + "filename": "random/18629.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18629.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18629.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18629.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30023" + }, + { + "sha": "750c44b31236a0b81684014d04af055853e85c4c", + "filename": "random/1864.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1864.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1864.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1864.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30652" + }, + { + "sha": "049de3d31353c49bbe6c56ba699ed454c2812f5e", + "filename": "random/18670.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18670.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18670.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18670.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32250" + }, + { + "sha": "47499bca2639b021584787b49014d0827913f29d", + "filename": "random/1873.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1873.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1873.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1873.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13795" + }, + { + "sha": "08594e77eba0c79ea0b7955e96c09024ec66177f", + "filename": "random/1877.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1877.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F1877.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F1877.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20793" + }, + { + "sha": "0262e5efb41367f424300e98bad24571635f8501", + "filename": "random/18852.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18852.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18852.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18852.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1506" + }, + { + "sha": "b26d474ac80a3833329b9e586efa54e22d3c6fe1", + "filename": "random/18862.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18862.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18862.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18862.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5569" + }, + { + "sha": "f1281c35108ae4e8a9d8822e27bbd67045dfc4aa", + "filename": "random/18953.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18953.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F18953.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F18953.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21712" + }, + { + "sha": "4b92bb132c0abf33453d4b65a834743be0ca527f", + "filename": "random/19013.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19013.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19013.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19013.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13110" + }, + { + "sha": "9c95d8d2edb2ec746fa4b34d2d81887a76bf34f1", + "filename": "random/191.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F191.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F191.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F191.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9274" + }, + { + "sha": "92048a505a35e670a30c72fb6448b65d08646e8f", + "filename": "random/19131.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19131.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19131.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19131.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5629" + }, + { + "sha": "8d3be532de35b925ba2efc2cd97dbb5d85db5f1a", + "filename": "random/19175.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19175.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19175.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19175.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25814" + }, + { + "sha": "d1b8e2f29a872729b992e55caf5309c0f04d7035", + "filename": "random/19189.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19189.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19189.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19189.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1660" + }, + { + "sha": "0be1ce65f9d10f22ad32ca22b541cc94ca1474ca", + "filename": "random/19234.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19234.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19234.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19234.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23141" + }, + { + "sha": "442711b3ea4c7f7b15f3547d49a1f554fd7906fc", + "filename": "random/19258.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19258.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19258.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19258.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32503" + }, + { + "sha": "73f10fb8f3afb92d7fbeafb417f5e556daa2d429", + "filename": "random/19309.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19309.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19309.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19309.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26746" + }, + { + "sha": "59ec8b5d38d2ba2352f27db66b46f57dfd18bcc2", + "filename": "random/19368.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19368.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19368.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19368.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21954" + }, + { + "sha": "340b3519a5d90e562d088561582bcf18c32734d0", + "filename": "random/19385.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19385.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19385.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19385.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1576" + }, + { + "sha": "bba5da15f401cf8d0a0dd16152dd4a7484127528", + "filename": "random/19469.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19469.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19469.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19469.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1958" + }, + { + "sha": "d80e90bb407d3b7a182f7d771d46bb67e0408609", + "filename": "random/19490.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19490.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19490.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19490.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30597" + }, + { + "sha": "b4e485a6bbe1596ca126b755393d52e6da1bd0b9", + "filename": "random/19532.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19532.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19532.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19532.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17318" + }, + { + "sha": "2bdc6533bec75e2127a1315799e96da11004bc01", + "filename": "random/19536.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19536.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19536.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19536.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7000" + }, + { + "sha": "e8be186012394c5a1028872dcfbb625acc9dce06", + "filename": "random/19673.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19673.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19673.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19673.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5493" + }, + { + "sha": "4bc6ac2684e29c5cb34697fbae29e006d052c672", + "filename": "random/19677.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19677.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19677.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19677.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25023" + }, + { + "sha": "3fd30e580586056557c6ecabebdc4b66402e6bb8", + "filename": "random/19678.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19678.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19678.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19678.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30663" + }, + { + "sha": "1f9839b26725c0e95f19091ef7b0cf851a7938d2", + "filename": "random/19739.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19739.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19739.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19739.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21215" + }, + { + "sha": "9c63f04035a9de6a3e9ea3314446006ed5dfbfc3", + "filename": "random/19757.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19757.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19757.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19757.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15202" + }, + { + "sha": "5fdb783e5262ec199d6b91b0c0113d28a6605c87", + "filename": "random/19912.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19912.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19912.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19912.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28881" + }, + { + "sha": "fd6169b6e3364b2dd0a033d24965c9dbab9c6f9a", + "filename": "random/19922.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19922.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19922.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19922.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18023" + }, + { + "sha": "02b9e1eb18cd39a78af33d7559d7ed2ba8934b8c", + "filename": "random/19952.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19952.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F19952.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F19952.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+10334" + }, + { + "sha": "c45c303affc42adad9d559b17e17537c9f778f57", + "filename": "random/20007.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20007.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20007.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20007.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+27298" + }, + { + "sha": "b630da6c8469ff5852c37f9f1e1f1d27bf209a0c", + "filename": "random/20050.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20050.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20050.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20050.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13806" + }, + { + "sha": "cef7c446ac227cf550615950929a840f9a4d2320", + "filename": "random/20058.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20058.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20058.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20058.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16588" + }, + { + "sha": "07e62978eb8f8989b5f4d4d3241d9590bee7aadd", + "filename": "random/20073.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20073.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20073.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20073.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+27692" + }, + { + "sha": "3a5c1c66c27aacfff46ea16d7b28fc6c908dd531", + "filename": "random/20173.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20173.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20173.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20173.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6577" + }, + { + "sha": "b57252391c66ad28b2c83dd6f4ef9180cfc78eef", + "filename": "random/20240.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20240.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20240.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20240.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8357" + }, + { + "sha": "570a868e942df851e969b611ad4d6d3ae58420f8", + "filename": "random/20383.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20383.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20383.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20383.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5421" + }, + { + "sha": "fb5ec0567573771fa07af43032663a1fd581b9f9", + "filename": "random/20416.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20416.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20416.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20416.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25707" + }, + { + "sha": "20de14b506ee8d309eb7233a9e23e87baee6ed49", + "filename": "random/20543.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20543.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20543.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20543.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4337" + }, + { + "sha": "a70b62183792e449b4a909cf7e4846716c08542e", + "filename": "random/2059.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2059.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2059.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F2059.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23031" + }, + { + "sha": "f339067f32b5c98e86d3225a4cc8b007a885514a", + "filename": "random/20682.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20682.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20682.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20682.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18107" + }, + { + "sha": "e83eb2865aca6532dec029d3de81ebb18a1b7996", + "filename": "random/20811.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20811.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20811.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20811.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14224" + }, + { + "sha": "33d6168ad20bb6e5e2366a986529ad83f308c7c9", + "filename": "random/20904.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20904.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20904.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20904.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6856" + }, + { + "sha": "193548119a9173b05da0aef418af8f3a58d02068", + "filename": "random/20922.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20922.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20922.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20922.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18291" + }, + { + "sha": "79bf159caab0e7a18945513e8daeee57e7d5756f", + "filename": "random/20949.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20949.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20949.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20949.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14734" + }, + { + "sha": "682f073dce810db438b1a35398f25967a72028c9", + "filename": "random/20976.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20976.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F20976.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F20976.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23081" + }, + { + "sha": "43f26745913d68bacc27482c4b1af4efe4142a49", + "filename": "random/21000.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21000.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21000.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21000.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22794" + }, + { + "sha": "e4bace5a356dd825b4d7dd7bd262e982c515cc2f", + "filename": "random/21014.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21014.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21014.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21014.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9519" + }, + { + "sha": "991b11f5d755030ec20f33c447af96854083d8e6", + "filename": "random/2110.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2110.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2110.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F2110.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25885" + }, + { + "sha": "06cd33b3a2a647062ea186abdec79610b5af9410", + "filename": "random/21111.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21111.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21111.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21111.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15928" + }, + { + "sha": "a20e18243e7cbb44a3f86420b100966807a6fb52", + "filename": "random/21128.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21128.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21128.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21128.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20486" + }, + { + "sha": "6ff058e4ba7b7a6691056f727e3007893b4c5033", + "filename": "random/21164.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21164.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21164.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21164.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22671" + }, + { + "sha": "6ba0028cf1f009c82fbd6eaf54e98b67fd5186e5", + "filename": "random/21304.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21304.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21304.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21304.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17324" + }, + { + "sha": "ec42e6d49a9f887b4263755068bb31dfe6ad2a7e", + "filename": "random/21357.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21357.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21357.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21357.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2142" + }, + { + "sha": "38c11d1503cbd6973e748cc45878e6f4106597fa", + "filename": "random/21360.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21360.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21360.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21360.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19846" + }, + { + "sha": "3e481871272d4e22a7b824c87025ca522e71b4be", + "filename": "random/21459.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21459.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21459.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21459.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30737" + }, + { + "sha": "33949a58ac9fa6e69522c657016dcbfee8605464", + "filename": "random/21707.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21707.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21707.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21707.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15267" + }, + { + "sha": "a37e2a8309c39263a54e692492f3702d76325d15", + "filename": "random/21712.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21712.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21712.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21712.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5980" + }, + { + "sha": "50e370fcddd8f589d6fc6c22d78674028e7461cc", + "filename": "random/21724.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21724.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21724.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21724.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32242" + }, + { + "sha": "d3c134636374c2fd26a47d3a6f2ecdf07343cd66", + "filename": "random/21835.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21835.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21835.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21835.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21517" + }, + { + "sha": "e98bb82afe3002e14f6ae3d044d9828c40b9cdde", + "filename": "random/21847.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21847.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21847.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21847.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17232" + }, + { + "sha": "caf313abb1c80f6b2e59c44d2f0e9981ef6ff374", + "filename": "random/21875.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21875.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21875.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21875.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23561" + }, + { + "sha": "f3e93d79f9817ea060d72204b7bf8167eadb23ad", + "filename": "random/21881.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21881.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21881.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21881.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13925" + }, + { + "sha": "217ec973caa3d4aa7c7c278d405f20650c2ff51d", + "filename": "random/21884.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21884.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21884.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21884.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5649" + }, + { + "sha": "c5162e2c5c4e7d4d60550ba33dc952af16add899", + "filename": "random/21987.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21987.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F21987.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F21987.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19429" + }, + { + "sha": "df616618d257ef10208f6b22c4a769e1df7b113a", + "filename": "random/22014.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22014.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22014.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22014.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23268" + }, + { + "sha": "55c23b97e1a7a589660f86a22b081a883f89055f", + "filename": "random/22046.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22046.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22046.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22046.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25251" + }, + { + "sha": "0fc1b9e382e36a6b04ce846c90a133ad6b8bdfbd", + "filename": "random/22126.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22126.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22126.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22126.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20396" + }, + { + "sha": "531f73c0c781df7282829f153be9072d0009f3ad", + "filename": "random/22154.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22154.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22154.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22154.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13161" + }, + { + "sha": "263896ceab90da18101055fb8273ddccb3f0f8ed", + "filename": "random/22168.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22168.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22168.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22168.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21523" + }, + { + "sha": "0b869f9e5a9949ea191494f283a2c8bce41ed43a", + "filename": "random/22200.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22200.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22200.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22200.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18191" + }, + { + "sha": "cf8e983961502b43f5205d49560d4d451852e944", + "filename": "random/22215.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22215.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22215.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22215.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26450" + }, + { + "sha": "aa0787943184ec8d17333e04f16a189893f84ea3", + "filename": "random/22233.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22233.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22233.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22233.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8297" + }, + { + "sha": "112df5f7d17813c08048c0d709c1ff5f4be37010", + "filename": "random/22255.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22255.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22255.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22255.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26622" + }, + { + "sha": "9adbd23923bacef95f462638443fe16f45bf2f4b", + "filename": "random/22264.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22264.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22264.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22264.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2042" + }, + { + "sha": "fbaf601af1b23a27736ad529def8ac5bd174add9", + "filename": "random/22332.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22332.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22332.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22332.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26150" + }, + { + "sha": "86761e45f7a9131560207db0f64c51901924b999", + "filename": "random/22364.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22364.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22364.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22364.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9671" + }, + { + "sha": "966e333dd72d7a267604b48bc868e8e92be69149", + "filename": "random/22416.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22416.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22416.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22416.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23309" + }, + { + "sha": "ee944c2d8f3450a4673ad71e82dd462828499131", + "filename": "random/22464.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22464.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22464.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22464.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+10354" + }, + { + "sha": "8f901d83747ee20a19cbe4f199b083e5a3678c61", + "filename": "random/22516.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22516.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22516.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22516.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25397" + }, + { + "sha": "29235ffb78a1170c734cacea68d0a126028adc1d", + "filename": "random/22526.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22526.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22526.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22526.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4306" + }, + { + "sha": "e06108c0fa14137d39a66c5a45d58dbde7904cc6", + "filename": "random/22587.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22587.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22587.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22587.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+247" + }, + { + "sha": "731db4d71751d70fb93863e782c9b25a6f5af00e", + "filename": "random/22592.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22592.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22592.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22592.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22161" + }, + { + "sha": "d837ea78a0a321485e60d977bd887a157d0ab6f3", + "filename": "random/22613.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22613.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22613.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22613.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5608" + }, + { + "sha": "8df6f8a0aa30cb4c198e9f23d6ab2d76128867a8", + "filename": "random/22649.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22649.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22649.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22649.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19069" + }, + { + "sha": "2a1922f8e90baacf7ef0e8b64172916b32c72daa", + "filename": "random/22659.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22659.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22659.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22659.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24276" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/__files/repositories_657543062_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-6.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/__files/repositories_657543062_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-6.json new file mode 100644 index 0000000000..f148896940 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/__files/repositories_657543062_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-6.json @@ -0,0 +1,3686 @@ +{ + "sha": "b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "node_id": "C_kwDOJzFPltoAKGI4MzgxMmFhNzZiYjdjM2M0M2RhOTZmYmY4YWVjMWU0NWRiODc2MjQ", + "commit": { + "author": { + "name": "Stephen Horgan", + "email": "frink182@users.noreply.github.com", + "date": "2023-06-23T09:50:57Z" + }, + "committer": { + "name": "Stephen Horgan", + "email": "frink182@users.noreply.github.com", + "date": "2023-06-23T09:50:57Z" + }, + "message": "A commit with lots of files", + "tree": { + "sha": "6718afb2869b086c47122e4187b14585fed52644", + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/trees/6718afb2869b086c47122e4187b14585fed52644" + }, + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/commits/b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/commits/b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "html_url": "https://github.com/hub4j-test-org/CommitTest/commit/b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "comments_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/commits/b83812aa76bb7c3c43da96fbf8aec1e45db87624/comments", + "author": { + "login": "frink182", + "id": 10921922, + "node_id": "MDQ6VXNlcjEwOTIxOTIy", + "avatar_url": "https://avatars.githubusercontent.com/u/10921922?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/frink182", + "html_url": "https://github.com/frink182", + "followers_url": "https://api.github.com/users/frink182/followers", + "following_url": "https://api.github.com/users/frink182/following{/other_user}", + "gists_url": "https://api.github.com/users/frink182/gists{/gist_id}", + "starred_url": "https://api.github.com/users/frink182/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/frink182/subscriptions", + "organizations_url": "https://api.github.com/users/frink182/orgs", + "repos_url": "https://api.github.com/users/frink182/repos", + "events_url": "https://api.github.com/users/frink182/events{/privacy}", + "received_events_url": "https://api.github.com/users/frink182/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "frink182", + "id": 10921922, + "node_id": "MDQ6VXNlcjEwOTIxOTIy", + "avatar_url": "https://avatars.githubusercontent.com/u/10921922?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/frink182", + "html_url": "https://github.com/frink182", + "followers_url": "https://api.github.com/users/frink182/followers", + "following_url": "https://api.github.com/users/frink182/following{/other_user}", + "gists_url": "https://api.github.com/users/frink182/gists{/gist_id}", + "starred_url": "https://api.github.com/users/frink182/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/frink182/subscriptions", + "organizations_url": "https://api.github.com/users/frink182/orgs", + "repos_url": "https://api.github.com/users/frink182/repos", + "events_url": "https://api.github.com/users/frink182/events{/privacy}", + "received_events_url": "https://api.github.com/users/frink182/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "5cd73f73a713a9b912a6c82334d6b7c7dab0fe96", + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/commits/5cd73f73a713a9b912a6c82334d6b7c7dab0fe96", + "html_url": "https://github.com/hub4j-test-org/CommitTest/commit/5cd73f73a713a9b912a6c82334d6b7c7dab0fe96" + } + ], + "stats": { + "total": 691, + "additions": 691, + "deletions": 0 + }, + "files": [ + { + "sha": "19d8c7c338f6ace51c04d403f23794c80a59264c", + "filename": "random/22707.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22707.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22707.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22707.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23685" + }, + { + "sha": "e1bcb22e0e07e6aa562e6438f673c1f7513b4d4e", + "filename": "random/2271.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2271.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2271.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F2271.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2333" + }, + { + "sha": "22f0024e5c89ccd25562c9592a5e66a06ccbb645", + "filename": "random/22715.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22715.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22715.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22715.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14894" + }, + { + "sha": "9340e766f333c9ca6e7f9cacd86da59e0c79876a", + "filename": "random/22720.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22720.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22720.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22720.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6448" + }, + { + "sha": "f8d485e7d21aa42e9d69d7710dbc422d62301ad8", + "filename": "random/2279.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2279.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2279.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F2279.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26556" + }, + { + "sha": "2f0a28ce196207bd325eb9f78e998fad62ebbb91", + "filename": "random/22807.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22807.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22807.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22807.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24099" + }, + { + "sha": "596c536ff79f0bb54b0d43186ba9dc3163149068", + "filename": "random/22817.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22817.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22817.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22817.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+11999" + }, + { + "sha": "63de6e495a333225894a2c10d1f5da9f2b0bc388", + "filename": "random/22839.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22839.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22839.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22839.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26382" + }, + { + "sha": "2e4a9389fbafb68814d99370c6a3324fe769ca27", + "filename": "random/22863.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22863.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22863.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22863.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16368" + }, + { + "sha": "af13b1c489344b7104b00b68d3665b5894231eca", + "filename": "random/22971.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22971.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F22971.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F22971.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1588" + }, + { + "sha": "6cb37e00ef9432181f8a0bb665de35092d5d0370", + "filename": "random/23108.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23108.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23108.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23108.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15470" + }, + { + "sha": "0620b91a6487a14cbc50df00b1cd284a4a7549e1", + "filename": "random/23130.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23130.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23130.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23130.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19595" + }, + { + "sha": "2e74587a1b458f9582dffd34a67681c444199d03", + "filename": "random/23141.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23141.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23141.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23141.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+27008" + }, + { + "sha": "55f69fcdef99260ac2320175d52618b5388686de", + "filename": "random/23142.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23142.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23142.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23142.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17879" + }, + { + "sha": "138ae7ea386170f82c1808085ca97f0fe676aa02", + "filename": "random/23171.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23171.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23171.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23171.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+27296" + }, + { + "sha": "7e30bed39582f82d54c24bec0b872e13ad701ed4", + "filename": "random/2320.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2320.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2320.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F2320.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5431" + }, + { + "sha": "6b207bad6c8945f76ebfe74624a1b98e547924a8", + "filename": "random/23285.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23285.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23285.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23285.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+3191" + }, + { + "sha": "57b05dbf7cd0939c222442136a4b52d4ba49fcd3", + "filename": "random/233.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F233.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F233.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F233.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13431" + }, + { + "sha": "85d022d5928070ad527212dfa64245ff17f1c173", + "filename": "random/23350.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23350.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23350.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23350.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21102" + }, + { + "sha": "5ed7d7f4a449a44b13655d7d8ed90b2e60cde0cf", + "filename": "random/23358.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23358.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23358.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23358.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18940" + }, + { + "sha": "1c2ba3a97fdb7b53ed9815c8acac2935a3fa5607", + "filename": "random/23383.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23383.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23383.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23383.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4744" + }, + { + "sha": "26551cf1336c5a4efc39e02dfcf8c559c48bbfe2", + "filename": "random/23384.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23384.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23384.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23384.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+463" + }, + { + "sha": "cd4a47354e0caa61b76731ba34f6de5bc9ab50cb", + "filename": "random/23393.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23393.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23393.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23393.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30921" + }, + { + "sha": "9142bb40c2a9f5182d87b054b3e3281cc393d505", + "filename": "random/2350.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2350.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2350.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F2350.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2008" + }, + { + "sha": "829df7665b845aa04b7017def5874b759cd4b5c2", + "filename": "random/23551.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23551.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23551.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23551.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18376" + }, + { + "sha": "c40f8f054ef0875fbe24accac7b9c87c1cc1c9c6", + "filename": "random/23560.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23560.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23560.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23560.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23317" + }, + { + "sha": "a818abc4a57dd5a9c9fbbc8afcaa8ba51355776c", + "filename": "random/23579.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23579.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23579.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23579.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+736" + }, + { + "sha": "1bc0fa398e769a54edc3b1f3a0a08bb17885c4fe", + "filename": "random/23581.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23581.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23581.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23581.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21346" + }, + { + "sha": "28e7ef57d7c26d3ed0fb10e594712506bc58c2b5", + "filename": "random/23589.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23589.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23589.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23589.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32625" + }, + { + "sha": "7be817d2f8911f2d77daf8adbefd074dfe8c12bb", + "filename": "random/23597.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23597.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23597.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23597.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17369" + }, + { + "sha": "498e27e8384e77da6e1cf53ee468a82d3b4ef761", + "filename": "random/2361.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2361.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2361.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F2361.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28827" + }, + { + "sha": "622e927fb496cd6cee078e4c2d99c3dc9485142c", + "filename": "random/23703.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23703.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23703.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23703.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7538" + }, + { + "sha": "cdc17066eb9a0891570cb951410b85a8fb2a3882", + "filename": "random/23705.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23705.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23705.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23705.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12765" + }, + { + "sha": "356ded05dcd8242418bbe3dc4929c2f97ff0a12b", + "filename": "random/23734.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23734.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23734.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23734.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18258" + }, + { + "sha": "d322586238a1d721f523a96104db694882881b4a", + "filename": "random/23758.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23758.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23758.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23758.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20157" + }, + { + "sha": "ed2d82a151d26d37c0439d008e1a2a9db132873b", + "filename": "random/2378.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2378.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2378.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F2378.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28681" + }, + { + "sha": "2ebcee9cf00845e9f71d46d8c36c2c80ecf30de9", + "filename": "random/23781.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23781.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23781.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23781.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31260" + }, + { + "sha": "bd076fea52cfe35474404f471c8331514c8f5df8", + "filename": "random/23809.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23809.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23809.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23809.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7041" + }, + { + "sha": "b9162d852b46c43ce0f144b2ae5a353d0079b7a5", + "filename": "random/23852.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23852.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23852.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23852.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15910" + }, + { + "sha": "4cd62f6ebf1b596ebb1ec643312bdb08927c5290", + "filename": "random/23883.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23883.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23883.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23883.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14711" + }, + { + "sha": "45c40028f4a76dea0d1624856845036aa739b050", + "filename": "random/23926.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23926.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F23926.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F23926.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16033" + }, + { + "sha": "29369e2fca5b9655f54d825ef0ecee1a6fa26dc5", + "filename": "random/24018.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24018.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24018.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F24018.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22972" + }, + { + "sha": "4e605f38b5b824bc597362f70c6b9ad846fdbec6", + "filename": "random/24127.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24127.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24127.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F24127.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8687" + }, + { + "sha": "0ae9d1ef4c0100a8c52c4f6aa982dad9042e0163", + "filename": "random/24132.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24132.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24132.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F24132.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+334" + }, + { + "sha": "39a358f9dc792ff0d88e150bb2d56ab0d4dbba21", + "filename": "random/24180.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24180.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24180.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F24180.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24984" + }, + { + "sha": "02f5edf53cf73d0674a2d398dbea0ed984421bdf", + "filename": "random/24215.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24215.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24215.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F24215.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+27518" + }, + { + "sha": "c343caa8e265926693ef1727f41766c0f7466502", + "filename": "random/24351.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24351.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24351.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F24351.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12223" + }, + { + "sha": "e66b68a27471b755f10abb8916a5c846a9ace1a4", + "filename": "random/24386.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24386.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24386.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F24386.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13740" + }, + { + "sha": "9292fcae65737c1f3ffb935049d23c7478a0a716", + "filename": "random/24410.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24410.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24410.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F24410.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6606" + }, + { + "sha": "f57d3540e6b9286644e8f03cec3446071262de76", + "filename": "random/24416.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24416.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24416.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F24416.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30437" + }, + { + "sha": "470493751a13f75ea9a8a9da070e7e58aea749f3", + "filename": "random/24418.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24418.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24418.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F24418.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8720" + }, + { + "sha": "00adea1cb89627387663b7e53c929d7dcb5a9640", + "filename": "random/24538.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24538.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24538.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F24538.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+27694" + }, + { + "sha": "fd639d9b10013e87df0976e4b3e7c7596d78e3d7", + "filename": "random/24545.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24545.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24545.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F24545.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7078" + }, + { + "sha": "c05309ba1466f286ce44f8731f0e627430de73ed", + "filename": "random/24625.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24625.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24625.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F24625.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23982" + }, + { + "sha": "7e1f9f8ebfeb64d1c4087118cb896f45f34a54f7", + "filename": "random/24636.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24636.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24636.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F24636.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7301" + }, + { + "sha": "e0a36c89f6313ae82a44b0f207d4b894f1d5df6f", + "filename": "random/24791.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24791.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24791.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F24791.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5232" + }, + { + "sha": "e382e8c514fbfbf5e4976b1b1fc9b1cab0490913", + "filename": "random/2486.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2486.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2486.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F2486.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20736" + }, + { + "sha": "10a4cc301483f7ead26a4cc336cef8c9fe740756", + "filename": "random/24860.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24860.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24860.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F24860.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28946" + }, + { + "sha": "b2dffb77e8b99b060aa767ffd1de397492aca97b", + "filename": "random/24863.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24863.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24863.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F24863.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1652" + }, + { + "sha": "194066ad76256795373bc8709e466932313d6819", + "filename": "random/24871.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24871.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24871.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F24871.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12820" + }, + { + "sha": "2c527f0e2bd36f8a3c8be4a84a3ed03e18697315", + "filename": "random/24888.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24888.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24888.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F24888.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8461" + }, + { + "sha": "56e4520ef2c30c565f31a7580a8542151f3910aa", + "filename": "random/24889.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24889.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F24889.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F24889.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25066" + }, + { + "sha": "68349c811626b26ffdadc7b58a8401f90e58e160", + "filename": "random/25014.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25014.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25014.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F25014.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26438" + }, + { + "sha": "d474e1c338b8128abbac7e21348fc45fecda8564", + "filename": "random/2518.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2518.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2518.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F2518.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6724" + }, + { + "sha": "a1ebabbab87318bbb425d72f3ead07ec8e2e17d6", + "filename": "random/25194.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25194.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25194.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F25194.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32430" + }, + { + "sha": "474510dc2f9c8d88b0f9bfede0a722230f4ed8a9", + "filename": "random/25204.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25204.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25204.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F25204.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25312" + }, + { + "sha": "79199da5e61485412fbf05bc937d3c14a2a61887", + "filename": "random/25237.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25237.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25237.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F25237.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22028" + }, + { + "sha": "8b9c622b5827cd223b3312e0da15598b115381be", + "filename": "random/25364.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25364.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25364.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F25364.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32679" + }, + { + "sha": "838b2b834bd2cda32a9e45b90bee54719840b1b9", + "filename": "random/25383.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25383.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25383.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F25383.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20578" + }, + { + "sha": "09b20f4efc3454f1c93695f3d5b8f4573b28e425", + "filename": "random/25386.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25386.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25386.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F25386.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21387" + }, + { + "sha": "0a9f0355100d270af7f9a9143a143ab81d9d31ba", + "filename": "random/25402.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25402.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25402.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F25402.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13087" + }, + { + "sha": "9a9670beef1516979b00a55ceedfac74f73836ae", + "filename": "random/25559.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25559.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25559.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F25559.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16029" + }, + { + "sha": "a19e190ee13aab334f427571809fe420b6d7ef58", + "filename": "random/25560.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25560.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25560.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F25560.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19558" + }, + { + "sha": "6048c22a3f8b3b1b98581fdc213660a57d21a131", + "filename": "random/25578.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25578.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25578.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F25578.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16772" + }, + { + "sha": "b8ac12590288f3c0f33c0b23df70102b74dfaaaf", + "filename": "random/25598.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25598.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25598.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F25598.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6517" + }, + { + "sha": "b3c2e6e4494225f311d897ce3e0f65bfee0bf6ae", + "filename": "random/25689.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25689.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25689.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F25689.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30119" + }, + { + "sha": "450b777514adcc1646e942869b119b908b299307", + "filename": "random/25762.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25762.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25762.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F25762.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17273" + }, + { + "sha": "8f8c5bddca66e57c1ffefac9e2c7f426ad890e0a", + "filename": "random/25768.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25768.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25768.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F25768.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22547" + }, + { + "sha": "321ba80783b701c2e88afe44083e01b2bf307376", + "filename": "random/25838.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25838.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25838.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F25838.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21677" + }, + { + "sha": "d3bbff41e22d1c217607d9fbbd06db9b2d56ef3b", + "filename": "random/25904.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25904.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25904.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F25904.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26269" + }, + { + "sha": "47902851cd41127833a18d098a74739a0078cb37", + "filename": "random/25986.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25986.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F25986.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F25986.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12693" + }, + { + "sha": "f2b9aa62ba8d34bade88e74c5a68ef71bf5b562b", + "filename": "random/26016.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26016.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26016.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26016.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21418" + }, + { + "sha": "0635d64698c39acfb338194ff345f050c3f1bd07", + "filename": "random/26023.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26023.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26023.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26023.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15372" + }, + { + "sha": "473ef4c61b4445af5b8bbe7da7b2eef7812a79c5", + "filename": "random/26087.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26087.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26087.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26087.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15729" + }, + { + "sha": "6cb37e00ef9432181f8a0bb665de35092d5d0370", + "filename": "random/26129.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26129.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26129.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26129.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15470" + }, + { + "sha": "b1ee089f2a08b8ba4d0f7e2a9923155f4e505140", + "filename": "random/26141.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26141.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26141.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26141.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5528" + }, + { + "sha": "c7a872b37eade3e60d67496f3253db0ff75ff4c1", + "filename": "random/26267.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26267.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26267.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26267.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29829" + }, + { + "sha": "b6234032c524234d798424a0332c88a3e50b6851", + "filename": "random/26367.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26367.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26367.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26367.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18145" + }, + { + "sha": "895152c23ffb49e91e2c3f8da5465170fe0bcd6b", + "filename": "random/26407.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26407.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26407.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26407.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+748" + }, + { + "sha": "5478c714f35ec8a758321acd39af9b29a58f6ede", + "filename": "random/26408.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26408.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26408.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26408.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+313" + }, + { + "sha": "72272b527bc7ab09a3839a1a5aeabcd68b18a64b", + "filename": "random/26414.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26414.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26414.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26414.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17659" + }, + { + "sha": "893d2d68f5579f3ca0a64a6b47530c6b592a65d3", + "filename": "random/26438.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26438.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26438.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26438.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19880" + }, + { + "sha": "6c23c432eb53a07f610b4110cb76e6101824f4ff", + "filename": "random/2646.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2646.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2646.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F2646.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15531" + }, + { + "sha": "1d4d5339ee22f866bc28caa5d4510e3338f225f9", + "filename": "random/26480.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26480.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26480.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26480.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12214" + }, + { + "sha": "81e1ed4fd4bfecf54ed93ef73f8e41c7cc39843b", + "filename": "random/2653.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2653.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2653.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F2653.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19389" + }, + { + "sha": "438d8ab0b97e03dd18252e9c79aefb1ce5560e28", + "filename": "random/26566.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26566.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26566.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26566.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18287" + }, + { + "sha": "38e1b2406271cb1a3ea31f31ad1568a653bc015a", + "filename": "random/26569.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26569.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26569.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26569.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8626" + }, + { + "sha": "ea083d7d59b53280a90b8a7b14ac002a07877ef1", + "filename": "random/26572.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26572.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26572.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26572.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28464" + }, + { + "sha": "ad9fa199a336e8851c2f8c8ba6fc02f6dfa20767", + "filename": "random/26599.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26599.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26599.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26599.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7008" + }, + { + "sha": "5f277ae787b09652b4f6a091c66203fbfb646ecd", + "filename": "random/26649.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26649.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26649.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26649.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+223" + }, + { + "sha": "6a1183329240e53c648876eb041aa9ab010c55b2", + "filename": "random/26750.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26750.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26750.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26750.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+654" + }, + { + "sha": "d00808b1ee9461307e21f6c425d366bddd8c5506", + "filename": "random/26829.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26829.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26829.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26829.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23444" + }, + { + "sha": "f83bb2a945e11c9866f66466053f96a8b62ce675", + "filename": "random/26869.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26869.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26869.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26869.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29950" + }, + { + "sha": "046c69a761be16e91d859990b8c3ea6dc40de286", + "filename": "random/26887.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26887.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26887.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26887.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14996" + }, + { + "sha": "ea45272b0261813cf8f2cd8c39e040b22b14f7d4", + "filename": "random/26900.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26900.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26900.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26900.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2637" + }, + { + "sha": "73e3e34dfe60a120ae8044d58988afd7341ebed9", + "filename": "random/26901.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26901.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26901.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26901.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23052" + }, + { + "sha": "3178db2b52c8118425f15a71769c4e42c6d29d93", + "filename": "random/26946.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26946.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26946.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26946.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31256" + }, + { + "sha": "a7aa0fca787880d6a3feb77b85901b2da1949394", + "filename": "random/26949.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26949.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26949.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26949.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29396" + }, + { + "sha": "cf61f84042fe6e3bfcbcd0708aa1eef02e55a92f", + "filename": "random/2698.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2698.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2698.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F2698.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20619" + }, + { + "sha": "dd54067ad8337b21f4e56eac2e3f239ce5b4f140", + "filename": "random/26983.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26983.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F26983.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F26983.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9974" + }, + { + "sha": "e4efb839b8d76e1dc15a2d40147505cb0240d57d", + "filename": "random/2703.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2703.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2703.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F2703.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9830" + }, + { + "sha": "47d8481e26395c8f74a84e9d5b866d9d5d67ca36", + "filename": "random/27096.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27096.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27096.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27096.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8219" + }, + { + "sha": "ae3f69655ad3f217e84f507350e47de5440d9e28", + "filename": "random/27117.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27117.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27117.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27117.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18868" + }, + { + "sha": "db01523e04fbb69ee4e2e8868937deef62886dcc", + "filename": "random/27150.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27150.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27150.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27150.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32549" + }, + { + "sha": "7c7415c7257774e881973a191dd404594afa3054", + "filename": "random/27254.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27254.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27254.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27254.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32350" + }, + { + "sha": "f2b9aa62ba8d34bade88e74c5a68ef71bf5b562b", + "filename": "random/27271.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27271.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27271.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27271.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21418" + }, + { + "sha": "fa9a0917aba15cbdade4e51bab3643242e33aee7", + "filename": "random/27288.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27288.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27288.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27288.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6513" + }, + { + "sha": "37d6489969eb7eaa83349280165e1bb703adc762", + "filename": "random/27347.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27347.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27347.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27347.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+11013" + }, + { + "sha": "739b529ea9681e07444d5ea7a073479dc0dda73d", + "filename": "random/27350.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27350.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27350.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27350.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+27466" + }, + { + "sha": "2e2bf478986bfd8f98104b8fc8b7cef08f19be77", + "filename": "random/27428.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27428.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27428.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27428.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15628" + }, + { + "sha": "b6b9202e2108c59ebf5b5aed69f0d2124e9ed3bd", + "filename": "random/27434.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27434.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27434.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27434.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9942" + }, + { + "sha": "6cdd115afe04ea2f36bb34b1beac3db9c0a18a01", + "filename": "random/27436.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27436.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27436.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27436.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30831" + }, + { + "sha": "8c22ca2a0d9bb2ca8ee43d829a53ff05e0813eaa", + "filename": "random/2745.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2745.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2745.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F2745.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9563" + }, + { + "sha": "f97dfee55cd15b839a2f940d5ec004e5613bcf8b", + "filename": "random/27455.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27455.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27455.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27455.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22951" + }, + { + "sha": "fa31d298ded666e92d2a6af301331b5fddce8a6f", + "filename": "random/27456.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27456.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27456.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27456.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29634" + }, + { + "sha": "38d373da105b51a3b10620f0bbc809f591948f7c", + "filename": "random/27504.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27504.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27504.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27504.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6920" + }, + { + "sha": "8ec8ae4ab1fa828cb924e852715d830956327447", + "filename": "random/27523.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27523.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27523.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27523.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15990" + }, + { + "sha": "2ad943094bf115f22251f9392998cac3bb4732e5", + "filename": "random/27543.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27543.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27543.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27543.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4019" + }, + { + "sha": "c8416ad52337082a1d8bb954ba639814889cca26", + "filename": "random/27635.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27635.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27635.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27635.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32036" + }, + { + "sha": "a372ad655a3858ec9e61d892e9acfdbeaaa3fc3a", + "filename": "random/2774.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2774.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2774.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F2774.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16611" + }, + { + "sha": "89cab80963d7256ebefcd6232c6e9e3b6d1a1edc", + "filename": "random/27753.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27753.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27753.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27753.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+11574" + }, + { + "sha": "af001ce4df62e3841bf1a2298d8db8e5c7fff7d0", + "filename": "random/27791.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27791.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27791.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27791.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20734" + }, + { + "sha": "39e5b68206c47debfd8608d35b57d592b3074932", + "filename": "random/27850.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27850.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27850.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27850.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5877" + }, + { + "sha": "7a61a1e7b011e5c39597b388440bdf2e05c847e3", + "filename": "random/27860.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27860.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27860.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27860.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5324" + }, + { + "sha": "edae05cdfe211b185fdca04c4925c3eea339a9a4", + "filename": "random/27883.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27883.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27883.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27883.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16718" + }, + { + "sha": "1829ef50f6641a126f67dc07d9cfbe10d6693bec", + "filename": "random/27898.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27898.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F27898.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F27898.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21506" + }, + { + "sha": "723c01477c603423d705ce320910c4f14a307338", + "filename": "random/280.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F280.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F280.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F280.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24600" + }, + { + "sha": "236c602c6a04b81ccbd66ef41eaf9c0cedf92fe8", + "filename": "random/28032.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28032.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28032.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F28032.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+11044" + }, + { + "sha": "067dc35de968ea61bcf842ca1b0c7832ebc01ac6", + "filename": "random/28130.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28130.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28130.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F28130.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18012" + }, + { + "sha": "424d1a1e89399ae31ef5b8296da5b8cd7c2eedc1", + "filename": "random/28179.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28179.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28179.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F28179.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25899" + }, + { + "sha": "cf4d36f09b38a59cad2513616f02f16ced42a6ef", + "filename": "random/28350.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28350.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28350.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F28350.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30311" + }, + { + "sha": "d44003a3a39fdc02a8fdaa94a61c6c9dff4bf83a", + "filename": "random/28387.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28387.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28387.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F28387.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31898" + }, + { + "sha": "abd8839a7ff93a25ab0c719461b63bc78428c3ac", + "filename": "random/28463.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28463.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28463.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F28463.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28507" + }, + { + "sha": "90841f2cc626c83e82d0a8274fa2a86340ec2194", + "filename": "random/28489.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28489.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28489.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F28489.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2586" + }, + { + "sha": "162396eb906784daf0723ec440718bb23efee401", + "filename": "random/28614.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28614.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28614.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F28614.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26097" + }, + { + "sha": "0064ea02805206cc850a64779fad73fa2b6fbeb0", + "filename": "random/2862.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2862.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F2862.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F2862.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26548" + }, + { + "sha": "0eb4c80d4ad1782cb21346941c7a7100706b99bf", + "filename": "random/28657.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28657.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28657.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F28657.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23931" + }, + { + "sha": "5f145b460d1794e462b3eb96ceb947a956e73d70", + "filename": "random/28731.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28731.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28731.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F28731.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31352" + }, + { + "sha": "9428181f2bbaa1d393214d100e0dba2b12ac625c", + "filename": "random/28743.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28743.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28743.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F28743.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+27172" + }, + { + "sha": "4c3dbae896348baf60961d0c2131cfe5aa121c15", + "filename": "random/28825.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28825.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28825.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F28825.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22003" + }, + { + "sha": "eb1154fff9844adf343e69f868d6d1b677e836ca", + "filename": "random/28920.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28920.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28920.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F28920.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18554" + }, + { + "sha": "fb583e0f883f17b128fc9e82c690afc0fab68ec0", + "filename": "random/28940.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28940.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28940.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F28940.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8944" + }, + { + "sha": "3b11485254808b850f12532bfb165041b36b83e9", + "filename": "random/28996.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28996.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F28996.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F28996.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18020" + }, + { + "sha": "9e6a385fa3f837becd1bf4feff72af2ad6e20ed4", + "filename": "random/29039.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29039.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29039.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29039.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18053" + }, + { + "sha": "a28728c1896853948b1af6250d5867e4460c9aec", + "filename": "random/29079.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29079.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29079.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29079.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25694" + }, + { + "sha": "9fdc3a37966d662dfc4d3f3b15d09d1ff8340245", + "filename": "random/29181.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29181.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29181.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29181.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8991" + }, + { + "sha": "39f2aeb188742e987e61e8ef8f91be1acfd106a9", + "filename": "random/29188.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29188.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29188.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29188.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4817" + }, + { + "sha": "0e6f3c86ee02edab824591bdb05218af77a5d8b8", + "filename": "random/29284.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29284.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29284.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29284.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17472" + }, + { + "sha": "a8b6fd7eb2094a4351f931ce45fd4b5976b271f2", + "filename": "random/29294.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29294.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29294.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29294.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7504" + }, + { + "sha": "bae5cc81afbbdcffecb2bfa7ef4aeffabecb9bad", + "filename": "random/29337.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29337.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29337.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29337.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7123" + }, + { + "sha": "6a2c42ec76149b6bb5556e611754f5aaa3c59a6f", + "filename": "random/29373.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29373.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29373.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29373.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+10327" + }, + { + "sha": "a57b5eb071d2a56ed65b74aa364645bc77480703", + "filename": "random/29498.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29498.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29498.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29498.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22307" + }, + { + "sha": "97fc622fb7cc83343f83439377d692712c7a7906", + "filename": "random/29547.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29547.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29547.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29547.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32153" + }, + { + "sha": "72ddb42af8d5aeed85e48671c144e9b5384fb2b0", + "filename": "random/29607.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29607.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29607.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29607.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13830" + }, + { + "sha": "89bb60c0fd19cd4ce30e4a0f31e6df4a06642830", + "filename": "random/29648.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29648.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29648.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29648.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14193" + }, + { + "sha": "2b615352a61e9c6938601e9d94bdb8026167ea75", + "filename": "random/29662.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29662.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29662.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29662.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18700" + }, + { + "sha": "82486f6d91b1aa4deab05499faaab1c458985383", + "filename": "random/29723.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29723.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29723.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29723.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30359" + }, + { + "sha": "92207ffab6359137215f2f8b10c0547af3e702d5", + "filename": "random/29749.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29749.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29749.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29749.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22734" + }, + { + "sha": "44b88aa386b0ed41fb010254ea20ff2f613d1d6b", + "filename": "random/29795.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29795.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29795.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29795.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1709" + }, + { + "sha": "a100b8169087f4b45b61ebb9f076ade21618fa52", + "filename": "random/29846.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29846.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29846.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29846.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19566" + }, + { + "sha": "b570ddbf520ee6a0919db43a247fd7a0c9b92c9b", + "filename": "random/29882.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29882.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29882.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29882.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+391" + }, + { + "sha": "cef6e0c63a50ce57357aa065f561a3f2dfb418db", + "filename": "random/29911.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29911.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29911.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29911.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30250" + }, + { + "sha": "73504dc4a187d074895355c09624c0a7491701e0", + "filename": "random/29937.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29937.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29937.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29937.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7767" + }, + { + "sha": "9e23270406ac98b4c1c3d312be2a09ae9090afd8", + "filename": "random/29978.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29978.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29978.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29978.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+27293" + }, + { + "sha": "c4321ae013060a1b75a5cd2bfe03613e8ca8664b", + "filename": "random/29982.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29982.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F29982.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F29982.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21545" + }, + { + "sha": "fc14c60ed4646cbac50e21acead52c95504bd702", + "filename": "random/30060.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30060.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30060.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F30060.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+10477" + }, + { + "sha": "8ae86a4dea758c66d2c817bee5e62a67efb6d7a2", + "filename": "random/30071.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30071.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30071.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F30071.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13883" + }, + { + "sha": "2fc3424acaa0e50bc8d5ca83709f929af4d81e17", + "filename": "random/30138.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30138.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30138.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F30138.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18047" + }, + { + "sha": "1ac5b0ec46210362f1018e7e008891013147dcb0", + "filename": "random/30236.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30236.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30236.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F30236.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2604" + }, + { + "sha": "dd26e61bafb3b79aa39fb4426942873dd5c0a87b", + "filename": "random/30255.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30255.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30255.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F30255.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2318" + }, + { + "sha": "521f88090783f348dad3a38abf90898d1f826b29", + "filename": "random/30292.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30292.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30292.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F30292.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13212" + }, + { + "sha": "75cee234e99a2b067c6f140e193a2b89293f096f", + "filename": "random/30315.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30315.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30315.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F30315.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31777" + }, + { + "sha": "ca563993580c56a1d8c79763adba7fa9d3163db0", + "filename": "random/30320.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30320.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30320.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F30320.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12799" + }, + { + "sha": "36fbf31256ba7c16082b351b55b2ac0dc9a17e3f", + "filename": "random/30341.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30341.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30341.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F30341.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22961" + }, + { + "sha": "173edc2f8b9f29a7b6fcff0404cadca165740ab7", + "filename": "random/30415.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30415.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30415.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F30415.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28759" + }, + { + "sha": "a6d392994bd58c8458c805113ffc1b39bbd774d0", + "filename": "random/30436.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30436.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30436.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F30436.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15681" + }, + { + "sha": "4c2ba54c5429cee68baa137bb0a999c81045ac01", + "filename": "random/30443.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30443.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30443.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F30443.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32354" + }, + { + "sha": "4879458197011f1cf84c6e0a08cee5fea9892cb5", + "filename": "random/30451.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30451.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30451.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F30451.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15665" + }, + { + "sha": "41fdf95c8413981f78586637c86c79934d68b1e4", + "filename": "random/30457.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30457.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30457.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F30457.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12150" + }, + { + "sha": "e207e6c4793e42b9cc865af1c9b0aa6b1890881d", + "filename": "random/30487.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30487.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30487.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F30487.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28219" + }, + { + "sha": "65273b5a56fa5f9c82c991a8718db39fb4633073", + "filename": "random/30505.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30505.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30505.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F30505.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32116" + }, + { + "sha": "356a2f9f496c809ad15765435c995963c854ebd5", + "filename": "random/30525.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30525.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30525.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F30525.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6018" + }, + { + "sha": "fc49cbd6eae0ba930e9bd860411d1c5b3378d59c", + "filename": "random/30534.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30534.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30534.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F30534.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16804" + }, + { + "sha": "b24dd7d32584d1d78c5297777c2b97bb274cf4c5", + "filename": "random/3065.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3065.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3065.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F3065.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31196" + }, + { + "sha": "17c63cd65027dc9f08655faff0fb4a7b38e0ae0f", + "filename": "random/30676.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30676.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30676.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F30676.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22736" + }, + { + "sha": "a733b0da47be4485fc397144b090370f50efb0b2", + "filename": "random/30789.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30789.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30789.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F30789.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5538" + }, + { + "sha": "0e217f3806ea1220bf1748f8d9d1a591038f9de0", + "filename": "random/30993.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30993.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F30993.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F30993.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22721" + }, + { + "sha": "d352dc6bab553c2466d303cc641247210a8d0335", + "filename": "random/31108.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31108.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31108.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31108.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17441" + }, + { + "sha": "ec1a9150689ae197402ef52f31119c418dc37c5f", + "filename": "random/31138.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31138.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31138.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31138.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16774" + }, + { + "sha": "2bfce31d93a30902cb3334f3ab7227e24c840ca3", + "filename": "random/3115.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3115.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3115.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F3115.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31573" + }, + { + "sha": "b6c92a0a29f788ea2a1a1dc85e05c1480fe225a5", + "filename": "random/31197.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31197.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31197.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31197.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24242" + }, + { + "sha": "b93b8dbfed15e664ba916b7d9bc43477380e4f25", + "filename": "random/31216.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31216.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31216.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31216.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29225" + }, + { + "sha": "5a2287d489b1c4769f682417f4aeb0d6f13abf2e", + "filename": "random/31225.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31225.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31225.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31225.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15193" + }, + { + "sha": "a0e873a3d9fb9ce330000e00e25b7fef2eca7b0a", + "filename": "random/31269.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31269.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31269.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31269.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12545" + }, + { + "sha": "de858e2fc56e9064cb89446c737d3444d8410154", + "filename": "random/31272.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31272.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31272.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31272.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20777" + }, + { + "sha": "fbc4ca6582b9c9534ff63e7f1a4a0251bb130445", + "filename": "random/31320.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31320.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31320.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31320.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5961" + }, + { + "sha": "c52024da24d16ac6a73ffa2f64db31ed31cc1629", + "filename": "random/31326.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31326.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31326.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31326.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4679" + }, + { + "sha": "3d556c7907c601765c5e469ee65227e0e4f041b1", + "filename": "random/31333.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31333.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31333.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31333.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16306" + }, + { + "sha": "653abd695b5a3fc992fe7c68d744c3929762eeec", + "filename": "random/31343.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31343.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31343.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31343.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22454" + }, + { + "sha": "ce71ff7b0549d82c08eff5a02408a65ac7d6f445", + "filename": "random/31377.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31377.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31377.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31377.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+11658" + }, + { + "sha": "8fba6011f92adbfac7ecaa7710817fd9fbcd9a80", + "filename": "random/31427.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31427.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31427.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31427.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17016" + }, + { + "sha": "bc51cd774c9c49bd386a719dc326efcd6630c8d6", + "filename": "random/31442.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31442.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31442.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31442.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1050" + }, + { + "sha": "09e35abcf3b221db668761b6c6cf4e099b13e99b", + "filename": "random/31632.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31632.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31632.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31632.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1113" + }, + { + "sha": "ddf0577443e732e3595d6c280507b0a2fd5e01b0", + "filename": "random/31714.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31714.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31714.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31714.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22937" + }, + { + "sha": "bd739743e92231e5dd1777041e3a113ba41609b2", + "filename": "random/31756.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31756.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31756.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31756.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14018" + }, + { + "sha": "ca29e0b2101622db81d049a7c4e253ef53f995cb", + "filename": "random/3180.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3180.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3180.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F3180.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23565" + }, + { + "sha": "e2f5cf779fa0e27c2d4ea51f219d7c1a95d01d00", + "filename": "random/31859.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31859.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31859.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31859.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4626" + }, + { + "sha": "8e3f1071a689df6dd8db4377e5aaddff6d5d089a", + "filename": "random/31868.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31868.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31868.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31868.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25370" + }, + { + "sha": "5d6b6def31c1eb7d1ed3f5b259a1374ccdc35e62", + "filename": "random/3190.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3190.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3190.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F3190.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21740" + }, + { + "sha": "9325fd9dfaa55fdcdf98c1a709d59cc9c5e8faab", + "filename": "random/31907.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31907.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31907.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31907.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9438" + }, + { + "sha": "b2224788ac289dd6ab5d4222ed610a6d44f22368", + "filename": "random/31924.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31924.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31924.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31924.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+10444" + }, + { + "sha": "c105be5fb329a704fc19ad8d1755336b0f9b29eb", + "filename": "random/31973.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31973.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31973.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31973.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1715" + }, + { + "sha": "5a4b05c995f6c9b291c8b65e252b8be4045b625f", + "filename": "random/31985.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31985.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F31985.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F31985.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13520" + }, + { + "sha": "ba66a7d2c746e0fc8d203ed3d7d2d92b5eac9499", + "filename": "random/32037.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32037.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32037.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F32037.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28433" + }, + { + "sha": "3c31c02beb627a7df5e433afbad8d6cbdd0f26d5", + "filename": "random/32097.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32097.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32097.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F32097.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24893" + }, + { + "sha": "6a4d0bfefef2b56f650e076245fa721fc1d39285", + "filename": "random/3211.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3211.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3211.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F3211.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+10853" + }, + { + "sha": "d427b49717ae757b20ce777bb03d6d92e7760caf", + "filename": "random/32156.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32156.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32156.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F32156.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14175" + }, + { + "sha": "fd151bc8fed218cb83844cf56e781535b3e788f5", + "filename": "random/32161.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32161.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32161.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F32161.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30956" + }, + { + "sha": "f4b47c593af4159327b424d35485addf307dc838", + "filename": "random/32164.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32164.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32164.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F32164.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+3636" + }, + { + "sha": "401fa7b635f8a581ff0452be4efc8bc0ea192555", + "filename": "random/32212.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32212.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32212.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F32212.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8311" + }, + { + "sha": "fe1649522624bf42779c6f7a312b200dc792cc4a", + "filename": "random/32221.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32221.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32221.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F32221.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26720" + }, + { + "sha": "07eda112ac61613bba586d9881adcd219078c780", + "filename": "random/32247.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32247.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32247.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F32247.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12965" + }, + { + "sha": "b5307fe748c71acb3161bb8e9359127522f90a84", + "filename": "random/32301.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32301.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32301.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F32301.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+27770" + }, + { + "sha": "0c78dff5396f4da47fa36439f997c50b99de6e2b", + "filename": "random/3236.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3236.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3236.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F3236.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18167" + }, + { + "sha": "d00808b1ee9461307e21f6c425d366bddd8c5506", + "filename": "random/32452.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32452.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32452.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F32452.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23444" + }, + { + "sha": "ed2d82a151d26d37c0439d008e1a2a9db132873b", + "filename": "random/32468.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32468.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32468.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F32468.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28681" + }, + { + "sha": "8381011cfb50ee8f6adbdd9638f258e767bcfee1", + "filename": "random/3250.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3250.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3250.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F3250.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5743" + }, + { + "sha": "37a2cebe6b9c9ea32b854654fa6fe1e4535adfec", + "filename": "random/32543.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32543.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32543.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F32543.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2380" + }, + { + "sha": "bd382c51e569546b26900f34adb41d55a9e3e01c", + "filename": "random/32560.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32560.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32560.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F32560.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22501" + }, + { + "sha": "6bc7b9d3c5d763e9663d3e17b301f9e2dd380127", + "filename": "random/32604.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32604.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32604.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F32604.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19032" + }, + { + "sha": "079ecfa763f098f67914dd7ee1d92b7d0e3b3644", + "filename": "random/3268.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3268.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3268.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F3268.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6375" + }, + { + "sha": "824cab0dc3653ea5ed273b2c2de5492dc913f4a4", + "filename": "random/32713.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32713.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32713.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F32713.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1867" + }, + { + "sha": "bb8a6f2999940f9a823c200171a461ab35b6890c", + "filename": "random/32739.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32739.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32739.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F32739.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9389" + }, + { + "sha": "dd134a98acea047b23d73ec7d9dd3d4e777b391a", + "filename": "random/32764.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32764.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F32764.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F32764.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8820" + }, + { + "sha": "e8d0f83fcf6496300e08d292b26b018f92d3a6c5", + "filename": "random/3315.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3315.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3315.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F3315.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2031" + }, + { + "sha": "5d9966de0224986b4c43066b918b51ca8b75041b", + "filename": "random/3361.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3361.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3361.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F3361.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12027" + }, + { + "sha": "965bdeed02b232ba2c1545537560fbe3f92e3bd8", + "filename": "random/3415.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3415.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3415.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F3415.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23269" + }, + { + "sha": "1985b89f4c25ac4a11207dc553a8eb76b3613389", + "filename": "random/3419.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3419.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3419.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F3419.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16782" + }, + { + "sha": "c179a536e8efae2fb1db1e599e46443e22a5e5ac", + "filename": "random/3471.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3471.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3471.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F3471.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4665" + }, + { + "sha": "6c113b84f8745b7d3d8289b7eec0243873d3a319", + "filename": "random/349.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F349.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F349.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F349.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23472" + }, + { + "sha": "74e006961cb04c182cf632c42417a83502a66c14", + "filename": "random/3524.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3524.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3524.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F3524.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14236" + }, + { + "sha": "24ee76b79c096dd79181971167a305a13b00e554", + "filename": "random/3599.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3599.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3599.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F3599.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29416" + }, + { + "sha": "d4024fcbba7f2672c360b084602c2b840908c07f", + "filename": "random/367.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F367.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F367.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F367.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23199" + }, + { + "sha": "6482611da76dca3196f8f3dcb0b95e75d5584b7e", + "filename": "random/3792.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3792.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3792.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F3792.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7401" + }, + { + "sha": "c4296d9453b68058822d6bc6b1eda6c477f9a43a", + "filename": "random/3810.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3810.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3810.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F3810.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23322" + }, + { + "sha": "55f73b9c653fd35d0f2f613ac5604acaa7cdd75a", + "filename": "random/3824.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3824.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3824.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F3824.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6176" + }, + { + "sha": "bc71cc55d3a04c92a93590a0f9e8d06cfc4b9497", + "filename": "random/3887.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3887.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3887.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F3887.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4254" + }, + { + "sha": "2ff09d433e4f41205a52043e673218ebc7e53b86", + "filename": "random/3936.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3936.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3936.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F3936.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16213" + }, + { + "sha": "5d8c6c43e33c41a7a3564459396d81593cafdf7e", + "filename": "random/3984.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3984.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F3984.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F3984.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6907" + }, + { + "sha": "0f254fd99eddd5c5f6c27c3774e98e2c90318393", + "filename": "random/399.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F399.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F399.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F399.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4002" + }, + { + "sha": "8f3983da9e0577e2bdb4653380424df7d8171a24", + "filename": "random/4051.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4051.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4051.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F4051.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23604" + }, + { + "sha": "16aef60ad2e87db3ee8dc7ccb6ab9bf478c184e2", + "filename": "random/4073.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4073.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4073.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F4073.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6777" + }, + { + "sha": "c619d7c16d46e5be901bbbc852de2f302d4dcd76", + "filename": "random/4089.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4089.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4089.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F4089.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20538" + }, + { + "sha": "d15f2844dd107d5e4e41133eb33fda0c18ef45b6", + "filename": "random/4120.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4120.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4120.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F4120.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+11914" + }, + { + "sha": "2351a85dcb1b535bdf8eeb685b173c8f18e0dd0e", + "filename": "random/4198.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4198.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4198.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F4198.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2692" + }, + { + "sha": "367c84983477e515cc770de880b71ab8b7945def", + "filename": "random/4213.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4213.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4213.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F4213.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31019" + }, + { + "sha": "a8836cc225f296dcc75475972a9d2a391d322e71", + "filename": "random/4232.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4232.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4232.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F4232.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14256" + }, + { + "sha": "aa0444dab315089f43cec839d3081fc7b9952fb4", + "filename": "random/44.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F44.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F44.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F44.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5926" + }, + { + "sha": "ec42e6d49a9f887b4263755068bb31dfe6ad2a7e", + "filename": "random/4536.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4536.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4536.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F4536.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+2142" + }, + { + "sha": "ba3343d500bff97f47cbb4bb424495a516d0f223", + "filename": "random/4547.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4547.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4547.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F4547.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1158" + }, + { + "sha": "2757acec793df8eab3da60f93bc07da374270177", + "filename": "random/4710.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4710.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4710.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F4710.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18871" + }, + { + "sha": "2cea19324829c833899042c442ffc6f4c4f56853", + "filename": "random/4758.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4758.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4758.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F4758.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4669" + }, + { + "sha": "d17d98f5402d443eb1a64cd9562d69c07a7c34f4", + "filename": "random/4854.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4854.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4854.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F4854.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30641" + }, + { + "sha": "c3d17068ab0aa1b389b29541304fe38a784f3317", + "filename": "random/4871.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4871.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4871.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F4871.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31557" + }, + { + "sha": "b2b46630d470ba7c54db130fa2836f40d31b8675", + "filename": "random/4880.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4880.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F4880.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F4880.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12665" + }, + { + "sha": "dae66e9b33f570b3b3557ca76607dd8851a7d166", + "filename": "random/5123.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5123.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5123.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F5123.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22768" + }, + { + "sha": "e1b3454b67f39d9df31278a6b8e8c35c8faa1af0", + "filename": "random/5129.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5129.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5129.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F5129.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21276" + }, + { + "sha": "cc70564368ddcd2217f125589940cbece5b196bc", + "filename": "random/5179.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5179.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5179.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F5179.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+10103" + }, + { + "sha": "30db6f113dabacfe2fc154f65b66bc51f7398831", + "filename": "random/52.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F52.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F52.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F52.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31689" + }, + { + "sha": "29b6583c92faee1da429299073d1378fb3e7620a", + "filename": "random/5215.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5215.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5215.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F5215.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13285" + }, + { + "sha": "7393d5c120be90fe4c15caf33b6ed96987648b39", + "filename": "random/5248.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5248.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5248.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F5248.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8292" + }, + { + "sha": "1bdacf3ac3e475e502598e8a4989bf4c6bdce1a9", + "filename": "random/5261.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5261.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5261.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F5261.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6153" + }, + { + "sha": "19d1e65cc85e42f6863700080bebc7d91e432e91", + "filename": "random/5357.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5357.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5357.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F5357.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5999" + }, + { + "sha": "e72c6b3f4abd0bbadf8a67d7a3e9db6ac416facb", + "filename": "random/537.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F537.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F537.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F537.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+3844" + }, + { + "sha": "edb8ba64b3dc77be677ca7e5a79934013b3d1ab7", + "filename": "random/5386.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5386.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5386.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F5386.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24579" + }, + { + "sha": "925298e9ab04a2e3ca970a5e853cb0266784590a", + "filename": "random/5494.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5494.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5494.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F5494.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16182" + }, + { + "sha": "be1db4f66466528d502219e0b16f92b57999b179", + "filename": "random/5619.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5619.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5619.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F5619.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24714" + }, + { + "sha": "87ada86e16e0d5fd5bcf825a3a6e56f11fcabd80", + "filename": "random/5640.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5640.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5640.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F5640.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16443" + }, + { + "sha": "fc90b3526b983eb5d9dc9c9cda97fdc380afd421", + "filename": "random/5647.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5647.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5647.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F5647.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24449" + }, + { + "sha": "db638bdbcbe80d9c598e9f5f863bac217afde0c0", + "filename": "random/5654.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5654.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5654.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F5654.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8302" + }, + { + "sha": "757d7236455ae723277c63df11c47a56e2edbcda", + "filename": "random/566.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F566.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F566.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F566.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+27324" + }, + { + "sha": "b7b17e5abb71d1f629581885b8b542203c8e6607", + "filename": "random/568.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F568.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F568.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F568.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29348" + }, + { + "sha": "323d1bb416cdaf92a2e745a9b4d01a70b920e993", + "filename": "random/5794.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5794.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5794.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F5794.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+27765" + }, + { + "sha": "fde32dc6d61a8ac3742bc85798807781911c1441", + "filename": "random/5871.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5871.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5871.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F5871.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+10251" + }, + { + "sha": "45fb0330726448967eea18e27f98a0e34f459eed", + "filename": "random/5886.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5886.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5886.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F5886.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13043" + }, + { + "sha": "0da6778c254aaeea561607fa77b74220498d1db8", + "filename": "random/5924.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5924.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F5924.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F5924.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19095" + }, + { + "sha": "8f72695599a8b84e0b968fbcab44689435d1c75f", + "filename": "random/596.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F596.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F596.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F596.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25505" + }, + { + "sha": "fc90b3526b983eb5d9dc9c9cda97fdc380afd421", + "filename": "random/6080.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6080.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6080.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F6080.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24449" + }, + { + "sha": "42670a9cc5d6841594976453187505eafaed8c6f", + "filename": "random/6401.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6401.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6401.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F6401.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25269" + }, + { + "sha": "48fba8aaf1685c89ed12d84403a668e1932dc72b", + "filename": "random/6407.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6407.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6407.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F6407.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24905" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/__files/repositories_657543062_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-7.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/__files/repositories_657543062_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-7.json new file mode 100644 index 0000000000..d847125437 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/__files/repositories_657543062_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-7.json @@ -0,0 +1,1178 @@ +{ + "sha": "b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "node_id": "C_kwDOJzFPltoAKGI4MzgxMmFhNzZiYjdjM2M0M2RhOTZmYmY4YWVjMWU0NWRiODc2MjQ", + "commit": { + "author": { + "name": "Stephen Horgan", + "email": "frink182@users.noreply.github.com", + "date": "2023-06-23T09:50:57Z" + }, + "committer": { + "name": "Stephen Horgan", + "email": "frink182@users.noreply.github.com", + "date": "2023-06-23T09:50:57Z" + }, + "message": "A commit with lots of files", + "tree": { + "sha": "6718afb2869b086c47122e4187b14585fed52644", + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/trees/6718afb2869b086c47122e4187b14585fed52644" + }, + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/commits/b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/commits/b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "html_url": "https://github.com/hub4j-test-org/CommitTest/commit/b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "comments_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/commits/b83812aa76bb7c3c43da96fbf8aec1e45db87624/comments", + "author": { + "login": "frink182", + "id": 10921922, + "node_id": "MDQ6VXNlcjEwOTIxOTIy", + "avatar_url": "https://avatars.githubusercontent.com/u/10921922?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/frink182", + "html_url": "https://github.com/frink182", + "followers_url": "https://api.github.com/users/frink182/followers", + "following_url": "https://api.github.com/users/frink182/following{/other_user}", + "gists_url": "https://api.github.com/users/frink182/gists{/gist_id}", + "starred_url": "https://api.github.com/users/frink182/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/frink182/subscriptions", + "organizations_url": "https://api.github.com/users/frink182/orgs", + "repos_url": "https://api.github.com/users/frink182/repos", + "events_url": "https://api.github.com/users/frink182/events{/privacy}", + "received_events_url": "https://api.github.com/users/frink182/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "frink182", + "id": 10921922, + "node_id": "MDQ6VXNlcjEwOTIxOTIy", + "avatar_url": "https://avatars.githubusercontent.com/u/10921922?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/frink182", + "html_url": "https://github.com/frink182", + "followers_url": "https://api.github.com/users/frink182/followers", + "following_url": "https://api.github.com/users/frink182/following{/other_user}", + "gists_url": "https://api.github.com/users/frink182/gists{/gist_id}", + "starred_url": "https://api.github.com/users/frink182/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/frink182/subscriptions", + "organizations_url": "https://api.github.com/users/frink182/orgs", + "repos_url": "https://api.github.com/users/frink182/repos", + "events_url": "https://api.github.com/users/frink182/events{/privacy}", + "received_events_url": "https://api.github.com/users/frink182/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "5cd73f73a713a9b912a6c82334d6b7c7dab0fe96", + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/commits/5cd73f73a713a9b912a6c82334d6b7c7dab0fe96", + "html_url": "https://github.com/hub4j-test-org/CommitTest/commit/5cd73f73a713a9b912a6c82334d6b7c7dab0fe96" + } + ], + "stats": { + "total": 691, + "additions": 691, + "deletions": 0 + }, + "files": [ + { + "sha": "433f78acbfd1f56d53cbc44549699280b2e87dc3", + "filename": "random/6411.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6411.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6411.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F6411.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+7763" + }, + { + "sha": "08171a97c9afd62ed7e4d222f5880cf7fc78c38b", + "filename": "random/6419.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6419.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6419.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F6419.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+11481" + }, + { + "sha": "c605e12ff6e8b0197b7a2684a3a46a3606fed90a", + "filename": "random/6517.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6517.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6517.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F6517.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29138" + }, + { + "sha": "ed8dab2ddacfb44bff0ffb2cee1161968897b485", + "filename": "random/6543.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6543.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6543.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F6543.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12811" + }, + { + "sha": "f878d19a4c36561a3586c25fe6744b7253ba755f", + "filename": "random/6559.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6559.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6559.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F6559.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18017" + }, + { + "sha": "9bad6a7184b8ae5090a227ce8c65fead60e9b713", + "filename": "random/6578.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6578.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6578.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F6578.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24328" + }, + { + "sha": "4cb64e99da939785ec5c2a078ba65d0dc4e5a24f", + "filename": "random/6646.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6646.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6646.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F6646.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12261" + }, + { + "sha": "0e2b31626ecf3353ea1c5a2eb28046092dd31637", + "filename": "random/6659.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6659.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6659.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F6659.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9674" + }, + { + "sha": "3d068fdc94329daeb7dac8ede8ce564449f797fd", + "filename": "random/6690.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6690.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6690.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F6690.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26012" + }, + { + "sha": "93fea434a69840388dbfd3d5e43500543f9f05a9", + "filename": "random/6715.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6715.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6715.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F6715.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18697" + }, + { + "sha": "acfc85386a6573735813604fb029f485c487b05b", + "filename": "random/6779.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6779.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6779.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F6779.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28734" + }, + { + "sha": "14fb1a6bf18714846b38bfd600deaf9e0e6c527d", + "filename": "random/6842.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6842.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6842.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F6842.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32070" + }, + { + "sha": "93575b0e7d7857c4e49852502e55ae3764ea33a2", + "filename": "random/691.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F691.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F691.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F691.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24971" + }, + { + "sha": "e04fc8f96ed864576b24cfef22e07eb297f9ef4d", + "filename": "random/6948.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6948.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6948.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F6948.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21333" + }, + { + "sha": "d2a5225519bcd94c3c6b4902a8e9f012007465a6", + "filename": "random/697.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F697.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F697.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F697.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4548" + }, + { + "sha": "0f8e9bf3760f7cf609ccc693c2ea7d86b2a6abc8", + "filename": "random/6989.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6989.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F6989.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F6989.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19144" + }, + { + "sha": "8d3ce569f4eecc79e7216b856eff529a66cfb31b", + "filename": "random/7027.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7027.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7027.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7027.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+5278" + }, + { + "sha": "7b2e80dab1bb2f664fc384c2ae6226fa36279596", + "filename": "random/7095.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7095.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7095.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7095.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+10608" + }, + { + "sha": "1e57668da4947e38cd0ef03190fcfcea45e02eab", + "filename": "random/7141.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7141.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7141.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7141.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15494" + }, + { + "sha": "477a586314ed389c8580f1e26e1763e6ba350e92", + "filename": "random/7147.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7147.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7147.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7147.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8364" + }, + { + "sha": "f2644a2bc197ef050b3391b1dc650fbe74ad82a0", + "filename": "random/7151.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7151.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7151.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7151.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28524" + }, + { + "sha": "95ace1a28cae462a7e4e0e909573f264b3d90e73", + "filename": "random/7186.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7186.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7186.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7186.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12191" + }, + { + "sha": "3d53c2e3506c519fdc9ebbe18ad7cf0b94b3824c", + "filename": "random/7193.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7193.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7193.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7193.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20852" + }, + { + "sha": "3088470482f40f047b09abdd0a8db0afee8bf807", + "filename": "random/7197.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7197.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7197.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7197.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19327" + }, + { + "sha": "7491812c464ecfdf6153ecf9e10deb470a09d4e7", + "filename": "random/7296.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7296.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7296.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7296.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+6529" + }, + { + "sha": "7e8c8fed96c8257342a4de03fb53cfd7326dff3c", + "filename": "random/7419.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7419.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7419.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7419.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+4831" + }, + { + "sha": "ac9403655e57def1a9b6c7bee5a973277d52e347", + "filename": "random/7431.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7431.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7431.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7431.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9421" + }, + { + "sha": "db5eff4d467aa3a41b3b64be3a8ceece6cd8f753", + "filename": "random/7483.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7483.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7483.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7483.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25492" + }, + { + "sha": "668e564f6deb899bdfd868841f13162635020bef", + "filename": "random/7500.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7500.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7500.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7500.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24030" + }, + { + "sha": "3f894f77c3f71971e31643c5e29a274341575173", + "filename": "random/7542.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7542.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7542.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7542.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1653" + }, + { + "sha": "9e486411ed0855c07f1e789f7adedee4193dfaa1", + "filename": "random/7575.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7575.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7575.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7575.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28522" + }, + { + "sha": "7114a2e94a1bd1a589120042186241f0fe94b54f", + "filename": "random/7619.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7619.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7619.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7619.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22955" + }, + { + "sha": "940035f801340ca870beef2698fc77254b85bb46", + "filename": "random/7634.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7634.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7634.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7634.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32702" + }, + { + "sha": "4467051c6aa7b371e663508402b1b563b4f5055e", + "filename": "random/7683.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7683.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7683.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7683.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15024" + }, + { + "sha": "295edcf38f059089c792ede896256e9fc318844c", + "filename": "random/7697.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7697.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7697.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7697.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29504" + }, + { + "sha": "4c79e0e38d18dc468211888eb02277bead307fa2", + "filename": "random/7749.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7749.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7749.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7749.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+27701" + }, + { + "sha": "f0d3814dfe951256673d2280bfdc698f318e1e17", + "filename": "random/7767.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7767.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7767.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7767.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31664" + }, + { + "sha": "187d7d63e55134e03718a6c5fbbd307f37f188fc", + "filename": "random/7817.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7817.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F7817.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F7817.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12663" + }, + { + "sha": "17ce1d62bb2cab4d2f02d431a125eba909b480fb", + "filename": "random/8054.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8054.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8054.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8054.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26459" + }, + { + "sha": "fb824b53618fcc0bf7d96242b33c5d9fabcea23c", + "filename": "random/8101.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8101.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8101.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8101.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18808" + }, + { + "sha": "a6325dbed626ae20b762d2e476470c08a89feaff", + "filename": "random/8113.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8113.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8113.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8113.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14874" + }, + { + "sha": "f756540ed7bd33d0542e38d82cbba11d218e7e9b", + "filename": "random/8139.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8139.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8139.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8139.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22756" + }, + { + "sha": "c3d17068ab0aa1b389b29541304fe38a784f3317", + "filename": "random/8141.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8141.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8141.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8141.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31557" + }, + { + "sha": "737f026267fe74049c81248a353c77919a865845", + "filename": "random/8189.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8189.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8189.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8189.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21166" + }, + { + "sha": "0a0b6fe58e42c4f64123b6737ce42ee1be722944", + "filename": "random/8198.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8198.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8198.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8198.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22998" + }, + { + "sha": "9b5dedb821ccf23e133bb75cf6062b722d6bd0dd", + "filename": "random/8203.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8203.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8203.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8203.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+31760" + }, + { + "sha": "1eb0c5e16013e6e7572f60f36c99c0b8de0e1476", + "filename": "random/8258.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8258.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8258.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8258.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1443" + }, + { + "sha": "d101dea5562236a4b73af290d0e54e922f9646db", + "filename": "random/8342.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8342.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8342.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8342.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+15071" + }, + { + "sha": "6129a53e932a7133baf4dbd9af34fbd5e992da2d", + "filename": "random/8404.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8404.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8404.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8404.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+3853" + }, + { + "sha": "2acfae7181e1173970bcf66a8a1f5b64e29c3ac9", + "filename": "random/8488.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8488.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8488.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8488.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14966" + }, + { + "sha": "465e8a52ad230774ec3bd3f8a6776f23e3ee29f8", + "filename": "random/8608.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8608.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8608.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8608.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9692" + }, + { + "sha": "a047849be99f6d66f18db6766ee2b64b136288fd", + "filename": "random/8629.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8629.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8629.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8629.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14597" + }, + { + "sha": "f8a21f1b4964ec7681d83942314b88c7f269c30b", + "filename": "random/8636.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8636.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8636.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8636.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12217" + }, + { + "sha": "a9fd72a7fc72b1767635371ea19be36ec6399f19", + "filename": "random/8724.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8724.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8724.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8724.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+3279" + }, + { + "sha": "31382fbfc5b6fba30abd9fbd0eaaa11b06871e6f", + "filename": "random/8859.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8859.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8859.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8859.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29381" + }, + { + "sha": "d342f714ea7143d43cda591f1986f791613e0907", + "filename": "random/8882.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8882.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8882.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8882.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20668" + }, + { + "sha": "70a4157a83cdd268beb48e58cc5d5234ab5e7577", + "filename": "random/8885.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8885.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8885.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8885.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20310" + }, + { + "sha": "a2113d9b866e48188df16db5de5408553197e6cf", + "filename": "random/8934.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8934.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8934.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8934.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+3406" + }, + { + "sha": "76cea4a48be9775e47bd52cc9f1b73287ccb10f9", + "filename": "random/8949.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8949.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8949.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8949.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+10173" + }, + { + "sha": "4c11389fbd1ec8a07c5af19ef1b6eb1cc56298be", + "filename": "random/8956.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8956.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8956.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8956.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1213" + }, + { + "sha": "7dcb113f49c1e4563c5971971031bc40044c7327", + "filename": "random/896.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F896.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F896.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F896.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+16223" + }, + { + "sha": "cbea929e5923444da00e4d66ba9c9b1f3a62b6d8", + "filename": "random/8968.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8968.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8968.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8968.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+24437" + }, + { + "sha": "1fb8181fa067965567c0a9013f00b6abc3fabbdf", + "filename": "random/8994.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8994.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F8994.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F8994.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23655" + }, + { + "sha": "75eda8d1cda42b65f94bed0f37ae01a87d0b7355", + "filename": "random/9016.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9016.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9016.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9016.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+19378" + }, + { + "sha": "ad120f8060ecbd270e2389363d676dbbbc926948", + "filename": "random/9022.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9022.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9022.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9022.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+25931" + }, + { + "sha": "926254112306e8b0266c8305b7603ee3b42ba89a", + "filename": "random/9039.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9039.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9039.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9039.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+27153" + }, + { + "sha": "251d54deaf456022558d283ce73fb28aef7eec6a", + "filename": "random/9051.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9051.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9051.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9051.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9121" + }, + { + "sha": "bea6c87fde2c2d5bf0fa83246251b56b39d6329c", + "filename": "random/9122.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9122.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9122.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9122.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+21593" + }, + { + "sha": "f992d65065b2c6c6e30aefd3086a3302b406dfd4", + "filename": "random/9126.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9126.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9126.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9126.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+8947" + }, + { + "sha": "7cf74aca5488cafda4f7feabb0c15976a9d1d56b", + "filename": "random/9156.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9156.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9156.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9156.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+13964" + }, + { + "sha": "3d068fdc94329daeb7dac8ede8ce564449f797fd", + "filename": "random/9165.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9165.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9165.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9165.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+26012" + }, + { + "sha": "1ad4e3d972a12cbe574ea529b0ed4e8122ec10c9", + "filename": "random/922.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F922.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F922.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F922.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+32311" + }, + { + "sha": "b3084c0a62aab761640b385dc96a046ec7d1da8e", + "filename": "random/9220.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9220.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9220.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9220.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23889" + }, + { + "sha": "7182af9961399938b8c00e1e2d84ce7ebb2a2dab", + "filename": "random/9286.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9286.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9286.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9286.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28563" + }, + { + "sha": "35fc9dd49e1abb8b0cc6c8a0a2e42298e68ec4e6", + "filename": "random/9291.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9291.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9291.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9291.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14003" + }, + { + "sha": "faa29ef7e5d0be6da92ae8920b95dbad1a331f21", + "filename": "random/9347.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9347.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9347.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9347.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+1184" + }, + { + "sha": "37ce6f2909f097320b07d808958066b1df4d4b6f", + "filename": "random/9367.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9367.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9367.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9367.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+27492" + }, + { + "sha": "f609e173d2baf6d4a50785ca9f505cc4ad75da22", + "filename": "random/9383.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9383.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9383.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9383.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+20661" + }, + { + "sha": "738688342c10ed3106d152820e942dd57257a58c", + "filename": "random/9400.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9400.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9400.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9400.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+28397" + }, + { + "sha": "eac03d8bcdaf572eee49f967e1921f2ab16b3c69", + "filename": "random/952.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F952.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F952.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F952.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+10072" + }, + { + "sha": "1125b8a65723efe5e00b0311d6587c5c93e38e26", + "filename": "random/9533.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9533.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9533.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9533.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+18623" + }, + { + "sha": "74a16aae535681e4c92b7875189fc79fc05da739", + "filename": "random/9567.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9567.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9567.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9567.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22985" + }, + { + "sha": "736dfba31951429e99623e9f92f1287399260e0c", + "filename": "random/9601.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9601.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9601.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9601.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+14968" + }, + { + "sha": "61560f2b8a50f81bc2da2ed4cbbde276304c0d8c", + "filename": "random/9658.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9658.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9658.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9658.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+23193" + }, + { + "sha": "212000d5d19addce43e0c6d756a99cbf6e2bf857", + "filename": "random/970.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F970.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F970.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F970.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+29137" + }, + { + "sha": "d8d30652a50892d149a3b22618e8140f2cab0012", + "filename": "random/9780.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9780.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9780.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9780.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+22061" + }, + { + "sha": "3c3026c1544bb8b9a9cf6e8eb3fdaf7c82d593fa", + "filename": "random/9786.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9786.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9786.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9786.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+17545" + }, + { + "sha": "5e70af066247fa61b1d80640a177d57f43dac27b", + "filename": "random/9852.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9852.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9852.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9852.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+30327" + }, + { + "sha": "d5633366b7d2d7e7ccf2501887462a512358356f", + "filename": "random/9958.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9958.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9958.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9958.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+9532" + }, + { + "sha": "88af16f4f329470ef3124e15f732476930ab5e01", + "filename": "random/998.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F998.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F998.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F998.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+12704" + }, + { + "sha": "1819e489226215dfc59436313c6aa70a2d764672", + "filename": "random/9985.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9985.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9985.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9985.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -0,0 +1 @@\n+10402" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/__files/user-1.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/__files/user-1.json new file mode 100644 index 0000000000..5bb6552b14 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/__files/user-1.json @@ -0,0 +1,34 @@ +{ + "login": "frink182", + "id": 10921922, + "node_id": "MDQ6VXNlcjEwOTIxOTIy", + "avatar_url": "https://avatars.githubusercontent.com/u/10921922?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/frink182", + "html_url": "https://github.com/frink182", + "followers_url": "https://api.github.com/users/frink182/followers", + "following_url": "https://api.github.com/users/frink182/following{/other_user}", + "gists_url": "https://api.github.com/users/frink182/gists{/gist_id}", + "starred_url": "https://api.github.com/users/frink182/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/frink182/subscriptions", + "organizations_url": "https://api.github.com/users/frink182/orgs", + "repos_url": "https://api.github.com/users/frink182/repos", + "events_url": "https://api.github.com/users/frink182/events{/privacy}", + "received_events_url": "https://api.github.com/users/frink182/received_events", + "type": "User", + "site_admin": false, + "name": null, + "company": null, + "blog": "", + "location": null, + "email": null, + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 2, + "public_gists": 0, + "followers": 0, + "following": 1, + "created_at": "2015-02-09T11:27:02Z", + "updated_at": "2023-06-19T12:28:16Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..7bf60a3944 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,49 @@ +{ + "id": "4d7f2e33-8e42-4e99-99db-86c2dc6bb81c", + "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": { + "Server": "GitHub.com", + "Date": "Fri, 23 Jun 2023 13:45:36 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"f088026de3a7d5b131d22cc2e1f5f9c2162bacfd941b25b52b253d81245f2ee3\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "github-authentication-token-expiration": "2023-07-19 10:23:39 +0100", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4719", + "X-RateLimit-Reset": "1687528241", + "X-RateLimit-Used": "281", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "F514:B515:120F2CB:12360FC:6495A1FF" + } + }, + "uuid": "4d7f2e33-8e42-4e99-99db-86c2dc6bb81c", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/mappings/repos_hub4j-test-org_committest-3.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/mappings/repos_hub4j-test-org_committest-3.json new file mode 100644 index 0000000000..848efa5ffa --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/mappings/repos_hub4j-test-org_committest-3.json @@ -0,0 +1,49 @@ +{ + "id": "937e58f8-1055-4d6f-a726-c13b31e9d276", + "name": "repos_hub4j-test-org_committest", + "request": { + "url": "/repos/hub4j-test-org/CommitTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_committest-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 23 Jun 2023 13:45:36 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"98268d9c57c53e7c3cf61ab77b0aa654fc9cad2b9cf048989e80acada2aaccd0\"", + "Last-Modified": "Fri, 23 Jun 2023 12:58:28 GMT", + "github-authentication-token-expiration": "2023-07-19 10:23:39 +0100", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4718", + "X-RateLimit-Reset": "1687528241", + "X-RateLimit-Used": "282", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "C181:F1BC:7FCB98:80D3D4:6495A200" + } + }, + "uuid": "937e58f8-1055-4d6f-a726-c13b31e9d276", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/mappings/repos_hub4j-test-org_committest_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-4.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/mappings/repos_hub4j-test-org_committest_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-4.json new file mode 100644 index 0000000000..bcf431f37a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/mappings/repos_hub4j-test-org_committest_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-4.json @@ -0,0 +1,53 @@ +{ + "id": "42f8aadc-7eac-471c-bc8f-60291290d40a", + "name": "repos_hub4j-test-org_committest_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "request": { + "url": "/repos/hub4j-test-org/CommitTest/commits/b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_committest_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 23 Jun 2023 13:45:37 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"fe0ab35c4e5ff35a7bff89af2960c965c4b03095cf76762061fa74cbb6ae5c6a\"", + "Last-Modified": "Fri, 23 Jun 2023 09:50:57 GMT", + "github-authentication-token-expiration": "2023-07-19 10:23:39 +0100", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4717", + "X-RateLimit-Reset": "1687528241", + "X-RateLimit-Used": "283", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "EA9C:2C0D:85A658F:86E30EA:6495A200", + "Link": "; rel=\"next\", ; rel=\"last\"" + } + }, + "uuid": "42f8aadc-7eac-471c-bc8f-60291290d40a", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-CommitTest-commits-b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-hub4j-test-org-CommitTest-commits-b83812aa76bb7c3c43da96fbf8aec1e45db87624-2", + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/mappings/repos_hub4j-test-org_committest_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-5.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/mappings/repos_hub4j-test-org_committest_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-5.json new file mode 100644 index 0000000000..4051f559ce --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/mappings/repos_hub4j-test-org_committest_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-5.json @@ -0,0 +1,52 @@ +{ + "id": "dcdfb589-d188-4e4e-9e87-f1b7369d91bb", + "name": "repos_hub4j-test-org_committest_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "request": { + "url": "/repos/hub4j-test-org/CommitTest/commits/b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_committest_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-5.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 23 Jun 2023 13:45:37 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"fe0ab35c4e5ff35a7bff89af2960c965c4b03095cf76762061fa74cbb6ae5c6a\"", + "Last-Modified": "Fri, 23 Jun 2023 09:50:57 GMT", + "github-authentication-token-expiration": "2023-07-19 10:23:39 +0100", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4716", + "X-RateLimit-Reset": "1687528241", + "X-RateLimit-Used": "284", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "5E09:F1BC:7FD03C:80D89C:6495A201", + "Link": "; rel=\"next\", ; rel=\"last\"" + } + }, + "uuid": "dcdfb589-d188-4e4e-9e87-f1b7369d91bb", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-CommitTest-commits-b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-CommitTest-commits-b83812aa76bb7c3c43da96fbf8aec1e45db87624-2", + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/mappings/repositories_657543062_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-6.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/mappings/repositories_657543062_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-6.json new file mode 100644 index 0000000000..bf3d35a816 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/mappings/repositories_657543062_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-6.json @@ -0,0 +1,50 @@ +{ + "id": "b10ddeee-5c94-44b8-80b2-72a4d488a087", + "name": "repositories_657543062_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "request": { + "url": "/repositories/657543062/commits/b83812aa76bb7c3c43da96fbf8aec1e45db87624?page=2", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repositories_657543062_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 23 Jun 2023 13:45: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/\"71a4e28c024a90d3ac40d5700bc6e4a731eaa66a31d23b01e671f55e0ed74dd8\"", + "Last-Modified": "Fri, 23 Jun 2023 09:50:57 GMT", + "github-authentication-token-expiration": "2023-07-19 10:23:39 +0100", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4715", + "X-RateLimit-Reset": "1687528241", + "X-RateLimit-Used": "285", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "F6E7:A1EF:40DB65B:418985B:6495A201", + "Link": "; rel=\"prev\", ; rel=\"next\", ; rel=\"last\", ; rel=\"first\"" + } + }, + "uuid": "b10ddeee-5c94-44b8-80b2-72a4d488a087", + "persistent": true, + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/mappings/repositories_657543062_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-7.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/mappings/repositories_657543062_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-7.json new file mode 100644 index 0000000000..f9e6753652 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/mappings/repositories_657543062_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-7.json @@ -0,0 +1,50 @@ +{ + "id": "b811520b-bbbd-4eed-ad40-1fa5d9ed6568", + "name": "repositories_657543062_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "request": { + "url": "/repositories/657543062/commits/b83812aa76bb7c3c43da96fbf8aec1e45db87624?page=3", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repositories_657543062_commits_b83812aa76bb7c3c43da96fbf8aec1e45db87624-7.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 23 Jun 2023 13:45: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/\"07966804a7e98b742aebdbb06a50f0b9653670e969a96a3d6da2b3c54674ec29\"", + "Last-Modified": "Fri, 23 Jun 2023 09:50:57 GMT", + "github-authentication-token-expiration": "2023-07-19 10:23:39 +0100", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4714", + "X-RateLimit-Reset": "1687528241", + "X-RateLimit-Used": "286", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "A971:B121:5BFC9A8:5CE869A:6495A202", + "Link": "; rel=\"prev\", ; rel=\"first\"" + } + }, + "uuid": "b811520b-bbbd-4eed-ad40-1fa5d9ed6568", + "persistent": true, + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/mappings/user-1.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/mappings/user-1.json new file mode 100644 index 0000000000..019471521e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasLargeChange/mappings/user-1.json @@ -0,0 +1,49 @@ +{ + "id": "bb26e433-418a-41b3-9cfc-13e02826f765", + "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": "Fri, 23 Jun 2023 13:45:34 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/\"b142ca081f3c3ae38c3b38386b1f54994546feb4c284595350117b14b741cd37\"", + "Last-Modified": "Mon, 19 Jun 2023 12:28:16 GMT", + "github-authentication-token-expiration": "2023-07-19 10:23:39 +0100", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4721", + "X-RateLimit-Reset": "1687528241", + "X-RateLimit-Used": "279", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "0640:B69E:7984EC6:7AC1A5E:6495A1FE" + } + }, + "uuid": "bb26e433-418a-41b3-9cfc-13e02826f765", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..d1155bee31 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,31 @@ +{ + "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": 26, + "public_gists": 0, + "followers": 1, + "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/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/__files/repos_hub4j-test-org_committest-3.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/__files/repos_hub4j-test-org_committest-3.json new file mode 100644 index 0000000000..e846a32a4c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/__files/repos_hub4j-test-org_committest-3.json @@ -0,0 +1,129 @@ +{ + "id": 657543062, + "node_id": "R_kgDOJzFPlg", + "name": "CommitTest", + "full_name": "hub4j-test-org/CommitTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/CommitTest", + "description": "Repository used by CommitTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/deployments", + "created_at": "2023-06-23T09:43:53Z", + "updated_at": "2023-06-23T12:58:28Z", + "pushed_at": "2023-06-23T09:52:49Z", + "git_url": "git://github.com/hub4j-test-org/CommitTest.git", + "ssh_url": "git@github.com:hub4j-test-org/CommitTest.git", + "clone_url": "https://github.com/hub4j-test-org/CommitTest.git", + "svn_url": "https://github.com/hub4j-test-org/CommitTest", + "homepage": null, + "size": 27, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 21 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/__files/repos_hub4j-test-org_committest_commits_dabf0e89fe7107d6e294a924561533ecf80f2384-4.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/__files/repos_hub4j-test-org_committest_commits_dabf0e89fe7107d6e294a924561533ecf80f2384-4.json new file mode 100644 index 0000000000..56cb469415 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/__files/repos_hub4j-test-org_committest_commits_dabf0e89fe7107d6e294a924561533ecf80f2384-4.json @@ -0,0 +1,422 @@ +{ + "sha": "dabf0e89fe7107d6e294a924561533ecf80f2384", + "node_id": "C_kwDOJzFPltoAKGRhYmYwZTg5ZmU3MTA3ZDZlMjk0YTkyNDU2MTUzM2VjZjgwZjIzODQ", + "commit": { + "author": { + "name": "Stephen Horgan", + "email": "frink182@users.noreply.github.com", + "date": "2023-06-23T09:52:45Z" + }, + "committer": { + "name": "Stephen Horgan", + "email": "frink182@users.noreply.github.com", + "date": "2023-06-23T09:52:45Z" + }, + "message": "A commit with a few files", + "tree": { + "sha": "bf2f212df308d53119dc94ddc20eb596ca38e8ac", + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/trees/bf2f212df308d53119dc94ddc20eb596ca38e8ac" + }, + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/git/commits/dabf0e89fe7107d6e294a924561533ecf80f2384", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/commits/dabf0e89fe7107d6e294a924561533ecf80f2384", + "html_url": "https://github.com/hub4j-test-org/CommitTest/commit/dabf0e89fe7107d6e294a924561533ecf80f2384", + "comments_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/commits/dabf0e89fe7107d6e294a924561533ecf80f2384/comments", + "author": { + "login": "frink182", + "id": 10921922, + "node_id": "MDQ6VXNlcjEwOTIxOTIy", + "avatar_url": "https://avatars.githubusercontent.com/u/10921922?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/frink182", + "html_url": "https://github.com/frink182", + "followers_url": "https://api.github.com/users/frink182/followers", + "following_url": "https://api.github.com/users/frink182/following{/other_user}", + "gists_url": "https://api.github.com/users/frink182/gists{/gist_id}", + "starred_url": "https://api.github.com/users/frink182/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/frink182/subscriptions", + "organizations_url": "https://api.github.com/users/frink182/orgs", + "repos_url": "https://api.github.com/users/frink182/repos", + "events_url": "https://api.github.com/users/frink182/events{/privacy}", + "received_events_url": "https://api.github.com/users/frink182/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "frink182", + "id": 10921922, + "node_id": "MDQ6VXNlcjEwOTIxOTIy", + "avatar_url": "https://avatars.githubusercontent.com/u/10921922?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/frink182", + "html_url": "https://github.com/frink182", + "followers_url": "https://api.github.com/users/frink182/followers", + "following_url": "https://api.github.com/users/frink182/following{/other_user}", + "gists_url": "https://api.github.com/users/frink182/gists{/gist_id}", + "starred_url": "https://api.github.com/users/frink182/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/frink182/subscriptions", + "organizations_url": "https://api.github.com/users/frink182/orgs", + "repos_url": "https://api.github.com/users/frink182/repos", + "events_url": "https://api.github.com/users/frink182/events{/privacy}", + "received_events_url": "https://api.github.com/users/frink182/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "url": "https://api.github.com/repos/hub4j-test-org/CommitTest/commits/b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "html_url": "https://github.com/hub4j-test-org/CommitTest/commit/b83812aa76bb7c3c43da96fbf8aec1e45db87624" + } + ], + "stats": { + "total": 28, + "additions": 0, + "deletions": 28 + }, + "files": [ + { + "sha": "75eda8d1cda42b65f94bed0f37ae01a87d0b7355", + "filename": "random/9016.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9016.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9016.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9016.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-19378" + }, + { + "sha": "ad120f8060ecbd270e2389363d676dbbbc926948", + "filename": "random/9022.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9022.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9022.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9022.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-25931" + }, + { + "sha": "926254112306e8b0266c8305b7603ee3b42ba89a", + "filename": "random/9039.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9039.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9039.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9039.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-27153" + }, + { + "sha": "251d54deaf456022558d283ce73fb28aef7eec6a", + "filename": "random/9051.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9051.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9051.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9051.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-9121" + }, + { + "sha": "bea6c87fde2c2d5bf0fa83246251b56b39d6329c", + "filename": "random/9122.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9122.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9122.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9122.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-21593" + }, + { + "sha": "f992d65065b2c6c6e30aefd3086a3302b406dfd4", + "filename": "random/9126.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9126.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9126.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9126.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-8947" + }, + { + "sha": "7cf74aca5488cafda4f7feabb0c15976a9d1d56b", + "filename": "random/9156.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9156.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9156.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9156.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-13964" + }, + { + "sha": "3d068fdc94329daeb7dac8ede8ce564449f797fd", + "filename": "random/9165.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9165.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9165.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9165.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-26012" + }, + { + "sha": "1ad4e3d972a12cbe574ea529b0ed4e8122ec10c9", + "filename": "random/922.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F922.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F922.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F922.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-32311" + }, + { + "sha": "b3084c0a62aab761640b385dc96a046ec7d1da8e", + "filename": "random/9220.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9220.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9220.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9220.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-23889" + }, + { + "sha": "7182af9961399938b8c00e1e2d84ce7ebb2a2dab", + "filename": "random/9286.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9286.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9286.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9286.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-28563" + }, + { + "sha": "35fc9dd49e1abb8b0cc6c8a0a2e42298e68ec4e6", + "filename": "random/9291.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9291.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9291.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9291.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-14003" + }, + { + "sha": "faa29ef7e5d0be6da92ae8920b95dbad1a331f21", + "filename": "random/9347.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9347.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9347.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9347.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-1184" + }, + { + "sha": "37ce6f2909f097320b07d808958066b1df4d4b6f", + "filename": "random/9367.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9367.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9367.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9367.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-27492" + }, + { + "sha": "f609e173d2baf6d4a50785ca9f505cc4ad75da22", + "filename": "random/9383.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9383.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9383.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9383.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-20661" + }, + { + "sha": "738688342c10ed3106d152820e942dd57257a58c", + "filename": "random/9400.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9400.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9400.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9400.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-28397" + }, + { + "sha": "eac03d8bcdaf572eee49f967e1921f2ab16b3c69", + "filename": "random/952.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F952.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F952.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F952.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-10072" + }, + { + "sha": "1125b8a65723efe5e00b0311d6587c5c93e38e26", + "filename": "random/9533.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9533.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9533.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9533.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-18623" + }, + { + "sha": "74a16aae535681e4c92b7875189fc79fc05da739", + "filename": "random/9567.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9567.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9567.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9567.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-22985" + }, + { + "sha": "736dfba31951429e99623e9f92f1287399260e0c", + "filename": "random/9601.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9601.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9601.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9601.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-14968" + }, + { + "sha": "61560f2b8a50f81bc2da2ed4cbbde276304c0d8c", + "filename": "random/9658.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9658.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9658.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9658.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-23193" + }, + { + "sha": "212000d5d19addce43e0c6d756a99cbf6e2bf857", + "filename": "random/970.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F970.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F970.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F970.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-29137" + }, + { + "sha": "d8d30652a50892d149a3b22618e8140f2cab0012", + "filename": "random/9780.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9780.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9780.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9780.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-22061" + }, + { + "sha": "3c3026c1544bb8b9a9cf6e8eb3fdaf7c82d593fa", + "filename": "random/9786.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9786.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9786.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9786.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-17545" + }, + { + "sha": "5e70af066247fa61b1d80640a177d57f43dac27b", + "filename": "random/9852.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9852.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9852.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9852.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-30327" + }, + { + "sha": "d5633366b7d2d7e7ccf2501887462a512358356f", + "filename": "random/9958.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9958.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9958.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9958.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-9532" + }, + { + "sha": "88af16f4f329470ef3124e15f732476930ab5e01", + "filename": "random/998.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F998.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F998.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F998.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-12704" + }, + { + "sha": "1819e489226215dfc59436313c6aa70a2d764672", + "filename": "random/9985.txt", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/CommitTest/blob/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9985.txt", + "raw_url": "https://github.com/hub4j-test-org/CommitTest/raw/b83812aa76bb7c3c43da96fbf8aec1e45db87624/random%2F9985.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/CommitTest/contents/random%2F9985.txt?ref=b83812aa76bb7c3c43da96fbf8aec1e45db87624", + "patch": "@@ -1 +0,0 @@\n-10402" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/__files/user-1.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/__files/user-1.json new file mode 100644 index 0000000000..5bb6552b14 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/__files/user-1.json @@ -0,0 +1,34 @@ +{ + "login": "frink182", + "id": 10921922, + "node_id": "MDQ6VXNlcjEwOTIxOTIy", + "avatar_url": "https://avatars.githubusercontent.com/u/10921922?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/frink182", + "html_url": "https://github.com/frink182", + "followers_url": "https://api.github.com/users/frink182/followers", + "following_url": "https://api.github.com/users/frink182/following{/other_user}", + "gists_url": "https://api.github.com/users/frink182/gists{/gist_id}", + "starred_url": "https://api.github.com/users/frink182/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/frink182/subscriptions", + "organizations_url": "https://api.github.com/users/frink182/orgs", + "repos_url": "https://api.github.com/users/frink182/repos", + "events_url": "https://api.github.com/users/frink182/events{/privacy}", + "received_events_url": "https://api.github.com/users/frink182/received_events", + "type": "User", + "site_admin": false, + "name": null, + "company": null, + "blog": "", + "location": null, + "email": null, + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 2, + "public_gists": 0, + "followers": 0, + "following": 1, + "created_at": "2015-02-09T11:27:02Z", + "updated_at": "2023-06-19T12:28:16Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..e2ec26c4fe --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,49 @@ +{ + "id": "f8d620a1-71af-4fa1-be50-8c6aa3a1409a", + "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": { + "Server": "GitHub.com", + "Date": "Fri, 23 Jun 2023 13:45: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/\"f088026de3a7d5b131d22cc2e1f5f9c2162bacfd941b25b52b253d81245f2ee3\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "github-authentication-token-expiration": "2023-07-19 10:23:39 +0100", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4711", + "X-RateLimit-Reset": "1687528241", + "X-RateLimit-Used": "289", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "A934:30DB:7E2118C:7F5DD25:6495A204" + } + }, + "uuid": "f8d620a1-71af-4fa1-be50-8c6aa3a1409a", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/mappings/repos_hub4j-test-org_committest-3.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/mappings/repos_hub4j-test-org_committest-3.json new file mode 100644 index 0000000000..3202ce8275 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/mappings/repos_hub4j-test-org_committest-3.json @@ -0,0 +1,49 @@ +{ + "id": "a3b98ee9-77ec-4550-a663-508488157642", + "name": "repos_hub4j-test-org_committest", + "request": { + "url": "/repos/hub4j-test-org/CommitTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_committest-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 23 Jun 2023 13:45: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/\"98268d9c57c53e7c3cf61ab77b0aa654fc9cad2b9cf048989e80acada2aaccd0\"", + "Last-Modified": "Fri, 23 Jun 2023 12:58:28 GMT", + "github-authentication-token-expiration": "2023-07-19 10:23:39 +0100", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4710", + "X-RateLimit-Reset": "1687528241", + "X-RateLimit-Used": "290", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "10A2:EBFB:1188D2D:11AE877:6495A204" + } + }, + "uuid": "a3b98ee9-77ec-4550-a663-508488157642", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/mappings/repos_hub4j-test-org_committest_commits_dabf0e89fe7107d6e294a924561533ecf80f2384-4.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/mappings/repos_hub4j-test-org_committest_commits_dabf0e89fe7107d6e294a924561533ecf80f2384-4.json new file mode 100644 index 0000000000..c5ec737bae --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/mappings/repos_hub4j-test-org_committest_commits_dabf0e89fe7107d6e294a924561533ecf80f2384-4.json @@ -0,0 +1,49 @@ +{ + "id": "36e33c12-afd0-490c-afd7-a2bbf73e5f2c", + "name": "repos_hub4j-test-org_committest_commits_dabf0e89fe7107d6e294a924561533ecf80f2384", + "request": { + "url": "/repos/hub4j-test-org/CommitTest/commits/dabf0e89fe7107d6e294a924561533ecf80f2384", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_committest_commits_dabf0e89fe7107d6e294a924561533ecf80f2384-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 23 Jun 2023 13:45:41 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"6ea0a1de87eb2456ac1d04542fb8c991256a409b20e279ad0167e2d6136b1acd\"", + "Last-Modified": "Fri, 23 Jun 2023 09:52:45 GMT", + "github-authentication-token-expiration": "2023-07-19 10:23:39 +0100", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4709", + "X-RateLimit-Reset": "1687528241", + "X-RateLimit-Used": "291", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "6C08:AE59:7FC1753:80FE2C3:6495A204" + } + }, + "uuid": "36e33c12-afd0-490c-afd7-a2bbf73e5f2c", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/mappings/user-1.json b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/mappings/user-1.json new file mode 100644 index 0000000000..32661b7fc8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/CommitTest/wiremock/listFilesWhereCommitHasSmallChange/mappings/user-1.json @@ -0,0 +1,49 @@ +{ + "id": "066bfcff-4793-451d-9a78-96bb989d8e60", + "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": "Fri, 23 Jun 2023 13:45: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/\"b142ca081f3c3ae38c3b38386b1f54994546feb4c284595350117b14b741cd37\"", + "Last-Modified": "Mon, 19 Jun 2023 12:28:16 GMT", + "github-authentication-token-expiration": "2023-07-19 10:23:39 +0100", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4713", + "X-RateLimit-Reset": "1687528241", + "X-RateLimit-Used": "287", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CBB8:7BC7:126B317:1292171:6495A203" + } + }, + "uuid": "066bfcff-4793-451d-9a78-96bb989d8e60", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/createAppByManifestFlowTest/__files/app-manifests_46fbe5453b245dee21b96753f80eace209a3cf01_conversions-2.json b/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/createAppByManifestFlowTest/__files/app-manifests_46fbe5453b245dee21b96753f80eace209a3cf01_conversions-2.json new file mode 100644 index 0000000000..200d5ef050 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/createAppByManifestFlowTest/__files/app-manifests_46fbe5453b245dee21b96753f80eace209a3cf01_conversions-2.json @@ -0,0 +1,46 @@ +{ + "id": 330788, + "slug": "ghapi-test-app-5", + "node_id": "A_kwHOAHMfo84ABQwk", + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GHApi Test app 5", + "description": null, + "external_url": "https://www.example.com", + "html_url": "https://github.com/apps/ghapi-test-app-5", + "created_at": "2023-05-08T09:22:36Z", + "updated_at": "2023-05-08T09:22:36Z", + "client_id": "Iv1.1c63d0b87c03d42e", + "webhook_secret": "f4dafa9b05d8248d81f65f0e6cb108cb8bb76a0c", + "pem": "-----BEGIN RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEA4UT2qvDbMK3hQtvrK7wu7y7B6hypYhsXyD6GN22Bcn3JZdSI\nWm/zhRMH/vKwU5r67YKcJCchHVbvLRWNt911r85D0uLMPIjOkdL+cnSOa5yRhTJy\nI/RhZqx8yoXHSSE5ToKwfPAn3hiv8N2gQEsEpWxdycqPOg7paFsAJ5hjstmS09uU\nKwrFcCQdWuidRnwn6bdgGt+bL9dsvRd4RDoP5sZj5pLNo1y8N9DnFvHihd1rQxQS\nIf9sRgGPDLasNkLvMdxKnsDTsufRBmmw72iaTJXc+EVZw2jYKrOjRVechTMEfbRp\nQRVZw9vysT2XhDB9J4bbJ6NopP/c7JC1ihUJfQIDAQABAoIBAQC0DwubVyncnx+O\n8XnoW2KojBczqfU6Fa3MwS1G4KC3gxOX8WmL4DAmDjA1+IY4TYiEkAF+ZEhzyyki\nQDgm3z1SaOyNg/r75941cRExKzkritpGPSw+0PeJuhWFS6kfKw9DUfL/6nXzcIgx\nXvTYbx4nm5bb1KznG0Q1xYc6HvSR3xb3DcXWXkRX6sMEX4J3M/x0PWxPWnDGvlBJ\nQyDgfqpOa6kra5uSm8qoHtb7httwE/a5NZ9P5jeLk3wXaQmCEl4RDEgSGeR4AOf5\nXVTWP936sVA3vBLd6LmddO3ZEE1HZhlb2XWnxCnGSKL4LoFZE7Jhf2Alp32nm0gm\nwsrQoVgBAoGBAPjxzs3Umlle0EZbfJa8c4rFPOJmMkL07aQu8PAAHiNGcbzzfUmK\n7kfNYXktHKB6pjyjkXEQrLCm9wdqCqI70wJ+AVn6E/0Z1ojPALIxdrjQuNS9xjRo\nCUAQqEXe+IWBZVArgy7t3to7XkAHrj+ky96eAhlsb88c9qiWtS7biXPtAoGBAOen\nYgTe8SbWdBRh7mqDgx9eruB6UCOt8BUlb1uFyt1kpCLZVelw1JYs7hq+roTdKds0\ny9pu+E6I7+g6LsVtjkMqf/VXuY0qomf9hbNE9Yj/Tqty5B4xU+gj01MCm5RRln9M\nKGKCeJAPDB5AEmyidPvLbPp5U6Rniu0Ds+AJ0FnRAoGBAMro/bGTuwNhXs4aP+D1\nVhAkWE4JEqq0zQZoJIba8bW683YZ2WMaVMI9y1djx9OeZOVERYYtGzUZwnxOmMBH\nluSPJDbcuXIxn0X/xAd6fdSCfEUbMfUBX5jSevYImfTn1VaVQOX9iQnEHjx+hi7l\n+i5ICFoEotXkO8CKpr+8vbq5AoGAOCfkZAfjb6XHB/XhhOKSk7UxMWuVJ8EPlSC5\nCPe7AMZX37bN08QtVKZZphQZXE38yo3W6QHDoc4iUipgki2HshKIaGI2sdjm+8yC\nb73Ew8wYNwmn8QXGMF0W6mWUb3UDxaIhnBfCwDFVn7Oqg7kyIKPkrCdjNlR/Ygtm\nvGXEozECgYAFpzntJpUdYN4OxutpNXdnTgN0CJ3TECkk/+0xbTHoWNuMpJ5dR/yQ\n7RLxwcu8CqizXCB750jSgHlWk5GF1yAQzFO9ozjx/mxdPp1PxHaeN/5kmx8VjT8W\nL7zhUMfZLeDMpIbQ/3gyq0EUxxHIEJc2Mx42C9/OY/fkEuZPFSEL2A==\n-----END RSA PRIVATE KEY-----\n", + "client_secret": "f4b60603e85b3965492b393bca0809a914dcdf18", + "permissions": { + "issues": "write", + "checks": "write", + "metadata": "read" + }, + "events": [ + "issues", + "issue_comment", + "check_suite", + "check_run" + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/createAppByManifestFlowTest/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/createAppByManifestFlowTest/__files/user-1.json new file mode 100644 index 0000000000..53b8e52926 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/createAppByManifestFlowTest/__files/user-1.json @@ -0,0 +1,46 @@ +{ + "login": "dbaur", + "id": 7251904, + "node_id": "MDQ6VXNlcjcyNTE5MDQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/7251904?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dbaur", + "html_url": "https://github.com/dbaur", + "followers_url": "https://api.github.com/users/dbaur/followers", + "following_url": "https://api.github.com/users/dbaur/following{/other_user}", + "gists_url": "https://api.github.com/users/dbaur/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dbaur/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dbaur/subscriptions", + "organizations_url": "https://api.github.com/users/dbaur/orgs", + "repos_url": "https://api.github.com/users/dbaur/repos", + "events_url": "https://api.github.com/users/dbaur/events{/privacy}", + "received_events_url": "https://api.github.com/users/dbaur/received_events", + "type": "User", + "site_admin": false, + "name": "Daniel Baur", + "company": null, + "blog": "", + "location": "Ulm", + "email": null, + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 48, + "public_gists": 0, + "followers": 7, + "following": 10, + "created_at": "2014-04-10T14:14:43Z", + "updated_at": "2023-04-28T11:26:17Z", + "private_gists": 3, + "total_private_repos": 13, + "owned_private_repos": 13, + "disk_usage": 104958, + "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/GHAppExtendedTest/wiremock/createAppByManifestFlowTest/mappings/app-manifests_46fbe5453b245dee21b96753f80eace209a3cf01_conversions-2.json b/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/createAppByManifestFlowTest/mappings/app-manifests_46fbe5453b245dee21b96753f80eace209a3cf01_conversions-2.json new file mode 100644 index 0000000000..73a2eb2ae6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/createAppByManifestFlowTest/mappings/app-manifests_46fbe5453b245dee21b96753f80eace209a3cf01_conversions-2.json @@ -0,0 +1,57 @@ +{ + "id": "14af1029-56b1-4d4b-9579-c2a30a4df4c4", + "name": "app-manifests_46fbe5453b245dee21b96753f80eace209a3cf01_conversions", + "request": { + "url": "/app-manifests/46fbe5453b245dee21b96753f80eace209a3cf01/conversions", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "app-manifests_46fbe5453b245dee21b96753f80eace209a3cf01_conversions-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 08 May 2023 09:22:37 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"11658fb48526e56c552184ab239fde425aef041a1d48fce2333682009b178a2c\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-06-07 08:27:57 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4999", + "X-RateLimit-Reset": "1683541357", + "X-RateLimit-Used": "1", + "X-RateLimit-Resource": "integration_manifest", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CC01:67BE:362DA52:36DD95C:6458BF5C" + } + }, + "uuid": "14af1029-56b1-4d4b-9579-c2a30a4df4c4", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/createAppByManifestFlowTest/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/createAppByManifestFlowTest/mappings/user-1.json new file mode 100644 index 0000000000..cdcebab26b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/createAppByManifestFlowTest/mappings/user-1.json @@ -0,0 +1,51 @@ +{ + "id": "e173459b-205e-447b-9c70-70bddd564b12", + "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": "Mon, 08 May 2023 09:22:35 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"ed2b1866194223c334b01088179c15c223bc73dc80a5611a2dd5df357b0f0b30\"", + "Last-Modified": "Fri, 28 Apr 2023 11:26:17 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-06-07 08:27:57 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4960", + "X-RateLimit-Reset": "1683538171", + "X-RateLimit-Used": "40", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "D3E6:CDC9:7C734B0:7DDAE36:6458BF5B" + } + }, + "uuid": "e173459b-205e-447b-9c70-70bddd564b12", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/getAppBySlugTest/__files/apps_ghapi-test-app-4-2.json b/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/getAppBySlugTest/__files/apps_ghapi-test-app-4-2.json new file mode 100644 index 0000000000..8e60ce50ac --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/getAppBySlugTest/__files/apps_ghapi-test-app-4-2.json @@ -0,0 +1,33 @@ +{ + "id": 330762, + "slug": "ghapi-test-app-4", + "node_id": "A_kwHOAHMfo84ABQwK", + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GHApi Test app 4", + "description": "An app to test the GitHub getApp(slug) method.", + "external_url": "https://github.com/organizations/hub4j-test-org", + "html_url": "https://github.com/apps/ghapi-test-app-4", + "created_at": "2023-05-08T08:32:35Z", + "updated_at": "2023-05-08T08:32:35Z", + "permissions": {}, + "events": [] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/getAppBySlugTest/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/getAppBySlugTest/__files/user-1.json new file mode 100644 index 0000000000..53b8e52926 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/getAppBySlugTest/__files/user-1.json @@ -0,0 +1,46 @@ +{ + "login": "dbaur", + "id": 7251904, + "node_id": "MDQ6VXNlcjcyNTE5MDQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/7251904?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dbaur", + "html_url": "https://github.com/dbaur", + "followers_url": "https://api.github.com/users/dbaur/followers", + "following_url": "https://api.github.com/users/dbaur/following{/other_user}", + "gists_url": "https://api.github.com/users/dbaur/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dbaur/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dbaur/subscriptions", + "organizations_url": "https://api.github.com/users/dbaur/orgs", + "repos_url": "https://api.github.com/users/dbaur/repos", + "events_url": "https://api.github.com/users/dbaur/events{/privacy}", + "received_events_url": "https://api.github.com/users/dbaur/received_events", + "type": "User", + "site_admin": false, + "name": "Daniel Baur", + "company": null, + "blog": "", + "location": "Ulm", + "email": null, + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 48, + "public_gists": 0, + "followers": 7, + "following": 10, + "created_at": "2014-04-10T14:14:43Z", + "updated_at": "2023-04-28T11:26:17Z", + "private_gists": 3, + "total_private_repos": 13, + "owned_private_repos": 13, + "disk_usage": 104958, + "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/GHAppExtendedTest/wiremock/getAppBySlugTest/mappings/apps_ghapi-test-app-4-2.json b/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/getAppBySlugTest/mappings/apps_ghapi-test-app-4-2.json new file mode 100644 index 0000000000..f13b1de6c8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/getAppBySlugTest/mappings/apps_ghapi-test-app-4-2.json @@ -0,0 +1,50 @@ +{ + "id": "ec4e2dee-efbc-4422-bccf-93b9c74601da", + "name": "apps_ghapi-test-app-4", + "request": { + "url": "/apps/ghapi-test-app-4", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "apps_ghapi-test-app-4-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 08 May 2023 09:02:25 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"cce36a75318a31dbe0f95039e6b4063a2c1f69854549ec4ce872f5035e7091c7\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-06-07 08:27:57 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4961", + "X-RateLimit-Reset": "1683538171", + "X-RateLimit-Used": "39", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "9FE0:F781:330A702:33B805E:6458BAA1" + } + }, + "uuid": "ec4e2dee-efbc-4422-bccf-93b9c74601da", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/getAppBySlugTest/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/getAppBySlugTest/mappings/user-1.json new file mode 100644 index 0000000000..fe28b666ab --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppExtendedTest/wiremock/getAppBySlugTest/mappings/user-1.json @@ -0,0 +1,51 @@ +{ + "id": "c58c0624-10ba-438b-a3bc-6f02d11aa7ac", + "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": "Mon, 08 May 2023 09:02: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/\"ed2b1866194223c334b01088179c15c223bc73dc80a5611a2dd5df357b0f0b30\"", + "Last-Modified": "Fri, 28 Apr 2023 11:26:17 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-06-07 08:27:57 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4963", + "X-RateLimit-Reset": "1683538171", + "X-RateLimit-Used": "37", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "BFEE:A6A8:81BA8C1:831FD5D:6458BAA0" + } + }, + "uuid": "c58c0624-10ba-438b-a3bc-6f02d11aa7ac", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testGetMarketplaceAccount/__files/app-1.json b/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testGetMarketplaceAccount/__files/app-1.json new file mode 100644 index 0000000000..89a67cab2d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testGetMarketplaceAccount/__files/app-1.json @@ -0,0 +1,42 @@ +{ + "id": 83009, + "slug": "cleanthat", + "node_id": "MDM6QXBwNjU1NTA=", + "owner": { + "login": "solven-eu", + "id": 34552197, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM0NTUyMTk3", + "avatar_url": "https://avatars.githubusercontent.com/u/34552197?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/solven-eu", + "html_url": "https://github.com/solven-eu", + "followers_url": "https://api.github.com/users/solven-eu/followers", + "following_url": "https://api.github.com/users/solven-eu/following{/other_user}", + "gists_url": "https://api.github.com/users/solven-eu/gists{/gist_id}", + "starred_url": "https://api.github.com/users/solven-eu/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/solven-eu/subscriptions", + "organizations_url": "https://api.github.com/users/solven-eu/orgs", + "repos_url": "https://api.github.com/users/solven-eu/repos", + "events_url": "https://api.github.com/users/solven-eu/events{/privacy}", + "received_events_url": "https://api.github.com/users/solven-eu/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "CleanThat", + "description": "Cleanthat cleans branches automatically to fix/improve your code.\r\n\r\nFeatures :\r\n- Fix branches a pull_requests head\r\n- Open pull_request to fix protected branches\r\n- Format `.md`, `.java`, `.scala`, `.json`, `.yaml` with the help of [Spotless](https://github.com/diffplug/spotless)\r\n- Refactor `.java` files to improve code-style, security and stability", + "external_url": "https://github.com/solven-eu/cleanthat", + "html_url": "https://github.com/apps/cleanthat", + "created_at": "2020-05-19T13:45:43Z", + "updated_at": "2023-01-27T06:10:21Z", + "permissions": { + "checks": "write", + "contents": "write", + "metadata": "read", + "pull_requests": "write" + }, + "events": [ + "pull_request", + "push" + ], + "installations_count": 280 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testGetMarketplaceAccount/__files/app_installations-2.json b/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testGetMarketplaceAccount/__files/app_installations-2.json new file mode 100644 index 0000000000..a0721a8cab --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testGetMarketplaceAccount/__files/app_installations-2.json @@ -0,0 +1,42 @@ +[ + { + "id": 12131496, + "account": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "repository_selection": "selected", + "access_tokens_url": "https://api.github.com/app/installations/12131496/access_tokens", + "repositories_url": "https://api.github.com/installation/repositories", + "html_url": "https://github.com/organizations/hub4j-test-org/settings/installations/12131496", + "app_id": 83009, + "app_slug": "ghapi-test-app-2", + "target_id": 7544739, + "target_type": "Organization", + "permissions": {}, + "events": [], + "created_at": "2020-09-30T15:05:32.000Z", + "updated_at": "2020-09-30T15:05:32.000Z", + "single_file_name": null, + "has_multiple_single_files": false, + "single_file_paths": [], + "suspended_by": null, + "suspended_at": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testGetMarketplaceAccount/__files/marketplace_listing_accounts_7544739-3.json b/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testGetMarketplaceAccount/__files/marketplace_listing_accounts_7544739-3.json new file mode 100644 index 0000000000..e933eaa81b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testGetMarketplaceAccount/__files/marketplace_listing_accounts_7544739-3.json @@ -0,0 +1,36 @@ +{ + "url": "https://api.github.com/orgs/solven-eu", + "type": "Organization", + "id": 7544739, + "login": "solven-eu", + "marketplace_pending_change": null, + "marketplace_purchase": { + "billing_cycle": "monthly", + "unit_count": 1, + "on_free_trial": false, + "free_trial_ends_on": null, + "is_installed": true, + "updated_at": "2023-03-02T06:05:31Z", + "next_billing_date": "2023-03-28T00:00:00Z", + "plan": { + "url": "https://api.github.com/marketplace_listing/plans/8366", + "accounts_url": "https://api.github.com/marketplace_listing/plans/8366/accounts", + "id": 8366, + "number": 8, + "name": "Organization Private Repositories", + "description": "Enable CleanThat for any of your organization repositories", + "monthly_price_in_cents": 5000, + "yearly_price_in_cents": 50000, + "price_model": "FLAT_RATE", + "has_free_trial": false, + "unit_name": null, + "state": "published", + "bullets": [ + "Branches are automatically cleaned", + "Main branchrs are cleaned through PullRequests", + "Java, Kotlin, Json, Yaml, Markdown, etc" + ] + } + }, + "organization_billing_email": "accounting@toto.com" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testGetMarketplaceAccount/mappings/app-1.json b/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testGetMarketplaceAccount/mappings/app-1.json new file mode 100644 index 0000000000..fbd7bbd39f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testGetMarketplaceAccount/mappings/app-1.json @@ -0,0 +1,42 @@ +{ + "id": "144fdb7f-667e-4cf4-bd37-67ed11bdc421", + "name": "app", + "request": { + "url": "/app", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.machine-man-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "app-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Sun, 19 Mar 2023 13:02:50 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "public, max-age=60, s-maxage=60", + "Vary": [ + "Accept", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"00fa67d861eb73a934cd9229b76c2dc7c2c235babf8d281e2dd4a1e31ca3b930\"", + "X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json", + "x-github-api-version-selected": "2022-11-28", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "C09A:5A83:172C70C:179D1FD:641707FA" + } + }, + "uuid": "144fdb7f-667e-4cf4-bd37-67ed11bdc421", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testGetMarketplaceAccount/mappings/app_installations-2.json b/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testGetMarketplaceAccount/mappings/app_installations-2.json new file mode 100644 index 0000000000..fd83a4890d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testGetMarketplaceAccount/mappings/app_installations-2.json @@ -0,0 +1,41 @@ +{ + "id": "45ac2593-8123-49ae-ad1a-ded446491b14", + "name": "app_installations", + "request": { + "url": "/app/installations", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.machine-man-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "app_installations-2.json", + "headers": { + "Date": "Thu, 05 Nov 2020 20:42:31 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "Cache-Control": "public, max-age=60, s-maxage=60", + "Vary": [ + "Accept", + "Accept-Encoding, Accept, X-Requested-With", + "Accept-Encoding" + ], + "ETag": "W/\"60d3ec5c9014799f5e12b88e16e771a386b905ad8d41cd18aed34e58b11c58d4\"", + "X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json", + "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": "9294:AE05:BDAC831:DB35870:5FA463B7" + } + }, + "uuid": "45ac2593-8123-49ae-ad1a-ded446491b14", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testGetMarketplaceAccount/mappings/app_installations_12131496_access_tokens-3.json b/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testGetMarketplaceAccount/mappings/app_installations_12131496_access_tokens-3.json new file mode 100644 index 0000000000..8a2d294367 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testGetMarketplaceAccount/mappings/app_installations_12131496_access_tokens-3.json @@ -0,0 +1,48 @@ +{ + "id": "b8c586bc-0b07-47e8-806a-76e39d058bf5", + "name": "app_installations_12131496_access_tokens", + "request": { + "url": "/app/installations/12131496/access_tokens", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.machine-man-preview+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "body": "{\"token\":\"v1.d5741167e3837f3adda54581ba91c37183c7dd94\",\"expires_at\":\"2020-11-05T21:42:32Z\",\"permissions\":{},\"repository_selection\":\"selected\"}", + "headers": { + "Date": "Thu, 05 Nov 2020 20:42:32 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "201 Created", + "Cache-Control": "public, max-age=60, s-maxage=60", + "Vary": [ + "Accept", + "Accept-Encoding, Accept, X-Requested-With", + "Accept-Encoding" + ], + "ETag": "\"1fef2b60c4475562d6b9ad2dbc3631503de22b38aac485c1d3f72aa6c8fed608\"", + "X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json", + "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": "9294:AE05:BDAC89E:DB35960:5FA463B7" + } + }, + "uuid": "b8c586bc-0b07-47e8-806a-76e39d058bf5", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testGetMarketplaceAccount/mappings/marketplace_listing_accounts_7544739-3.json b/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testGetMarketplaceAccount/mappings/marketplace_listing_accounts_7544739-3.json new file mode 100644 index 0000000000..f0eff5801a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppInstallationTest/wiremock/testGetMarketplaceAccount/mappings/marketplace_listing_accounts_7544739-3.json @@ -0,0 +1,47 @@ +{ + "id": "eae10c4e-7d76-4db7-a741-f0d2520c396d", + "name": "marketplace_listing_accounts_7544739", + "request": { + "url": "/marketplace_listing/accounts/7544739", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "marketplace_listing_accounts_7544739-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Sun, 19 Mar 2023 13:02:52 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "public, max-age=60, s-maxage=60", + "Vary": [ + "Accept", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"643755aa11e09fed050b7067db25efbebfe738f9fff6104c15a75fb3754632d4\"", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4932", + "X-RateLimit-Reset": "1679232791", + "X-RateLimit-Used": "68", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "C09D:5A83:172CCBB:179D7CE:641707FC" + } + }, + "uuid": "eae10c4e-7d76-4db7-a741-f0d2520c396d", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createTokenWithRepositories/__files/app-1.json b/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createTokenWithRepositories/__files/app-1.json new file mode 100644 index 0000000000..98f64483b4 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createTokenWithRepositories/__files/app-1.json @@ -0,0 +1,41 @@ +{ + "id": 11111111, + "slug": "bogus-testing", + "node_id": "asdfasdfasdf", + "owner": { + "login": "bogus", + "id": 11111111, + "node_id": "asdfasfasdf", + "avatar_url": "https://avatars.githubusercontent.com/u/11111111?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bogus", + "html_url": "https://github.com/bogus", + "followers_url": "https://api.github.com/users/bogus/followers", + "following_url": "https://api.github.com/users/bogus/following{/other_user}", + "gists_url": "https://api.github.com/users/bogus/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bogus/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bogus/subscriptions", + "organizations_url": "https://api.github.com/users/bogus/orgs", + "repos_url": "https://api.github.com/users/bogus/repos", + "events_url": "https://api.github.com/users/bogus/events{/privacy}", + "received_events_url": "https://api.github.com/users/bogus/received_events", + "type": "User", + "site_admin": false + }, + "name": "bogus-testing", + "description": "description here", + "external_url": "https://github.com/bogus", + "html_url": "https://github.com/apps/bogus-testing", + "created_at": "2022-07-15T17:51:32Z", + "updated_at": "2022-07-15T17:51:32Z", + "permissions": { + "contents": "write", + "metadata": "read", + "organization_plan": "read", + "plan": "read", + "pull_requests": "read", + "statuses": "write" + }, + "events": [], + "installations_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createTokenWithRepositories/__files/app_installations_27419505_access_tokens-3.json b/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createTokenWithRepositories/__files/app_installations_27419505_access_tokens-3.json new file mode 100644 index 0000000000..e2ed7454d9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createTokenWithRepositories/__files/app_installations_27419505_access_tokens-3.json @@ -0,0 +1,112 @@ +{ + "token": "bogus", + "expires_at": "2022-07-27T21:38:33Z", + "permissions": { + "contents": "write", + "metadata": "read", + "pull_requests": "read", + "statuses": "write" + }, + "repository_selection": "selected", + "repositories": [ + { + "id": 11111111, + "node_id": "asdfasdf", + "name": "bogus", + "full_name": "bogus/bogus", + "private": true, + "owner": { + "login": "bogus", + "id": 11111111, + "node_id": "asdfasdf", + "avatar_url": "https://avatars.githubusercontent.com/u/11111111?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bogus", + "html_url": "https://github.com/bogus", + "followers_url": "https://api.github.com/users/bogus/followers", + "following_url": "https://api.github.com/users/bogus/following{/other_user}", + "gists_url": "https://api.github.com/users/bogus/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bogus/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bogus/subscriptions", + "organizations_url": "https://api.github.com/users/bogus/orgs", + "repos_url": "https://api.github.com/users/bogus/repos", + "events_url": "https://api.github.com/users/bogus/events{/privacy}", + "received_events_url": "https://api.github.com/users/bogus/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/bogus/bogus", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/bogus/bogus", + "forks_url": "https://api.github.com/repos/bogus/bogus/forks", + "keys_url": "https://api.github.com/repos/bogus/bogus/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/bogus/bogus/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/bogus/bogus/teams", + "hooks_url": "https://api.github.com/repos/bogus/bogus/hooks", + "issue_events_url": "https://api.github.com/repos/bogus/bogus/issues/events{/number}", + "events_url": "https://api.github.com/repos/bogus/bogus/events", + "assignees_url": "https://api.github.com/repos/bogus/bogus/assignees{/user}", + "branches_url": "https://api.github.com/repos/bogus/bogus/branches{/branch}", + "tags_url": "https://api.github.com/repos/bogus/bogus/tags", + "blobs_url": "https://api.github.com/repos/bogus/bogus/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/bogus/bogus/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/bogus/bogus/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/bogus/bogus/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/bogus/bogus/statuses/{sha}", + "languages_url": "https://api.github.com/repos/bogus/bogus/languages", + "stargazers_url": "https://api.github.com/repos/bogus/bogus/stargazers", + "contributors_url": "https://api.github.com/repos/bogus/bogus/contributors", + "subscribers_url": "https://api.github.com/repos/bogus/bogus/subscribers", + "subscription_url": "https://api.github.com/repos/bogus/bogus/subscription", + "commits_url": "https://api.github.com/repos/bogus/bogus/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/bogus/bogus/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/bogus/bogus/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/bogus/bogus/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/bogus/bogus/contents/{+path}", + "compare_url": "https://api.github.com/repos/bogus/bogus/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/bogus/bogus/merges", + "archive_url": "https://api.github.com/repos/bogus/bogus/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/bogus/bogus/downloads", + "issues_url": "https://api.github.com/repos/bogus/bogus/issues{/number}", + "pulls_url": "https://api.github.com/repos/bogus/bogus/pulls{/number}", + "milestones_url": "https://api.github.com/repos/bogus/bogus/milestones{/number}", + "notifications_url": "https://api.github.com/repos/bogus/bogus/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/bogus/bogus/labels{/name}", + "releases_url": "https://api.github.com/repos/bogus/bogus/releases{/id}", + "deployments_url": "https://api.github.com/repos/bogus/bogus/deployments", + "created_at": "2018-08-30T17:18:24Z", + "updated_at": "2022-06-14T22:15:20Z", + "pushed_at": "2022-07-15T20:04:26Z", + "git_url": "git://github.com/bogus/bogus.git", + "ssh_url": "git@github.com:bogus/bogus.git", + "clone_url": "https://github.com/bogus/bogus.git", + "svn_url": "https://github.com/bogus/bogus", + "homepage": null, + "size": 36, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Groovy", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createTokenWithRepositories/__files/users_bogus_installation-2.json b/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createTokenWithRepositories/__files/users_bogus_installation-2.json new file mode 100644 index 0000000000..07b4061b60 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createTokenWithRepositories/__files/users_bogus_installation-2.json @@ -0,0 +1,45 @@ +{ + "id": 11111111, + "account": { + "login": "bogus", + "id": 11111111, + "node_id": "asdfasdfasdf=", + "avatar_url": "https://avatars2.githubusercontent.com/u/111111111?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bogus", + "html_url": "https://github.com/bogus", + "followers_url": "https://api.github.com/users/bogus/followers", + "following_url": "https://api.github.com/users/bogus/following{/other_user}", + "gists_url": "https://api.github.com/users/bogus/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bogus/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bogus/subscriptions", + "organizations_url": "https://api.github.com/users/bogus/orgs", + "repos_url": "https://api.github.com/users/bogus/repos", + "events_url": "https://api.github.com/users/bogus/events{/privacy}", + "received_events_url": "https://api.github.com/users/bogus/received_events", + "type": "Organization", + "site_admin": false + }, + "repository_selection": "all", + "access_tokens_url": "https://api.github.com/app/installations/11111111/access_tokens", + "repositories_url": "https://api.github.com/installation/repositories", + "html_url": "https://github.com/settings/installations/11111111", + "app_id": 111111, + "app_slug": "bogus-testing", + "target_id": 11111111, + "target_type": "Organization", + "permissions": { + "checks": "write", + "pull_requests": "write", + "contents": "read", + "metadata": "read" + }, + "events": [], + "created_at": "2022-07-15T17:55:36.000Z", + "updated_at": "2022-07-15T19:15:12.000Z", + "single_file_name": null, + "has_multiple_single_files": false, + "single_file_paths": [], + "suspended_by": null, + "suspended_at": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createTokenWithRepositories/mappings/app-1.json b/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createTokenWithRepositories/mappings/app-1.json new file mode 100644 index 0000000000..06417be608 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createTokenWithRepositories/mappings/app-1.json @@ -0,0 +1,39 @@ +{ + "id": "32a6d293-46e2-48e0-a7f5-cf9ec061cd02", + "name": "app", + "request": { + "url": "/app", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.machine-man-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "app-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 27 Jul 2022 20:38:33 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "public, max-age=60, s-maxage=60", + "Vary": [ + "Accept", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"139628cbc6b3b04a0aa89130c8d2d7eb6935386aeaa396cbef97166394e38723\"", + "X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json", + "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": "F861:6983:622AD5:115FE5B:62E1A249" + } + }, + "uuid": "32a6d293-46e2-48e0-a7f5-cf9ec061cd02", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createTokenWithRepositories/mappings/app_installations_27419505_access_tokens-3.json b/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createTokenWithRepositories/mappings/app_installations_27419505_access_tokens-3.json new file mode 100644 index 0000000000..cc68198f80 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createTokenWithRepositories/mappings/app_installations_27419505_access_tokens-3.json @@ -0,0 +1,46 @@ +{ + "id": "9e9f33d9-1b63-4f67-81a3-82ec45bd0afa", + "name": "app_installations_27419505_access_tokens", + "request": { + "url": "/app/installations/11111111/access_tokens", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.machine-man-preview+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"repositories\":[\"bogus\"]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "app_installations_27419505_access_tokens-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 27 Jul 2022 20:38:33 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "public, max-age=60, s-maxage=60", + "Vary": [ + "Accept", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"6cfb04630611056af08d2652a018429d37ca8e0df7d861b918a985d5e646e2de\"", + "X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json", + "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": "F863:32FC:5F7C97:10FD23D:62E1A249" + } + }, + "uuid": "9e9f33d9-1b63-4f67-81a3-82ec45bd0afa", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createTokenWithRepositories/mappings/users_bogus_installation-2.json b/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createTokenWithRepositories/mappings/users_bogus_installation-2.json new file mode 100644 index 0000000000..2f2f27a708 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/createTokenWithRepositories/mappings/users_bogus_installation-2.json @@ -0,0 +1,39 @@ +{ + "id": "b3d0192b-f564-437c-b705-d1662ba3f8c5", + "name": "users_bogus_installation", + "request": { + "url": "/users/bogus/installation", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.machine-man-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "users_bogus_installation-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 27 Jul 2022 20:38:33 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "public, max-age=60, s-maxage=60", + "Vary": [ + "Accept", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"c95438f7909eebbaa54f451239b617b063a83ab1193afa1e180c144dd6295033\"", + "X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json", + "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": "F862:0322:510DC3:B06CF0:62E1A249" + } + }, + "uuid": "b3d0192b-f564-437c-b705-d1662ba3f8c5", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/getGitHubApp/__files/app-1.json b/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/getGitHubApp/__files/app-1.json new file mode 100644 index 0000000000..47e828ca82 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/getGitHubApp/__files/app-1.json @@ -0,0 +1,37 @@ +{ + "id": 82994, + "slug": "ghapi-test-app-1", + "node_id": "MDM6QXBwODI5OTQ=", + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GHApi Test app 1", + "description": "", + "external_url": "http://localhost", + "html_url": "https://github.com/apps/ghapi-test-app-1", + "created_at": "2020-09-30T13:40:56Z", + "updated_at": "2020-09-30T13:40:56Z", + "permissions": { + "contents": "read", + "metadata": "read" + }, + "events": [], + "installations_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/getGitHubApp/__files/body-mapping-githubapp-app.json b/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/getGitHubApp/__files/body-mapping-githubapp-app.json deleted file mode 100644 index d36be086d7..0000000000 --- a/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/getGitHubApp/__files/body-mapping-githubapp-app.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "id": 11111, - "node_id": "MDM6QXBwMzI2MTY=", - "owner": { - "login": "bogus", - "id": 111111111, - "node_id": "asdfasdfasdf", - "avatar_url": "https://avatars2.githubusercontent.com/u/111111111?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/bogus", - "html_url": "https://github.com/bogus", - "followers_url": "https://api.github.com/users/bogus/followers", - "following_url": "https://api.github.com/users/bogus/following{/other_user}", - "gists_url": "https://api.github.com/users/bogus/gists{/gist_id}", - "starred_url": "https://api.github.com/users/bogus/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/bogus/subscriptions", - "organizations_url": "https://api.github.com/users/bogus/orgs", - "repos_url": "https://api.github.com/users/bogus/repos", - "events_url": "https://api.github.com/users/bogus/events{/privacy}", - "received_events_url": "https://api.github.com/users/bogus/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "Bogus-Development", - "description": "", - "external_url": "https://bogus.domain.com", - "html_url": "https://github.com/apps/bogus-development", - "created_at": "2019-06-10T04:21:41Z", - "updated_at": "2019-06-10T04:21:41Z", - "permissions": { - "checks": "write", - "contents": "read", - "metadata": "read", - "pull_requests": "write" - }, - "events": [ - "pull_request", - "push" - ], - "installations_count": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/getGitHubApp/mappings/app-1.json b/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/getGitHubApp/mappings/app-1.json new file mode 100644 index 0000000000..162baaec38 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/getGitHubApp/mappings/app-1.json @@ -0,0 +1,39 @@ +{ + "id": "5d93739e-0223-463e-9d26-1a9b3b4d1cc9", + "name": "app", + "request": { + "url": "/app", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.machine-man-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "app-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 12:34:57 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "public, max-age=60, s-maxage=60", + "Vary": [ + "Accept", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"662c8ea184a852f605e0c94a9789fe43965f939e16e02ff0b3a8cc1043078a62\"", + "X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json", + "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": "E69F:6970:A871C34:AACF01E:632C5670" + } + }, + "uuid": "5d93739e-0223-463e-9d26-1a9b3b4d1cc9", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/getGitHubApp/mappings/mapping-githubapp-app.json b/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/getGitHubApp/mappings/mapping-githubapp-app.json deleted file mode 100644 index 2e7a553f6d..0000000000 --- a/src/test/resources/org/kohsuke/github/GHAppTest/wiremock/getGitHubApp/mappings/mapping-githubapp-app.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "request": { - "url": "/app", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.machine-man-preview+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "body-mapping-githubapp-app.json", - "headers": { - "Server": "GitHub.com", - "Date": "Fri, 09 Aug 2019 05:36:38 GMT", - "Content-Type": "application/json; charset=utf-8", - "Status": "200 OK", - "Cache-Control": "public, max-age=60, s-maxage=60", - "Vary": [ - "Accept", - "Accept-Encoding" - ], - "ETag": "W/\"01163b1a237898d328ed56cd0e9aefca\"", - "X-GitHub-Media-Type": "github.machine-man-preview; format=json", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Content-Type-Options": "nosniff", - "X-Frame-Options": "deny", - "X-XSS-Protection": "1; mode=block", - "X-GitHub-Request-Id": "E0C4:3088:300C54:3ACB77:5D4D0666" - } - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAuthenticatedAppInstallationTest/wiremock/testListRepositoriesTwoRepos/__files/app-1.json b/src/test/resources/org/kohsuke/github/GHAuthenticatedAppInstallationTest/wiremock/testListRepositoriesTwoRepos/__files/app-1.json new file mode 100644 index 0000000000..47e828ca82 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAuthenticatedAppInstallationTest/wiremock/testListRepositoriesTwoRepos/__files/app-1.json @@ -0,0 +1,37 @@ +{ + "id": 82994, + "slug": "ghapi-test-app-1", + "node_id": "MDM6QXBwODI5OTQ=", + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GHApi Test app 1", + "description": "", + "external_url": "http://localhost", + "html_url": "https://github.com/apps/ghapi-test-app-1", + "created_at": "2020-09-30T13:40:56Z", + "updated_at": "2020-09-30T13:40:56Z", + "permissions": { + "contents": "read", + "metadata": "read" + }, + "events": [], + "installations_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAuthenticatedAppInstallationTest/wiremock/testListRepositoriesTwoRepos/__files/installation_repositories-4.json b/src/test/resources/org/kohsuke/github/GHAuthenticatedAppInstallationTest/wiremock/testListRepositoriesTwoRepos/__files/installation_repositories-4.json new file mode 100644 index 0000000000..b2cf6a43ce --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAuthenticatedAppInstallationTest/wiremock/testListRepositoriesTwoRepos/__files/installation_repositories-4.json @@ -0,0 +1,218 @@ +{ + "total_count": 2, + "repository_selection": "selected", + "repositories": [ + { + "id": 60391080, + "node_id": "MDEwOlJlcG9zaXRvcnk2MDM5MTA4MA==", + "name": "empty", + "full_name": "hub4j-test-org/empty", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/empty", + "description": "Repository that has no contributor", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/empty", + "forks_url": "https://api.github.com/repos/hub4j-test-org/empty/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/empty/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/empty/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/empty/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/empty/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/empty/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/empty/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/empty/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/empty/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/empty/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/empty/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/empty/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/empty/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/empty/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/empty/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/empty/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/empty/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/empty/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/empty/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/empty/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/empty/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/empty/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/empty/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/empty/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/empty/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/empty/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/empty/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/empty/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/empty/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/empty/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/empty/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/empty/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/empty/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/empty/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/empty/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/empty/deployments", + "created_at": "2016-06-04T03:22:22Z", + "updated_at": "2016-06-04T03:22:22Z", + "pushed_at": "2016-06-04T03:22:23Z", + "git_url": "git://github.com/hub4j-test-org/empty.git", + "ssh_url": "git@github.com:hub4j-test-org/empty.git", + "clone_url": "https://github.com/hub4j-test-org/empty.git", + "svn_url": "https://github.com/hub4j-test-org/empty", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": false + } + }, + { + "id": 30829547, + "node_id": "MDEwOlJlcG9zaXRvcnkzMDgyOTU0Nw==", + "name": "test-readme", + "full_name": "hub4j-test-org/test-readme", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/test-readme", + "description": "Checks the readme of content", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/test-readme", + "forks_url": "https://api.github.com/repos/hub4j-test-org/test-readme/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/test-readme/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-readme/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/test-readme/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/test-readme/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-readme/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/test-readme/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/test-readme/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/test-readme/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/test-readme/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/test-readme/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-readme/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-readme/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/test-readme/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/test-readme/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/test-readme/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-readme/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/test-readme/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-readme/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/test-readme/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/test-readme/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-readme/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/test-readme/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-readme/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/test-readme/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/test-readme/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/test-readme/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/test-readme/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/test-readme/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/test-readme/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/test-readme/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/test-readme/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/test-readme/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/test-readme/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/test-readme/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/test-readme/deployments", + "created_at": "2015-02-15T14:24:54Z", + "updated_at": "2021-04-19T20:17:38Z", + "pushed_at": "2021-04-19T20:17:36Z", + "git_url": "git://github.com/hub4j-test-org/test-readme.git", + "ssh_url": "git@github.com:hub4j-test-org/test-readme.git", + "clone_url": "https://github.com/hub4j-test-org/test-readme.git", + "svn_url": "https://github.com/hub4j-test-org/test-readme", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": false + } + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAuthenticatedAppInstallationTest/wiremock/testListRepositoriesTwoRepos/__files/orgs_hub4j-test-org_installation-2.json b/src/test/resources/org/kohsuke/github/GHAuthenticatedAppInstallationTest/wiremock/testListRepositoriesTwoRepos/__files/orgs_hub4j-test-org_installation-2.json new file mode 100644 index 0000000000..3b38788c91 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAuthenticatedAppInstallationTest/wiremock/testListRepositoriesTwoRepos/__files/orgs_hub4j-test-org_installation-2.json @@ -0,0 +1,40 @@ +{ + "id": 12129901, + "account": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "repository_selection": "selected", + "access_tokens_url": "https://api.github.com/app/installations/12129901/access_tokens", + "repositories_url": "https://api.github.com/installation/repositories", + "html_url": "https://github.com/organizations/hub4j-test-org/settings/installations/12129901", + "app_id": 82994, + "app_slug": "ghapi-test-app-1", + "target_id": 7544739, + "target_type": "Organization", + "permissions": {}, + "events": [], + "created_at": "2020-09-30T13:41:32.000Z", + "updated_at": "2022-09-21T13:14:03.000Z", + "single_file_name": null, + "has_multiple_single_files": false, + "single_file_paths": [], + "suspended_by": null, + "suspended_at": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAuthenticatedAppInstallationTest/wiremock/testListRepositoriesTwoRepos/mappings/app-1.json b/src/test/resources/org/kohsuke/github/GHAuthenticatedAppInstallationTest/wiremock/testListRepositoriesTwoRepos/mappings/app-1.json new file mode 100644 index 0000000000..489cbfcd12 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAuthenticatedAppInstallationTest/wiremock/testListRepositoriesTwoRepos/mappings/app-1.json @@ -0,0 +1,39 @@ +{ + "id": "d94214c6-a028-4265-848d-9f45e0e62ddf", + "name": "app", + "request": { + "url": "/app", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.machine-man-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "app-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 21 Sep 2022 15:16:07 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "public, max-age=60, s-maxage=60", + "Vary": [ + "Accept", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"662c8ea184a852f605e0c94a9789fe43965f939e16e02ff0b3a8cc1043078a62\"", + "X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json", + "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": "D261:5D3D:6D7FB78:6EF9066:632B2AB7" + } + }, + "uuid": "d94214c6-a028-4265-848d-9f45e0e62ddf", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAuthenticatedAppInstallationTest/wiremock/testListRepositoriesTwoRepos/mappings/app_installations_12129901_access_tokens-3.json b/src/test/resources/org/kohsuke/github/GHAuthenticatedAppInstallationTest/wiremock/testListRepositoriesTwoRepos/mappings/app_installations_12129901_access_tokens-3.json new file mode 100644 index 0000000000..5089fdf364 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAuthenticatedAppInstallationTest/wiremock/testListRepositoriesTwoRepos/mappings/app_installations_12129901_access_tokens-3.json @@ -0,0 +1,46 @@ +{ + "id": "c5092131-2c36-4b47-afc4-935bf06557a3", + "name": "app_installations_12129901_access_tokens", + "request": { + "url": "/app/installations/12129901/access_tokens", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.machine-man-preview+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "body": "{\"token\":\"ghs_YoT4i7ItglAGBhRtnJqBKgGTjLrlBw48OogA\",\"expires_at\":\"2022-09-21T16:16:08Z\",\"permissions\":{\"contents\":\"read\",\"metadata\":\"read\"},\"repository_selection\":\"selected\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 21 Sep 2022 15:16:08 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "public, max-age=60, s-maxage=60", + "Vary": [ + "Accept", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"0599246ac4273ded931a2d493c34e284a038afc82fe76d62d219c3f8a60ff313\"", + "X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json", + "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": "E114:B08A:4BC15A1:4CF2905:632B2AB8" + } + }, + "uuid": "c5092131-2c36-4b47-afc4-935bf06557a3", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAuthenticatedAppInstallationTest/wiremock/testListRepositoriesTwoRepos/mappings/installation_repositories-4.json b/src/test/resources/org/kohsuke/github/GHAuthenticatedAppInstallationTest/wiremock/testListRepositoriesTwoRepos/mappings/installation_repositories-4.json new file mode 100644 index 0000000000..25662ce71e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAuthenticatedAppInstallationTest/wiremock/testListRepositoriesTwoRepos/mappings/installation_repositories-4.json @@ -0,0 +1,44 @@ +{ + "id": "039aac93-94ba-4b47-840a-492765ce1fdc", + "name": "installation_repositories", + "request": { + "url": "/installation/repositories", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.machine-man-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "installation_repositories-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 21 Sep 2022 15:16: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/\"ccc141b003bb4015c7772d4383f88726efaad307f31448ba35fac1a5ba0aaf23\"", + "X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json", + "X-RateLimit-Limit": "5950", + "X-RateLimit-Remaining": "5949", + "X-RateLimit-Reset": "1663776968", + "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": "D13F:C712:6B899C5:6D0836C:632B2AB8" + } + }, + "uuid": "039aac93-94ba-4b47-840a-492765ce1fdc", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHAuthenticatedAppInstallationTest/wiremock/testListRepositoriesTwoRepos/mappings/orgs_hub4j-test-org_installation-2.json b/src/test/resources/org/kohsuke/github/GHAuthenticatedAppInstallationTest/wiremock/testListRepositoriesTwoRepos/mappings/orgs_hub4j-test-org_installation-2.json new file mode 100644 index 0000000000..b253a524b5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHAuthenticatedAppInstallationTest/wiremock/testListRepositoriesTwoRepos/mappings/orgs_hub4j-test-org_installation-2.json @@ -0,0 +1,39 @@ +{ + "id": "5b12b08d-1fe4-4a25-bd80-13beedffda3a", + "name": "orgs_hub4j-test-org_installation", + "request": { + "url": "/orgs/hub4j-test-org/installation", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.machine-man-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hub4j-test-org_installation-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 21 Sep 2022 15:16:07 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "public, max-age=60, s-maxage=60", + "Vary": [ + "Accept", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"ef60cfb42fb3e7e8e8e98142d655b44c0ed888d1ecad08ad075ff4318aca1494\"", + "X-GitHub-Media-Type": "github.v3; param=machine-man-preview; format=json", + "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": "C4FA:CC72:2B91B2B:2C4999A:632B2AB7" + } + }, + "uuid": "5b12b08d-1fe4-4a25-bd80-13beedffda3a", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHCodeownersErrorTest/wiremock/testGetCodeownersErrors/__files/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHCodeownersErrorTest/wiremock/testGetCodeownersErrors/__files/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..3fee6b6ffd --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHCodeownersErrorTest/wiremock/testGetCodeownersErrors/__files/orgs_hub4j-test-org-1.json @@ -0,0 +1,31 @@ +{ + "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": 54, + "public_gists": 0, + "followers": 1, + "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/GHCodeownersErrorTest/wiremock/testGetCodeownersErrors/__files/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHCodeownersErrorTest/wiremock/testGetCodeownersErrors/__files/repos_hub4j-test-org_github-api-2.json new file mode 100644 index 0000000000..bf61dfac64 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHCodeownersErrorTest/wiremock/testGetCodeownersErrors/__files/repos_hub4j-test-org_github-api-2.json @@ -0,0 +1,357 @@ +{ + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "2023-01-31T10:03:44Z", + "pushed_at": "2023-02-01T12:37:22Z", + "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": 18977, + "stargazers_count": 1, + "watchers_count": 1, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 7, + "watchers": 1, + "default_branch": "main", + "temp_clone_token": null, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "2023-01-30T18:28:31Z", + "pushed_at": "2023-02-01T11:03:02Z", + "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": "https://github-api.kohsuke.org/", + "size": 40829, + "stargazers_count": 972, + "watchers_count": 972, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "has_discussions": true, + "forks_count": 651, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 139, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 651, + "open_issues": 139, + "watchers": 972, + "default_branch": "main" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "2023-01-30T18:28:31Z", + "pushed_at": "2023-02-01T11:03:02Z", + "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": "https://github-api.kohsuke.org/", + "size": 40829, + "stargazers_count": 972, + "watchers_count": 972, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "has_discussions": true, + "forks_count": 651, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 139, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 651, + "open_issues": 139, + "watchers": 972, + "default_branch": "main" + }, + "network_count": 651, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHCodeownersErrorTest/wiremock/testGetCodeownersErrors/__files/repos_hub4j-test-org_github-api_codeowners_errors-3.json b/src/test/resources/org/kohsuke/github/GHCodeownersErrorTest/wiremock/testGetCodeownersErrors/__files/repos_hub4j-test-org_github-api_codeowners_errors-3.json new file mode 100644 index 0000000000..243321999f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHCodeownersErrorTest/wiremock/testGetCodeownersErrors/__files/repos_hub4j-test-org_github-api_codeowners_errors-3.json @@ -0,0 +1,13 @@ +{ + "errors": [ + { + "line": 1, + "column": 3, + "source": "* @nonexistent-user # Deliberate error to test response to repo.listCodeownersErrors()\n", + "kind": "Unknown owner", + "suggestion": "make sure @nonexistent-user exists and has write access to the repository", + "message": "Unknown owner on line 1: make sure @nonexistent-user exists and has write access to the repository\n\n * @nonexistent-user # Deliberate error to test response to repo.listCodeownersErrors()\n ^", + "path": ".github/CODEOWNERS" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHCodeownersErrorTest/wiremock/testGetCodeownersErrors/mappings/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHCodeownersErrorTest/wiremock/testGetCodeownersErrors/mappings/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..d29d4588d3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHCodeownersErrorTest/wiremock/testGetCodeownersErrors/mappings/orgs_hub4j-test-org-1.json @@ -0,0 +1,46 @@ +{ + "id": "fed03a9c-634b-4e3c-8423-11e978fcc80d", + "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": "Wed, 01 Feb 2023 13:13:32 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "public, max-age=60, s-maxage=60", + "Vary": "Accept, Accept-Encoding, Accept, X-Requested-With", + "ETag": "W/\"019b7739e9fbcde09b75c43c41ed21dbb8be92b33062c8544e40549543f07fc9\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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-RateLimit-Limit": "60", + "X-RateLimit-Remaining": "12", + "X-RateLimit-Reset": "1675258706", + "X-RateLimit-Resource": "core", + "X-RateLimit-Used": "48", + "Accept-Ranges": "bytes", + "X-GitHub-Request-Id": "B77E:E756:54773C6:55FA2D7:63DA657C" + } + }, + "uuid": "fed03a9c-634b-4e3c-8423-11e978fcc80d", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHCodeownersErrorTest/wiremock/testGetCodeownersErrors/mappings/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHCodeownersErrorTest/wiremock/testGetCodeownersErrors/mappings/repos_hub4j-test-org_github-api-2.json new file mode 100644 index 0000000000..f47d8f16e2 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHCodeownersErrorTest/wiremock/testGetCodeownersErrors/mappings/repos_hub4j-test-org_github-api-2.json @@ -0,0 +1,46 @@ +{ + "id": "83ae59b2-2fee-4b87-b9c5-d4c9df208df2", + "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": "Wed, 01 Feb 2023 13:13:33 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "public, max-age=60, s-maxage=60", + "Vary": "Accept, Accept-Encoding, Accept, X-Requested-With", + "ETag": "W/\"764f0069b95f6b8021183ff5da0ff253c0aa150492ab6776e0bbbb19df38fd31\"", + "Last-Modified": "Tue, 31 Jan 2023 10:03:44 GMT", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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-RateLimit-Limit": "60", + "X-RateLimit-Remaining": "11", + "X-RateLimit-Reset": "1675258706", + "X-RateLimit-Resource": "core", + "X-RateLimit-Used": "49", + "Accept-Ranges": "bytes", + "X-GitHub-Request-Id": "B77E:E756:54775D8:55FA4F1:63DA657D" + } + }, + "uuid": "83ae59b2-2fee-4b87-b9c5-d4c9df208df2", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHCodeownersErrorTest/wiremock/testGetCodeownersErrors/mappings/repos_hub4j-test-org_github-api_codeowners_errors-3.json b/src/test/resources/org/kohsuke/github/GHCodeownersErrorTest/wiremock/testGetCodeownersErrors/mappings/repos_hub4j-test-org_github-api_codeowners_errors-3.json new file mode 100644 index 0000000000..d11d713046 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHCodeownersErrorTest/wiremock/testGetCodeownersErrors/mappings/repos_hub4j-test-org_github-api_codeowners_errors-3.json @@ -0,0 +1,45 @@ +{ + "id": "fa38407c-47c9-4eb9-88c1-fe025c83c5f7", + "name": "repos_hub4j-test-org_github-api_codeowners_errors", + "request": { + "url": "/repos/hub4j-test-org/github-api/codeowners/errors", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_codeowners_errors-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 01 Feb 2023 13:13:33 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "public, max-age=60, s-maxage=60", + "Vary": "Accept, Accept-Encoding, Accept, X-Requested-With", + "ETag": "W/\"2429b2e50fda38535f58bfed72e523831eedca6b313cb9c6b660306c7d8e0452\"", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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-RateLimit-Limit": "60", + "X-RateLimit-Remaining": "10", + "X-RateLimit-Reset": "1675258706", + "X-RateLimit-Resource": "core", + "X-RateLimit-Used": "50", + "Accept-Ranges": "bytes", + "X-GitHub-Request-Id": "B77E:E756:54777B2:55FA6C7:63DA657D" + } + }, + "uuid": "fa38407c-47c9-4eb9-88c1-fe025c83c5f7", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHDeployKeyTest/wiremock/testGetDeployKeys/__files/repos_hub4j-test-org_ghdeploykeytest-2.json b/src/test/resources/org/kohsuke/github/GHDeployKeyTest/wiremock/testGetDeployKeys/__files/repos_hub4j-test-org_ghdeploykeytest-2.json new file mode 100644 index 0000000000..cb09c0dd19 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHDeployKeyTest/wiremock/testGetDeployKeys/__files/repos_hub4j-test-org_ghdeploykeytest-2.json @@ -0,0 +1,149 @@ +{ + "id": 593636170, + "node_id": "R_kgDOI2IrSg", + "name": "GHDeployKeyTest", + "full_name": "hub4j-test-org/GHDeployKeyTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHDeployKeyTest", + "description": "Repository used by GHDeployKeyTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/deployments", + "created_at": "2023-01-26T13:58:23Z", + "updated_at": "2023-01-26T13:58:23Z", + "pushed_at": "2023-01-26T13:58:25Z", + "git_url": "git://github.com/hub4j-test-org/GHDeployKeyTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHDeployKeyTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHDeployKeyTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHDeployKeyTest", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "security_and_analysis": { + "secret_scanning": { + "status": "disabled" + }, + "secret_scanning_push_protection": { + "status": "disabled" + } + }, + "network_count": 0, + "subscribers_count": 16 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHDeployKeyTest/wiremock/testGetDeployKeys/__files/repos_hub4j-test-org_ghdeploykeytest_keys-3.json b/src/test/resources/org/kohsuke/github/GHDeployKeyTest/wiremock/testGetDeployKeys/__files/repos_hub4j-test-org_ghdeploykeytest_keys-3.json new file mode 100644 index 0000000000..95120e92c0 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHDeployKeyTest/wiremock/testGetDeployKeys/__files/repos_hub4j-test-org_ghdeploykeytest_keys-3.json @@ -0,0 +1,24 @@ +[ + { + "id": 76924278, + "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDBO4AyE/CjnMt0YeJ4QFnU87qr4u534Q5FHRZmTUP7Ixi/ks6iMVJAU71GltuP1NIUynOTTA+Y+XNHfCp+/wNCi6B6o63Ouk2Debx7cf3ufFXM7G48iTG3ULK2qfPzm8OkfRP4urg+AmdrQAUuH3Wx3CinqlGt8phJECsRkQqdoYoikOrRtx9iNx0Cz45xD4JyRBOjZix0kZTqQy8LKnpxXA8nIzJJoh9eYTOPT3Pf3X3qeOUpN2QTSH7ya9xvE+lCxEMqP6m/vnA1tm5Vzso53bU/pG/SZwNESpafD9Dkry8AiCg9zfzFnzikwWHhrPRqCjIwYuMdaXbBtQBknPx62nDkpS/b0iFvdIoRmWTNbTng38urH5lFRLE7y13WW1GWYPeiSF3zY6B0B+rdNJm2RNrZtvtbQ0e3ruWVR8ZIVtQysT0/ueGO0g2pmodY0lB2Z6EidOx4F46i8mitUgABwhnlrzfki/nO/K0voIUh48D5M8tJsR7kCj+G0e1zXoTl7OF7/g8br8zYlSDczIZBgjORT+XBOr5My6cbSFYRratR2cy1ZB7XpcolCp89mPY3MTQOTOrNIE4BhoJHS6ws7rIv/ZNQeW+4lktPq0x59Tdcv5vgYAdAiu3qpjTcaVxxkAVE8AxNz237+CRs4+jWCsGHl2BAHCEtM9KVqLR77w==", + "url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/keys/76924278", + "title": "Deploykey - rsa4096 - readwrite", + "verified": true, + "created_at": "2023-01-26T14:12:12Z", + "read_only": false, + "last_used": null, + "added_by": "van-vliet" + }, + { + "id": 77542797, + "key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIINaSsehgTpibnTTtH4kKohPhwfzqo0OvfwP4w8qZfPp", + "url": "https://api.github.com/repos/hub4j-test-org/GHDeployKeyTest/keys/77542797", + "title": "DeployKey - ed25519 - readonly", + "verified": true, + "created_at": "2023-02-08T10:00:15Z", + "read_only": true, + "last_used": "2023-02-08T10:02:11Z", + "added_by": "van-vliet" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHDeployKeyTest/wiremock/testGetDeployKeys/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHDeployKeyTest/wiremock/testGetDeployKeys/__files/user-1.json new file mode 100644 index 0000000000..c47cc37804 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHDeployKeyTest/wiremock/testGetDeployKeys/__files/user-1.json @@ -0,0 +1,46 @@ +{ + "login": "van-vliet", + "id": 11989400, + "node_id": "MDQ6VXNlcjExOTg5NDAw", + "avatar_url": "https://avatars.githubusercontent.com/u/11989400?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/van-vliet", + "html_url": "https://github.com/van-vliet", + "followers_url": "https://api.github.com/users/van-vliet/followers", + "following_url": "https://api.github.com/users/van-vliet/following{/other_user}", + "gists_url": "https://api.github.com/users/van-vliet/gists{/gist_id}", + "starred_url": "https://api.github.com/users/van-vliet/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/van-vliet/subscriptions", + "organizations_url": "https://api.github.com/users/van-vliet/orgs", + "repos_url": "https://api.github.com/users/van-vliet/repos", + "events_url": "https://api.github.com/users/van-vliet/events{/privacy}", + "received_events_url": "https://api.github.com/users/van-vliet/received_events", + "type": "User", + "site_admin": false, + "name": "Jonas van Vliet", + "company": null, + "blog": "", + "location": null, + "email": null, + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 1, + "public_gists": 0, + "followers": 1, + "following": 1, + "created_at": "2015-04-17T05:56:56Z", + "updated_at": "2022-11-04T06:44:42Z", + "private_gists": 0, + "total_private_repos": 0, + "owned_private_repos": 0, + "disk_usage": 0, + "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/GHDeployKeyTest/wiremock/testGetDeployKeys/mappings/repos_hub4j-test-org_ghdeploykeytest-2.json b/src/test/resources/org/kohsuke/github/GHDeployKeyTest/wiremock/testGetDeployKeys/mappings/repos_hub4j-test-org_ghdeploykeytest-2.json new file mode 100644 index 0000000000..a3a920349a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHDeployKeyTest/wiremock/testGetDeployKeys/mappings/repos_hub4j-test-org_ghdeploykeytest-2.json @@ -0,0 +1,51 @@ +{ + "id": "86196b46-7963-4ade-8331-f6b8677ebb56", + "name": "repos_hub4j-test-org_ghdeploykeytest", + "request": { + "url": "/repos/hub4j-test-org/GHDeployKeyTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghdeploykeytest-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 08 Feb 2023 10:16: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/\"ccb5e13d45de3c0541c6be0f53bb4bffb08cf1dcb916a2eeb417a2d162181d25\"", + "Last-Modified": "Thu, 26 Jan 2023 13:58:23 GMT", + "X-OAuth-Scopes": "read:user, repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2023-02-15 10:03:43 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4983", + "X-RateLimit-Reset": "1675854466", + "X-RateLimit-Used": "17", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E1B8:4352:46E1A3:481D53:63E37666" + } + }, + "uuid": "86196b46-7963-4ade-8331-f6b8677ebb56", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHDeployKeyTest/wiremock/testGetDeployKeys/mappings/repos_hub4j-test-org_ghdeploykeytest_keys-3.json b/src/test/resources/org/kohsuke/github/GHDeployKeyTest/wiremock/testGetDeployKeys/mappings/repos_hub4j-test-org_ghdeploykeytest_keys-3.json new file mode 100644 index 0000000000..6854466d66 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHDeployKeyTest/wiremock/testGetDeployKeys/mappings/repos_hub4j-test-org_ghdeploykeytest_keys-3.json @@ -0,0 +1,50 @@ +{ + "id": "49bb1666-7758-49de-9134-f0735a9a235d", + "name": "repos_hub4j-test-org_ghdeploykeytest_keys", + "request": { + "url": "/repos/hub4j-test-org/GHDeployKeyTest/keys", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghdeploykeytest_keys-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 08 Feb 2023 10:16: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/\"9bc942dbeacfdba2d3174c5da85d7e37a3d600068bea67c0e8e789201c7a9c90\"", + "X-OAuth-Scopes": "read:user, repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-02-15 10:03:43 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4982", + "X-RateLimit-Reset": "1675854466", + "X-RateLimit-Used": "18", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E1B9:672E:49A60B:4AE64E:63E37667" + } + }, + "uuid": "49bb1666-7758-49de-9134-f0735a9a235d", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHDeployKeyTest/wiremock/testGetDeployKeys/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHDeployKeyTest/wiremock/testGetDeployKeys/mappings/user-1.json new file mode 100644 index 0000000000..fb3aea41e6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHDeployKeyTest/wiremock/testGetDeployKeys/mappings/user-1.json @@ -0,0 +1,51 @@ +{ + "id": "ffe193ff-1772-4bdb-a87d-f09d73a55e9c", + "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, 08 Feb 2023 10:16: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/\"d886bab2c0d06ed3ad08a6e1296c04c22f9a975d735ded6a05ba24cf69cee315\"", + "Last-Modified": "Fri, 04 Nov 2022 06:44:42 GMT", + "X-OAuth-Scopes": "read:user, repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-02-15 10:03:43 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4985", + "X-RateLimit-Reset": "1675854466", + "X-RateLimit-Used": "15", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E1B6:4092:490FCD:4A4F75:63E37665" + } + }, + "uuid": "ffe193ff-1772-4bdb-a87d-f09d73a55e9c", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/installation.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/installation.json index 1697660a52..38f10f627b 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/installation.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/installation.json @@ -45,7 +45,7 @@ "repositories": [ { "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDc=", + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", "name": "Hello-World", "full_name": "octocat/Hello-World", "private": false diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/projectsv2item_archived.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/projectsv2item_archived.json new file mode 100644 index 0000000000..d43d79bfa4 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/projectsv2item_archived.json @@ -0,0 +1,77 @@ +{ + "action": "archived", + "projects_v2_item": { + "id": 8083794, + "node_id": "PVTI_lADOBNft-M4AEjBWzgB7WVI", + "project_node_id": "PVT_kwDOBNft-M4AEjBW", + "content_node_id": "I_kwDOFOkjw85OzN4w", + "content_type": "Issue", + "creator": { + "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 + }, + "created_at": "2022-08-03T13:13:51Z", + "updated_at": "2022-08-09T23:10:29Z", + "archived_at": "2022-08-09T23:10:29Z" + }, + "changes": { + "archived_at": { + "from": null, + "to": "2022-08-10T01:10:29+02:00" + } + }, + "organization": { + "login": "gsmet-bot-playground", + "id": 81260024, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjgxMjYwMDI0", + "url": "https://api.github.com/orgs/gsmet-bot-playground", + "repos_url": "https://api.github.com/orgs/gsmet-bot-playground/repos", + "events_url": "https://api.github.com/orgs/gsmet-bot-playground/events", + "hooks_url": "https://api.github.com/orgs/gsmet-bot-playground/hooks", + "issues_url": "https://api.github.com/orgs/gsmet-bot-playground/issues", + "members_url": "https://api.github.com/orgs/gsmet-bot-playground/members{/member}", + "public_members_url": "https://api.github.com/orgs/gsmet-bot-playground/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/81260024?v=4", + "description": null + }, + "sender": { + "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 + }, + "installation": { + "id": 16779846, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTY3Nzk4NDY=" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/projectsv2item_created.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/projectsv2item_created.json new file mode 100644 index 0000000000..be27de4a54 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/projectsv2item_created.json @@ -0,0 +1,71 @@ +{ + "action": "created", + "projects_v2_item": { + "id": 8083254, + "node_id": "PVTI_lADOBNft-M4AEjBWzgB7VzY", + "project_node_id": "PVT_kwDOBNft-M4AEjBW", + "content_node_id": "I_kwDOFOkjw85Ozz26", + "content_type": "Issue", + "creator": { + "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 + }, + "created_at": "2022-08-03T13:07:08Z", + "updated_at": "2022-08-03T13:07:08Z", + "archived_at": null + }, + "organization": { + "login": "gsmet-bot-playground", + "id": 81260024, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjgxMjYwMDI0", + "url": "https://api.github.com/orgs/gsmet-bot-playground", + "repos_url": "https://api.github.com/orgs/gsmet-bot-playground/repos", + "events_url": "https://api.github.com/orgs/gsmet-bot-playground/events", + "hooks_url": "https://api.github.com/orgs/gsmet-bot-playground/hooks", + "issues_url": "https://api.github.com/orgs/gsmet-bot-playground/issues", + "members_url": "https://api.github.com/orgs/gsmet-bot-playground/members{/member}", + "public_members_url": "https://api.github.com/orgs/gsmet-bot-playground/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/81260024?v=4", + "description": null + }, + "sender": { + "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 + }, + "installation": { + "id": 16779846, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTY3Nzk4NDY=" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/projectsv2item_edited.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/projectsv2item_edited.json new file mode 100644 index 0000000000..1452de2af4 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/projectsv2item_edited.json @@ -0,0 +1,77 @@ +{ + "action": "edited", + "projects_v2_item": { + "id": 8083254, + "node_id": "PVTI_lADOBNft-M4AEjBWzgB7VzY", + "project_node_id": "PVT_kwDOBNft-M4AEjBW", + "content_node_id": "I_kwDOFOkjw85Ozz26", + "content_type": "Issue", + "creator": { + "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 + }, + "created_at": "2022-08-03T13:07:08Z", + "updated_at": "2022-08-03T13:07:13Z", + "archived_at": null + }, + "changes": { + "field_value": { + "field_node_id": "PVTF_lADOBNft-M4AEjBWzgCnp5Q", + "field_type": "single_select" + } + }, + "organization": { + "login": "gsmet-bot-playground", + "id": 81260024, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjgxMjYwMDI0", + "url": "https://api.github.com/orgs/gsmet-bot-playground", + "repos_url": "https://api.github.com/orgs/gsmet-bot-playground/repos", + "events_url": "https://api.github.com/orgs/gsmet-bot-playground/events", + "hooks_url": "https://api.github.com/orgs/gsmet-bot-playground/hooks", + "issues_url": "https://api.github.com/orgs/gsmet-bot-playground/issues", + "members_url": "https://api.github.com/orgs/gsmet-bot-playground/members{/member}", + "public_members_url": "https://api.github.com/orgs/gsmet-bot-playground/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/81260024?v=4", + "description": null + }, + "sender": { + "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 + }, + "installation": { + "id": 16779846, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTY3Nzk4NDY=" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/projectsv2item_reordered.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/projectsv2item_reordered.json new file mode 100644 index 0000000000..54d100e869 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/projectsv2item_reordered.json @@ -0,0 +1,77 @@ +{ + "action": "reordered", + "projects_v2_item": { + "id": 8083794, + "node_id": "PVTI_lADOBNft-M4AEjBWzgB7WVI", + "project_node_id": "PVT_kwDOBNft-M4AEjBW", + "content_node_id": "I_kwDOFOkjw85OzN4w", + "content_type": "Issue", + "creator": { + "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 + }, + "created_at": "2022-08-03T13:13:51Z", + "updated_at": "2022-08-03T13:13:59Z", + "archived_at": null + }, + "changes": { + "previous_projects_v2_item_node_id": { + "from": "PVTI_lADOBNft-M4AEjBWzgB7VzY", + "to": "PVTI_lADOBNft-M4AEjBWzgB7VzY" + } + }, + "organization": { + "login": "gsmet-bot-playground", + "id": 81260024, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjgxMjYwMDI0", + "url": "https://api.github.com/orgs/gsmet-bot-playground", + "repos_url": "https://api.github.com/orgs/gsmet-bot-playground/repos", + "events_url": "https://api.github.com/orgs/gsmet-bot-playground/events", + "hooks_url": "https://api.github.com/orgs/gsmet-bot-playground/hooks", + "issues_url": "https://api.github.com/orgs/gsmet-bot-playground/issues", + "members_url": "https://api.github.com/orgs/gsmet-bot-playground/members{/member}", + "public_members_url": "https://api.github.com/orgs/gsmet-bot-playground/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/81260024?v=4", + "description": null + }, + "sender": { + "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 + }, + "installation": { + "id": 16779846, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTY3Nzk4NDY=" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/projectsv2item_restored.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/projectsv2item_restored.json new file mode 100644 index 0000000000..cce852514f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/projectsv2item_restored.json @@ -0,0 +1,77 @@ +{ + "action": "restored", + "projects_v2_item": { + "id": 8083254, + "node_id": "PVTI_lADOBNft-M4AEjBWzgB7VzY", + "project_node_id": "PVT_kwDOBNft-M4AEjBW", + "content_node_id": "I_kwDOFOkjw85Ozz26", + "content_type": "Issue", + "creator": { + "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 + }, + "created_at": "2022-08-03T13:07:08Z", + "updated_at": "2022-08-03T13:13:39Z", + "archived_at": null + }, + "changes": { + "archived_at": { + "from": "2022-08-03T15:09:02+02:00", + "to": null + } + }, + "organization": { + "login": "gsmet-bot-playground", + "id": 81260024, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjgxMjYwMDI0", + "url": "https://api.github.com/orgs/gsmet-bot-playground", + "repos_url": "https://api.github.com/orgs/gsmet-bot-playground/repos", + "events_url": "https://api.github.com/orgs/gsmet-bot-playground/events", + "hooks_url": "https://api.github.com/orgs/gsmet-bot-playground/hooks", + "issues_url": "https://api.github.com/orgs/gsmet-bot-playground/issues", + "members_url": "https://api.github.com/orgs/gsmet-bot-playground/members{/member}", + "public_members_url": "https://api.github.com/orgs/gsmet-bot-playground/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/81260024?v=4", + "description": null + }, + "sender": { + "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 + }, + "installation": { + "id": 16779846, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTY3Nzk4NDY=" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/starred.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/starred.json new file mode 100644 index 0000000000..14da1ff3cf --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/starred.json @@ -0,0 +1,126 @@ +{ + "action": "created", + "starred_at": "2022-05-31T17:24:36Z", + "repository": { + "id": 313384129, + "node_id": "MDEwOlJlcG9zaXRvcnkzMTMzODQxMjk=", + "name": "quarkus-bot-java-playground", + "full_name": "gsmet/quarkus-bot-java-playground", + "private": false, + "owner": { + "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 + }, + "html_url": "https://github.com/gsmet/quarkus-bot-java-playground", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground", + "forks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/forks", + "keys_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/teams", + "hooks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/hooks", + "issue_events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/events{/number}", + "events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/events", + "assignees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/assignees{/user}", + "branches_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/branches{/branch}", + "tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/tags", + "blobs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/statuses/{sha}", + "languages_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/languages", + "stargazers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/stargazers", + "contributors_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contributors", + "subscribers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscribers", + "subscription_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscription", + "commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contents/{+path}", + "compare_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/merges", + "archive_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/downloads", + "issues_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues{/number}", + "pulls_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/pulls{/number}", + "milestones_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/milestones{/number}", + "notifications_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/labels{/name}", + "releases_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/releases{/id}", + "deployments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/deployments", + "created_at": "2020-11-16T17:55:53Z", + "updated_at": "2022-05-31T17:24:36Z", + "pushed_at": "2022-05-30T10:55:11Z", + "git_url": "git://github.com/gsmet/quarkus-bot-java-playground.git", + "ssh_url": "git@github.com:gsmet/quarkus-bot-java-playground.git", + "clone_url": "https://github.com/gsmet/quarkus-bot-java-playground.git", + "svn_url": "https://github.com/gsmet/quarkus-bot-java-playground", + "homepage": null, + "size": 89, + "stargazers_count": 1, + "watchers_count": 1, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 36, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 2, + "open_issues": 36, + "watchers": 1, + "default_branch": "main" + }, + "sender": { + "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 + }, + "installation": { + "id": 13005535, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTMwMDU1MzU=" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/InstallationEvent/__files/repos_octocat_hello-world-1.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/InstallationEvent/__files/repos_octocat_hello-world-1.json new file mode 100644 index 0000000000..fd3c1ce7ca --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/InstallationEvent/__files/repos_octocat_hello-world-1.json @@ -0,0 +1,108 @@ +{ + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "private": false, + "owner": { + "login": "octocat", + "id": 583231, + "node_id": "MDQ6VXNlcjU4MzIzMQ==", + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/octocat/Hello-World", + "description": "My first repository on GitHub!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "created_at": "2011-01-26T19:01:12Z", + "updated_at": "2022-02-03T00:06:57Z", + "pushed_at": "2022-01-30T18:13:40Z", + "git_url": "git://github.com/octocat/Hello-World.git", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "clone_url": "https://github.com/octocat/Hello-World.git", + "svn_url": "https://github.com/octocat/Hello-World", + "homepage": "", + "size": 1, + "stargazers_count": 1764, + "watchers_count": 1764, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1682, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 802, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 1682, + "open_issues": 802, + "watchers": 1764, + "default_branch": "master", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "temp_clone_token": "", + "network_count": 1682, + "subscribers_count": 1731 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/InstallationEvent/__files/users_octocat-2.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/InstallationEvent/__files/users_octocat-2.json new file mode 100644 index 0000000000..2652766fa8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/InstallationEvent/__files/users_octocat-2.json @@ -0,0 +1,34 @@ +{ + "login": "octocat", + "id": 583231, + "node_id": "MDQ6VXNlcjU4MzIzMQ==", + "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "name": "The Octocat", + "company": "@github", + "blog": "https://github.blog", + "location": "San Francisco", + "email": "octocat@github.com", + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 8, + "public_gists": 8, + "followers": 4752, + "following": 9, + "created_at": "2011-01-25T18:44:36Z", + "updated_at": "2022-01-24T15:08:43Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/InstallationEvent/mappings/repos_octocat_hello-world-1.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/InstallationEvent/mappings/repos_octocat_hello-world-1.json new file mode 100644 index 0000000000..942435fa56 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/InstallationEvent/mappings/repos_octocat_hello-world-1.json @@ -0,0 +1,47 @@ +{ + "id": "825b1b2a-1bcf-4273-9204-54f989479669", + "name": "repos_octocat_hello-world", + "request": { + "url": "/repos/octocat/Hello-World", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.baptiste-preview+json, application/vnd.github.nebula-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_octocat_hello-world-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 03 Feb 2022 14:07:49 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"54ebfbf708e274f11202ea42a54ccb98955c89b119059c79c8f1bf7e76126198\"", + "Last-Modified": "Thu, 03 Feb 2022 00:06:57 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; param=baptiste-preview.nebula-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4999", + "X-RateLimit-Reset": "1643900869", + "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": "AD00:CEBF:18E9BF0:19A3623:61FBE1B5" + } + }, + "uuid": "825b1b2a-1bcf-4273-9204-54f989479669", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/InstallationEvent/mappings/users_octocat-2.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/InstallationEvent/mappings/users_octocat-2.json new file mode 100644 index 0000000000..3a64fa2112 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/InstallationEvent/mappings/users_octocat-2.json @@ -0,0 +1,47 @@ +{ + "id": "a801936f-7ec1-4f5a-8e1a-999cff08aec8", + "name": "users_octocat", + "request": { + "url": "/users/octocat", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "users_octocat-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 03 Feb 2022 14:09: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/\"6b9192ff77357b29af6623ef400f86c862e7b184905220e1f1d09cfd0a545d37\"", + "Last-Modified": "Mon, 24 Jan 2022 15:08:43 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": "4998", + "X-RateLimit-Reset": "1643900869", + "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": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "AD02:CC9B:2A1ACBB:2AF0199:61FBE209" + } + }, + "uuid": "a801936f-7ec1-4f5a-8e1a-999cff08aec8", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/__files/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/__files/repos_hub4j-test-org_github-api-2.json index b3ae4b16b1..e703d6c901 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/__files/repos_hub4j-test-org_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/__files/repos_hub4j-test-org_github-api-2.json @@ -331,4 +331,4 @@ }, "network_count": 478, "subscribers_count": 0 -} +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/mappings/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/mappings/repos_hub4j-test-org_github-api-2.json index fda1bcb640..5335fe6f4c 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/mappings/repos_hub4j-test-org_github-api-2.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/wiremock/pushToFork/mappings/repos_hub4j-test-org_github-api-2.json @@ -44,4 +44,4 @@ "uuid": "90aa0017-3f50-4829-bda4-6531fbcfba60", "persistent": true, "insertionIndex": 2 -} +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/workflow_job.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/workflow_job.json new file mode 100644 index 0000000000..b511765106 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/workflow_job.json @@ -0,0 +1,190 @@ +{ + "action": "completed", + "workflow_job": { + "id": 6653410527, + "run_id": 2408553341, + "run_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/2408553341", + "run_attempt": 1, + "node_id": "CR_kwDOEq3cwc8AAAABjJL83w", + "head_sha": "5dd2dadfbdc2a722c08a8ad42ae4e26e3e731042", + "url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/jobs/6653410527", + "html_url": "https://github.com/gsmet/quarkus-bot-java-playground/runs/6653410527?check_suite_focus=true", + "status": "completed", + "conclusion": "failure", + "started_at": "2022-05-30T10:55:25Z", + "completed_at": "2022-05-30T10:55:57Z", + "name": "JVM Tests - JDK JDK16", + "steps": [ + { + "name": "Set up job", + "status": "completed", + "conclusion": "success", + "number": 1, + "started_at": "2022-05-30T10:55:25.000Z", + "completed_at": "2022-05-30T10:55:27.000Z" + }, + { + "name": "Run actions/checkout@v2", + "status": "completed", + "conclusion": "success", + "number": 2, + "started_at": "2022-05-30T10:55:27.000Z", + "completed_at": "2022-05-30T10:55:27.000Z" + }, + { + "name": "Build with Maven", + "status": "completed", + "conclusion": "failure", + "number": 4, + "started_at": "2022-05-30T10:55:35.000Z", + "completed_at": "2022-05-30T10:55:55.000Z" + }, + { + "name": "Post Run actions/checkout@v2", + "status": "completed", + "conclusion": "success", + "number": 10, + "started_at": "2022-05-30T10:55:55.000Z", + "completed_at": "2022-05-30T10:55:56.000Z" + }, + { + "name": "Complete job", + "status": "completed", + "conclusion": "success", + "number": 11, + "started_at": "2022-05-30T10:55:56.000Z", + "completed_at": "2022-05-30T10:55:56.000Z" + } + ], + "check_run_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/check-runs/6653410527", + "labels": [ + "ubuntu-latest" + ], + "runner_id": 10, + "runner_name": "GitHub Actions 10", + "runner_group_id": 2, + "runner_group_name": "GitHub Actions" + }, + "repository": { + "id": 313384129, + "node_id": "MDEwOlJlcG9zaXRvcnkzMTMzODQxMjk=", + "name": "quarkus-bot-java-playground", + "full_name": "gsmet/quarkus-bot-java-playground", + "private": false, + "owner": { + "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 + }, + "html_url": "https://github.com/gsmet/quarkus-bot-java-playground", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground", + "forks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/forks", + "keys_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/teams", + "hooks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/hooks", + "issue_events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/events{/number}", + "events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/events", + "assignees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/assignees{/user}", + "branches_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/branches{/branch}", + "tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/tags", + "blobs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/statuses/{sha}", + "languages_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/languages", + "stargazers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/stargazers", + "contributors_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contributors", + "subscribers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscribers", + "subscription_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscription", + "commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contents/{+path}", + "compare_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/merges", + "archive_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/downloads", + "issues_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues{/number}", + "pulls_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/pulls{/number}", + "milestones_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/milestones{/number}", + "notifications_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/labels{/name}", + "releases_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/releases{/id}", + "deployments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/deployments", + "created_at": "2020-11-16T17:55:53Z", + "updated_at": "2021-12-22T17:20:52Z", + "pushed_at": "2022-05-30T10:55:11Z", + "git_url": "git://github.com/gsmet/quarkus-bot-java-playground.git", + "ssh_url": "git@github.com:gsmet/quarkus-bot-java-playground.git", + "clone_url": "https://github.com/gsmet/quarkus-bot-java-playground.git", + "svn_url": "https://github.com/gsmet/quarkus-bot-java-playground", + "homepage": null, + "size": 88, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 2, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 36, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 2, + "open_issues": 36, + "watchers": 0, + "default_branch": "main" + }, + "sender": { + "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 + }, + "installation": { + "id": 13005535, + "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTMwMDU1MzU=" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/workflow_run.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/workflow_run.json index 1e4f2d6ef0..ee19155035 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/workflow_run.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/workflow_run.json @@ -6,6 +6,7 @@ "node_id": "MDExOldvcmtmbG93UnVuNjgwNjA0NzQ1", "head_branch": "main", "head_sha": "dbea8d8b6ed2cf764dfd84a215f3f9040b3d4423", + "display_title": "its-display-title", "run_number": 6, "event": "workflow_dispatch", "status": "completed", @@ -18,6 +19,8 @@ "pull_requests": [], "created_at": "2021-03-23T18:35:26Z", "updated_at": "2021-03-23T18:35:43Z", + "run_attempt": 1, + "run_started_at": "2021-03-23T18:35:26Z", "jobs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680604745/jobs", "logs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680604745/logs", "check_suite_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/check-suites/2327154397", @@ -304,4 +307,4 @@ "id": 13005535, "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTMwMDU1MzU=" } -} \ No newline at end of file +} diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..fb24d5d8ff --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,62 @@ +{ + "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": 53, + "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": 5, + "owned_private_repos": 5, + "private_gists": 0, + "disk_usage": 11980, + "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, + "web_commit_signoff_required": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 39, + "seats": 3 + }, + "advanced_security_enabled_for_new_repositories": false, + "dependabot_alerts_enabled_for_new_repositories": false, + "dependabot_security_updates_enabled_for_new_repositories": false, + "dependency_graph_enabled_for_new_repositories": false, + "secret_scanning_enabled_for_new_repositories": false, + "secret_scanning_push_protection_enabled_for_new_repositories": false +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/__files/repos_hub4j-test-org_ghissuetest-3.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/__files/repos_hub4j-test-org_ghissuetest-3.json new file mode 100644 index 0000000000..1cf04d6c07 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/__files/repos_hub4j-test-org_ghissuetest-3.json @@ -0,0 +1,140 @@ +{ + "id": 539903172, + "node_id": "R_kgDOIC5ExA", + "name": "GHIssueTest", + "full_name": "hub4j-test-org/GHIssueTest", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHIssueTest", + "description": "Repository used by GHIssueTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/deployments", + "created_at": "2022-09-22T09:33:05Z", + "updated_at": "2022-09-22T09:33:16Z", + "pushed_at": "2022-09-22T09:33:05Z", + "git_url": "git://github.com/hub4j-test-org/GHIssueTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHIssueTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHIssueTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHIssueTest", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "AADEZTXQCFHZ364O4YRVRITDFQZIY", + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/__files/repos_hub4j-test-org_ghissuetest_issues-4.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/__files/repos_hub4j-test-org_ghissuetest_issues-4.json new file mode 100644 index 0000000000..38fafe1e40 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/__files/repos_hub4j-test-org_ghissuetest_issues-4.json @@ -0,0 +1,61 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/5", + "repository_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/5/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/5/comments", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/5/events", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/5", + "id": 1382170906, + "node_id": "I_kwDOIC5ExM5SYkEa", + "number": 5, + "title": "addLabels", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2022-09-22T09:56:49Z", + "updated_at": "2022-09-22T09:56:49Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "## test", + "closed_by": null, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/5/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/5/timeline", + "performed_via_github_app": null, + "state_reason": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/__files/repos_hub4j-test-org_ghissuetest_issues_5_labels-6.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/__files/repos_hub4j-test-org_ghissuetest_issues_5_labels-6.json new file mode 100644 index 0000000000..24eedc0b5e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/__files/repos_hub4j-test-org_ghissuetest_issues_5_labels-6.json @@ -0,0 +1,29 @@ +[ + { + "id": 4563124459, + "node_id": "LA_kwDOIC5ExM8AAAABD_vA6w", + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels/addLabels_label_name_1", + "name": "addLabels_label_name_1", + "color": "ededed", + "default": false, + "description": null + }, + { + "id": 4563124522, + "node_id": "LA_kwDOIC5ExM8AAAABD_vBKg", + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels/addLabels_label_name_2", + "name": "addLabels_label_name_2", + "color": "ededed", + "default": false, + "description": null + }, + { + "id": 4563124523, + "node_id": "LA_kwDOIC5ExM8AAAABD_vBKw", + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels/addLabels_label_name_3", + "name": "addLabels_label_name_3", + "color": "ededed", + "default": false, + "description": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/__files/repos_hub4j-test-org_ghissuetest_issues_5_labels-7.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/__files/repos_hub4j-test-org_ghissuetest_issues_5_labels-7.json new file mode 100644 index 0000000000..24eedc0b5e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/__files/repos_hub4j-test-org_ghissuetest_issues_5_labels-7.json @@ -0,0 +1,29 @@ +[ + { + "id": 4563124459, + "node_id": "LA_kwDOIC5ExM8AAAABD_vA6w", + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels/addLabels_label_name_1", + "name": "addLabels_label_name_1", + "color": "ededed", + "default": false, + "description": null + }, + { + "id": 4563124522, + "node_id": "LA_kwDOIC5ExM8AAAABD_vBKg", + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels/addLabels_label_name_2", + "name": "addLabels_label_name_2", + "color": "ededed", + "default": false, + "description": null + }, + { + "id": 4563124523, + "node_id": "LA_kwDOIC5ExM8AAAABD_vBKw", + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels/addLabels_label_name_3", + "name": "addLabels_label_name_3", + "color": "ededed", + "default": false, + "description": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/__files/user-1.json new file mode 100644 index 0000000000..d7c2d82c84 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/__files/user-1.json @@ -0,0 +1,34 @@ +{ + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false, + "name": "Yoann Rodière", + "company": "Red Hat - @hibernate", + "blog": "", + "location": null, + "email": "yoann@hibernate.org", + "hireable": null, + "bio": "Hibernate Search lead developer", + "twitter_username": "yoannrodiere", + "public_repos": 132, + "public_gists": 16, + "followers": 41, + "following": 4, + "created_at": "2010-09-23T12:31:20Z", + "updated_at": "2022-09-20T13:34:03Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..79ef9b4ed6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,48 @@ +{ + "id": "3fbdf35c-3b7e-414b-a64e-81dc05b9aa11", + "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": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:48 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"0df75ca805091aca7020aeb149b53e299f6cfffce78a580ed3deee76f28c5fa3\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4873", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "127", + "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": "E5B5:AA4E:97D547C:9A11CB4:632C3160" + } + }, + "uuid": "3fbdf35c-3b7e-414b-a64e-81dc05b9aa11", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/mappings/repos_hub4j-test-org_ghissuetest-3.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/mappings/repos_hub4j-test-org_ghissuetest-3.json new file mode 100644 index 0000000000..6215a05a86 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/mappings/repos_hub4j-test-org_ghissuetest-3.json @@ -0,0 +1,48 @@ +{ + "id": "c482fc82-e5e3-4d86-9b19-868472655aad", + "name": "repos_hub4j-test-org_ghissuetest", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:48 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8e10bee2591b68b18878b39ccb1142181efd7af87933d8051a0f887f3e2d7ab4\"", + "Last-Modified": "Thu, 22 Sep 2022 09:33:16 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4872", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "128", + "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": "D211:5D3D:A238C47:A47972A:632C3160" + } + }, + "uuid": "c482fc82-e5e3-4d86-9b19-868472655aad", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json new file mode 100644 index 0000000000..11e5a3c046 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json @@ -0,0 +1,55 @@ +{ + "id": "9d3c503c-5053-4466-853e-69e1bd3d8702", + "name": "repos_hub4j-test-org_ghissuetest_issues", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"assignees\":[],\"title\":\"addLabels\",\"body\":\"## test\",\"labels\":[]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:49 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"30bb891c883e47c2d23757ef3e90614e1526cf4f68b6b9496e94c261dc5dc502\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4871", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "129", + "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": "EC52:2C44:972736B:995F490:632C3160", + "Location": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/5" + } + }, + "uuid": "9d3c503c-5053-4466-853e-69e1bd3d8702", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_5_labels-5.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_5_labels-5.json new file mode 100644 index 0000000000..c026133adb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_5_labels-5.json @@ -0,0 +1,57 @@ +{ + "id": "29f74017-4392-4702-88db-a3d1170c0ead", + "name": "repos_hub4j-test-org_ghissuetest_issues_5_labels", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/5/labels", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"labels\":[\"addLabels_label_name_1\"]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 200, + "body": "[{\"id\":4563124459,\"node_id\":\"LA_kwDOIC5ExM8AAAABD_vA6w\",\"url\":\"https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels/addLabels_label_name_1\",\"name\":\"addLabels_label_name_1\",\"color\":\"ededed\",\"default\":false,\"description\":null}]", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:49 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8dd45248ecbe504cead8f206c42aa9b45703454d518860db6d930e804ec2cec3\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4870", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "130", + "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": "EC2C:A95E:64D4707:6667696:632C3161" + } + }, + "uuid": "29f74017-4392-4702-88db-a3d1170c0ead", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest-issues-5-labels", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-issues-5-labels-2", + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_5_labels-6.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_5_labels-6.json new file mode 100644 index 0000000000..c2ee44812e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_5_labels-6.json @@ -0,0 +1,54 @@ +{ + "id": "90c2617f-6a63-4f07-b6b7-f4159e05280d", + "name": "repos_hub4j-test-org_ghissuetest_issues_5_labels", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/5/labels", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"labels\":[\"addLabels_label_name_2\",\"addLabels_label_name_3\"]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_5_labels-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:51 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/\"963752c47cedb1279c3660a27d41c73fcee070c6e07aed68bf6cc60cc6690cd1\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4869", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "131", + "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": "DBC6:8EE4:DB507C:DF0A21:632C3162" + } + }, + "uuid": "90c2617f-6a63-4f07-b6b7-f4159e05280d", + "persistent": true, + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_5_labels-7.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_5_labels-7.json new file mode 100644 index 0000000000..68b0cba470 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_5_labels-7.json @@ -0,0 +1,56 @@ +{ + "id": "dee9d6fe-da81-4107-a9ad-c206543957c7", + "name": "repos_hub4j-test-org_ghissuetest_issues_5_labels", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/5/labels", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"labels\":[\"addLabels_label_name_1\"]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_5_labels-7.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:51 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/\"963752c47cedb1279c3660a27d41c73fcee070c6e07aed68bf6cc60cc6690cd1\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4868", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "132", + "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": "CBA0:9FDD:4C36874:4D6F2E7:632C3163" + } + }, + "uuid": "dee9d6fe-da81-4107-a9ad-c206543957c7", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest-issues-5-labels", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-issues-5-labels-2", + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/mappings/user-1.json new file mode 100644 index 0000000000..13283cb2af --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabels/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "4215097b-a17d-4557-ad75-b2d8a4ff58fd", + "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": "Thu, 22 Sep 2022 09:56:47 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"e4669ecab8bdeda8b7492722df3f08cf77ae22ef90272d5f19c438e11c436d56\"", + "Last-Modified": "Tue, 20 Sep 2022 13:34:03 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4878", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "122", + "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": "EA0A:33AC:A6FAC0A:A9361DE:632C315E" + } + }, + "uuid": "4215097b-a17d-4557-ad75-b2d8a4ff58fd", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..fb24d5d8ff --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,62 @@ +{ + "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": 53, + "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": 5, + "owned_private_repos": 5, + "private_gists": 0, + "disk_usage": 11980, + "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, + "web_commit_signoff_required": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 39, + "seats": 3 + }, + "advanced_security_enabled_for_new_repositories": false, + "dependabot_alerts_enabled_for_new_repositories": false, + "dependabot_security_updates_enabled_for_new_repositories": false, + "dependency_graph_enabled_for_new_repositories": false, + "secret_scanning_enabled_for_new_repositories": false, + "secret_scanning_push_protection_enabled_for_new_repositories": false +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_ghissuetest-3.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_ghissuetest-3.json new file mode 100644 index 0000000000..0bd68af233 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_ghissuetest-3.json @@ -0,0 +1,140 @@ +{ + "id": 539903172, + "node_id": "R_kgDOIC5ExA", + "name": "GHIssueTest", + "full_name": "hub4j-test-org/GHIssueTest", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHIssueTest", + "description": "Repository used by GHIssueTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/deployments", + "created_at": "2022-09-22T09:33:05Z", + "updated_at": "2022-09-22T09:33:16Z", + "pushed_at": "2022-09-22T09:33:05Z", + "git_url": "git://github.com/hub4j-test-org/GHIssueTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHIssueTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHIssueTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHIssueTest", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "AADEZTWWXKL6OZOIJEABRBDDFQZK2", + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_ghissuetest-5.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_ghissuetest-5.json new file mode 100644 index 0000000000..72374fab2c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_ghissuetest-5.json @@ -0,0 +1,140 @@ +{ + "id": 539903172, + "node_id": "R_kgDOIC5ExA", + "name": "GHIssueTest", + "full_name": "hub4j-test-org/GHIssueTest", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHIssueTest", + "description": "Repository used by GHIssueTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/deployments", + "created_at": "2022-09-22T09:33:05Z", + "updated_at": "2022-09-22T09:33:16Z", + "pushed_at": "2022-09-22T09:33:05Z", + "git_url": "git://github.com/hub4j-test-org/GHIssueTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHIssueTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHIssueTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHIssueTest", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "AADEZTRBCE6X3LYNJUZSQYDDFQZK4", + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_ghissuetest_issues-4.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_ghissuetest_issues-4.json new file mode 100644 index 0000000000..c694a5c5b3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_ghissuetest_issues-4.json @@ -0,0 +1,61 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/10", + "repository_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/10/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/10/comments", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/10/events", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/10", + "id": 1382171684, + "node_id": "I_kwDOIC5ExM5SYkQk", + "number": 10, + "title": "addLabelsConcurrencyIssue", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2022-09-22T09:57:22Z", + "updated_at": "2022-09-22T09:57:22Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "## test", + "closed_by": null, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/10/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/10/timeline", + "performed_via_github_app": null, + "state_reason": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_ghissuetest_issues_10-6.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_ghissuetest_issues_10-6.json new file mode 100644 index 0000000000..c694a5c5b3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_ghissuetest_issues_10-6.json @@ -0,0 +1,61 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/10", + "repository_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/10/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/10/comments", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/10/events", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/10", + "id": 1382171684, + "node_id": "I_kwDOIC5ExM5SYkQk", + "number": 10, + "title": "addLabelsConcurrencyIssue", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2022-09-22T09:57:22Z", + "updated_at": "2022-09-22T09:57:22Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "## test", + "closed_by": null, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/10/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/10/timeline", + "performed_via_github_app": null, + "state_reason": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_ghissuetest_issues_10_labels-7.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_ghissuetest_issues_10_labels-7.json new file mode 100644 index 0000000000..2cc5202394 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_ghissuetest_issues_10_labels-7.json @@ -0,0 +1,11 @@ +[ + { + "id": 4563126475, + "node_id": "LA_kwDOIC5ExM8AAAABD_vIyw", + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels/addLabelsConcurrencyIssue_label_name_2", + "name": "addLabelsConcurrencyIssue_label_name_2", + "color": "ededed", + "default": false, + "description": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_ghissuetest_issues_10_labels-8.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_ghissuetest_issues_10_labels-8.json new file mode 100644 index 0000000000..be3a390c2e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/repos_hub4j-test-org_ghissuetest_issues_10_labels-8.json @@ -0,0 +1,20 @@ +[ + { + "id": 4563126475, + "node_id": "LA_kwDOIC5ExM8AAAABD_vIyw", + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels/addLabelsConcurrencyIssue_label_name_2", + "name": "addLabelsConcurrencyIssue_label_name_2", + "color": "ededed", + "default": false, + "description": null + }, + { + "id": 4563126503, + "node_id": "LA_kwDOIC5ExM8AAAABD_vI5w", + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels/addLabelsConcurrencyIssue_label_name_1", + "name": "addLabelsConcurrencyIssue_label_name_1", + "color": "ededed", + "default": false, + "description": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/user-1.json new file mode 100644 index 0000000000..d7c2d82c84 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/__files/user-1.json @@ -0,0 +1,34 @@ +{ + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false, + "name": "Yoann Rodière", + "company": "Red Hat - @hibernate", + "blog": "", + "location": null, + "email": "yoann@hibernate.org", + "hireable": null, + "bio": "Hibernate Search lead developer", + "twitter_username": "yoannrodiere", + "public_repos": 132, + "public_gists": 16, + "followers": 41, + "following": 4, + "created_at": "2010-09-23T12:31:20Z", + "updated_at": "2022-09-20T13:34:03Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..9fa88ca501 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,48 @@ +{ + "id": "e2665a26-bc4b-47e8-b13c-23ca40cb97bf", + "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": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:57:21 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"0df75ca805091aca7020aeb149b53e299f6cfffce78a580ed3deee76f28c5fa3\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4804", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "196", + "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": "C97E:DF11:9B5689F:9D94C10:632C3180" + } + }, + "uuid": "e2665a26-bc4b-47e8-b13c-23ca40cb97bf", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_ghissuetest-3.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_ghissuetest-3.json new file mode 100644 index 0000000000..b0f6f7a669 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_ghissuetest-3.json @@ -0,0 +1,51 @@ +{ + "id": "aef62a6f-fdeb-478c-9e46-ebed01d04313", + "name": "repos_hub4j-test-org_ghissuetest", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:57:21 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8e10bee2591b68b18878b39ccb1142181efd7af87933d8051a0f887f3e2d7ab4\"", + "Last-Modified": "Thu, 22 Sep 2022 09:33:16 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4803", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "197", + "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": "C980:0BB5:90FD042:933577B:632C3181" + } + }, + "uuid": "aef62a6f-fdeb-478c-9e46-ebed01d04313", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-2", + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_ghissuetest-5.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_ghissuetest-5.json new file mode 100644 index 0000000000..d2cc23c281 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_ghissuetest-5.json @@ -0,0 +1,50 @@ +{ + "id": "9d790305-7e62-4ac6-b087-5b9b29b8d578", + "name": "repos_hub4j-test-org_ghissuetest", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest-5.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:57: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/\"8e10bee2591b68b18878b39ccb1142181efd7af87933d8051a0f887f3e2d7ab4\"", + "Last-Modified": "Thu, 22 Sep 2022 09:33:16 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4801", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "199", + "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": "C992:5420:9414A95:964F376:632C3182" + } + }, + "uuid": "9d790305-7e62-4ac6-b087-5b9b29b8d578", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-2", + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json new file mode 100644 index 0000000000..19315fb58c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json @@ -0,0 +1,55 @@ +{ + "id": "aa7d9bfd-8278-4e7c-9c77-f01cf6e1d035", + "name": "repos_hub4j-test-org_ghissuetest_issues", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"assignees\":[],\"title\":\"addLabelsConcurrencyIssue\",\"body\":\"## test\",\"labels\":[]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:57: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": "\"cc5a3f28118dcdbc63fa1da7ec8666e8a6cf9aa3c0304f28f7bb5861485ce250\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4802", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "198", + "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": "C986:5103:940A302:9645AD3:632C3181", + "Location": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/10" + } + }, + "uuid": "aa7d9bfd-8278-4e7c-9c77-f01cf6e1d035", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_ghissuetest_issues_10-6.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_ghissuetest_issues_10-6.json new file mode 100644 index 0000000000..8477af0ed4 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_ghissuetest_issues_10-6.json @@ -0,0 +1,48 @@ +{ + "id": "2dfa9293-1396-4e30-9ab3-b516e5c6882d", + "name": "repos_hub4j-test-org_ghissuetest_issues_10", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/10", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_10-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:57: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/\"cc5a3f28118dcdbc63fa1da7ec8666e8a6cf9aa3c0304f28f7bb5861485ce250\"", + "Last-Modified": "Thu, 22 Sep 2022 09:57:22 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4800", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "200", + "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": "C9A2:DF11:9B57082:9D95418:632C3182" + } + }, + "uuid": "2dfa9293-1396-4e30-9ab3-b516e5c6882d", + "persistent": true, + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_ghissuetest_issues_10_labels-7.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_ghissuetest_issues_10_labels-7.json new file mode 100644 index 0000000000..45cc94106a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_ghissuetest_issues_10_labels-7.json @@ -0,0 +1,54 @@ +{ + "id": "28cef0cb-6da3-412e-9a9f-93cfac7dba50", + "name": "repos_hub4j-test-org_ghissuetest_issues_10_labels", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/10/labels", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"labels\":[\"addLabelsConcurrencyIssue_label_name_2\"]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_10_labels-7.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:57: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/\"42f810a175a4ecef5865726bbc90f788ed716921301b2688a9bbdb7e48276804\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4799", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "201", + "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": "C9A4:10DC3:A23569B:A479B90:632C3183" + } + }, + "uuid": "28cef0cb-6da3-412e-9a9f-93cfac7dba50", + "persistent": true, + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_ghissuetest_issues_10_labels-8.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_ghissuetest_issues_10_labels-8.json new file mode 100644 index 0000000000..5fd60286d1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/repos_hub4j-test-org_ghissuetest_issues_10_labels-8.json @@ -0,0 +1,54 @@ +{ + "id": "78395e6e-a580-49fa-a023-e58e7d23363a", + "name": "repos_hub4j-test-org_ghissuetest_issues_10_labels", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/10/labels", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"labels\":[\"addLabelsConcurrencyIssue_label_name_1\"]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_10_labels-8.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:57: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/\"1cfee8eaa75ffb3d4985a457cc965eda11427e39b7b0ad2d6dca9de72015d230\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4798", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "202", + "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": "C9AC:644B:3C6B3D8:3D6CAD9:632C3184" + } + }, + "uuid": "78395e6e-a580-49fa-a023-e58e7d23363a", + "persistent": true, + "insertionIndex": 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/user-1.json new file mode 100644 index 0000000000..e8271ab4cb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/addLabelsConcurrencyIssue/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "cad9bdc7-fa9d-4fc8-a5ac-53d8132a9e94", + "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": "Thu, 22 Sep 2022 09:57: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/\"e4669ecab8bdeda8b7492722df3f08cf77ae22ef90272d5f19c438e11c436d56\"", + "Last-Modified": "Tue, 20 Sep 2022 13:34:03 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4809", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "191", + "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": "C974:33AC:A703F09:A93F6F0:632C317F" + } + }, + "uuid": "cad9bdc7-fa9d-4fc8-a5ac-53d8132a9e94", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..fb24d5d8ff --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,62 @@ +{ + "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": 53, + "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": 5, + "owned_private_repos": 5, + "private_gists": 0, + "disk_usage": 11980, + "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, + "web_commit_signoff_required": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 39, + "seats": 3 + }, + "advanced_security_enabled_for_new_repositories": false, + "dependabot_alerts_enabled_for_new_repositories": false, + "dependabot_security_updates_enabled_for_new_repositories": false, + "dependency_graph_enabled_for_new_repositories": false, + "secret_scanning_enabled_for_new_repositories": false, + "secret_scanning_push_protection_enabled_for_new_repositories": false +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/repos_hub4j-test-org_ghissuetest-3.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/repos_hub4j-test-org_ghissuetest-3.json new file mode 100644 index 0000000000..c0fcaa9e3c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/repos_hub4j-test-org_ghissuetest-3.json @@ -0,0 +1,140 @@ +{ + "id": 539903172, + "node_id": "R_kgDOIC5ExA", + "name": "GHIssueTest", + "full_name": "hub4j-test-org/GHIssueTest", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHIssueTest", + "description": "Repository used by GHIssueTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/deployments", + "created_at": "2022-09-22T09:33:05Z", + "updated_at": "2022-09-22T09:33:16Z", + "pushed_at": "2022-09-22T09:33:05Z", + "git_url": "git://github.com/hub4j-test-org/GHIssueTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHIssueTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHIssueTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHIssueTest", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "AADEZTTNCRTRVWBLX5DQ423DFQZHS", + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/repos_hub4j-test-org_ghissuetest-5.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/repos_hub4j-test-org_ghissuetest-5.json new file mode 100644 index 0000000000..31b3e7433c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/repos_hub4j-test-org_ghissuetest-5.json @@ -0,0 +1,140 @@ +{ + "id": 539903172, + "node_id": "R_kgDOIC5ExA", + "name": "GHIssueTest", + "full_name": "hub4j-test-org/GHIssueTest", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHIssueTest", + "description": "Repository used by GHIssueTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/deployments", + "created_at": "2022-09-22T09:33:05Z", + "updated_at": "2022-09-22T09:33:16Z", + "pushed_at": "2022-09-22T09:33:05Z", + "git_url": "git://github.com/hub4j-test-org/GHIssueTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHIssueTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHIssueTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHIssueTest", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "AADEZTU2IPJVGSA7MDTBYYLDFQZHU", + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/repos_hub4j-test-org_ghissuetest-8.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/repos_hub4j-test-org_ghissuetest-8.json new file mode 100644 index 0000000000..f19253b086 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/repos_hub4j-test-org_ghissuetest-8.json @@ -0,0 +1,140 @@ +{ + "id": 539903172, + "node_id": "R_kgDOIC5ExA", + "name": "GHIssueTest", + "full_name": "hub4j-test-org/GHIssueTest", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHIssueTest", + "description": "Repository used by GHIssueTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/deployments", + "created_at": "2022-09-22T09:33:05Z", + "updated_at": "2022-09-22T09:33:16Z", + "pushed_at": "2022-09-22T09:33:05Z", + "git_url": "git://github.com/hub4j-test-org/GHIssueTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHIssueTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHIssueTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHIssueTest", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "AADEZTQ3RQYZTG2VDP4I36TDFQZHY", + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/repos_hub4j-test-org_ghissuetest_issues-4.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/repos_hub4j-test-org_ghissuetest_issues-4.json new file mode 100644 index 0000000000..385f7f1fc3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/repos_hub4j-test-org_ghissuetest_issues-4.json @@ -0,0 +1,61 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2", + "repository_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2/comments", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2/events", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/2", + "id": 1382170446, + "node_id": "I_kwDOIC5ExM5SYj9O", + "number": 2, + "title": "closeIssue", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2022-09-22T09:56:30Z", + "updated_at": "2022-09-22T09:56:30Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "## test", + "closed_by": null, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2/timeline", + "performed_via_github_app": null, + "state_reason": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/repos_hub4j-test-org_ghissuetest_issues_2-6.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/repos_hub4j-test-org_ghissuetest_issues_2-6.json new file mode 100644 index 0000000000..385f7f1fc3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/repos_hub4j-test-org_ghissuetest_issues_2-6.json @@ -0,0 +1,61 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2", + "repository_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2/comments", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2/events", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/2", + "id": 1382170446, + "node_id": "I_kwDOIC5ExM5SYj9O", + "number": 2, + "title": "closeIssue", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2022-09-22T09:56:30Z", + "updated_at": "2022-09-22T09:56:30Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "## test", + "closed_by": null, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2/timeline", + "performed_via_github_app": null, + "state_reason": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/repos_hub4j-test-org_ghissuetest_issues_2-7.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/repos_hub4j-test-org_ghissuetest_issues_2-7.json new file mode 100644 index 0000000000..67d988901e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/repos_hub4j-test-org_ghissuetest_issues_2-7.json @@ -0,0 +1,80 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2", + "repository_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2/comments", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2/events", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/2", + "id": 1382170446, + "node_id": "I_kwDOIC5ExM5SYj9O", + "number": 2, + "title": "closeIssue", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2022-09-22T09:56:30Z", + "updated_at": "2022-09-22T09:56:31Z", + "closed_at": "2022-09-22T09:56:31Z", + "author_association": "NONE", + "active_lock_reason": null, + "body": "## test", + "closed_by": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2/timeline", + "performed_via_github_app": null, + "state_reason": "completed" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/repos_hub4j-test-org_ghissuetest_issues_2-9.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/repos_hub4j-test-org_ghissuetest_issues_2-9.json new file mode 100644 index 0000000000..67d988901e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/repos_hub4j-test-org_ghissuetest_issues_2-9.json @@ -0,0 +1,80 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2", + "repository_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2/comments", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2/events", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/2", + "id": 1382170446, + "node_id": "I_kwDOIC5ExM5SYj9O", + "number": 2, + "title": "closeIssue", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2022-09-22T09:56:30Z", + "updated_at": "2022-09-22T09:56:31Z", + "closed_at": "2022-09-22T09:56:31Z", + "author_association": "NONE", + "active_lock_reason": null, + "body": "## test", + "closed_by": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2/timeline", + "performed_via_github_app": null, + "state_reason": "completed" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/user-1.json new file mode 100644 index 0000000000..d7c2d82c84 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/__files/user-1.json @@ -0,0 +1,34 @@ +{ + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false, + "name": "Yoann Rodière", + "company": "Red Hat - @hibernate", + "blog": "", + "location": null, + "email": "yoann@hibernate.org", + "hireable": null, + "bio": "Hibernate Search lead developer", + "twitter_username": "yoannrodiere", + "public_repos": 132, + "public_gists": 16, + "followers": 41, + "following": 4, + "created_at": "2010-09-23T12:31:20Z", + "updated_at": "2022-09-20T13:34:03Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..5cca9b485c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,48 @@ +{ + "id": "1a0937e0-b736-4a54-86d8-13aee7fd3db4", + "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": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:29 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/\"0df75ca805091aca7020aeb149b53e299f6cfffce78a580ed3deee76f28c5fa3\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4917", + "X-RateLimit-Reset": "1663844087", + "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": "DC9A:5103:93FCFD9:96384D4:632C314D" + } + }, + "uuid": "1a0937e0-b736-4a54-86d8-13aee7fd3db4", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/repos_hub4j-test-org_ghissuetest-3.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/repos_hub4j-test-org_ghissuetest-3.json new file mode 100644 index 0000000000..6cda589601 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/repos_hub4j-test-org_ghissuetest-3.json @@ -0,0 +1,51 @@ +{ + "id": "2ce7af8f-4601-4ad2-9c19-eac51e079b03", + "name": "repos_hub4j-test-org_ghissuetest", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:29 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/\"8e10bee2591b68b18878b39ccb1142181efd7af87933d8051a0f887f3e2d7ab4\"", + "Last-Modified": "Thu, 22 Sep 2022 09:33:16 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4916", + "X-RateLimit-Reset": "1663844087", + "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": "F165:2C44:97223AD:995A3E2:632C314D" + } + }, + "uuid": "2ce7af8f-4601-4ad2-9c19-eac51e079b03", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-2", + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/repos_hub4j-test-org_ghissuetest-5.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/repos_hub4j-test-org_ghissuetest-5.json new file mode 100644 index 0000000000..e687fbbc50 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/repos_hub4j-test-org_ghissuetest-5.json @@ -0,0 +1,51 @@ +{ + "id": "672ad408-5d0a-4817-9501-e2a067597f1c", + "name": "repos_hub4j-test-org_ghissuetest", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest-5.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:30 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/\"8e10bee2591b68b18878b39ccb1142181efd7af87933d8051a0f887f3e2d7ab4\"", + "Last-Modified": "Thu, 22 Sep 2022 09:33:16 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4914", + "X-RateLimit-Reset": "1663844087", + "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": "E411:5103:93FD577:9638A95:632C314E" + } + }, + "uuid": "672ad408-5d0a-4817-9501-e2a067597f1c", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-2", + "newScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-3", + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/repos_hub4j-test-org_ghissuetest-8.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/repos_hub4j-test-org_ghissuetest-8.json new file mode 100644 index 0000000000..6a9e7a9101 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/repos_hub4j-test-org_ghissuetest-8.json @@ -0,0 +1,50 @@ +{ + "id": "64d9fa03-a06e-47ea-a254-66361c3cf910", + "name": "repos_hub4j-test-org_ghissuetest", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest-8.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:32 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/\"8e10bee2591b68b18878b39ccb1142181efd7af87933d8051a0f887f3e2d7ab4\"", + "Last-Modified": "Thu, 22 Sep 2022 09:33:16 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4911", + "X-RateLimit-Reset": "1663844087", + "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": "F6A8:A95E:64D0683:666351E:632C3150" + } + }, + "uuid": "64d9fa03-a06e-47ea-a254-66361c3cf910", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-3", + "insertionIndex": 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json new file mode 100644 index 0000000000..df9a6843dd --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json @@ -0,0 +1,55 @@ +{ + "id": "3ca5f1cd-2ccd-464b-8374-fe7794670e7d", + "name": "repos_hub4j-test-org_ghissuetest_issues", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"assignees\":[],\"title\":\"closeIssue\",\"body\":\"## test\",\"labels\":[]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:30 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": "\"6a7e1b8053cf334c096601b11ef39e8bdc6d5cf13a5a01c298a44cf038d680dd\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4915", + "X-RateLimit-Reset": "1663844087", + "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": "C8F9:5103:93FD2FB:9638804:632C314D", + "Location": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/2" + } + }, + "uuid": "3ca5f1cd-2ccd-464b-8374-fe7794670e7d", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/repos_hub4j-test-org_ghissuetest_issues_2-6.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/repos_hub4j-test-org_ghissuetest_issues_2-6.json new file mode 100644 index 0000000000..b7e43ba01d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/repos_hub4j-test-org_ghissuetest_issues_2-6.json @@ -0,0 +1,51 @@ +{ + "id": "92944bd9-f048-49a8-9061-358058f8a63f", + "name": "repos_hub4j-test-org_ghissuetest_issues_2", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/2", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_2-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:31 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/\"6a7e1b8053cf334c096601b11ef39e8bdc6d5cf13a5a01c298a44cf038d680dd\"", + "Last-Modified": "Thu, 22 Sep 2022 09:56:30 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4913", + "X-RateLimit-Reset": "1663844087", + "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": "FA3F:5103:93FD6F1:9638C0A:632C314F" + } + }, + "uuid": "92944bd9-f048-49a8-9061-358058f8a63f", + "persistent": true, + "scenarioName": "scenario-2-repos-hub4j-test-org-GHIssueTest-issues-2", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-2-repos-hub4j-test-org-GHIssueTest-issues-2-2", + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/repos_hub4j-test-org_ghissuetest_issues_2-7.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/repos_hub4j-test-org_ghissuetest_issues_2-7.json new file mode 100644 index 0000000000..f132c47997 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/repos_hub4j-test-org_ghissuetest_issues_2-7.json @@ -0,0 +1,54 @@ +{ + "id": "cb71760a-4d04-4843-b808-cc51a4281536", + "name": "repos_hub4j-test-org_ghissuetest_issues_2", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/2", + "method": "PATCH", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"state\":\"closed\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_2-7.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:31 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/\"8db07db774417cdefc05c3f517a7b1bafd8e4455e81f0df37f0474700772a783\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4912", + "X-RateLimit-Reset": "1663844087", + "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": "E441:082A:969E74B:98D63BA:632C314F" + } + }, + "uuid": "cb71760a-4d04-4843-b808-cc51a4281536", + "persistent": true, + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/repos_hub4j-test-org_ghissuetest_issues_2-9.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/repos_hub4j-test-org_ghissuetest_issues_2-9.json new file mode 100644 index 0000000000..e341a5377c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/repos_hub4j-test-org_ghissuetest_issues_2-9.json @@ -0,0 +1,50 @@ +{ + "id": "1ae0465a-a383-4657-b79f-e4e221dbf98a", + "name": "repos_hub4j-test-org_ghissuetest_issues_2", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/2", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_2-9.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:32 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/\"8db07db774417cdefc05c3f517a7b1bafd8e4455e81f0df37f0474700772a783\"", + "Last-Modified": "Thu, 22 Sep 2022 09:56:31 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4910", + "X-RateLimit-Reset": "1663844087", + "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": "D0A1:8EE4:DB12C0:DECB58:632C3150" + } + }, + "uuid": "1ae0465a-a383-4657-b79f-e4e221dbf98a", + "persistent": true, + "scenarioName": "scenario-2-repos-hub4j-test-org-GHIssueTest-issues-2", + "requiredScenarioState": "scenario-2-repos-hub4j-test-org-GHIssueTest-issues-2-2", + "insertionIndex": 9 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/user-1.json new file mode 100644 index 0000000000..6313b06664 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/closeIssue/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "7f4b08da-853c-480c-afb3-d4ae0ac24704", + "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": "Thu, 22 Sep 2022 09:56:26 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"e4669ecab8bdeda8b7492722df3f08cf77ae22ef90272d5f19c438e11c436d56\"", + "Last-Modified": "Tue, 20 Sep 2022 13:34:03 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4923", + "X-RateLimit-Reset": "1663844087", + "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": "DF74:C712:A021950:A269664:632C314A" + } + }, + "uuid": "7f4b08da-853c-480c-afb3-d4ae0ac24704", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..fb24d5d8ff --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,62 @@ +{ + "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": 53, + "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": 5, + "owned_private_repos": 5, + "private_gists": 0, + "disk_usage": 11980, + "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, + "web_commit_signoff_required": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 39, + "seats": 3 + }, + "advanced_security_enabled_for_new_repositories": false, + "dependabot_alerts_enabled_for_new_repositories": false, + "dependabot_security_updates_enabled_for_new_repositories": false, + "dependency_graph_enabled_for_new_repositories": false, + "secret_scanning_enabled_for_new_repositories": false, + "secret_scanning_push_protection_enabled_for_new_repositories": false +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/__files/repos_hub4j-test-org_ghissuetest-3.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/__files/repos_hub4j-test-org_ghissuetest-3.json new file mode 100644 index 0000000000..54e6028f47 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/__files/repos_hub4j-test-org_ghissuetest-3.json @@ -0,0 +1,140 @@ +{ + "id": 539903172, + "node_id": "R_kgDOIC5ExA", + "name": "GHIssueTest", + "full_name": "hub4j-test-org/GHIssueTest", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHIssueTest", + "description": "Repository used by GHIssueTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/deployments", + "created_at": "2022-09-22T09:33:05Z", + "updated_at": "2022-09-22T09:33:16Z", + "pushed_at": "2022-09-22T09:33:05Z", + "git_url": "git://github.com/hub4j-test-org/GHIssueTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHIssueTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHIssueTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHIssueTest", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "AADEZTRCJXWG6UZFC7Q6KRLDFQZIQ", + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/__files/repos_hub4j-test-org_ghissuetest_issues-4.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/__files/repos_hub4j-test-org_ghissuetest_issues-4.json new file mode 100644 index 0000000000..320e7bc424 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/__files/repos_hub4j-test-org_ghissuetest_issues-4.json @@ -0,0 +1,61 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/4", + "repository_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/4/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/4/comments", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/4/events", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/4", + "id": 1382170832, + "node_id": "I_kwDOIC5ExM5SYkDQ", + "number": 4, + "title": "createIssue", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2022-09-22T09:56:45Z", + "updated_at": "2022-09-22T09:56:45Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "## test", + "closed_by": null, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/4/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/4/timeline", + "performed_via_github_app": null, + "state_reason": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/__files/user-1.json new file mode 100644 index 0000000000..d7c2d82c84 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/__files/user-1.json @@ -0,0 +1,34 @@ +{ + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false, + "name": "Yoann Rodière", + "company": "Red Hat - @hibernate", + "blog": "", + "location": null, + "email": "yoann@hibernate.org", + "hireable": null, + "bio": "Hibernate Search lead developer", + "twitter_username": "yoannrodiere", + "public_repos": 132, + "public_gists": 16, + "followers": 41, + "following": 4, + "created_at": "2010-09-23T12:31:20Z", + "updated_at": "2022-09-20T13:34:03Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..cb037bb41c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,48 @@ +{ + "id": "84bd4f92-22d7-413f-8bc9-197c0a4c917c", + "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": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:44 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/\"0df75ca805091aca7020aeb149b53e299f6cfffce78a580ed3deee76f28c5fa3\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4884", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "116", + "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": "C289:10DC3:A22B210:A46F4CD:632C315C" + } + }, + "uuid": "84bd4f92-22d7-413f-8bc9-197c0a4c917c", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/mappings/repos_hub4j-test-org_ghissuetest-3.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/mappings/repos_hub4j-test-org_ghissuetest-3.json new file mode 100644 index 0000000000..47dec3a957 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/mappings/repos_hub4j-test-org_ghissuetest-3.json @@ -0,0 +1,48 @@ +{ + "id": "984e33df-0ad0-4887-93c6-e28c3992da9e", + "name": "repos_hub4j-test-org_ghissuetest", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:44 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/\"8e10bee2591b68b18878b39ccb1142181efd7af87933d8051a0f887f3e2d7ab4\"", + "Last-Modified": "Thu, 22 Sep 2022 09:33:16 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4883", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "117", + "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": "E6BF:0BC9:B51948B:B74E79A:632C315C" + } + }, + "uuid": "984e33df-0ad0-4887-93c6-e28c3992da9e", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json new file mode 100644 index 0000000000..00b6ae38bc --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json @@ -0,0 +1,55 @@ +{ + "id": "5cecda11-d6a7-47ea-a11b-ef3ed9b71617", + "name": "repos_hub4j-test-org_ghissuetest_issues", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"assignees\":[],\"title\":\"createIssue\",\"body\":\"## test\",\"labels\":[]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:45 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"45661893439e57b8df1c7452186348e84c0f7a80709512440eb31473dff467e7\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4882", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "118", + "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": "EA75:A95E:64D3880:66667C7:632C315D", + "Location": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/4" + } + }, + "uuid": "5cecda11-d6a7-47ea-a11b-ef3ed9b71617", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/mappings/user-1.json new file mode 100644 index 0000000000..be1eda1c7e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/createIssue/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "94b1a0f5-d8cd-4856-b6a9-28870940add7", + "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": "Thu, 22 Sep 2022 09:56:42 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"e4669ecab8bdeda8b7492722df3f08cf77ae22ef90272d5f19c438e11c436d56\"", + "Last-Modified": "Tue, 20 Sep 2022 13:34:03 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4889", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "111", + "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": "F456:082A:96A10AE:98D8D80:632C315A" + } + }, + "uuid": "94b1a0f5-d8cd-4856-b6a9-28870940add7", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..fb24d5d8ff --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,62 @@ +{ + "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": 53, + "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": 5, + "owned_private_repos": 5, + "private_gists": 0, + "disk_usage": 11980, + "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, + "web_commit_signoff_required": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 39, + "seats": 3 + }, + "advanced_security_enabled_for_new_repositories": false, + "dependabot_alerts_enabled_for_new_repositories": false, + "dependabot_security_updates_enabled_for_new_repositories": false, + "dependency_graph_enabled_for_new_repositories": false, + "secret_scanning_enabled_for_new_repositories": false, + "secret_scanning_push_protection_enabled_for_new_repositories": false +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/repos_hub4j-test-org_ghissuetest-3.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/repos_hub4j-test-org_ghissuetest-3.json new file mode 100644 index 0000000000..4dd65cc1a8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/repos_hub4j-test-org_ghissuetest-3.json @@ -0,0 +1,140 @@ +{ + "id": 539903172, + "node_id": "R_kgDOIC5ExA", + "name": "GHIssueTest", + "full_name": "hub4j-test-org/GHIssueTest", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHIssueTest", + "description": "Repository used by GHIssueTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/deployments", + "created_at": "2022-09-22T09:33:05Z", + "updated_at": "2022-09-22T09:33:16Z", + "pushed_at": "2022-09-22T09:33:05Z", + "git_url": "git://github.com/hub4j-test-org/GHIssueTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHIssueTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHIssueTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHIssueTest", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "AADEZTSRKQRFCY474X7I4W3DFQZKM", + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/repos_hub4j-test-org_ghissuetest-5.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/repos_hub4j-test-org_ghissuetest-5.json new file mode 100644 index 0000000000..de18b036a9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/repos_hub4j-test-org_ghissuetest-5.json @@ -0,0 +1,140 @@ +{ + "id": 539903172, + "node_id": "R_kgDOIC5ExA", + "name": "GHIssueTest", + "full_name": "hub4j-test-org/GHIssueTest", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHIssueTest", + "description": "Repository used by GHIssueTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/deployments", + "created_at": "2022-09-22T09:33:05Z", + "updated_at": "2022-09-22T09:33:16Z", + "pushed_at": "2022-09-22T09:33:05Z", + "git_url": "git://github.com/hub4j-test-org/GHIssueTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHIssueTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHIssueTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHIssueTest", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "AADEZTSRSWOR476DZRLOEHLDFQZKO", + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/repos_hub4j-test-org_ghissuetest-7.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/repos_hub4j-test-org_ghissuetest-7.json new file mode 100644 index 0000000000..5310b16314 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/repos_hub4j-test-org_ghissuetest-7.json @@ -0,0 +1,140 @@ +{ + "id": 539903172, + "node_id": "R_kgDOIC5ExA", + "name": "GHIssueTest", + "full_name": "hub4j-test-org/GHIssueTest", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHIssueTest", + "description": "Repository used by GHIssueTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/deployments", + "created_at": "2022-09-22T09:33:05Z", + "updated_at": "2022-09-22T09:33:16Z", + "pushed_at": "2022-09-22T09:33:05Z", + "git_url": "git://github.com/hub4j-test-org/GHIssueTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHIssueTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHIssueTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHIssueTest", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "AADEZTR4FP7KGMJIDDLLDDDDFQZKS", + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/repos_hub4j-test-org_ghissuetest_issues-4.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/repos_hub4j-test-org_ghissuetest_issues-4.json new file mode 100644 index 0000000000..b7eeebf613 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/repos_hub4j-test-org_ghissuetest_issues-4.json @@ -0,0 +1,61 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/9", + "repository_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/9/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/9/comments", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/9/events", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/9", + "id": 1382171511, + "node_id": "I_kwDOIC5ExM5SYkN3", + "number": 9, + "title": "getUserTest", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2022-09-22T09:57:14Z", + "updated_at": "2022-09-22T09:57:14Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": null, + "closed_by": null, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/9/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/9/timeline", + "performed_via_github_app": null, + "state_reason": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/repos_hub4j-test-org_ghissuetest_issues-8.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/repos_hub4j-test-org_ghissuetest_issues-8.json new file mode 100644 index 0000000000..7889315528 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/repos_hub4j-test-org_ghissuetest_issues-8.json @@ -0,0 +1,62 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/9", + "repository_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/9/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/9/comments", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/9/events", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/9", + "id": 1382171511, + "node_id": "I_kwDOIC5ExM5SYkN3", + "number": 9, + "title": "getUserTest", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2022-09-22T09:57:14Z", + "updated_at": "2022-09-22T09:57:14Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": null, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/9/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/9/timeline", + "performed_via_github_app": null, + "state_reason": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/repos_hub4j-test-org_ghissuetest_issues_9-6.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/repos_hub4j-test-org_ghissuetest_issues_9-6.json new file mode 100644 index 0000000000..b7eeebf613 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/repos_hub4j-test-org_ghissuetest_issues_9-6.json @@ -0,0 +1,61 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/9", + "repository_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/9/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/9/comments", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/9/events", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/9", + "id": 1382171511, + "node_id": "I_kwDOIC5ExM5SYkN3", + "number": 9, + "title": "getUserTest", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2022-09-22T09:57:14Z", + "updated_at": "2022-09-22T09:57:14Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": null, + "closed_by": null, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/9/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/9/timeline", + "performed_via_github_app": null, + "state_reason": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/user-1.json new file mode 100644 index 0000000000..d7c2d82c84 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/__files/user-1.json @@ -0,0 +1,34 @@ +{ + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false, + "name": "Yoann Rodière", + "company": "Red Hat - @hibernate", + "blog": "", + "location": null, + "email": "yoann@hibernate.org", + "hireable": null, + "bio": "Hibernate Search lead developer", + "twitter_username": "yoannrodiere", + "public_repos": 132, + "public_gists": 16, + "followers": 41, + "following": 4, + "created_at": "2010-09-23T12:31:20Z", + "updated_at": "2022-09-20T13:34:03Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..43ae79c3cc --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,48 @@ +{ + "id": "3417ab15-fe0d-40b1-b2d7-408c73b83648", + "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": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:57: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/\"0df75ca805091aca7020aeb149b53e299f6cfffce78a580ed3deee76f28c5fa3\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4819", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "181", + "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": "E1EC:DF11:9B549E7:9D92CF1:632C3179" + } + }, + "uuid": "3417ab15-fe0d-40b1-b2d7-408c73b83648", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_ghissuetest-3.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_ghissuetest-3.json new file mode 100644 index 0000000000..0736767546 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_ghissuetest-3.json @@ -0,0 +1,51 @@ +{ + "id": "7b6021a3-06d9-4cdd-9737-122398150c8b", + "name": "repos_hub4j-test-org_ghissuetest", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:57: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/\"8e10bee2591b68b18878b39ccb1142181efd7af87933d8051a0f887f3e2d7ab4\"", + "Last-Modified": "Thu, 22 Sep 2022 09:33:16 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4818", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "182", + "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": "E1FC:33AC:A7027DE:A93DF7B:632C317A" + } + }, + "uuid": "7b6021a3-06d9-4cdd-9737-122398150c8b", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-2", + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_ghissuetest-5.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_ghissuetest-5.json new file mode 100644 index 0000000000..8efd774b34 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_ghissuetest-5.json @@ -0,0 +1,51 @@ +{ + "id": "ba156749-d956-48d2-8b64-975b7fd7b244", + "name": "repos_hub4j-test-org_ghissuetest", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest-5.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:57: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/\"8e10bee2591b68b18878b39ccb1142181efd7af87933d8051a0f887f3e2d7ab4\"", + "Last-Modified": "Thu, 22 Sep 2022 09:33:16 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4816", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "184", + "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": "E20A:8EE4:DBAA52:DF6564:632C317B" + } + }, + "uuid": "ba156749-d956-48d2-8b64-975b7fd7b244", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-2", + "newScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-3", + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_ghissuetest-7.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_ghissuetest-7.json new file mode 100644 index 0000000000..95912c3684 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_ghissuetest-7.json @@ -0,0 +1,50 @@ +{ + "id": "ff0f16dc-e2a6-47b4-99af-7268cb47c094", + "name": "repos_hub4j-test-org_ghissuetest", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest-7.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:57: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/\"8e10bee2591b68b18878b39ccb1142181efd7af87933d8051a0f887f3e2d7ab4\"", + "Last-Modified": "Thu, 22 Sep 2022 09:33:16 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4814", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "186", + "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": "C960:B08A:7D8AC50:7F82732:632C317C" + } + }, + "uuid": "ff0f16dc-e2a6-47b4-99af-7268cb47c094", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-3", + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json new file mode 100644 index 0000000000..34e063ec37 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json @@ -0,0 +1,55 @@ +{ + "id": "11b68a17-a1d3-462a-9cf0-468f89a14255", + "name": "repos_hub4j-test-org_ghissuetest_issues", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"assignees\":[],\"title\":\"getUserTest\",\"labels\":[]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:57: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": "\"c7111b4a67dfc408c602b7f9eba375fed5351530b5c28f487222b11aa77615ef\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4817", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "183", + "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": "E200:9FDD:4C3D1E9:4D75DBF:632C317A", + "Location": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/9" + } + }, + "uuid": "11b68a17-a1d3-462a-9cf0-468f89a14255", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_ghissuetest_issues-8.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_ghissuetest_issues-8.json new file mode 100644 index 0000000000..556094155f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_ghissuetest_issues-8.json @@ -0,0 +1,47 @@ +{ + "id": "6919b78c-8288-4610-9191-5bf4b29a1226", + "name": "repos_hub4j-test-org_ghissuetest_issues", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues?state=open", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues-8.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:57: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/\"4d8e09b3132e055afbd167f6f3e69a507ee51da8435bcd7a63b3490ebb513183\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4813", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "187", + "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": "C964:6970:9ED8741:A113FD1:632C317D" + } + }, + "uuid": "6919b78c-8288-4610-9191-5bf4b29a1226", + "persistent": true, + "insertionIndex": 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_ghissuetest_issues_9-6.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_ghissuetest_issues_9-6.json new file mode 100644 index 0000000000..5de5d83c75 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/repos_hub4j-test-org_ghissuetest_issues_9-6.json @@ -0,0 +1,48 @@ +{ + "id": "f2bca62f-2392-4263-836a-e540727bdbcd", + "name": "repos_hub4j-test-org_ghissuetest_issues_9", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/9", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_9-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:57: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/\"c7111b4a67dfc408c602b7f9eba375fed5351530b5c28f487222b11aa77615ef\"", + "Last-Modified": "Thu, 22 Sep 2022 09:57:14 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4815", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "185", + "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": "C95C:0BC9:B52212C:B75760A:632C317B" + } + }, + "uuid": "f2bca62f-2392-4263-836a-e540727bdbcd", + "persistent": true, + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/user-1.json new file mode 100644 index 0000000000..6a12de714c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/getUserTest/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "cc1e14ae-d6b6-4028-b769-af43add573d2", + "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": "Thu, 22 Sep 2022 09:57: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/\"e4669ecab8bdeda8b7492722df3f08cf77ae22ef90272d5f19c438e11c436d56\"", + "Last-Modified": "Tue, 20 Sep 2022 13:34:03 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4824", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "176", + "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": "E1E0:CC72:5B69106:5CE4F8A:632C3177" + } + }, + "uuid": "cc1e14ae-d6b6-4028-b769-af43add573d2", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..00a6eae928 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,62 @@ +{ + "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": 53, + "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": 5, + "owned_private_repos": 5, + "private_gists": 0, + "disk_usage": 11980, + "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, + "web_commit_signoff_required": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 38, + "seats": 3 + }, + "advanced_security_enabled_for_new_repositories": false, + "dependabot_alerts_enabled_for_new_repositories": false, + "dependabot_security_updates_enabled_for_new_repositories": false, + "dependency_graph_enabled_for_new_repositories": false, + "secret_scanning_enabled_for_new_repositories": false, + "secret_scanning_push_protection_enabled_for_new_repositories": false +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest-3.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest-3.json new file mode 100644 index 0000000000..84e14f3779 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest-3.json @@ -0,0 +1,140 @@ +{ + "id": 539903172, + "node_id": "R_kgDOIC5ExA", + "name": "GHIssueTest", + "full_name": "hub4j-test-org/GHIssueTest", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHIssueTest", + "description": "Repository used by GHIssueTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/deployments", + "created_at": "2022-09-22T09:33:05Z", + "updated_at": "2022-09-22T09:33:16Z", + "pushed_at": "2022-09-22T09:33:05Z", + "git_url": "git://github.com/hub4j-test-org/GHIssueTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHIssueTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHIssueTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHIssueTest", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "AADEZTV5AX4DWMNAEITWHQLDFQ7J2", + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 16 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues-4.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues-4.json new file mode 100644 index 0000000000..a23894f44a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues-4.json @@ -0,0 +1,61 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/15", + "repository_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/15/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/15/comments", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/15/events", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/15", + "id": 1382239447, + "node_id": "I_kwDOIC5ExM5SY0zX", + "number": 15, + "title": "createIssueComment", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2022-09-22T10:48:17Z", + "updated_at": "2022-09-22T10:48:17Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "## test", + "closed_by": null, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/15/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/15/timeline", + "performed_via_github_app": null, + "state_reason": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-10.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-10.json new file mode 100644 index 0000000000..f2c4b7c897 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-10.json @@ -0,0 +1,46 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853505", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/15#issuecomment-1254853505", + "issue_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/15", + "id": 1254853505, + "node_id": "IC_kwDOIC5ExM5Ky4uB", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:18Z", + "updated_at": "2022-09-22T10:48:18Z", + "author_association": "NONE", + "body": "First comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853505/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-12.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-12.json new file mode 100644 index 0000000000..cda8f2b368 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-12.json @@ -0,0 +1,44 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853570", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/15#issuecomment-1254853570", + "issue_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/15", + "id": 1254853570, + "node_id": "IC_kwDOIC5ExM5Ky4vC", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?u=952a892aea58858acd1668c10aa6c36ba3dcd7b5&v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:22Z", + "updated_at": "2022-09-22T10:48:22Z", + "author_association": "NONE", + "body": "Second comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853570/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-13.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-13.json new file mode 100644 index 0000000000..91b9fa83b9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-13.json @@ -0,0 +1,90 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853505", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/15#issuecomment-1254853505", + "issue_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/15", + "id": 1254853505, + "node_id": "IC_kwDOIC5ExM5Ky4uB", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:18Z", + "updated_at": "2022-09-22T10:48:18Z", + "author_association": "NONE", + "body": "First comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853505/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853570", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/15#issuecomment-1254853570", + "issue_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/15", + "id": 1254853570, + "node_id": "IC_kwDOIC5ExM5Ky4vC", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:22Z", + "updated_at": "2022-09-22T10:48:22Z", + "author_association": "NONE", + "body": "Second comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853570/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-14.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-14.json new file mode 100644 index 0000000000..91b9fa83b9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-14.json @@ -0,0 +1,90 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853505", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/15#issuecomment-1254853505", + "issue_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/15", + "id": 1254853505, + "node_id": "IC_kwDOIC5ExM5Ky4uB", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:18Z", + "updated_at": "2022-09-22T10:48:18Z", + "author_association": "NONE", + "body": "First comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853505/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853570", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/15#issuecomment-1254853570", + "issue_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/15", + "id": 1254853570, + "node_id": "IC_kwDOIC5ExM5Ky4vC", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:22Z", + "updated_at": "2022-09-22T10:48:22Z", + "author_association": "NONE", + "body": "Second comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853570/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-15.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-15.json new file mode 100644 index 0000000000..91b9fa83b9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-15.json @@ -0,0 +1,90 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853505", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/15#issuecomment-1254853505", + "issue_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/15", + "id": 1254853505, + "node_id": "IC_kwDOIC5ExM5Ky4uB", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:18Z", + "updated_at": "2022-09-22T10:48:18Z", + "author_association": "NONE", + "body": "First comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853505/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853570", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/15#issuecomment-1254853570", + "issue_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/15", + "id": 1254853570, + "node_id": "IC_kwDOIC5ExM5Ky4vC", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:22Z", + "updated_at": "2022-09-22T10:48:22Z", + "author_association": "NONE", + "body": "Second comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853570/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-16.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-16.json new file mode 100644 index 0000000000..2ac385bcb6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-16.json @@ -0,0 +1,46 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853570", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/15#issuecomment-1254853570", + "issue_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/15", + "id": 1254853570, + "node_id": "IC_kwDOIC5ExM5Ky4vC", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:22Z", + "updated_at": "2022-09-22T10:48:22Z", + "author_association": "NONE", + "body": "Second comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853570/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-17.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-17.json new file mode 100644 index 0000000000..2ac385bcb6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-17.json @@ -0,0 +1,46 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853570", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/15#issuecomment-1254853570", + "issue_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/15", + "id": 1254853570, + "node_id": "IC_kwDOIC5ExM5Ky4vC", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:22Z", + "updated_at": "2022-09-22T10:48:22Z", + "author_association": "NONE", + "body": "Second comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853570/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-19.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-19.json new file mode 100644 index 0000000000..2ac385bcb6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-19.json @@ -0,0 +1,46 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853570", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/15#issuecomment-1254853570", + "issue_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/15", + "id": 1254853570, + "node_id": "IC_kwDOIC5ExM5Ky4vC", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:22Z", + "updated_at": "2022-09-22T10:48:22Z", + "author_association": "NONE", + "body": "Second comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853570/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-7.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-7.json new file mode 100644 index 0000000000..6d949872c6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-7.json @@ -0,0 +1,44 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853505", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/15#issuecomment-1254853505", + "issue_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/15", + "id": 1254853505, + "node_id": "IC_kwDOIC5ExM5Ky4uB", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?u=952a892aea58858acd1668c10aa6c36ba3dcd7b5&v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:18Z", + "updated_at": "2022-09-22T10:48:18Z", + "author_association": "NONE", + "body": "First comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853505/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-8.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-8.json new file mode 100644 index 0000000000..f2c4b7c897 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-8.json @@ -0,0 +1,46 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853505", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/15#issuecomment-1254853505", + "issue_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/15", + "id": 1254853505, + "node_id": "IC_kwDOIC5ExM5Ky4uB", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:18Z", + "updated_at": "2022-09-22T10:48:18Z", + "author_association": "NONE", + "body": "First comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853505/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-9.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-9.json new file mode 100644 index 0000000000..f2c4b7c897 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/repos_hub4j-test-org_ghissuetest_issues_15_comments-9.json @@ -0,0 +1,46 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853505", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/15#issuecomment-1254853505", + "issue_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/15", + "id": 1254853505, + "node_id": "IC_kwDOIC5ExM5Ky4uB", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:18Z", + "updated_at": "2022-09-22T10:48:18Z", + "author_association": "NONE", + "body": "First comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853505/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/user-1.json new file mode 100644 index 0000000000..6cbb51aae1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/__files/user-1.json @@ -0,0 +1,34 @@ +{ + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false, + "name": "Yoann Rodière", + "company": "Red Hat - @hibernate", + "blog": "", + "location": null, + "email": "yoann@hibernate.org", + "hireable": null, + "bio": "Hibernate Search lead developer", + "twitter_username": "yoannrodiere", + "public_repos": 132, + "public_gists": 16, + "followers": 41, + "following": 4, + "created_at": "2010-09-23T12:31:20Z", + "updated_at": "2022-09-22T10:12:47Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..bd0954e34c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,48 @@ +{ + "id": "f512073e-55c7-4be0-8b51-140da32e749c", + "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": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48: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/\"fd5df5bd73106f275e6fe9f78f0d8acc4551774eae3e2e391588d01d0bc6d21f\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4668", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "332", + "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": "C3E4:33AC:AA4C198:AC927EB:632C3D70" + } + }, + "uuid": "f512073e-55c7-4be0-8b51-140da32e749c", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest-3.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest-3.json new file mode 100644 index 0000000000..99e1adb1c1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest-3.json @@ -0,0 +1,48 @@ +{ + "id": "3e258f36-c6e6-45bf-95c3-c9a4efcf86a0", + "name": "repos_hub4j-test-org_ghissuetest", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48: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/\"8e10bee2591b68b18878b39ccb1142181efd7af87933d8051a0f887f3e2d7ab4\"", + "Last-Modified": "Thu, 22 Sep 2022 09:33:16 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4667", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "333", + "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": "E47B:0BC9:B8797A2:BAB973D:632C3D70" + } + }, + "uuid": "3e258f36-c6e6-45bf-95c3-c9a4efcf86a0", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json new file mode 100644 index 0000000000..2cb00d7cfe --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json @@ -0,0 +1,55 @@ +{ + "id": "71c458d8-3f31-4c08-a9cf-330f58f32ea0", + "name": "repos_hub4j-test-org_ghissuetest_issues", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"assignees\":[],\"title\":\"createIssueComment\",\"body\":\"## test\",\"labels\":[]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48: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": "\"1fa19894db981ee285d6f3109a35cdec7d3d56f4283fea75cf8c521c7d0244e1\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4666", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "334", + "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": "C5EE:B08A:80B4425:82B6CE7:632C3D71", + "Location": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/15" + } + }, + "uuid": "71c458d8-3f31-4c08-a9cf-330f58f32ea0", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-10.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-10.json new file mode 100644 index 0000000000..d730624266 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-10.json @@ -0,0 +1,50 @@ +{ + "id": "f8695ac7-a62d-45f5-ac90-9089c4be01e8", + "name": "repos_hub4j-test-org_ghissuetest_issues_15_comments", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/15/comments?since=2022-09-22T10%3A48%3A18Z", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_15_comments-10.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48:20 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"70474a4be7e01cf80867162c029b2d9a23fac3d13af6e6b36d888862fc14b55c\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4660", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "340", + "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": "F9A2:2C44:9A6898E:9CAB888:632C3D74" + } + }, + "uuid": "f8695ac7-a62d-45f5-ac90-9089c4be01e8", + "persistent": true, + "scenarioName": "scenario-2-repos-hub4j-test-org-GHIssueTest-issues-15-comments", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-2-repos-hub4j-test-org-GHIssueTest-issues-15-comments-2", + "insertionIndex": 10 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-11.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-11.json new file mode 100644 index 0000000000..e6a68ae177 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-11.json @@ -0,0 +1,50 @@ +{ + "id": "12fea9cc-e4e4-499e-938a-5efaa1a53dec", + "name": "repos_hub4j-test-org_ghissuetest_issues_15_comments", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/15/comments?since=2022-09-22T10%3A48%3A19Z", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48:20 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"c7c7a1326a6586429fa5ef476d91dfe7d34a7d1ecb5445f44e56c33f5bba405e\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4659", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "341", + "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": "D93F:5103:97056F7:994BC64:632C3D74" + } + }, + "uuid": "12fea9cc-e4e4-499e-938a-5efaa1a53dec", + "persistent": true, + "scenarioName": "scenario-3-repos-hub4j-test-org-GHIssueTest-issues-15-comments", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-3-repos-hub4j-test-org-GHIssueTest-issues-15-comments-2", + "insertionIndex": 11 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-12.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-12.json new file mode 100644 index 0000000000..6d01c23af1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-12.json @@ -0,0 +1,55 @@ +{ + "id": "0de770a5-dcd2-414a-aedd-f0b0a3eb8cff", + "name": "repos_hub4j-test-org_ghissuetest_issues_15_comments", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/15/comments", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"body\":\"Second comment\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_15_comments-12.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48: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": "\"c477d15a01aca4aeb6b0dd28e75987cd8be102a8fc780762dc8ef98b5f09843c\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4658", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "342", + "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": "CE46:644B:3F406EC:404D0FE:632C3D76", + "Location": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853570" + } + }, + "uuid": "0de770a5-dcd2-414a-aedd-f0b0a3eb8cff", + "persistent": true, + "insertionIndex": 12 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-13.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-13.json new file mode 100644 index 0000000000..08f2e7ad5e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-13.json @@ -0,0 +1,50 @@ +{ + "id": "53a3638d-6eee-43ed-a615-b5361d6ca7d4", + "name": "repos_hub4j-test-org_ghissuetest_issues_15_comments", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/15/comments", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_15_comments-13.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48: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/\"21f7ae94ad2f37f3c6977da0c98976ba33662945f1e803bae87dab59b48e55b5\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4657", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "343", + "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": "C959:10DC3:A562347:A7B18DE:632C3D77" + } + }, + "uuid": "53a3638d-6eee-43ed-a615-b5361d6ca7d4", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest-issues-15-comments", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-issues-15-comments-5", + "newScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-issues-15-comments-6", + "insertionIndex": 13 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-14.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-14.json new file mode 100644 index 0000000000..02b8769bdd --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-14.json @@ -0,0 +1,49 @@ +{ + "id": "e57fc572-8339-4c39-b437-4c33b150467a", + "name": "repos_hub4j-test-org_ghissuetest_issues_15_comments", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/15/comments", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_15_comments-14.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48: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/\"21f7ae94ad2f37f3c6977da0c98976ba33662945f1e803bae87dab59b48e55b5\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4656", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "344", + "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": "C5D3:DF11:9E71B16:A0BADDC:632C3D77" + } + }, + "uuid": "e57fc572-8339-4c39-b437-4c33b150467a", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest-issues-15-comments", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-issues-15-comments-6", + "insertionIndex": 14 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-15.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-15.json new file mode 100644 index 0000000000..e1f32d9004 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-15.json @@ -0,0 +1,49 @@ +{ + "id": "201a9e78-8830-4ec9-a234-6f5a94f60d42", + "name": "repos_hub4j-test-org_ghissuetest_issues_15_comments", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/15/comments?since=2022-09-22T10%3A48%3A18Z", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_15_comments-15.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48: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/\"21f7ae94ad2f37f3c6977da0c98976ba33662945f1e803bae87dab59b48e55b5\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4655", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "345", + "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": "EF51:2C44:9A69BEA:9CACB1C:632C3D78" + } + }, + "uuid": "201a9e78-8830-4ec9-a234-6f5a94f60d42", + "persistent": true, + "scenarioName": "scenario-2-repos-hub4j-test-org-GHIssueTest-issues-15-comments", + "requiredScenarioState": "scenario-2-repos-hub4j-test-org-GHIssueTest-issues-15-comments-2", + "insertionIndex": 15 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-16.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-16.json new file mode 100644 index 0000000000..f9a87aca33 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-16.json @@ -0,0 +1,49 @@ +{ + "id": "38c4aa08-39a6-4e21-9083-e4d237459091", + "name": "repos_hub4j-test-org_ghissuetest_issues_15_comments", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/15/comments?since=2022-09-22T10%3A48%3A19Z", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_15_comments-16.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48: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/\"d7711dab21953eacbc0e2b398b79fdb569e705dca7b66e3a4d6bba3ddcfd8f80\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4654", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "346", + "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": "E511:0BB5:93EF235:9632621:632C3D78" + } + }, + "uuid": "38c4aa08-39a6-4e21-9083-e4d237459091", + "persistent": true, + "scenarioName": "scenario-3-repos-hub4j-test-org-GHIssueTest-issues-15-comments", + "requiredScenarioState": "scenario-3-repos-hub4j-test-org-GHIssueTest-issues-15-comments-2", + "insertionIndex": 16 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-17.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-17.json new file mode 100644 index 0000000000..34edd9367b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-17.json @@ -0,0 +1,50 @@ +{ + "id": "40dcb1b8-7487-4380-aa28-32c47ab26c6a", + "name": "repos_hub4j-test-org_ghissuetest_issues_15_comments", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/15/comments?since=2022-09-22T10%3A48%3A22Z", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_15_comments-17.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48:25 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"d7711dab21953eacbc0e2b398b79fdb569e705dca7b66e3a4d6bba3ddcfd8f80\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4653", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "347", + "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": "DE79:AA4E:9AFA722:9D41F02:632C3D78" + } + }, + "uuid": "40dcb1b8-7487-4380-aa28-32c47ab26c6a", + "persistent": true, + "scenarioName": "scenario-4-repos-hub4j-test-org-GHIssueTest-issues-15-comments", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-4-repos-hub4j-test-org-GHIssueTest-issues-15-comments-2", + "insertionIndex": 17 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-18.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-18.json new file mode 100644 index 0000000000..bc19d0be24 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-18.json @@ -0,0 +1,47 @@ +{ + "id": "aab13b0c-0942-40ea-b101-24785f12c5b3", + "name": "repos_hub4j-test-org_ghissuetest_issues_15_comments", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/15/comments?since=2022-09-22T10%3A48%3A23Z", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48:25 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"c7c7a1326a6586429fa5ef476d91dfe7d34a7d1ecb5445f44e56c33f5bba405e\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4652", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "348", + "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": "C638:10DC3:A562AF2:A7B20D3:632C3D79" + } + }, + "uuid": "aab13b0c-0942-40ea-b101-24785f12c5b3", + "persistent": true, + "insertionIndex": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-19.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-19.json new file mode 100644 index 0000000000..6428825198 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-19.json @@ -0,0 +1,49 @@ +{ + "id": "2ea7c5a3-0759-4ea4-9cb9-d7f6909001fb", + "name": "repos_hub4j-test-org_ghissuetest_issues_15_comments", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/15/comments?since=2022-09-22T10%3A48%3A22Z", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_15_comments-19.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48:25 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"d7711dab21953eacbc0e2b398b79fdb569e705dca7b66e3a4d6bba3ddcfd8f80\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4651", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "349", + "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": "C906:5103:9706D37:994D2FC:632C3D79" + } + }, + "uuid": "2ea7c5a3-0759-4ea4-9cb9-d7f6909001fb", + "persistent": true, + "scenarioName": "scenario-4-repos-hub4j-test-org-GHIssueTest-issues-15-comments", + "requiredScenarioState": "scenario-4-repos-hub4j-test-org-GHIssueTest-issues-15-comments-2", + "insertionIndex": 19 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-5.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-5.json new file mode 100644 index 0000000000..c4a40fab08 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-5.json @@ -0,0 +1,50 @@ +{ + "id": "b9b86a2c-a0f5-48f5-87d3-0465302987b8", + "name": "repos_hub4j-test-org_ghissuetest_issues_15_comments", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/15/comments", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48: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": "\"c7c7a1326a6586429fa5ef476d91dfe7d34a7d1ecb5445f44e56c33f5bba405e\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4665", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "335", + "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": "C441:0BB5:93ED92D:9630CAF:632C3D71" + } + }, + "uuid": "b9b86a2c-a0f5-48f5-87d3-0465302987b8", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest-issues-15-comments", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-issues-15-comments-2", + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-6.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-6.json new file mode 100644 index 0000000000..12066cc0bf --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-6.json @@ -0,0 +1,50 @@ +{ + "id": "d992e85c-347d-4984-b85a-7a89b32b7498", + "name": "repos_hub4j-test-org_ghissuetest_issues_15_comments", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/15/comments", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48: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": "\"c7c7a1326a6586429fa5ef476d91dfe7d34a7d1ecb5445f44e56c33f5bba405e\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4664", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "336", + "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": "FFE1:644B:3F3F72A:404C0D5:632C3D72" + } + }, + "uuid": "d992e85c-347d-4984-b85a-7a89b32b7498", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest-issues-15-comments", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-issues-15-comments-2", + "newScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-issues-15-comments-3", + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-7.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-7.json new file mode 100644 index 0000000000..a86d333b41 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-7.json @@ -0,0 +1,55 @@ +{ + "id": "252d7786-18ad-40e2-9030-bc7f535a77ef", + "name": "repos_hub4j-test-org_ghissuetest_issues_15_comments", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/15/comments", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"body\":\"First comment\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_15_comments-7.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48: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": "\"fe4b553e97fb6e05bd7963a7f1ad3c4774bbc210350b90697167c78cfc35e1c6\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4663", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "337", + "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": "DC91:9FDD:4F1C506:505FE5A:632C3D72", + "Location": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments/1254853505" + } + }, + "uuid": "252d7786-18ad-40e2-9030-bc7f535a77ef", + "persistent": true, + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-8.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-8.json new file mode 100644 index 0000000000..fb727f3438 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-8.json @@ -0,0 +1,50 @@ +{ + "id": "b117074b-f0c5-494e-8766-46a3c30c7ebf", + "name": "repos_hub4j-test-org_ghissuetest_issues_15_comments", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/15/comments", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_15_comments-8.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48: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/\"70474a4be7e01cf80867162c029b2d9a23fac3d13af6e6b36d888862fc14b55c\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4662", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "338", + "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": "DCFE:9FDD:4F1C77E:50600F4:632C3D73" + } + }, + "uuid": "b117074b-f0c5-494e-8766-46a3c30c7ebf", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest-issues-15-comments", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-issues-15-comments-3", + "newScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-issues-15-comments-4", + "insertionIndex": 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-9.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-9.json new file mode 100644 index 0000000000..0f6399c0e8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/repos_hub4j-test-org_ghissuetest_issues_15_comments-9.json @@ -0,0 +1,50 @@ +{ + "id": "343aa67e-aeab-4877-bedf-4840dee0c03f", + "name": "repos_hub4j-test-org_ghissuetest_issues_15_comments", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/15/comments", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_15_comments-9.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48: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/\"70474a4be7e01cf80867162c029b2d9a23fac3d13af6e6b36d888862fc14b55c\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4661", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "339", + "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": "F2A6:10DC3:A56128B:A7B083C:632C3D73" + } + }, + "uuid": "343aa67e-aeab-4877-bedf-4840dee0c03f", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest-issues-15-comments", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-issues-15-comments-4", + "newScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-issues-15-comments-5", + "insertionIndex": 9 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/user-1.json new file mode 100644 index 0000000000..0488e5d4d2 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/issueComment/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "eeb99288-463b-4405-b109-a023727fc9c7", + "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": "Thu, 22 Sep 2022 10:48: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/\"32b033573dc38d4e52ca1ad7c3f276480abd6cc661590bac0e37e012d54b0aa6\"", + "Last-Modified": "Thu, 22 Sep 2022 10:12:47 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4673", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "327", + "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": "CB40:C712:A346B8B:A599E20:632C3D6E" + } + }, + "uuid": "eeb99288-463b-4405-b109-a023727fc9c7", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..fb24d5d8ff --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,62 @@ +{ + "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": 53, + "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": 5, + "owned_private_repos": 5, + "private_gists": 0, + "disk_usage": 11980, + "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, + "web_commit_signoff_required": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 39, + "seats": 3 + }, + "advanced_security_enabled_for_new_repositories": false, + "dependabot_alerts_enabled_for_new_repositories": false, + "dependabot_security_updates_enabled_for_new_repositories": false, + "dependency_graph_enabled_for_new_repositories": false, + "secret_scanning_enabled_for_new_repositories": false, + "secret_scanning_push_protection_enabled_for_new_repositories": false +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/repos_hub4j-test-org_ghissuetest-3.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/repos_hub4j-test-org_ghissuetest-3.json new file mode 100644 index 0000000000..74955f8242 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/repos_hub4j-test-org_ghissuetest-3.json @@ -0,0 +1,140 @@ +{ + "id": 539903172, + "node_id": "R_kgDOIC5ExA", + "name": "GHIssueTest", + "full_name": "hub4j-test-org/GHIssueTest", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHIssueTest", + "description": "Repository used by GHIssueTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/deployments", + "created_at": "2022-09-22T09:33:05Z", + "updated_at": "2022-09-22T09:33:16Z", + "pushed_at": "2022-09-22T09:33:05Z", + "git_url": "git://github.com/hub4j-test-org/GHIssueTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHIssueTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHIssueTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHIssueTest", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "AADEZTXLXAEEJE2XBUVJOY3DFQZH6", + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/repos_hub4j-test-org_ghissuetest-6.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/repos_hub4j-test-org_ghissuetest-6.json new file mode 100644 index 0000000000..4f162bc30d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/repos_hub4j-test-org_ghissuetest-6.json @@ -0,0 +1,140 @@ +{ + "id": 539903172, + "node_id": "R_kgDOIC5ExA", + "name": "GHIssueTest", + "full_name": "hub4j-test-org/GHIssueTest", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHIssueTest", + "description": "Repository used by GHIssueTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/deployments", + "created_at": "2022-09-22T09:33:05Z", + "updated_at": "2022-09-22T09:33:16Z", + "pushed_at": "2022-09-22T09:33:05Z", + "git_url": "git://github.com/hub4j-test-org/GHIssueTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHIssueTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHIssueTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHIssueTest", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "AADEZTWJV6Z77AL27XKINHDDFQZIC", + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/repos_hub4j-test-org_ghissuetest_issues-4.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/repos_hub4j-test-org_ghissuetest_issues-4.json new file mode 100644 index 0000000000..baae396766 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/repos_hub4j-test-org_ghissuetest_issues-4.json @@ -0,0 +1,61 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/3", + "repository_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/3/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/3/comments", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/3/events", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/3", + "id": 1382170593, + "node_id": "I_kwDOIC5ExM5SYj_h", + "number": 3, + "title": "removeLabels", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2022-09-22T09:56:35Z", + "updated_at": "2022-09-22T09:56:35Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "## test", + "closed_by": null, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/3/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/3/timeline", + "performed_via_github_app": null, + "state_reason": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/repos_hub4j-test-org_ghissuetest_issues_3-5.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/repos_hub4j-test-org_ghissuetest_issues_3-5.json new file mode 100644 index 0000000000..6d12d629bd --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/repos_hub4j-test-org_ghissuetest_issues_3-5.json @@ -0,0 +1,89 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/3", + "repository_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/3/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/3/comments", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/3/events", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/3", + "id": 1382170593, + "node_id": "I_kwDOIC5ExM5SYj_h", + "number": 3, + "title": "removeLabels", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 4563123625, + "node_id": "LA_kwDOIC5ExM8AAAABD_u9qQ", + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels/removeLabels_label_name_1", + "name": "removeLabels_label_name_1", + "color": "ededed", + "default": false, + "description": null + }, + { + "id": 4563123627, + "node_id": "LA_kwDOIC5ExM8AAAABD_u9qw", + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels/removeLabels_label_name_2", + "name": "removeLabels_label_name_2", + "color": "ededed", + "default": false, + "description": null + }, + { + "id": 4563123629, + "node_id": "LA_kwDOIC5ExM8AAAABD_u9rQ", + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels/removeLabels_label_name_3", + "name": "removeLabels_label_name_3", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2022-09-22T09:56:35Z", + "updated_at": "2022-09-22T09:56:36Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "## test", + "closed_by": null, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/3/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/3/timeline", + "performed_via_github_app": null, + "state_reason": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/repos_hub4j-test-org_ghissuetest_issues_3-7.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/repos_hub4j-test-org_ghissuetest_issues_3-7.json new file mode 100644 index 0000000000..6d12d629bd --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/repos_hub4j-test-org_ghissuetest_issues_3-7.json @@ -0,0 +1,89 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/3", + "repository_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/3/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/3/comments", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/3/events", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/3", + "id": 1382170593, + "node_id": "I_kwDOIC5ExM5SYj_h", + "number": 3, + "title": "removeLabels", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 4563123625, + "node_id": "LA_kwDOIC5ExM8AAAABD_u9qQ", + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels/removeLabels_label_name_1", + "name": "removeLabels_label_name_1", + "color": "ededed", + "default": false, + "description": null + }, + { + "id": 4563123627, + "node_id": "LA_kwDOIC5ExM8AAAABD_u9qw", + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels/removeLabels_label_name_2", + "name": "removeLabels_label_name_2", + "color": "ededed", + "default": false, + "description": null + }, + { + "id": 4563123629, + "node_id": "LA_kwDOIC5ExM8AAAABD_u9rQ", + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels/removeLabels_label_name_3", + "name": "removeLabels_label_name_3", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2022-09-22T09:56:35Z", + "updated_at": "2022-09-22T09:56:36Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "## test", + "closed_by": null, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/3/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/3/timeline", + "performed_via_github_app": null, + "state_reason": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/repos_hub4j-test-org_ghissuetest_issues_3_labels_removelabels_label_name_2-8.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/repos_hub4j-test-org_ghissuetest_issues_3_labels_removelabels_label_name_2-8.json new file mode 100644 index 0000000000..80e2e7fb34 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/repos_hub4j-test-org_ghissuetest_issues_3_labels_removelabels_label_name_2-8.json @@ -0,0 +1,20 @@ +[ + { + "id": 4563123625, + "node_id": "LA_kwDOIC5ExM8AAAABD_u9qQ", + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels/removeLabels_label_name_1", + "name": "removeLabels_label_name_1", + "color": "ededed", + "default": false, + "description": null + }, + { + "id": 4563123629, + "node_id": "LA_kwDOIC5ExM8AAAABD_u9rQ", + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels/removeLabels_label_name_3", + "name": "removeLabels_label_name_3", + "color": "ededed", + "default": false, + "description": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/user-1.json new file mode 100644 index 0000000000..d7c2d82c84 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/__files/user-1.json @@ -0,0 +1,34 @@ +{ + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false, + "name": "Yoann Rodière", + "company": "Red Hat - @hibernate", + "blog": "", + "location": null, + "email": "yoann@hibernate.org", + "hireable": null, + "bio": "Hibernate Search lead developer", + "twitter_username": "yoannrodiere", + "public_repos": 132, + "public_gists": 16, + "followers": 41, + "following": 4, + "created_at": "2010-09-23T12:31:20Z", + "updated_at": "2022-09-20T13:34:03Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..55fadd0cfa --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,48 @@ +{ + "id": "95f107d4-c769-4b24-a9c4-44c92751a424", + "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": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:35 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"0df75ca805091aca7020aeb149b53e299f6cfffce78a580ed3deee76f28c5fa3\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4902", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "98", + "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": "C61C:12B09:58BAFC5:5A308FC:632C3152" + } + }, + "uuid": "95f107d4-c769-4b24-a9c4-44c92751a424", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest-3.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest-3.json new file mode 100644 index 0000000000..e161c5de4a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest-3.json @@ -0,0 +1,51 @@ +{ + "id": "60c0a92c-8c04-456e-a993-b4594705f659", + "name": "repos_hub4j-test-org_ghissuetest", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:35 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8e10bee2591b68b18878b39ccb1142181efd7af87933d8051a0f887f3e2d7ab4\"", + "Last-Modified": "Thu, 22 Sep 2022 09:33:16 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4901", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "99", + "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": "D84B:0BB5:90F1AF7:9329FC9:632C3153" + } + }, + "uuid": "60c0a92c-8c04-456e-a993-b4594705f659", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-2", + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest-6.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest-6.json new file mode 100644 index 0000000000..92d2a901f3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest-6.json @@ -0,0 +1,50 @@ +{ + "id": "f41d680a-ce44-4c2a-8aa3-87a67d36381f", + "name": "repos_hub4j-test-org_ghissuetest", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:37 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8e10bee2591b68b18878b39ccb1142181efd7af87933d8051a0f887f3e2d7ab4\"", + "Last-Modified": "Thu, 22 Sep 2022 09:33:16 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4898", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "102", + "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": "DB3F:A95E:64D1C41:6664B16:632C3155" + } + }, + "uuid": "f41d680a-ce44-4c2a-8aa3-87a67d36381f", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-2", + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json new file mode 100644 index 0000000000..559397178a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json @@ -0,0 +1,55 @@ +{ + "id": "2b720948-b3de-41bf-9e83-423e25daa865", + "name": "repos_hub4j-test-org_ghissuetest_issues", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"assignees\":[],\"title\":\"removeLabels\",\"body\":\"## test\",\"labels\":[]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:36 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"3b87c9c19a8975ad48506503031c8b97b15a177cc877dbf119792c5969419f15\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4900", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "100", + "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": "D8F7:12B09:58BB2B2:5A30C04:632C3153", + "Location": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/3" + } + }, + "uuid": "2b720948-b3de-41bf-9e83-423e25daa865", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_3-5.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_3-5.json new file mode 100644 index 0000000000..0e57f80b22 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_3-5.json @@ -0,0 +1,54 @@ +{ + "id": "e979c5aa-6569-498f-9aec-5352d2112cfb", + "name": "repos_hub4j-test-org_ghissuetest_issues_3", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/3", + "method": "PATCH", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"labels\":[\"removeLabels_label_name_1\",\"removeLabels_label_name_2\",\"removeLabels_label_name_3\"]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_3-5.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:37 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"1f66f7e96d5c6af037bc31bdaaa74a8046f4302c83de42d73b4de5eafee4bd5c\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4899", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "101", + "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": "E4F6:10DC3:A22933B:A46D585:632C3154" + } + }, + "uuid": "e979c5aa-6569-498f-9aec-5352d2112cfb", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_3-7.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_3-7.json new file mode 100644 index 0000000000..785b5e6128 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_3-7.json @@ -0,0 +1,48 @@ +{ + "id": "c23027d3-9e92-478f-b32b-a619c68e451a", + "name": "repos_hub4j-test-org_ghissuetest_issues_3", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/3", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_3-7.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:37 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"1f66f7e96d5c6af037bc31bdaaa74a8046f4302c83de42d73b4de5eafee4bd5c\"", + "Last-Modified": "Thu, 22 Sep 2022 09:56:36 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4897", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "103", + "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": "C411:9FDD:4C32FCB:4D6B985:632C3155" + } + }, + "uuid": "c23027d3-9e92-478f-b32b-a619c68e451a", + "persistent": true, + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_3_labels_removelabels_label_name_2-8.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_3_labels_removelabels_label_name_2-8.json new file mode 100644 index 0000000000..6e94116ae5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_3_labels_removelabels_label_name_2-8.json @@ -0,0 +1,47 @@ +{ + "id": "5802b083-70a0-48d0-b7a4-6c1341a45383", + "name": "repos_hub4j-test-org_ghissuetest_issues_3_labels_removelabels_label_name_2", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/3/labels/removeLabels_label_name_2", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_3_labels_removelabels_label_name_2-8.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56: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/\"4968a84dc7702ec30d8c43c25498af7ea29146f94a2d242d2e1b42f25fb44477\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4896", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "104", + "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": "D315:B08A:7D7FE0B:7F776A7:632C3156" + } + }, + "uuid": "5802b083-70a0-48d0-b7a4-6c1341a45383", + "persistent": true, + "insertionIndex": 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_3_labels_removelabels_label_name_3-10.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_3_labels_removelabels_label_name_3-10.json new file mode 100644 index 0000000000..a02849db21 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_3_labels_removelabels_label_name_3-10.json @@ -0,0 +1,45 @@ +{ + "id": "8d05a7da-d293-4476-8964-6f04d24ed2cd", + "name": "repos_hub4j-test-org_ghissuetest_issues_3_labels_removelabels_label_name_3", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/3/labels/removeLabels_label_name_3", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 404, + "body": "{\"message\":\"Label does not exist\",\"documentation_url\":\"https://docs.github.com/rest/reference/issues#remove-a-label-from-an-issue\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:39 GMT", + "Content-Type": "application/json; charset=utf-8", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4894", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "106", + "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": "E4FB:AA4E:97D30A2:9A0F845:632C3157" + } + }, + "uuid": "8d05a7da-d293-4476-8964-6f04d24ed2cd", + "persistent": true, + "scenarioName": "scenario-2-repos-hub4j-test-org-GHIssueTest-issues-3-labels-removeLabels_label_name_3", + "requiredScenarioState": "scenario-2-repos-hub4j-test-org-GHIssueTest-issues-3-labels-removeLabels_label_name_3-2", + "newScenarioState": "scenario-2-repos-hub4j-test-org-GHIssueTest-issues-3-labels-removeLabels_label_name_3-3", + "insertionIndex": 10 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_3_labels_removelabels_label_name_3-11.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_3_labels_removelabels_label_name_3-11.json new file mode 100644 index 0000000000..e47b40698f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_3_labels_removelabels_label_name_3-11.json @@ -0,0 +1,44 @@ +{ + "id": "88617963-d751-477a-8062-14a372beb7fa", + "name": "repos_hub4j-test-org_ghissuetest_issues_3_labels_removelabels_label_name_3", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/3/labels/removeLabels_label_name_3", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 404, + "body": "{\"message\":\"Label does not exist\",\"documentation_url\":\"https://docs.github.com/rest/reference/issues#remove-a-label-from-an-issue\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56:39 GMT", + "Content-Type": "application/json; charset=utf-8", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4893", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "107", + "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": "F382:C712:A024D00:A26CAE7:632C3157" + } + }, + "uuid": "88617963-d751-477a-8062-14a372beb7fa", + "persistent": true, + "scenarioName": "scenario-2-repos-hub4j-test-org-GHIssueTest-issues-3-labels-removeLabels_label_name_3", + "requiredScenarioState": "scenario-2-repos-hub4j-test-org-GHIssueTest-issues-3-labels-removeLabels_label_name_3-3", + "insertionIndex": 11 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_3_labels_removelabels_label_name_3-9.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_3_labels_removelabels_label_name_3-9.json new file mode 100644 index 0000000000..2f4f874cdc --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_3_labels_removelabels_label_name_3-9.json @@ -0,0 +1,50 @@ +{ + "id": "f8725936-6466-42ec-afee-43e799ac5210", + "name": "repos_hub4j-test-org_ghissuetest_issues_3_labels_removelabels_label_name_3", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/3/labels/removeLabels_label_name_3", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "[{\"id\":4563123625,\"node_id\":\"LA_kwDOIC5ExM8AAAABD_u9qQ\",\"url\":\"https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels/removeLabels_label_name_1\",\"name\":\"removeLabels_label_name_1\",\"color\":\"ededed\",\"default\":false,\"description\":null}]", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56: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/\"8a32c2a8982fdbf4a8ec92e7b46a97c30897c771591f8d2965fe27ba53d76aba\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4895", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "105", + "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": "D22C:5420:9409A63:96440B2:632C3156" + } + }, + "uuid": "f8725936-6466-42ec-afee-43e799ac5210", + "persistent": true, + "scenarioName": "scenario-2-repos-hub4j-test-org-GHIssueTest-issues-3-labels-removeLabels_label_name_3", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-2-repos-hub4j-test-org-GHIssueTest-issues-3-labels-removeLabels_label_name_3-2", + "insertionIndex": 9 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/user-1.json new file mode 100644 index 0000000000..3c8a0ae668 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/removeLabels/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "1c4402c0-ee54-44e8-b132-4dc4cc9c4d10", + "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": "Thu, 22 Sep 2022 09:56:33 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"e4669ecab8bdeda8b7492722df3f08cf77ae22ef90272d5f19c438e11c436d56\"", + "Last-Modified": "Tue, 20 Sep 2022 13:34:03 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4907", + "X-RateLimit-Reset": "1663844087", + "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": "D849:0BC9:B516602:B74B8B8:632C3151" + } + }, + "uuid": "1c4402c0-ee54-44e8-b132-4dc4cc9c4d10", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..fb24d5d8ff --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,62 @@ +{ + "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": 53, + "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": 5, + "owned_private_repos": 5, + "private_gists": 0, + "disk_usage": 11980, + "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, + "web_commit_signoff_required": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 39, + "seats": 3 + }, + "advanced_security_enabled_for_new_repositories": false, + "dependabot_alerts_enabled_for_new_repositories": false, + "dependabot_security_updates_enabled_for_new_repositories": false, + "dependency_graph_enabled_for_new_repositories": false, + "secret_scanning_enabled_for_new_repositories": false, + "secret_scanning_push_protection_enabled_for_new_repositories": false +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/__files/repos_hub4j-test-org_ghissuetest-3.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/__files/repos_hub4j-test-org_ghissuetest-3.json new file mode 100644 index 0000000000..55985e730d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/__files/repos_hub4j-test-org_ghissuetest-3.json @@ -0,0 +1,140 @@ +{ + "id": 539903172, + "node_id": "R_kgDOIC5ExA", + "name": "GHIssueTest", + "full_name": "hub4j-test-org/GHIssueTest", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHIssueTest", + "description": "Repository used by GHIssueTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/deployments", + "created_at": "2022-09-22T09:33:05Z", + "updated_at": "2022-09-22T09:33:16Z", + "pushed_at": "2022-09-22T09:33:05Z", + "git_url": "git://github.com/hub4j-test-org/GHIssueTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHIssueTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHIssueTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHIssueTest", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "AADEZTUKEA7W65R2UJZDWVDDFQZJY", + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/__files/repos_hub4j-test-org_ghissuetest-6.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/__files/repos_hub4j-test-org_ghissuetest-6.json new file mode 100644 index 0000000000..103e4e5ee1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/__files/repos_hub4j-test-org_ghissuetest-6.json @@ -0,0 +1,140 @@ +{ + "id": 539903172, + "node_id": "R_kgDOIC5ExA", + "name": "GHIssueTest", + "full_name": "hub4j-test-org/GHIssueTest", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHIssueTest", + "description": "Repository used by GHIssueTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/deployments", + "created_at": "2022-09-22T09:33:05Z", + "updated_at": "2022-09-22T09:33:16Z", + "pushed_at": "2022-09-22T09:33:05Z", + "git_url": "git://github.com/hub4j-test-org/GHIssueTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHIssueTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHIssueTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHIssueTest", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "AADEZTRVC2WDX7DJXQDFHKDDFQZKE", + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/__files/repos_hub4j-test-org_ghissuetest_issues-4.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/__files/repos_hub4j-test-org_ghissuetest_issues-4.json new file mode 100644 index 0000000000..86f19d8035 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/__files/repos_hub4j-test-org_ghissuetest_issues-4.json @@ -0,0 +1,61 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/8", + "repository_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/8/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/8/comments", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/8/events", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/8", + "id": 1382171384, + "node_id": "I_kwDOIC5ExM5SYkL4", + "number": 8, + "title": "setAssignee", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2022-09-22T09:57:08Z", + "updated_at": "2022-09-22T09:57:08Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "## test", + "closed_by": null, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/8/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/8/timeline", + "performed_via_github_app": null, + "state_reason": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/__files/repos_hub4j-test-org_ghissuetest_issues_8-5.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/__files/repos_hub4j-test-org_ghissuetest_issues_8-5.json new file mode 100644 index 0000000000..ceba66ae01 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/__files/repos_hub4j-test-org_ghissuetest_issues_8-5.json @@ -0,0 +1,101 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/8", + "repository_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/8/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/8/comments", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/8/events", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/8", + "id": 1382171384, + "node_id": "I_kwDOIC5ExM5SYkL4", + "number": 8, + "title": "setAssignee", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": null, + "comments": 0, + "created_at": "2022-09-22T09:57:08Z", + "updated_at": "2022-09-22T09:57:09Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "## test", + "closed_by": null, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/8/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/8/timeline", + "performed_via_github_app": null, + "state_reason": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/__files/repos_hub4j-test-org_ghissuetest_issues_8-7.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/__files/repos_hub4j-test-org_ghissuetest_issues_8-7.json new file mode 100644 index 0000000000..ceba66ae01 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/__files/repos_hub4j-test-org_ghissuetest_issues_8-7.json @@ -0,0 +1,101 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/8", + "repository_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/8/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/8/comments", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/8/events", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/8", + "id": 1382171384, + "node_id": "I_kwDOIC5ExM5SYkL4", + "number": 8, + "title": "setAssignee", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": null, + "comments": 0, + "created_at": "2022-09-22T09:57:08Z", + "updated_at": "2022-09-22T09:57:09Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "## test", + "closed_by": null, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/8/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/8/timeline", + "performed_via_github_app": null, + "state_reason": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/__files/user-1.json new file mode 100644 index 0000000000..d7c2d82c84 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/__files/user-1.json @@ -0,0 +1,34 @@ +{ + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false, + "name": "Yoann Rodière", + "company": "Red Hat - @hibernate", + "blog": "", + "location": null, + "email": "yoann@hibernate.org", + "hireable": null, + "bio": "Hibernate Search lead developer", + "twitter_username": "yoannrodiere", + "public_repos": 132, + "public_gists": 16, + "followers": 41, + "following": 4, + "created_at": "2010-09-23T12:31:20Z", + "updated_at": "2022-09-20T13:34:03Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..ebbcc1b37f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,48 @@ +{ + "id": "249a4701-eeb7-4b94-9bb3-2122e41fdaad", + "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": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:57: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/\"0df75ca805091aca7020aeb149b53e299f6cfffce78a580ed3deee76f28c5fa3\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4833", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "167", + "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": "CDE4:CC72:5B66CD0:5CE2B0C:632C316F" + } + }, + "uuid": "249a4701-eeb7-4b94-9bb3-2122e41fdaad", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/mappings/repos_hub4j-test-org_ghissuetest-3.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/mappings/repos_hub4j-test-org_ghissuetest-3.json new file mode 100644 index 0000000000..620db4d35c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/mappings/repos_hub4j-test-org_ghissuetest-3.json @@ -0,0 +1,51 @@ +{ + "id": "6ca18562-cafb-4e84-996d-0e639cf1eb97", + "name": "repos_hub4j-test-org_ghissuetest", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:57: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/\"8e10bee2591b68b18878b39ccb1142181efd7af87933d8051a0f887f3e2d7ab4\"", + "Last-Modified": "Thu, 22 Sep 2022 09:33:16 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4832", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "168", + "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": "CDEE:5420:940FF46:964A712:632C316F" + } + }, + "uuid": "6ca18562-cafb-4e84-996d-0e639cf1eb97", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-2", + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/mappings/repos_hub4j-test-org_ghissuetest-6.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/mappings/repos_hub4j-test-org_ghissuetest-6.json new file mode 100644 index 0000000000..ef4fe7ec3a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/mappings/repos_hub4j-test-org_ghissuetest-6.json @@ -0,0 +1,50 @@ +{ + "id": "6c07a7c2-64ec-4669-9700-a183a8593219", + "name": "repos_hub4j-test-org_ghissuetest", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:57: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/\"8e10bee2591b68b18878b39ccb1142181efd7af87933d8051a0f887f3e2d7ab4\"", + "Last-Modified": "Thu, 22 Sep 2022 09:33:16 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4829", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "171", + "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": "E1C2:AA4E:97DB42C:9A17DA7:632C3175" + } + }, + "uuid": "6c07a7c2-64ec-4669-9700-a183a8593219", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-2", + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json new file mode 100644 index 0000000000..eb4df196fb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json @@ -0,0 +1,55 @@ +{ + "id": "0917be01-9c05-4bed-90e3-dfe117caddbc", + "name": "repos_hub4j-test-org_ghissuetest_issues", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"assignees\":[],\"title\":\"setAssignee\",\"body\":\"## test\",\"labels\":[]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:57: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": "\"e548b62ef680970273eb04380a0fde405846ce995ca2825ab0e8a90bb46b26f3\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4831", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "169", + "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": "CDF4:33AC:A6FF929:A93B087:632C3170", + "Location": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/8" + } + }, + "uuid": "0917be01-9c05-4bed-90e3-dfe117caddbc", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/mappings/repos_hub4j-test-org_ghissuetest_issues_8-5.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/mappings/repos_hub4j-test-org_ghissuetest_issues_8-5.json new file mode 100644 index 0000000000..ee30645834 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/mappings/repos_hub4j-test-org_ghissuetest_issues_8-5.json @@ -0,0 +1,54 @@ +{ + "id": "3c3d3c3a-3372-42ad-9c9e-2e90cbf27009", + "name": "repos_hub4j-test-org_ghissuetest_issues_8", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/8", + "method": "PATCH", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"assignees\":[\"yrodiere\"]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_8-5.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:57: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/\"b01a45c762e505aa3a2e71f194dc3f782108b3120d10332df890ab269d990072\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4830", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "170", + "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": "E1C0:5D3D:A23E958:A47F599:632C3175" + } + }, + "uuid": "3c3d3c3a-3372-42ad-9c9e-2e90cbf27009", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/mappings/repos_hub4j-test-org_ghissuetest_issues_8-7.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/mappings/repos_hub4j-test-org_ghissuetest_issues_8-7.json new file mode 100644 index 0000000000..1027f60e5c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/mappings/repos_hub4j-test-org_ghissuetest_issues_8-7.json @@ -0,0 +1,48 @@ +{ + "id": "8af47921-52fb-4ec9-813b-a016607ac4e4", + "name": "repos_hub4j-test-org_ghissuetest_issues_8", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/8", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_8-7.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:57: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/\"b01a45c762e505aa3a2e71f194dc3f782108b3120d10332df890ab269d990072\"", + "Last-Modified": "Thu, 22 Sep 2022 09:57:09 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4828", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "172", + "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": "E1CA:6970:9ED6967:A112194:632C3176" + } + }, + "uuid": "8af47921-52fb-4ec9-813b-a016607ac4e4", + "persistent": true, + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/mappings/user-1.json new file mode 100644 index 0000000000..3a5398f9f0 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setAssignee/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "c4546544-a9df-4ca0-81f3-3b69203dfe73", + "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": "Thu, 22 Sep 2022 09:57: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/\"e4669ecab8bdeda8b7492722df3f08cf77ae22ef90272d5f19c438e11c436d56\"", + "Last-Modified": "Tue, 20 Sep 2022 13:34:03 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4838", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "162", + "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": "CDDC:B08A:7D864E0:7F7DF39:632C316E" + } + }, + "uuid": "c4546544-a9df-4ca0-81f3-3b69203dfe73", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..fb24d5d8ff --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,62 @@ +{ + "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": 53, + "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": 5, + "owned_private_repos": 5, + "private_gists": 0, + "disk_usage": 11980, + "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, + "web_commit_signoff_required": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 39, + "seats": 3 + }, + "advanced_security_enabled_for_new_repositories": false, + "dependabot_alerts_enabled_for_new_repositories": false, + "dependabot_security_updates_enabled_for_new_repositories": false, + "dependency_graph_enabled_for_new_repositories": false, + "secret_scanning_enabled_for_new_repositories": false, + "secret_scanning_push_protection_enabled_for_new_repositories": false +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/__files/repos_hub4j-test-org_ghissuetest-3.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/__files/repos_hub4j-test-org_ghissuetest-3.json new file mode 100644 index 0000000000..142deb0be9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/__files/repos_hub4j-test-org_ghissuetest-3.json @@ -0,0 +1,140 @@ +{ + "id": 539903172, + "node_id": "R_kgDOIC5ExA", + "name": "GHIssueTest", + "full_name": "hub4j-test-org/GHIssueTest", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHIssueTest", + "description": "Repository used by GHIssueTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/deployments", + "created_at": "2022-09-22T09:33:05Z", + "updated_at": "2022-09-22T09:33:16Z", + "pushed_at": "2022-09-22T09:33:05Z", + "git_url": "git://github.com/hub4j-test-org/GHIssueTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHIssueTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHIssueTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHIssueTest", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "AADEZTSLLJZKRCRGPBKWWM3DFQZJE", + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/__files/repos_hub4j-test-org_ghissuetest-6.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/__files/repos_hub4j-test-org_ghissuetest-6.json new file mode 100644 index 0000000000..0c1cb67a2d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/__files/repos_hub4j-test-org_ghissuetest-6.json @@ -0,0 +1,140 @@ +{ + "id": 539903172, + "node_id": "R_kgDOIC5ExA", + "name": "GHIssueTest", + "full_name": "hub4j-test-org/GHIssueTest", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHIssueTest", + "description": "Repository used by GHIssueTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/deployments", + "created_at": "2022-09-22T09:33:05Z", + "updated_at": "2022-09-22T09:33:16Z", + "pushed_at": "2022-09-22T09:33:05Z", + "git_url": "git://github.com/hub4j-test-org/GHIssueTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHIssueTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHIssueTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHIssueTest", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "AADEZTSIXTFRRJCB3EKY7PTDFQZJI", + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/__files/repos_hub4j-test-org_ghissuetest_issues-4.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/__files/repos_hub4j-test-org_ghissuetest_issues-4.json new file mode 100644 index 0000000000..e852911ac6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/__files/repos_hub4j-test-org_ghissuetest_issues-4.json @@ -0,0 +1,61 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/6", + "repository_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/6/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/6/comments", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/6/events", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/6", + "id": 1382171049, + "node_id": "I_kwDOIC5ExM5SYkGp", + "number": 6, + "title": "setLabels", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2022-09-22T09:56:54Z", + "updated_at": "2022-09-22T09:56:54Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "## test", + "closed_by": null, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/6/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/6/timeline", + "performed_via_github_app": null, + "state_reason": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/__files/repos_hub4j-test-org_ghissuetest_issues_6-5.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/__files/repos_hub4j-test-org_ghissuetest_issues_6-5.json new file mode 100644 index 0000000000..7d7cd5f5a1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/__files/repos_hub4j-test-org_ghissuetest_issues_6-5.json @@ -0,0 +1,71 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/6", + "repository_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/6/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/6/comments", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/6/events", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/6", + "id": 1382171049, + "node_id": "I_kwDOIC5ExM5SYkGp", + "number": 6, + "title": "setLabels", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 4563124767, + "node_id": "LA_kwDOIC5ExM8AAAABD_vCHw", + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels/setLabels_label_name", + "name": "setLabels_label_name", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2022-09-22T09:56:54Z", + "updated_at": "2022-09-22T09:56:55Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "## test", + "closed_by": null, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/6/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/6/timeline", + "performed_via_github_app": null, + "state_reason": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/__files/repos_hub4j-test-org_ghissuetest_issues_6-7.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/__files/repos_hub4j-test-org_ghissuetest_issues_6-7.json new file mode 100644 index 0000000000..7d7cd5f5a1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/__files/repos_hub4j-test-org_ghissuetest_issues_6-7.json @@ -0,0 +1,71 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/6", + "repository_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/6/labels{/name}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/6/comments", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/6/events", + "html_url": "https://github.com/hub4j-test-org/GHIssueTest/issues/6", + "id": 1382171049, + "node_id": "I_kwDOIC5ExM5SYkGp", + "number": 6, + "title": "setLabels", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "labels": [ + { + "id": 4563124767, + "node_id": "LA_kwDOIC5ExM8AAAABD_vCHw", + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/labels/setLabels_label_name", + "name": "setLabels_label_name", + "color": "ededed", + "default": false, + "description": null + } + ], + "state": "open", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 0, + "created_at": "2022-09-22T09:56:54Z", + "updated_at": "2022-09-22T09:56:55Z", + "closed_at": null, + "author_association": "NONE", + "active_lock_reason": null, + "body": "## test", + "closed_by": null, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/6/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/6/timeline", + "performed_via_github_app": null, + "state_reason": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/__files/user-1.json new file mode 100644 index 0000000000..d7c2d82c84 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/__files/user-1.json @@ -0,0 +1,34 @@ +{ + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false, + "name": "Yoann Rodière", + "company": "Red Hat - @hibernate", + "blog": "", + "location": null, + "email": "yoann@hibernate.org", + "hireable": null, + "bio": "Hibernate Search lead developer", + "twitter_username": "yoannrodiere", + "public_repos": 132, + "public_gists": 16, + "followers": 41, + "following": 4, + "created_at": "2010-09-23T12:31:20Z", + "updated_at": "2022-09-20T13:34:03Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..e35db962a5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,48 @@ +{ + "id": "9d4e6fd0-5241-4dc5-a381-353d3069edb2", + "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": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56: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/\"0df75ca805091aca7020aeb149b53e299f6cfffce78a580ed3deee76f28c5fa3\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4859", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "141", + "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": "EB98:644B:3C64285:3D657CA:632C3165" + } + }, + "uuid": "9d4e6fd0-5241-4dc5-a381-353d3069edb2", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/mappings/repos_hub4j-test-org_ghissuetest-3.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/mappings/repos_hub4j-test-org_ghissuetest-3.json new file mode 100644 index 0000000000..cf1e2cbbb6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/mappings/repos_hub4j-test-org_ghissuetest-3.json @@ -0,0 +1,51 @@ +{ + "id": "dd8a9fac-ebbf-418b-932b-48d850331c2e", + "name": "repos_hub4j-test-org_ghissuetest", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56: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/\"8e10bee2591b68b18878b39ccb1142181efd7af87933d8051a0f887f3e2d7ab4\"", + "Last-Modified": "Thu, 22 Sep 2022 09:33:16 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4858", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "142", + "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": "DAE3:0BC9:B51BAEA:B750E93:632C3166" + } + }, + "uuid": "dd8a9fac-ebbf-418b-932b-48d850331c2e", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-2", + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/mappings/repos_hub4j-test-org_ghissuetest-6.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/mappings/repos_hub4j-test-org_ghissuetest-6.json new file mode 100644 index 0000000000..02db268770 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/mappings/repos_hub4j-test-org_ghissuetest-6.json @@ -0,0 +1,50 @@ +{ + "id": "d6fa84a1-2edd-4f98-a823-ee733572328f", + "name": "repos_hub4j-test-org_ghissuetest", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56: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/\"8e10bee2591b68b18878b39ccb1142181efd7af87933d8051a0f887f3e2d7ab4\"", + "Last-Modified": "Thu, 22 Sep 2022 09:33:16 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4855", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "145", + "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": "E2D6:0BC9:B51C145:B75151B:632C3168" + } + }, + "uuid": "d6fa84a1-2edd-4f98-a823-ee733572328f", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHIssueTest", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHIssueTest-2", + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json new file mode 100644 index 0000000000..858574ca1d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/mappings/repos_hub4j-test-org_ghissuetest_issues-4.json @@ -0,0 +1,55 @@ +{ + "id": "32ec32e7-ea49-4884-85a8-a49b54acb79b", + "name": "repos_hub4j-test-org_ghissuetest_issues", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"assignees\":[],\"title\":\"setLabels\",\"body\":\"## test\",\"labels\":[]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56: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": "\"ca00254956115395ccd4712bde6db8d6ac1c64ef0c0da75ed79377759b3d9e43\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4857", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "143", + "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": "D99B:5420:940D7D9:9647F1B:632C3166", + "Location": "https://api.github.com/repos/hub4j-test-org/GHIssueTest/issues/6" + } + }, + "uuid": "32ec32e7-ea49-4884-85a8-a49b54acb79b", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_6-5.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_6-5.json new file mode 100644 index 0000000000..83ed62c935 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_6-5.json @@ -0,0 +1,54 @@ +{ + "id": "819e4921-8d0e-4e95-adb0-b36feed61a30", + "name": "repos_hub4j-test-org_ghissuetest_issues_6", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/6", + "method": "PATCH", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"labels\":[\"setLabels_label_name\"]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_6-5.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56: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/\"a7d1ab73b556cfff9b6ac51a4909187b77f27a27fbd7ec05ad88adf25acb0913\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4856", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "144", + "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": "EEB6:33AC:A6FCD37:A9383B5:632C3167" + } + }, + "uuid": "819e4921-8d0e-4e95-adb0-b36feed61a30", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_6-7.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_6-7.json new file mode 100644 index 0000000000..a10fb1387a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/mappings/repos_hub4j-test-org_ghissuetest_issues_6-7.json @@ -0,0 +1,48 @@ +{ + "id": "e3828bc5-b4d1-4206-84f0-9e4c703db058", + "name": "repos_hub4j-test-org_ghissuetest_issues_6", + "request": { + "url": "/repos/hub4j-test-org/GHIssueTest/issues/6", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghissuetest_issues_6-7.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 09:56: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/\"a7d1ab73b556cfff9b6ac51a4909187b77f27a27fbd7ec05ad88adf25acb0913\"", + "Last-Modified": "Thu, 22 Sep 2022 09:56:55 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4854", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "146", + "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": "E2E0:A95E:64D6128:666912B:632C3168" + } + }, + "uuid": "e3828bc5-b4d1-4206-84f0-9e4c703db058", + "persistent": true, + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/mappings/user-1.json new file mode 100644 index 0000000000..90988f0c68 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHIssueTest/wiremock/setLabels/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "405013a8-1c60-4eec-a56d-bc95df7529eb", + "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": "Thu, 22 Sep 2022 09:56:52 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/\"e4669ecab8bdeda8b7492722df3f08cf77ae22ef90272d5f19c438e11c436d56\"", + "Last-Modified": "Tue, 20 Sep 2022 13:34:03 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4864", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "136", + "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": "E6C8:0BC9:B51B478:B750817:632C3164" + } + }, + "uuid": "405013a8-1c60-4eec-a56d-bc95df7529eb", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-7-accounts-QgHUA.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-7-accounts-QgHUA.json index a4601c5f5a..d4e5ff9ca9 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-7-accounts-QgHUA.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-7-accounts-QgHUA.json @@ -24,7 +24,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ @@ -53,7 +53,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ @@ -80,7 +80,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-C43G2.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-C43G2.json index 61647508a2..453cf942e5 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-C43G2.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-C43G2.json @@ -8,7 +8,7 @@ "description": "A free CI solution", "monthly_price_in_cents": 0, "yearly_price_in_cents": 0, - "price_model": "free", + "price_model": "FREE", "has_free_trial": false, "state": "published", "unit_name": null, @@ -27,7 +27,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ @@ -45,7 +45,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-aoRnP.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-aoRnP.json index 09a8423762..9892541eac 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-aoRnP.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-aoRnP.json @@ -24,7 +24,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ @@ -53,7 +53,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ @@ -80,7 +80,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-NZw9v.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-NZw9v.json index 09a8423762..9892541eac 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-NZw9v.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-NZw9v.json @@ -24,7 +24,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ @@ -53,7 +53,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ @@ -80,7 +80,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-b1MbT.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-b1MbT.json index 09a8423762..9892541eac 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-b1MbT.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-b1MbT.json @@ -24,7 +24,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ @@ -53,7 +53,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ @@ -80,7 +80,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-uewkE.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-uewkE.json index 61647508a2..453cf942e5 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-uewkE.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-uewkE.json @@ -8,7 +8,7 @@ "description": "A free CI solution", "monthly_price_in_cents": 0, "yearly_price_in_cents": 0, - "price_model": "free", + "price_model": "FREE", "has_free_trial": false, "state": "published", "unit_name": null, @@ -27,7 +27,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ @@ -45,7 +45,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-cz27N.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-cz27N.json index 09a8423762..9892541eac 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-cz27N.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-cz27N.json @@ -24,7 +24,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ @@ -53,7 +53,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ @@ -80,7 +80,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-8T1Pb.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-8T1Pb.json index 09a8423762..9892541eac 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-8T1Pb.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-8T1Pb.json @@ -24,7 +24,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ @@ -53,7 +53,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ @@ -80,7 +80,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-VT77w.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-VT77w.json index 09a8423762..9892541eac 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-VT77w.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-VT77w.json @@ -24,7 +24,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ @@ -53,7 +53,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ @@ -80,7 +80,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-xk1MF.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-xk1MF.json index 61647508a2..453cf942e5 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-xk1MF.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-xk1MF.json @@ -8,7 +8,7 @@ "description": "A free CI solution", "monthly_price_in_cents": 0, "yearly_price_in_cents": 0, - "price_model": "free", + "price_model": "FREE", "has_free_trial": false, "state": "published", "unit_name": null, @@ -27,7 +27,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ @@ -45,7 +45,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listMarketplacePlans/__files/body-marketplace_listing-stubbed-plans-ZDjdu.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listMarketplacePlans/__files/body-marketplace_listing-stubbed-plans-ZDjdu.json index 61647508a2..453cf942e5 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listMarketplacePlans/__files/body-marketplace_listing-stubbed-plans-ZDjdu.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listMarketplacePlans/__files/body-marketplace_listing-stubbed-plans-ZDjdu.json @@ -8,7 +8,7 @@ "description": "A free CI solution", "monthly_price_in_cents": 0, "yearly_price_in_cents": 0, - "price_model": "free", + "price_model": "FREE", "has_free_trial": false, "state": "published", "unit_name": null, @@ -27,7 +27,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ @@ -45,7 +45,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/organizations_7544739_team_5756591_repos-4.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/organizations_7544739_team_5756591_repos-4.json new file mode 100644 index 0000000000..c27cf104b1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/organizations_7544739_team_5756591_repos-4.json @@ -0,0 +1,113 @@ +[ + { + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "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": 19045, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 8, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "role_name": "read" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..162ceb1c73 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__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/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/testCreateTeam/__files/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/repos_hub4j-test-org_github-api-2.json new file mode 100644 index 0000000000..7d9f3ef83b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/repos_hub4j-test-org_github-api-2.json @@ -0,0 +1,364 @@ +{ + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "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": 19045, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "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": "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": 596, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 98, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "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": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "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": "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": 596, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 98, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "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": 596, + "subscribers_count": 1 +} \ 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/GHOrganizationTest/wiremock/testCreateTeam/__files/repos_hub4j-test-org_github-api-3.json deleted file mode 100644 index 38d9ed25f6..0000000000 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/repos_hub4j-test-org_github-api-3.json +++ /dev/null @@ -1,330 +0,0 @@ -{ - "id": 206888201, - "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", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/github-api", - "description": "Resetting", - "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", - "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", - "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", - "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, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "main", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "allow_squash_merge": true, - "allow_merge_commit": true, - "allow_rebase_merge": true, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "parent": { - "id": 617210, - "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", - "name": "github-api", - "full_name": "hub4j/github-api", - "private": false, - "owner": { - "login": "hub4j", - "id": 54909825, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", - "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j", - "html_url": "https://github.com/hub4j", - "followers_url": "https://api.github.com/users/hub4j/followers", - "following_url": "https://api.github.com/users/hub4j/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j/orgs", - "repos_url": "https://api.github.com/users/hub4j/repos", - "events_url": "https://api.github.com/users/hub4j/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j/github-api", - "description": "Java API for GitHub", - "fork": false, - "url": "https://api.github.com/repos/hub4j/github-api", - "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", - "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", - "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", - "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, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 443, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 52, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 443, - "open_issues": 52, - "watchers": 580, - "default_branch": "main" - }, - "source": { - "id": 617210, - "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", - "name": "github-api", - "full_name": "hub4j/github-api", - "private": false, - "owner": { - "login": "hub4j", - "id": 54909825, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", - "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j", - "html_url": "https://github.com/hub4j", - "followers_url": "https://api.github.com/users/hub4j/followers", - "following_url": "https://api.github.com/users/hub4j/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j/orgs", - "repos_url": "https://api.github.com/users/hub4j/repos", - "events_url": "https://api.github.com/users/hub4j/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j/github-api", - "description": "Java API for GitHub", - "fork": false, - "url": "https://api.github.com/repos/hub4j/github-api", - "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", - "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", - "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", - "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, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 443, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 52, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 443, - "open_issues": 52, - "watchers": 580, - "default_branch": "main" - }, - "network_count": 443, - "subscribers_count": 0 -} \ 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/teams_3531422_repos-5.json deleted file mode 100644 index e8b7b1deeb..0000000000 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/teams_3531422_repos-5.json +++ /dev/null @@ -1,107 +0,0 @@ -[ - { - "id": 206888201, - "node_id": "MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=", - "name": "github-api", - "full_name": "hub4j-test-org/github-api", - "owner": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/hub4j-test-org/github-api", - "description": "Resetting", - "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", - "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", - "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", - "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, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "main", - "permissions": { - "pull": true, - "push": false, - "admin": false - } - } -] \ 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/GHOrganizationTest/wiremock/testCreateTeam/mappings/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..e98f369136 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/orgs_hub4j-test-org-1.json @@ -0,0 +1,47 @@ +{ + "id": "ace75e4e-f8a9-4557-aae0-9b8e4f2ba878", + "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:45:12 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"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": "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": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA22:89C4:7EC56B:867774:6221EDB8" + } + }, + "uuid": "ace75e4e-f8a9-4557-aae0-9b8e4f2ba878", + "persistent": true, + "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/testCreateTeamWithNullPerm/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..162ceb1c73 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/__files/orgs_hub4j-test-org-2.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/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/__files/orgs_hub4j-test-org_teams-4.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/__files/orgs_hub4j-test-org_teams-4.json new file mode 100644 index 0000000000..86647e7f73 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/__files/orgs_hub4j-test-org_teams-4.json @@ -0,0 +1,49 @@ +{ + "name": "create-team-test", + "id": 5898310, + "node_id": "T_kwDOAHMfo84AWgBG", + "slug": "create-team-test", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/7544739/team/5898310", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/create-team-test", + "members_url": "https://api.github.com/organizations/7544739/team/5898310/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/5898310/repos", + "permission": "pull", + "parent": null, + "created_at": "2022-04-06T13:29:41Z", + "updated_at": "2022-04-06T13:29:41Z", + "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/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/__files/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..286c9b38ae --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/__files/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,364 @@ +{ + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "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": 19045, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "2022-04-05T15:53:55Z", + "pushed_at": "2022-04-06T13:21: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": "https://github-api.kohsuke.org/", + "size": 39832, + "stargazers_count": 878, + "watchers_count": 878, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 601, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 101, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 601, + "open_issues": 101, + "watchers": 878, + "default_branch": "main" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "2022-04-05T15:53:55Z", + "pushed_at": "2022-04-06T13:21: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": "https://github-api.kohsuke.org/", + "size": 39832, + "stargazers_count": 878, + "watchers_count": 878, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 601, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 101, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 601, + "open_issues": 101, + "watchers": 878, + "default_branch": "main" + }, + "network_count": 601, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/__files/repos_hub4j-test-org_github-api_teams-6.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/__files/repos_hub4j-test-org_github-api_teams-6.json new file mode 100644 index 0000000000..3c5dd713ab --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/__files/repos_hub4j-test-org_github-api_teams-6.json @@ -0,0 +1,86 @@ +[ + { + "name": "Contributors", + "id": 4882699, + "node_id": "MDQ6VGVhbTQ4ODI2OTk=", + "slug": "contributors", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/7544739/team/4882699", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/contributors", + "members_url": "https://api.github.com/organizations/7544739/team/4882699/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/4882699/repos", + "permission": "admin", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "parent": null + }, + { + "name": "create-team-test", + "id": 5898310, + "node_id": "T_kwDOAHMfo84AWgBG", + "slug": "create-team-test", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/7544739/team/5898310", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/create-team-test", + "members_url": "https://api.github.com/organizations/7544739/team/5898310/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/5898310/repos", + "permission": "pull", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "parent": null + }, + { + "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": "push", + "permissions": { + "admin": false, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "parent": null + }, + { + "name": "tricky-team", + "id": 3454508, + "node_id": "MDQ6VGVhbTM0NTQ1MDg=", + "slug": "tricky-team", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/7544739/team/3454508", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/tricky-team", + "members_url": "https://api.github.com/organizations/7544739/team/3454508/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/3454508/repos", + "permission": "push", + "permissions": { + "admin": false, + "maintain": false, + "push": true, + "triage": true, + "pull": true + }, + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/__files/user-1.json new file mode 100644 index 0000000000..cfe0f3a0c9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/__files/user-1.json @@ -0,0 +1,46 @@ +{ + "login": "jgangemi", + "id": 1831839, + "node_id": "MDQ6VXNlcjE4MzE4Mzk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1831839?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jgangemi", + "html_url": "https://github.com/jgangemi", + "followers_url": "https://api.github.com/users/jgangemi/followers", + "following_url": "https://api.github.com/users/jgangemi/following{/other_user}", + "gists_url": "https://api.github.com/users/jgangemi/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jgangemi/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jgangemi/subscriptions", + "organizations_url": "https://api.github.com/users/jgangemi/orgs", + "repos_url": "https://api.github.com/users/jgangemi/repos", + "events_url": "https://api.github.com/users/jgangemi/events{/privacy}", + "received_events_url": "https://api.github.com/users/jgangemi/received_events", + "type": "User", + "site_admin": false, + "name": "Jae Gangemi", + "company": null, + "blog": "", + "location": null, + "email": null, + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 39, + "public_gists": 1, + "followers": 1, + "following": 0, + "created_at": "2012-06-08T19:54:02Z", + "updated_at": "2022-03-09T12:59:44Z", + "private_gists": 0, + "total_private_repos": 9, + "owned_private_repos": 9, + "disk_usage": 16623, + "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/testCreateTeamWithNullPerm/mappings/organizations_7544739_team_5898310_repos_hub4j-test-org_github-api-5.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/mappings/organizations_7544739_team_5898310_repos_hub4j-test-org_github-api-5.json new file mode 100644 index 0000000000..96ef708e49 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/mappings/organizations_7544739_team_5898310_repos_hub4j-test-org_github-api-5.json @@ -0,0 +1,47 @@ +{ + "id": "dcb7a2b8-ec53-4dc9-8f53-472ac3f5fc4f", + "name": "organizations_7544739_team_5898310_repos_hub4j-test-org_github-api", + "request": { + "url": "/organizations/7544739/team/5898310/repos/hub4j-test-org/github-api", + "method": "PUT", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 06 Apr 2022 13:29:42 GMT", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4965", + "X-RateLimit-Reset": "1649254722", + "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'", + "Vary": "Accept-Encoding, Accept, X-Requested-With", + "X-GitHub-Request-Id": "C149:5A29:1184F01:205315A:624D95C6" + } + }, + "uuid": "dcb7a2b8-ec53-4dc9-8f53-472ac3f5fc4f", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..4229ec863b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,48 @@ +{ + "id": "7a68190a-3581-42f6-b990-5648ff704212", + "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": { + "Server": "GitHub.com", + "Date": "Wed, 06 Apr 2022 13:29: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/\"9c48b6d97946cc9cca7a7eba9df130c47c977fea9e3ed36222d79a378e2ff6c8\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4968", + "X-RateLimit-Reset": "1649254722", + "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": "C144:0B54:FD88A8:1ED6A36:624D95C4" + } + }, + "uuid": "7a68190a-3581-42f6-b990-5648ff704212", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/mappings/orgs_hub4j-test-org_teams-4.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/mappings/orgs_hub4j-test-org_teams-4.json new file mode 100644 index 0000000000..af7c93acbe --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/mappings/orgs_hub4j-test-org_teams-4.json @@ -0,0 +1,55 @@ +{ + "id": "3ffa4da9-2cec-422d-aa3e-11c1ab5c59db", + "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\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "orgs_hub4j-test-org_teams-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 06 Apr 2022 13:29:41 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"c55b8f7b2a21e5ce24b0a46f885f959dd9d7ffa88197ceabe76128307779cb4a\"", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "admin:org, repo", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4966", + "X-RateLimit-Reset": "1649254722", + "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": "C148:4D1B:D01588:22CF75B:624D95C5", + "Location": "https://api.github.com/organizations/7544739/team/5898310" + } + }, + "uuid": "3ffa4da9-2cec-422d-aa3e-11c1ab5c59db", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/mappings/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..bdd7712518 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/mappings/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,48 @@ +{ + "id": "dc5d6a77-89fc-4179-8ad9-f0482c251b90", + "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": { + "Server": "GitHub.com", + "Date": "Wed, 06 Apr 2022 13:29:41 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"f659ce60400fb1f0bd592ef4533029ee2aca8f3785088fc086eb3c10b2548f0f\"", + "Last-Modified": "Tue, 09 Nov 2021 20:13:29 GMT", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4967", + "X-RateLimit-Reset": "1649254722", + "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": "C147:6347:FCF879:1F165D4:624D95C4" + } + }, + "uuid": "dc5d6a77-89fc-4179-8ad9-f0482c251b90", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/mappings/repos_hub4j-test-org_github-api_teams-6.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/mappings/repos_hub4j-test-org_github-api_teams-6.json new file mode 100644 index 0000000000..b94c470d78 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/mappings/repos_hub4j-test-org_github-api_teams-6.json @@ -0,0 +1,47 @@ +{ + "id": "beab6b95-c5a0-4e0d-965f-7303beebc45c", + "name": "repos_hub4j-test-org_github-api_teams", + "request": { + "url": "/repos/hub4j-test-org/github-api/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_teams-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 06 Apr 2022 13:29:42 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"54dcceb0bb517b6a007876b4702f6b5fd08e302dc9b2fdb3147c4c7e1dd09cb3\"", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4964", + "X-RateLimit-Reset": "1649254722", + "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": "C14A:54E4:10C3191:22E3B54:624D95C6" + } + }, + "uuid": "beab6b95-c5a0-4e0d-965f-7303beebc45c", + "persistent": true, + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/mappings/user-1.json new file mode 100644 index 0000000000..c0e368656c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithNullPerm/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "8a923dcb-86b8-40d6-b636-5501420fbe02", + "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, 06 Apr 2022 13:29: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/\"65ac0e73527e3adc4df6bbbde94bb21480926587df8832f0bab8a5fc1bc746c9\"", + "Last-Modified": "Wed, 09 Mar 2022 12:59:44 GMT", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4973", + "X-RateLimit-Reset": "1649254722", + "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": "C139:7D4A:F0B9DC:1DA06D1:624D95C2" + } + }, + "uuid": "8a923dcb-86b8-40d6-b636-5501420fbe02", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/organizations_7544739_team_5756603_repos-4.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/organizations_7544739_team_5756603_repos-4.json new file mode 100644 index 0000000000..166c581c68 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/organizations_7544739_team_5756603_repos-4.json @@ -0,0 +1,113 @@ +[ + { + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "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": 19045, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 8, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "write" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..162ceb1c73 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__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/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/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/repos_hub4j-test-org_github-api-2.json new file mode 100644 index 0000000000..7d9f3ef83b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/repos_hub4j-test-org_github-api-2.json @@ -0,0 +1,364 @@ +{ + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "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": 19045, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "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": "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": 596, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 98, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "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": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "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": "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": 596, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 98, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "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": 596, + "subscribers_count": 1 +} \ 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/testCreateTeamWithRepoAccess/__files/repos_hub4j-test-org_github-api-3.json deleted file mode 100644 index 51f6057521..0000000000 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/repos_hub4j-test-org_github-api-3.json +++ /dev/null @@ -1,330 +0,0 @@ -{ - "id": 206888201, - "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", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/github-api", - "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", - "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", - "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", - "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, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "main", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "allow_squash_merge": true, - "allow_merge_commit": true, - "allow_rebase_merge": true, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "parent": { - "id": 617210, - "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", - "name": "github-api", - "full_name": "hub4j/github-api", - "private": false, - "owner": { - "login": "hub4j", - "id": 54909825, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", - "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j", - "html_url": "https://github.com/hub4j", - "followers_url": "https://api.github.com/users/hub4j/followers", - "following_url": "https://api.github.com/users/hub4j/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j/orgs", - "repos_url": "https://api.github.com/users/hub4j/repos", - "events_url": "https://api.github.com/users/hub4j/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j/github-api", - "description": "Java API for GitHub", - "fork": false, - "url": "https://api.github.com/repos/hub4j/github-api", - "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", - "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", - "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", - "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, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 434, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 66, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 434, - "open_issues": 66, - "watchers": 571, - "default_branch": "main" - }, - "source": { - "id": 617210, - "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", - "name": "github-api", - "full_name": "hub4j/github-api", - "private": false, - "owner": { - "login": "hub4j", - "id": 54909825, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", - "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j", - "html_url": "https://github.com/hub4j", - "followers_url": "https://api.github.com/users/hub4j/followers", - "following_url": "https://api.github.com/users/hub4j/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j/orgs", - "repos_url": "https://api.github.com/users/hub4j/repos", - "events_url": "https://api.github.com/users/hub4j/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j/github-api", - "description": "Java API for GitHub", - "fork": false, - "url": "https://api.github.com/repos/hub4j/github-api", - "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", - "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", - "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", - "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, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 434, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 66, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 434, - "open_issues": 66, - "watchers": 571, - "default_branch": "main" - }, - "network_count": 434, - "subscribers_count": 0 -} \ 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/teams_3501817_repos-5.json deleted file mode 100644 index dc0044d9d8..0000000000 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/teams_3501817_repos-5.json +++ /dev/null @@ -1,107 +0,0 @@ -[ - { - "id": 206888201, - "node_id": "MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=", - "name": "github-api", - "full_name": "hub4j-test-org/github-api", - "owner": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/hub4j-test-org/github-api", - "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", - "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", - "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", - "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, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "main", - "permissions": { - "pull": true, - "push": true, - "admin": false - } - } -] \ 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/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..247d8e7079 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/orgs_hub4j-test-org-1.json @@ -0,0 +1,47 @@ +{ + "id": "ee9ff201-f29b-4205-a3ef-8515de9790f6", + "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: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/\"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": "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", + "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": "BA2C:89C5:102B030:10B859B:6221EE4A" + } + }, + "uuid": "ee9ff201-f29b-4205-a3ef-8515de9790f6", + "persistent": true, + "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-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/orgs_hub4j-test-org_teams-3.json new file mode 100644 index 0000000000..1547a3fcbd --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/orgs_hub4j-test-org_teams-3.json @@ -0,0 +1,54 @@ +{ + "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": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "orgs_hub4j-test-org_teams-3.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": "\"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", + "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": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA30:B362:345C474:355A72B:6221EE4B", + "Location": "https://api.github.com/organizations/7544739/team/5756603" + } + }, + "uuid": "084c9748-cb5b-4a92-b5ac-6c1bf5a3d4b6", + "persistent": true, + "insertionIndex": 3 +} \ 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-4.json deleted file mode 100644 index 5f4dbe02e0..0000000000 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/orgs_hub4j-test-org_teams-4.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "id": "3459b05f-6e47-4c41-be60-83c125bf180b", - "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\"],\"permission\":\"push\"}", - "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": "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", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "\"107dcb6fe97e7e3aa92c5751075dec52\"", - "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, 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": "*", - "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:15D51FE:19DE222:5DBC5D55" - } - }, - "uuid": "3459b05f-6e47-4c41-be60-83c125bf180b", - "persistent": true, - "insertionIndex": 4 -} \ 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/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..162ceb1c73 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/__files/orgs_hub4j-test-org-2.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/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/__files/orgs_hub4j-test-org_teams-4.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/__files/orgs_hub4j-test-org_teams-4.json new file mode 100644 index 0000000000..78c71cfa62 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/__files/orgs_hub4j-test-org_teams-4.json @@ -0,0 +1,49 @@ +{ + "name": "create-team-test", + "id": 5898252, + "node_id": "T_kwDOAHMfo84AWgAM", + "slug": "create-team-test", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/7544739/team/5898252", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/create-team-test", + "members_url": "https://api.github.com/organizations/7544739/team/5898252/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/5898252/repos", + "permission": "pull", + "parent": null, + "created_at": "2022-04-06T13:19:47Z", + "updated_at": "2022-04-06T13:19: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/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/__files/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..418d292cb7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/__files/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,364 @@ +{ + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "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": 19045, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "2022-04-05T15:53:55Z", + "pushed_at": "2022-04-05T05:40:16Z", + "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": "https://github-api.kohsuke.org/", + "size": 39832, + "stargazers_count": 878, + "watchers_count": 878, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 601, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 101, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 601, + "open_issues": 101, + "watchers": 878, + "default_branch": "main" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "2022-04-05T15:53:55Z", + "pushed_at": "2022-04-05T05:40:16Z", + "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": "https://github-api.kohsuke.org/", + "size": 39832, + "stargazers_count": 878, + "watchers_count": 878, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 601, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 101, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 601, + "open_issues": 101, + "watchers": 878, + "default_branch": "main" + }, + "network_count": 601, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/__files/repos_hub4j-test-org_github-api_teams-6.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/__files/repos_hub4j-test-org_github-api_teams-6.json new file mode 100644 index 0000000000..5886a2746b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/__files/repos_hub4j-test-org_github-api_teams-6.json @@ -0,0 +1,86 @@ +[ + { + "name": "Contributors", + "id": 4882699, + "node_id": "MDQ6VGVhbTQ4ODI2OTk=", + "slug": "contributors", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/7544739/team/4882699", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/contributors", + "members_url": "https://api.github.com/organizations/7544739/team/4882699/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/4882699/repos", + "permission": "admin", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "parent": null + }, + { + "name": "create-team-test", + "id": 5898252, + "node_id": "T_kwDOAHMfo84AWgAM", + "slug": "create-team-test", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/7544739/team/5898252", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/create-team-test", + "members_url": "https://api.github.com/organizations/7544739/team/5898252/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/5898252/repos", + "permission": "push", + "permissions": { + "admin": false, + "maintain": false, + "push": true, + "triage": true, + "pull": true + }, + "parent": null + }, + { + "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": "push", + "permissions": { + "admin": false, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "parent": null + }, + { + "name": "tricky-team", + "id": 3454508, + "node_id": "MDQ6VGVhbTM0NTQ1MDg=", + "slug": "tricky-team", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/7544739/team/3454508", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/tricky-team", + "members_url": "https://api.github.com/organizations/7544739/team/3454508/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/3454508/repos", + "permission": "push", + "permissions": { + "admin": false, + "maintain": false, + "push": true, + "triage": true, + "pull": true + }, + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/__files/user-1.json new file mode 100644 index 0000000000..cfe0f3a0c9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/__files/user-1.json @@ -0,0 +1,46 @@ +{ + "login": "jgangemi", + "id": 1831839, + "node_id": "MDQ6VXNlcjE4MzE4Mzk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1831839?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jgangemi", + "html_url": "https://github.com/jgangemi", + "followers_url": "https://api.github.com/users/jgangemi/followers", + "following_url": "https://api.github.com/users/jgangemi/following{/other_user}", + "gists_url": "https://api.github.com/users/jgangemi/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jgangemi/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jgangemi/subscriptions", + "organizations_url": "https://api.github.com/users/jgangemi/orgs", + "repos_url": "https://api.github.com/users/jgangemi/repos", + "events_url": "https://api.github.com/users/jgangemi/events{/privacy}", + "received_events_url": "https://api.github.com/users/jgangemi/received_events", + "type": "User", + "site_admin": false, + "name": "Jae Gangemi", + "company": null, + "blog": "", + "location": null, + "email": null, + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 39, + "public_gists": 1, + "followers": 1, + "following": 0, + "created_at": "2012-06-08T19:54:02Z", + "updated_at": "2022-03-09T12:59:44Z", + "private_gists": 0, + "total_private_repos": 9, + "owned_private_repos": 9, + "disk_usage": 16623, + "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/testCreateTeamWithRepoPerm/mappings/organizations_7544739_team_5898252_repos_hub4j-test-org_github-api-5.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/mappings/organizations_7544739_team_5898252_repos_hub4j-test-org_github-api-5.json new file mode 100644 index 0000000000..c9ac00f2ff --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/mappings/organizations_7544739_team_5898252_repos_hub4j-test-org_github-api-5.json @@ -0,0 +1,47 @@ +{ + "id": "dc4155d3-69b0-4b94-8b18-6259ae79dff7", + "name": "organizations_7544739_team_5898252_repos_hub4j-test-org_github-api", + "request": { + "url": "/organizations/7544739/team/5898252/repos/hub4j-test-org/github-api", + "method": "PUT", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"permission\":\"push\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 06 Apr 2022 13:19:47 GMT", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4978", + "X-RateLimit-Reset": "1649254722", + "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'", + "Vary": "Accept-Encoding, Accept, X-Requested-With", + "X-GitHub-Request-Id": "F72C:1B85:D1A03D:2972A6A:624D9373" + } + }, + "uuid": "dc4155d3-69b0-4b94-8b18-6259ae79dff7", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..889b20d7c6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,48 @@ +{ + "id": "f38d985a-47ef-4abb-8555-e10dd3b398f1", + "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": { + "Server": "GitHub.com", + "Date": "Wed, 06 Apr 2022 13:19:46 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"9c48b6d97946cc9cca7a7eba9df130c47c977fea9e3ed36222d79a378e2ff6c8\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4981", + "X-RateLimit-Reset": "1649254722", + "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": "F729:0DD6:B2D800:2174337:624D9371" + } + }, + "uuid": "f38d985a-47ef-4abb-8555-e10dd3b398f1", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/mappings/orgs_hub4j-test-org_teams-4.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/mappings/orgs_hub4j-test-org_teams-4.json new file mode 100644 index 0000000000..2bd16c4c6b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/mappings/orgs_hub4j-test-org_teams-4.json @@ -0,0 +1,55 @@ +{ + "id": "1a8285bb-47f1-4fcc-ba89-5561a234e341", + "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\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "orgs_hub4j-test-org_teams-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 06 Apr 2022 13:19:47 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"246d7c8dfe769b8421f517f58d96f26b3e98841edd53107a9d3efe8b6a09ee41\"", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "admin:org, repo", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4979", + "X-RateLimit-Reset": "1649254722", + "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": "F72B:8348:D8205D:2794AFE:624D9372", + "Location": "https://api.github.com/organizations/7544739/team/5898252" + } + }, + "uuid": "1a8285bb-47f1-4fcc-ba89-5561a234e341", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/mappings/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..750fde2bf2 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/mappings/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,48 @@ +{ + "id": "102f424b-4c0b-4545-b5d3-90ff7c66ed10", + "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": { + "Server": "GitHub.com", + "Date": "Wed, 06 Apr 2022 13:19:46 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"f659ce60400fb1f0bd592ef4533029ee2aca8f3785088fc086eb3c10b2548f0f\"", + "Last-Modified": "Tue, 09 Nov 2021 20:13:29 GMT", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4980", + "X-RateLimit-Reset": "1649254722", + "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": "F72A:27B5:28BC3D:8EBEFF:624D9372" + } + }, + "uuid": "102f424b-4c0b-4545-b5d3-90ff7c66ed10", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/mappings/repos_hub4j-test-org_github-api_teams-6.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/mappings/repos_hub4j-test-org_github-api_teams-6.json new file mode 100644 index 0000000000..f8b7581e35 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/mappings/repos_hub4j-test-org_github-api_teams-6.json @@ -0,0 +1,47 @@ +{ + "id": "6fee3f98-4eab-406f-bb72-b4ec59a61353", + "name": "repos_hub4j-test-org_github-api_teams", + "request": { + "url": "/repos/hub4j-test-org/github-api/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_teams-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 06 Apr 2022 13:19:48 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"bbb7dfb47509650a485809a1b671e6a145fcdb01e4c2ae4b1e279aba283970c3\"", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4977", + "X-RateLimit-Reset": "1649254722", + "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": "F72D:08CD:C36DCD:23BE34E:624D9374" + } + }, + "uuid": "6fee3f98-4eab-406f-bb72-b4ec59a61353", + "persistent": true, + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/mappings/user-1.json new file mode 100644 index 0000000000..16d5b8b9f9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoPerm/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "1e877c4a-980d-4d3d-ab86-7525f99558ef", + "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, 06 Apr 2022 13:19:44 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/\"65ac0e73527e3adc4df6bbbde94bb21480926587df8832f0bab8a5fc1bc746c9\"", + "Last-Modified": "Wed, 09 Mar 2022 12:59:44 GMT", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4986", + "X-RateLimit-Reset": "1649254722", + "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": "F727:8122:1167F00:208AC47:624D936F" + } + }, + "uuid": "1e877c4a-980d-4d3d-ab86-7525f99558ef", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..ed712b6a45 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/__files/orgs_hub4j-test-org-2.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": 48, + "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/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/__files/orgs_hub4j-test-org_teams-4.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/__files/orgs_hub4j-test-org_teams-4.json new file mode 100644 index 0000000000..df154ce218 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/__files/orgs_hub4j-test-org_teams-4.json @@ -0,0 +1,49 @@ +{ + "name": "create-team-test", + "id": 5819578, + "node_id": "T_kwDOAHMfo84AWMy6", + "slug": "create-team-test", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/7544739/team/5819578", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/create-team-test", + "members_url": "https://api.github.com/organizations/7544739/team/5819578/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/5819578/repos", + "permission": "pull", + "parent": null, + "created_at": "2022-03-18T21:50:11Z", + "updated_at": "2022-03-18T21:50: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://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": 48, + "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/testCreateTeamWithRepoRole/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/__files/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..8bb9249af9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/__files/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,364 @@ +{ + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "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": 19045, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "2022-03-18T10:24:59Z", + "pushed_at": "2022-03-15T12:49:31Z", + "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": "https://github-api.kohsuke.org/", + "size": 39710, + "stargazers_count": 873, + "watchers_count": 873, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 599, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 100, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 599, + "open_issues": 100, + "watchers": 873, + "default_branch": "main" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "2022-03-18T10:24:59Z", + "pushed_at": "2022-03-15T12:49:31Z", + "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": "https://github-api.kohsuke.org/", + "size": 39710, + "stargazers_count": 873, + "watchers_count": 873, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 599, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 100, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 599, + "open_issues": 100, + "watchers": 873, + "default_branch": "main" + }, + "network_count": 599, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/__files/user-1.json new file mode 100644 index 0000000000..cfe0f3a0c9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/__files/user-1.json @@ -0,0 +1,46 @@ +{ + "login": "jgangemi", + "id": 1831839, + "node_id": "MDQ6VXNlcjE4MzE4Mzk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1831839?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jgangemi", + "html_url": "https://github.com/jgangemi", + "followers_url": "https://api.github.com/users/jgangemi/followers", + "following_url": "https://api.github.com/users/jgangemi/following{/other_user}", + "gists_url": "https://api.github.com/users/jgangemi/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jgangemi/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jgangemi/subscriptions", + "organizations_url": "https://api.github.com/users/jgangemi/orgs", + "repos_url": "https://api.github.com/users/jgangemi/repos", + "events_url": "https://api.github.com/users/jgangemi/events{/privacy}", + "received_events_url": "https://api.github.com/users/jgangemi/received_events", + "type": "User", + "site_admin": false, + "name": "Jae Gangemi", + "company": null, + "blog": "", + "location": null, + "email": null, + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 39, + "public_gists": 1, + "followers": 1, + "following": 0, + "created_at": "2012-06-08T19:54:02Z", + "updated_at": "2022-03-09T12:59:44Z", + "private_gists": 0, + "total_private_repos": 9, + "owned_private_repos": 9, + "disk_usage": 16623, + "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/testCreateTeamWithRepoRole/mappings/organizations_7544739_team_5819578_repos_hub4j-test-org_github-api-5.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/mappings/organizations_7544739_team_5819578_repos_hub4j-test-org_github-api-5.json new file mode 100644 index 0000000000..1d1ac06e2d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/mappings/organizations_7544739_team_5819578_repos_hub4j-test-org_github-api-5.json @@ -0,0 +1,47 @@ +{ + "id": "e4a6ce2a-a5dc-4869-ae9d-50c5723ab190", + "name": "organizations_7544739_team_5819578_repos_hub4j-test-org_github-api", + "request": { + "url": "/organizations/7544739/team/5819578/repos/hub4j-test-org/github-api", + "method": "PUT", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"permission\":\"triage\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 18 Mar 2022 21:50:12 GMT", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4937", + "X-RateLimit-Reset": "1647642206", + "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'", + "Vary": "Accept-Encoding, Accept, X-Requested-With", + "X-GitHub-Request-Id": "F648:32DC:3A5D6B:6F68FD:6234FE94" + } + }, + "uuid": "e4a6ce2a-a5dc-4869-ae9d-50c5723ab190", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..1255c29fa7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,48 @@ +{ + "id": "c3064708-e979-4ffa-a4fc-2260ae7dc65e", + "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": { + "Server": "GitHub.com", + "Date": "Fri, 18 Mar 2022 21:50: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/\"7158b1627effd511902a75ae99efc0c0361a7d11186ee2a7540a75e7b63c2d4b\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4940", + "X-RateLimit-Reset": "1647642206", + "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": "F645:75A6:3865AE:6EF8AD:6234FE92" + } + }, + "uuid": "c3064708-e979-4ffa-a4fc-2260ae7dc65e", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/mappings/orgs_hub4j-test-org_teams-4.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/mappings/orgs_hub4j-test-org_teams-4.json new file mode 100644 index 0000000000..60277c9e72 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/mappings/orgs_hub4j-test-org_teams-4.json @@ -0,0 +1,55 @@ +{ + "id": "fc36b944-0b1c-4083-83a5-db23d8ed293d", + "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\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "orgs_hub4j-test-org_teams-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 18 Mar 2022 21:50: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": "\"cc1c573c70ea994341e5c3089cfad47333e71adbce083f22824b8f57c2167dea\"", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "admin:org, repo", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4938", + "X-RateLimit-Reset": "1647642206", + "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": "F647:6593:2128DD:4BBC82:6234FE93", + "Location": "https://api.github.com/organizations/7544739/team/5819578" + } + }, + "uuid": "fc36b944-0b1c-4083-83a5-db23d8ed293d", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/mappings/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..fcd2110978 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/mappings/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,48 @@ +{ + "id": "97d37ed3-37c5-4b6c-a94a-7e33142295c1", + "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": { + "Server": "GitHub.com", + "Date": "Fri, 18 Mar 2022 21:50: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/\"f659ce60400fb1f0bd592ef4533029ee2aca8f3785088fc086eb3c10b2548f0f\"", + "Last-Modified": "Tue, 09 Nov 2021 20:13:29 GMT", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4939", + "X-RateLimit-Reset": "1647642206", + "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": "F646:3A72:2CDAC5:819DC7:6234FE93" + } + }, + "uuid": "97d37ed3-37c5-4b6c-a94a-7e33142295c1", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/mappings/user-1.json new file mode 100644 index 0000000000..e2ae676f8c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoRole/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "35a29373-1735-4afe-9e05-bb08b0a8ddfa", + "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": "Fri, 18 Mar 2022 21:50: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/\"65ac0e73527e3adc4df6bbbde94bb21480926587df8832f0bab8a5fc1bc746c9\"", + "Last-Modified": "Wed, 09 Mar 2022 12:59:44 GMT", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4945", + "X-RateLimit-Reset": "1647642206", + "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": "F643:3A71:3D5249:73EB94:6234FE90" + } + }, + "uuid": "35a29373-1735-4afe-9e05-bb08b0a8ddfa", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaborators/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaborators/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..731f707098 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaborators/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,41 @@ +{ + "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": 11, + "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": 12, + "seats": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaborators/__files/orgs_hub4j-test-org_members-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaborators/__files/orgs_hub4j-test-org_members-3.json new file mode 100644 index 0000000000..c8fc2f66f7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaborators/__files/orgs_hub4j-test-org_members-3.json @@ -0,0 +1,242 @@ +[ + { + "login": "alexanderrtaylor", + "id": 852179, + "node_id": "MDQ6VXNlcjg1MjE3OQ==", + "avatar_url": "https://avatars0.githubusercontent.com/u/852179?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/alexanderrtaylor", + "html_url": "https://github.com/alexanderrtaylor", + "followers_url": "https://api.github.com/users/alexanderrtaylor/followers", + "following_url": "https://api.github.com/users/alexanderrtaylor/following{/other_user}", + "gists_url": "https://api.github.com/users/alexanderrtaylor/gists{/gist_id}", + "starred_url": "https://api.github.com/users/alexanderrtaylor/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/alexanderrtaylor/subscriptions", + "organizations_url": "https://api.github.com/users/alexanderrtaylor/orgs", + "repos_url": "https://api.github.com/users/alexanderrtaylor/repos", + "events_url": "https://api.github.com/users/alexanderrtaylor/events{/privacy}", + "received_events_url": "https://api.github.com/users/alexanderrtaylor/received_events", + "type": "User", + "site_admin": false + }, + { + "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 + }, + { + "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 + }, + { + "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 + }, + { + "login": "halkeye", + "id": 110087, + "node_id": "MDQ6VXNlcjExMDA4Nw==", + "avatar_url": "https://avatars3.githubusercontent.com/u/110087?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/halkeye", + "html_url": "https://github.com/halkeye", + "followers_url": "https://api.github.com/users/halkeye/followers", + "following_url": "https://api.github.com/users/halkeye/following{/other_user}", + "gists_url": "https://api.github.com/users/halkeye/gists{/gist_id}", + "starred_url": "https://api.github.com/users/halkeye/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/halkeye/subscriptions", + "organizations_url": "https://api.github.com/users/halkeye/orgs", + "repos_url": "https://api.github.com/users/halkeye/repos", + "events_url": "https://api.github.com/users/halkeye/events{/privacy}", + "received_events_url": "https://api.github.com/users/halkeye/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "jberglund-BSFT", + "id": 19560713, + "node_id": "MDQ6VXNlcjE5NTYwNzEz", + "avatar_url": "https://avatars3.githubusercontent.com/u/19560713?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jberglund-BSFT", + "html_url": "https://github.com/jberglund-BSFT", + "followers_url": "https://api.github.com/users/jberglund-BSFT/followers", + "following_url": "https://api.github.com/users/jberglund-BSFT/following{/other_user}", + "gists_url": "https://api.github.com/users/jberglund-BSFT/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jberglund-BSFT/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jberglund-BSFT/subscriptions", + "organizations_url": "https://api.github.com/users/jberglund-BSFT/orgs", + "repos_url": "https://api.github.com/users/jberglund-BSFT/repos", + "events_url": "https://api.github.com/users/jberglund-BSFT/events{/privacy}", + "received_events_url": "https://api.github.com/users/jberglund-BSFT/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "kohsuke2", + "id": 1329242, + "node_id": "MDQ6VXNlcjEzMjkyNDI=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1329242?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke2", + "html_url": "https://github.com/kohsuke2", + "followers_url": "https://api.github.com/users/kohsuke2/followers", + "following_url": "https://api.github.com/users/kohsuke2/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke2/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke2/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke2/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke2/orgs", + "repos_url": "https://api.github.com/users/kohsuke2/repos", + "events_url": "https://api.github.com/users/kohsuke2/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke2/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "martinvanzijl", + "id": 24422213, + "node_id": "MDQ6VXNlcjI0NDIyMjEz", + "avatar_url": "https://avatars0.githubusercontent.com/u/24422213?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/martinvanzijl", + "html_url": "https://github.com/martinvanzijl", + "followers_url": "https://api.github.com/users/martinvanzijl/followers", + "following_url": "https://api.github.com/users/martinvanzijl/following{/other_user}", + "gists_url": "https://api.github.com/users/martinvanzijl/gists{/gist_id}", + "starred_url": "https://api.github.com/users/martinvanzijl/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/martinvanzijl/subscriptions", + "organizations_url": "https://api.github.com/users/martinvanzijl/orgs", + "repos_url": "https://api.github.com/users/martinvanzijl/repos", + "events_url": "https://api.github.com/users/martinvanzijl/events{/privacy}", + "received_events_url": "https://api.github.com/users/martinvanzijl/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "PauloMigAlmeida", + "id": 1011868, + "node_id": "MDQ6VXNlcjEwMTE4Njg=", + "avatar_url": "https://avatars1.githubusercontent.com/u/1011868?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PauloMigAlmeida", + "html_url": "https://github.com/PauloMigAlmeida", + "followers_url": "https://api.github.com/users/PauloMigAlmeida/followers", + "following_url": "https://api.github.com/users/PauloMigAlmeida/following{/other_user}", + "gists_url": "https://api.github.com/users/PauloMigAlmeida/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PauloMigAlmeida/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PauloMigAlmeida/subscriptions", + "organizations_url": "https://api.github.com/users/PauloMigAlmeida/orgs", + "repos_url": "https://api.github.com/users/PauloMigAlmeida/repos", + "events_url": "https://api.github.com/users/PauloMigAlmeida/events{/privacy}", + "received_events_url": "https://api.github.com/users/PauloMigAlmeida/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "Sage-Pierce", + "id": 5396306, + "node_id": "MDQ6VXNlcjUzOTYzMDY=", + "avatar_url": "https://avatars3.githubusercontent.com/u/5396306?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Sage-Pierce", + "html_url": "https://github.com/Sage-Pierce", + "followers_url": "https://api.github.com/users/Sage-Pierce/followers", + "following_url": "https://api.github.com/users/Sage-Pierce/following{/other_user}", + "gists_url": "https://api.github.com/users/Sage-Pierce/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Sage-Pierce/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Sage-Pierce/subscriptions", + "organizations_url": "https://api.github.com/users/Sage-Pierce/orgs", + "repos_url": "https://api.github.com/users/Sage-Pierce/repos", + "events_url": "https://api.github.com/users/Sage-Pierce/events{/privacy}", + "received_events_url": "https://api.github.com/users/Sage-Pierce/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "timja", + "id": 21194782, + "node_id": "MDQ6VXNlcjIxMTk0Nzgy", + "avatar_url": "https://avatars3.githubusercontent.com/u/21194782?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/timja", + "html_url": "https://github.com/timja", + "followers_url": "https://api.github.com/users/timja/followers", + "following_url": "https://api.github.com/users/timja/following{/other_user}", + "gists_url": "https://api.github.com/users/timja/gists{/gist_id}", + "starred_url": "https://api.github.com/users/timja/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/timja/subscriptions", + "organizations_url": "https://api.github.com/users/timja/orgs", + "repos_url": "https://api.github.com/users/timja/repos", + "events_url": "https://api.github.com/users/timja/events{/privacy}", + "received_events_url": "https://api.github.com/users/timja/received_events", + "type": "User", + "site_admin": false + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaborators/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaborators/__files/user-1.json new file mode 100644 index 0000000000..750413948a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaborators/__files/user-1.json @@ -0,0 +1,45 @@ +{ + "login": "Sage-Pierce", + "id": 5396306, + "node_id": "MDQ6VXNlcjUzOTYzMDY=", + "avatar_url": "https://avatars3.githubusercontent.com/u/5396306?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Sage-Pierce", + "html_url": "https://github.com/Sage-Pierce", + "followers_url": "https://api.github.com/users/Sage-Pierce/followers", + "following_url": "https://api.github.com/users/Sage-Pierce/following{/other_user}", + "gists_url": "https://api.github.com/users/Sage-Pierce/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Sage-Pierce/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Sage-Pierce/subscriptions", + "organizations_url": "https://api.github.com/users/Sage-Pierce/orgs", + "repos_url": "https://api.github.com/users/Sage-Pierce/repos", + "events_url": "https://api.github.com/users/Sage-Pierce/events{/privacy}", + "received_events_url": "https://api.github.com/users/Sage-Pierce/received_events", + "type": "User", + "site_admin": false, + "name": "Sage Pierce", + "company": "@Vrbo @ExpediaGroup", + "blog": "", + "location": null, + "email": "sapierce@vrbo.com", + "hireable": true, + "bio": "Software engineer with a Masters of Science in Electrical and Computer Engineering out of The University of Texas at Austin.", + "public_repos": 9, + "public_gists": 0, + "followers": 4, + "following": 0, + "created_at": "2013-09-06T02:22:48Z", + "updated_at": "2020-02-18T13:29:56Z", + "private_gists": 0, + "total_private_repos": 0, + "owned_private_repos": 0, + "disk_usage": 1816, + "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/testListOutsideCollaborators/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaborators/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..a28834ada9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaborators/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,48 @@ +{ + "id": "3ed48345-73c2-4d8e-9c65-f4a140356d59", + "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": { + "Server": "GitHub.com", + "Date": "Tue, 25 Feb 2020 14:41:05 GMT", + "Content-Type": "application/json; charset=utf-8", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4984", + "X-RateLimit-Reset": "1582644474", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"712644daa44df3089a27d6ef60979929\"", + "Last-Modified": "Mon, 20 Apr 2015 00:42:30 GMT", + "X-OAuth-Scopes": "delete_repo, repo, user", + "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": "EB37:2979:3EAF7E:786110:5E5531FF" + } + }, + "uuid": "3ed48345-73c2-4d8e-9c65-f4a140356d59", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaborators/mappings/orgs_hub4j-test-org_members-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaborators/mappings/orgs_hub4j-test-org_members-3.json new file mode 100644 index 0000000000..b34c01a2da --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaborators/mappings/orgs_hub4j-test-org_members-3.json @@ -0,0 +1,47 @@ +{ + "id": "ef9f50f7-160c-4410-a82e-68d3e14fb250", + "name": "orgs_hub4j-test-org_members", + "request": { + "url": "/orgs/hub4j-test-org/outside_collaborators", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hub4j-test-org_members-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 25 Feb 2020 14:41:06 GMT", + "Content-Type": "application/json; charset=utf-8", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4983", + "X-RateLimit-Reset": "1582644475", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"631de12e6bc586863218257765331a70\"", + "X-OAuth-Scopes": "delete_repo, repo, user", + "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": "EB37:2979:3EAF8C:78624D:5E553201" + } + }, + "uuid": "ef9f50f7-160c-4410-a82e-68d3e14fb250", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaborators/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaborators/mappings/user-1.json new file mode 100644 index 0000000000..c259d1b9d7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaborators/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "9e0ec7a6-d16f-4198-b2e6-ed290e9d780d", + "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, 25 Feb 2020 14:41:03 GMT", + "Content-Type": "application/json; charset=utf-8", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4988", + "X-RateLimit-Reset": "1582644474", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"9adfa44fe91fb698b5fd807d9471afc3\"", + "Last-Modified": "Tue, 18 Feb 2020 13:29:56 GMT", + "X-OAuth-Scopes": "delete_repo, repo, user", + "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": "EB37:2979:3EAEEA:7860F9:5E5531FF" + } + }, + "uuid": "9e0ec7a6-d16f-4198-b2e6-ed290e9d780d", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaboratorsWithFilter/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaboratorsWithFilter/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..731f707098 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaboratorsWithFilter/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,41 @@ +{ + "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": 11, + "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": 12, + "seats": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaboratorsWithFilter/__files/orgs_hub4j-test-org_members-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaboratorsWithFilter/__files/orgs_hub4j-test-org_members-3.json new file mode 100644 index 0000000000..c8fc2f66f7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaboratorsWithFilter/__files/orgs_hub4j-test-org_members-3.json @@ -0,0 +1,242 @@ +[ + { + "login": "alexanderrtaylor", + "id": 852179, + "node_id": "MDQ6VXNlcjg1MjE3OQ==", + "avatar_url": "https://avatars0.githubusercontent.com/u/852179?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/alexanderrtaylor", + "html_url": "https://github.com/alexanderrtaylor", + "followers_url": "https://api.github.com/users/alexanderrtaylor/followers", + "following_url": "https://api.github.com/users/alexanderrtaylor/following{/other_user}", + "gists_url": "https://api.github.com/users/alexanderrtaylor/gists{/gist_id}", + "starred_url": "https://api.github.com/users/alexanderrtaylor/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/alexanderrtaylor/subscriptions", + "organizations_url": "https://api.github.com/users/alexanderrtaylor/orgs", + "repos_url": "https://api.github.com/users/alexanderrtaylor/repos", + "events_url": "https://api.github.com/users/alexanderrtaylor/events{/privacy}", + "received_events_url": "https://api.github.com/users/alexanderrtaylor/received_events", + "type": "User", + "site_admin": false + }, + { + "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 + }, + { + "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 + }, + { + "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 + }, + { + "login": "halkeye", + "id": 110087, + "node_id": "MDQ6VXNlcjExMDA4Nw==", + "avatar_url": "https://avatars3.githubusercontent.com/u/110087?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/halkeye", + "html_url": "https://github.com/halkeye", + "followers_url": "https://api.github.com/users/halkeye/followers", + "following_url": "https://api.github.com/users/halkeye/following{/other_user}", + "gists_url": "https://api.github.com/users/halkeye/gists{/gist_id}", + "starred_url": "https://api.github.com/users/halkeye/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/halkeye/subscriptions", + "organizations_url": "https://api.github.com/users/halkeye/orgs", + "repos_url": "https://api.github.com/users/halkeye/repos", + "events_url": "https://api.github.com/users/halkeye/events{/privacy}", + "received_events_url": "https://api.github.com/users/halkeye/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "jberglund-BSFT", + "id": 19560713, + "node_id": "MDQ6VXNlcjE5NTYwNzEz", + "avatar_url": "https://avatars3.githubusercontent.com/u/19560713?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jberglund-BSFT", + "html_url": "https://github.com/jberglund-BSFT", + "followers_url": "https://api.github.com/users/jberglund-BSFT/followers", + "following_url": "https://api.github.com/users/jberglund-BSFT/following{/other_user}", + "gists_url": "https://api.github.com/users/jberglund-BSFT/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jberglund-BSFT/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jberglund-BSFT/subscriptions", + "organizations_url": "https://api.github.com/users/jberglund-BSFT/orgs", + "repos_url": "https://api.github.com/users/jberglund-BSFT/repos", + "events_url": "https://api.github.com/users/jberglund-BSFT/events{/privacy}", + "received_events_url": "https://api.github.com/users/jberglund-BSFT/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "kohsuke2", + "id": 1329242, + "node_id": "MDQ6VXNlcjEzMjkyNDI=", + "avatar_url": "https://avatars2.githubusercontent.com/u/1329242?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke2", + "html_url": "https://github.com/kohsuke2", + "followers_url": "https://api.github.com/users/kohsuke2/followers", + "following_url": "https://api.github.com/users/kohsuke2/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke2/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke2/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke2/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke2/orgs", + "repos_url": "https://api.github.com/users/kohsuke2/repos", + "events_url": "https://api.github.com/users/kohsuke2/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke2/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "martinvanzijl", + "id": 24422213, + "node_id": "MDQ6VXNlcjI0NDIyMjEz", + "avatar_url": "https://avatars0.githubusercontent.com/u/24422213?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/martinvanzijl", + "html_url": "https://github.com/martinvanzijl", + "followers_url": "https://api.github.com/users/martinvanzijl/followers", + "following_url": "https://api.github.com/users/martinvanzijl/following{/other_user}", + "gists_url": "https://api.github.com/users/martinvanzijl/gists{/gist_id}", + "starred_url": "https://api.github.com/users/martinvanzijl/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/martinvanzijl/subscriptions", + "organizations_url": "https://api.github.com/users/martinvanzijl/orgs", + "repos_url": "https://api.github.com/users/martinvanzijl/repos", + "events_url": "https://api.github.com/users/martinvanzijl/events{/privacy}", + "received_events_url": "https://api.github.com/users/martinvanzijl/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "PauloMigAlmeida", + "id": 1011868, + "node_id": "MDQ6VXNlcjEwMTE4Njg=", + "avatar_url": "https://avatars1.githubusercontent.com/u/1011868?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PauloMigAlmeida", + "html_url": "https://github.com/PauloMigAlmeida", + "followers_url": "https://api.github.com/users/PauloMigAlmeida/followers", + "following_url": "https://api.github.com/users/PauloMigAlmeida/following{/other_user}", + "gists_url": "https://api.github.com/users/PauloMigAlmeida/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PauloMigAlmeida/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PauloMigAlmeida/subscriptions", + "organizations_url": "https://api.github.com/users/PauloMigAlmeida/orgs", + "repos_url": "https://api.github.com/users/PauloMigAlmeida/repos", + "events_url": "https://api.github.com/users/PauloMigAlmeida/events{/privacy}", + "received_events_url": "https://api.github.com/users/PauloMigAlmeida/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "Sage-Pierce", + "id": 5396306, + "node_id": "MDQ6VXNlcjUzOTYzMDY=", + "avatar_url": "https://avatars3.githubusercontent.com/u/5396306?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Sage-Pierce", + "html_url": "https://github.com/Sage-Pierce", + "followers_url": "https://api.github.com/users/Sage-Pierce/followers", + "following_url": "https://api.github.com/users/Sage-Pierce/following{/other_user}", + "gists_url": "https://api.github.com/users/Sage-Pierce/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Sage-Pierce/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Sage-Pierce/subscriptions", + "organizations_url": "https://api.github.com/users/Sage-Pierce/orgs", + "repos_url": "https://api.github.com/users/Sage-Pierce/repos", + "events_url": "https://api.github.com/users/Sage-Pierce/events{/privacy}", + "received_events_url": "https://api.github.com/users/Sage-Pierce/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "timja", + "id": 21194782, + "node_id": "MDQ6VXNlcjIxMTk0Nzgy", + "avatar_url": "https://avatars3.githubusercontent.com/u/21194782?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/timja", + "html_url": "https://github.com/timja", + "followers_url": "https://api.github.com/users/timja/followers", + "following_url": "https://api.github.com/users/timja/following{/other_user}", + "gists_url": "https://api.github.com/users/timja/gists{/gist_id}", + "starred_url": "https://api.github.com/users/timja/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/timja/subscriptions", + "organizations_url": "https://api.github.com/users/timja/orgs", + "repos_url": "https://api.github.com/users/timja/repos", + "events_url": "https://api.github.com/users/timja/events{/privacy}", + "received_events_url": "https://api.github.com/users/timja/received_events", + "type": "User", + "site_admin": false + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaboratorsWithFilter/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaboratorsWithFilter/__files/user-1.json new file mode 100644 index 0000000000..750413948a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaboratorsWithFilter/__files/user-1.json @@ -0,0 +1,45 @@ +{ + "login": "Sage-Pierce", + "id": 5396306, + "node_id": "MDQ6VXNlcjUzOTYzMDY=", + "avatar_url": "https://avatars3.githubusercontent.com/u/5396306?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Sage-Pierce", + "html_url": "https://github.com/Sage-Pierce", + "followers_url": "https://api.github.com/users/Sage-Pierce/followers", + "following_url": "https://api.github.com/users/Sage-Pierce/following{/other_user}", + "gists_url": "https://api.github.com/users/Sage-Pierce/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Sage-Pierce/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Sage-Pierce/subscriptions", + "organizations_url": "https://api.github.com/users/Sage-Pierce/orgs", + "repos_url": "https://api.github.com/users/Sage-Pierce/repos", + "events_url": "https://api.github.com/users/Sage-Pierce/events{/privacy}", + "received_events_url": "https://api.github.com/users/Sage-Pierce/received_events", + "type": "User", + "site_admin": false, + "name": "Sage Pierce", + "company": "@Vrbo @ExpediaGroup", + "blog": "", + "location": null, + "email": "sapierce@vrbo.com", + "hireable": true, + "bio": "Software engineer with a Masters of Science in Electrical and Computer Engineering out of The University of Texas at Austin.", + "public_repos": 9, + "public_gists": 0, + "followers": 4, + "following": 0, + "created_at": "2013-09-06T02:22:48Z", + "updated_at": "2020-02-18T13:29:56Z", + "private_gists": 0, + "total_private_repos": 0, + "owned_private_repos": 0, + "disk_usage": 1816, + "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/testListOutsideCollaboratorsWithFilter/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaboratorsWithFilter/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..a28834ada9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaboratorsWithFilter/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,48 @@ +{ + "id": "3ed48345-73c2-4d8e-9c65-f4a140356d59", + "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": { + "Server": "GitHub.com", + "Date": "Tue, 25 Feb 2020 14:41:05 GMT", + "Content-Type": "application/json; charset=utf-8", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4984", + "X-RateLimit-Reset": "1582644474", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"712644daa44df3089a27d6ef60979929\"", + "Last-Modified": "Mon, 20 Apr 2015 00:42:30 GMT", + "X-OAuth-Scopes": "delete_repo, repo, user", + "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": "EB37:2979:3EAF7E:786110:5E5531FF" + } + }, + "uuid": "3ed48345-73c2-4d8e-9c65-f4a140356d59", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaboratorsWithFilter/mappings/orgs_hub4j-test-org_members-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaboratorsWithFilter/mappings/orgs_hub4j-test-org_members-3.json new file mode 100644 index 0000000000..b3b40db81b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaboratorsWithFilter/mappings/orgs_hub4j-test-org_members-3.json @@ -0,0 +1,47 @@ +{ + "id": "ef9f50f7-160c-4410-a82e-68d3e14fb250", + "name": "orgs_hub4j-test-org_members", + "request": { + "url": "/orgs/hub4j-test-org/outside_collaborators?filter=all", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hub4j-test-org_members-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 25 Feb 2020 14:41:06 GMT", + "Content-Type": "application/json; charset=utf-8", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4983", + "X-RateLimit-Reset": "1582644475", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"631de12e6bc586863218257765331a70\"", + "X-OAuth-Scopes": "delete_repo, repo, user", + "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": "EB37:2979:3EAF8C:78624D:5E553201" + } + }, + "uuid": "ef9f50f7-160c-4410-a82e-68d3e14fb250", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaboratorsWithFilter/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaboratorsWithFilter/mappings/user-1.json new file mode 100644 index 0000000000..c259d1b9d7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testListOutsideCollaboratorsWithFilter/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "9e0ec7a6-d16f-4198-b2e6-ed290e9d780d", + "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, 25 Feb 2020 14:41:03 GMT", + "Content-Type": "application/json; charset=utf-8", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4988", + "X-RateLimit-Reset": "1582644474", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"9adfa44fe91fb698b5fd807d9471afc3\"", + "Last-Modified": "Tue, 18 Feb 2020 13:29:56 GMT", + "X-OAuth-Scopes": "delete_repo, repo, user", + "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": "EB37:2979:3EAEEA:7860F9:5E5531FF" + } + }, + "uuid": "9e0ec7a6-d16f-4198-b2e6-ed290e9d780d", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPublicKeyTest/wiremock/testAddPublicKey/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHPublicKeyTest/wiremock/testAddPublicKey/__files/user-1.json new file mode 100644 index 0000000000..3e646ff910 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPublicKeyTest/wiremock/testAddPublicKey/__files/user-1.json @@ -0,0 +1,46 @@ +{ + "login": "jvv-test-2", + "id": 123935167, + "node_id": "U_kgDOB2MZvw", + "avatar_url": "https://avatars.githubusercontent.com/u/123935167?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jvv-test-2", + "html_url": "https://github.com/jvv-test-2", + "followers_url": "https://api.github.com/users/jvv-test-2/followers", + "following_url": "https://api.github.com/users/jvv-test-2/following{/other_user}", + "gists_url": "https://api.github.com/users/jvv-test-2/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jvv-test-2/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jvv-test-2/subscriptions", + "organizations_url": "https://api.github.com/users/jvv-test-2/orgs", + "repos_url": "https://api.github.com/users/jvv-test-2/repos", + "events_url": "https://api.github.com/users/jvv-test-2/events{/privacy}", + "received_events_url": "https://api.github.com/users/jvv-test-2/received_events", + "type": "User", + "site_admin": false, + "name": null, + "company": null, + "blog": "", + "location": null, + "email": null, + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 0, + "public_gists": 0, + "followers": 0, + "following": 0, + "created_at": "2023-01-30T08:21:43Z", + "updated_at": "2023-01-30T08:21:43Z", + "private_gists": 0, + "total_private_repos": 0, + "owned_private_repos": 0, + "disk_usage": 0, + "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/GHPublicKeyTest/wiremock/testAddPublicKey/__files/user_keys-2.json b/src/test/resources/org/kohsuke/github/GHPublicKeyTest/wiremock/testAddPublicKey/__files/user_keys-2.json new file mode 100644 index 0000000000..e9656f3793 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPublicKeyTest/wiremock/testAddPublicKey/__files/user_keys-2.json @@ -0,0 +1,9 @@ +{ + "id": 77080429, + "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDepW2/BSVFM2AfuGGsvi+vjQzC0EBD3R+/7PNEvP0/nvTWxiC/tthfvvCJR6TKrsprCir5tiJFm73gX+K18W0RKYpkyg8H6d1eZu3q/JOiGvoDPeN8Oe9hOGeeexw1WOiz7ESPHzZYXI981evzHAzxxn8zibr2EryopVNsXyoenw==", + "url": "https://api.github.com/user/keys/77080429", + "title": "Temporary user key", + "verified": true, + "created_at": "2023-01-30T09:31:56Z", + "read_only": false +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPublicKeyTest/wiremock/testAddPublicKey/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHPublicKeyTest/wiremock/testAddPublicKey/mappings/user-1.json new file mode 100644 index 0000000000..e79a4076e7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPublicKeyTest/wiremock/testAddPublicKey/mappings/user-1.json @@ -0,0 +1,49 @@ +{ + "id": "67a88087-3119-4e65-8d1e-b642d1e59c4a", + "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": "Mon, 30 Jan 2023 09:31: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/\"f9a4696e8778e5018e61274cef95759771cfa9dee3c39b931513a562cf779e80\"", + "Last-Modified": "Mon, 30 Jan 2023 08:21:43 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-03-01 08:23:08 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4999", + "X-RateLimit-Reset": "1675074715", + "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": "CAB6:8706:A7B3FF:AAB6FC:63D78E8B" + } + }, + "uuid": "67a88087-3119-4e65-8d1e-b642d1e59c4a", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPublicKeyTest/wiremock/testAddPublicKey/mappings/user_keys-2.json b/src/test/resources/org/kohsuke/github/GHPublicKeyTest/wiremock/testAddPublicKey/mappings/user_keys-2.json new file mode 100644 index 0000000000..4ef079a7f3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPublicKeyTest/wiremock/testAddPublicKey/mappings/user_keys-2.json @@ -0,0 +1,56 @@ +{ + "id": "2a67008e-cf5e-4b4c-894a-878f6c718a05", + "name": "user_keys", + "request": { + "url": "/user/keys", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"title\":\"Temporary user key\",\"key\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDepW2/BSVFM2AfuGGsvi+vjQzC0EBD3R+/7PNEvP0/nvTWxiC/tthfvvCJR6TKrsprCir5tiJFm73gX+K18W0RKYpkyg8H6d1eZu3q/JOiGvoDPeN8Oe9hOGeeexw1WOiz7ESPHzZYXI981evzHAzxxn8zibr2EryopVNsXyoenw==\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "user_keys-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 30 Jan 2023 09:31: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": "\"6510ce8437cc68cf299fe8f5209abc961b86e6b4d35dfa4ae626ce43b32b2580\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "admin:public_key, write:public_key", + "github-authentication-token-expiration": "2023-03-01 08:23:08 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4997", + "X-RateLimit-Reset": "1675074715", + "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": "CAB8:5F74:B9E56B:BCE687:63D78E8B", + "Location": "https://api.github.com/user/keys/77080429" + } + }, + "uuid": "2a67008e-cf5e-4b4c-894a-878f6c718a05", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPublicKeyTest/wiremock/testAddPublicKey/mappings/user_keys_77080429-3.json b/src/test/resources/org/kohsuke/github/GHPublicKeyTest/wiremock/testAddPublicKey/mappings/user_keys_77080429-3.json new file mode 100644 index 0000000000..2ea399ed41 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPublicKeyTest/wiremock/testAddPublicKey/mappings/user_keys_77080429-3.json @@ -0,0 +1,41 @@ +{ + "id": "d91a5200-ed4b-4145-be9f-fece79f6f92d", + "name": "user_keys_77080429", + "request": { + "url": "/user/keys/77080429", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 30 Jan 2023 09:31:56 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "admin:public_key", + "github-authentication-token-expiration": "2023-03-01 08:23:08 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4996", + "X-RateLimit-Reset": "1675074715", + "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'", + "Vary": "Accept-Encoding, Accept, X-Requested-With", + "X-GitHub-Request-Id": "CAB9:B29F:A4B977:A7B346:63D78E8C" + } + }, + "uuid": "d91a5200-ed4b-4145-be9f-fece79f6f92d", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/orgs_hub4j-test-org-2.json deleted file mode 100644 index def8ed366a..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__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": 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": 3, - "seats": 0 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api-3.json deleted file mode 100644 index 34a92df5b2..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api-3.json +++ /dev/null @@ -1,330 +0,0 @@ -{ - "id": 206888201, - "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", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/github-api", - "description": "Java API for GitHub", - "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", - "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", - "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-08T07:24:56Z", - "pushed_at": "2019-09-08T07:24:57Z", - "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": 11386, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Java", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "main", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "allow_squash_merge": true, - "allow_merge_commit": true, - "allow_rebase_merge": true, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "parent": { - "id": 617210, - "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", - "name": "github-api", - "full_name": "hub4j/github-api", - "private": false, - "owner": { - "login": "hub4j", - "id": 54909825, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", - "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j", - "html_url": "https://github.com/hub4j", - "followers_url": "https://api.github.com/users/hub4j/followers", - "following_url": "https://api.github.com/users/hub4j/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j/orgs", - "repos_url": "https://api.github.com/users/hub4j/repos", - "events_url": "https://api.github.com/users/hub4j/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j/github-api", - "description": "Java API for GitHub", - "fork": false, - "url": "https://api.github.com/repos/hub4j/github-api", - "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", - "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", - "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-09-07T00:07:16Z", - "pushed_at": "2019-09-07T00:07:14Z", - "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": 11386, - "stargazers_count": 551, - "watchers_count": 551, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 427, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 96, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 427, - "open_issues": 96, - "watchers": 551, - "default_branch": "main" - }, - "source": { - "id": 617210, - "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", - "name": "github-api", - "full_name": "hub4j/github-api", - "private": false, - "owner": { - "login": "hub4j", - "id": 54909825, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", - "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j", - "html_url": "https://github.com/hub4j", - "followers_url": "https://api.github.com/users/hub4j/followers", - "following_url": "https://api.github.com/users/hub4j/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j/orgs", - "repos_url": "https://api.github.com/users/hub4j/repos", - "events_url": "https://api.github.com/users/hub4j/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j/github-api", - "description": "Java API for GitHub", - "fork": false, - "url": "https://api.github.com/repos/hub4j/github-api", - "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", - "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", - "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-09-07T00:07:16Z", - "pushed_at": "2019-09-07T00:07:14Z", - "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": 11386, - "stargazers_count": 551, - "watchers_count": 551, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 427, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 96, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 427, - "open_issues": 96, - "watchers": 551, - "default_branch": "main" - }, - "network_count": 427, - "subscribers_count": 0 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api-6.json deleted file mode 100644 index 0c38ff8974..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api-6.json +++ /dev/null @@ -1,330 +0,0 @@ -{ - "id": 206888201, - "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", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/github-api", - "description": "Java API for GitHub", - "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", - "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", - "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-08T07:24:56Z", - "pushed_at": "2019-09-08T07:25:01Z", - "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": 11386, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Java", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "main", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "allow_squash_merge": true, - "allow_merge_commit": true, - "allow_rebase_merge": true, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "parent": { - "id": 617210, - "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", - "name": "github-api", - "full_name": "hub4j/github-api", - "private": false, - "owner": { - "login": "hub4j", - "id": 54909825, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", - "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j", - "html_url": "https://github.com/hub4j", - "followers_url": "https://api.github.com/users/hub4j/followers", - "following_url": "https://api.github.com/users/hub4j/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j/orgs", - "repos_url": "https://api.github.com/users/hub4j/repos", - "events_url": "https://api.github.com/users/hub4j/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j/github-api", - "description": "Java API for GitHub", - "fork": false, - "url": "https://api.github.com/repos/hub4j/github-api", - "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", - "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", - "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-09-07T00:07:16Z", - "pushed_at": "2019-09-07T00:07:14Z", - "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": 11386, - "stargazers_count": 551, - "watchers_count": 551, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 427, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 96, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 427, - "open_issues": 96, - "watchers": 551, - "default_branch": "main" - }, - "source": { - "id": 617210, - "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", - "name": "github-api", - "full_name": "hub4j/github-api", - "private": false, - "owner": { - "login": "hub4j", - "id": 54909825, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", - "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j", - "html_url": "https://github.com/hub4j", - "followers_url": "https://api.github.com/users/hub4j/followers", - "following_url": "https://api.github.com/users/hub4j/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j/orgs", - "repos_url": "https://api.github.com/users/hub4j/repos", - "events_url": "https://api.github.com/users/hub4j/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j/github-api", - "description": "Java API for GitHub", - "fork": false, - "url": "https://api.github.com/repos/hub4j/github-api", - "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", - "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", - "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-09-07T00:07:16Z", - "pushed_at": "2019-09-07T00:07:14Z", - "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": 11386, - "stargazers_count": 551, - "watchers_count": 551, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 427, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 96, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 427, - "open_issues": 96, - "watchers": 551, - "default_branch": "main" - }, - "network_count": 427, - "subscribers_count": 0 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_issues_270_comments-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_issues_270_comments-5.json deleted file mode 100644 index 5167d2b591..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_issues_270_comments-5.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/529177612", - "html_url": "https://github.com/hub4j-test-org/github-api/pull/270#issuecomment-529177612", - "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/270", - "id": 529177612, - "node_id": "MDEyOklzc3VlQ29tbWVudDUyOTE3NzYxMg==", - "user": { - "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 - }, - "created_at": "2019-09-08T07:25:01Z", - "updated_at": "2019-09-08T07:25:01Z", - "author_association": "MEMBER", - "body": "Some comment" -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_pulls-4.json deleted file mode 100644 index ebb919c913..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_pulls-4.json +++ /dev/null @@ -1,339 +0,0 @@ -{ - "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/270", - "id": 315252358, - "node_id": "MDExOlB1bGxSZXF1ZXN0MzE1MjUyMzU4", - "html_url": "https://github.com/hub4j-test-org/github-api/pull/270", - "diff_url": "https://github.com/hub4j-test-org/github-api/pull/270.diff", - "patch_url": "https://github.com/hub4j-test-org/github-api/pull/270.patch", - "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/270", - "number": 270, - "state": "open", - "locked": false, - "title": "createPullRequestComment", - "user": { - "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 - }, - "body": "## test", - "created_at": "2019-09-08T07:25:00Z", - "updated_at": "2019-09-08T07:25:00Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/270/commits", - "review_comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/270/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/270/comments", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/2d29c787b46ce61b98a1c13e05e21ebc21f49dbf", - "head": { - "label": "hub4j-test-org:test/stable", - "ref": "test/stable", - "sha": "2d29c787b46ce61b98a1c13e05e21ebc21f49dbf", - "user": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "repo": { - "id": 206888201, - "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", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/github-api", - "description": "Java API for GitHub", - "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", - "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", - "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-08T07:24:56Z", - "pushed_at": "2019-09-08T07:24:57Z", - "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": 11386, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Java", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "main" - } - }, - "base": { - "label": "hub4j-test-org:main", - "ref": "main", - "sha": "ecec449372b1e8270524a35c1a5aa8fdaf0e6676", - "user": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "repo": { - "id": 206888201, - "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", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/github-api", - "description": "Java API for GitHub", - "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", - "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", - "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-08T07:24:56Z", - "pushed_at": "2019-09-08T07:24:57Z", - "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": 11386, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Java", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "main" - } - }, - "_links": { - "self": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/270" - }, - "html": { - "href": "https://github.com/hub4j-test-org/github-api/pull/270" - }, - "issue": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/270" - }, - "comments": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/270/comments" - }, - "review_comments": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/270/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/270/commits" - }, - "statuses": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/2d29c787b46ce61b98a1c13e05e21ebc21f49dbf" - } - }, - "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": 1, - "additions": 1, - "deletions": 1, - "changed_files": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_pulls-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_pulls-7.json deleted file mode 100644 index a8f6a8b204..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_pulls-7.json +++ /dev/null @@ -1,329 +0,0 @@ -[ - { - "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/270", - "id": 315252358, - "node_id": "MDExOlB1bGxSZXF1ZXN0MzE1MjUyMzU4", - "html_url": "https://github.com/hub4j-test-org/github-api/pull/270", - "diff_url": "https://github.com/hub4j-test-org/github-api/pull/270.diff", - "patch_url": "https://github.com/hub4j-test-org/github-api/pull/270.patch", - "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/270", - "number": 270, - "state": "open", - "locked": false, - "title": "createPullRequestComment", - "user": { - "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 - }, - "body": "## test", - "created_at": "2019-09-08T07:25:00Z", - "updated_at": "2019-09-08T07:25:01Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": "cfe2edc76bbeefe5624061e17537052bddba3138", - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/270/commits", - "review_comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/270/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/270/comments", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/2d29c787b46ce61b98a1c13e05e21ebc21f49dbf", - "head": { - "label": "hub4j-test-org:test/stable", - "ref": "test/stable", - "sha": "2d29c787b46ce61b98a1c13e05e21ebc21f49dbf", - "user": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "repo": { - "id": 206888201, - "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", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/github-api", - "description": "Java API for GitHub", - "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", - "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", - "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-08T07:24:56Z", - "pushed_at": "2019-09-08T07:25:01Z", - "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": 11386, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Java", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "main" - } - }, - "base": { - "label": "hub4j-test-org:main", - "ref": "main", - "sha": "ecec449372b1e8270524a35c1a5aa8fdaf0e6676", - "user": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "repo": { - "id": 206888201, - "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", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/github-api", - "description": "Java API for GitHub", - "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", - "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", - "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-08T07:24:56Z", - "pushed_at": "2019-09-08T07:25:01Z", - "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": 11386, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Java", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "main" - } - }, - "_links": { - "self": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/270" - }, - "html": { - "href": "https://github.com/hub4j-test-org/github-api/pull/270" - }, - "issue": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/270" - }, - "comments": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/270/comments" - }, - "review_comments": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/270/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/270/commits" - }, - "statuses": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/2d29c787b46ce61b98a1c13e05e21ebc21f49dbf" - } - }, - "author_association": "MEMBER" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_pulls_270-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_pulls_270-8.json deleted file mode 100644 index bb3c529869..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/repos_hub4j-test-org_github-api_pulls_270-8.json +++ /dev/null @@ -1,339 +0,0 @@ -{ - "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/270", - "id": 315252358, - "node_id": "MDExOlB1bGxSZXF1ZXN0MzE1MjUyMzU4", - "html_url": "https://github.com/hub4j-test-org/github-api/pull/270", - "diff_url": "https://github.com/hub4j-test-org/github-api/pull/270.diff", - "patch_url": "https://github.com/hub4j-test-org/github-api/pull/270.patch", - "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/270", - "number": 270, - "state": "closed", - "locked": false, - "title": "createPullRequestComment", - "user": { - "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 - }, - "body": "## test", - "created_at": "2019-09-08T07:25:00Z", - "updated_at": "2019-09-08T07:25:02Z", - "closed_at": "2019-09-08T07:25:02Z", - "merged_at": null, - "merge_commit_sha": "cfe2edc76bbeefe5624061e17537052bddba3138", - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/270/commits", - "review_comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/270/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/270/comments", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/2d29c787b46ce61b98a1c13e05e21ebc21f49dbf", - "head": { - "label": "hub4j-test-org:test/stable", - "ref": "test/stable", - "sha": "2d29c787b46ce61b98a1c13e05e21ebc21f49dbf", - "user": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "repo": { - "id": 206888201, - "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", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/github-api", - "description": "Java API for GitHub", - "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", - "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", - "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-08T07:24:56Z", - "pushed_at": "2019-09-08T07:25:01Z", - "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": 11386, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Java", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "main" - } - }, - "base": { - "label": "hub4j-test-org:main", - "ref": "main", - "sha": "ecec449372b1e8270524a35c1a5aa8fdaf0e6676", - "user": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "repo": { - "id": 206888201, - "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", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/github-api", - "description": "Java API for GitHub", - "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", - "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", - "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-08T07:24:56Z", - "pushed_at": "2019-09-08T07:25:01Z", - "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": 11386, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Java", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "main" - } - }, - "_links": { - "self": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/270" - }, - "html": { - "href": "https://github.com/hub4j-test-org/github-api/pull/270" - }, - "issue": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/270" - }, - "comments": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/270/comments" - }, - "review_comments": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/270/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/270/commits" - }, - "statuses": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/2d29c787b46ce61b98a1c13e05e21ebc21f49dbf" - } - }, - "author_association": "MEMBER", - "merged": false, - "mergeable": true, - "rebaseable": true, - "mergeable_state": "clean", - "merged_by": null, - "comments": 1, - "review_comments": 0, - "maintainer_can_modify": false, - "commits": 1, - "additions": 1, - "deletions": 1, - "changed_files": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/user-1.json deleted file mode 100644 index b9ce24cb03..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/__files/user-1.json +++ /dev/null @@ -1,33 +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": 166, - "public_gists": 4, - "followers": 133, - "following": 9, - "created_at": "2012-07-11T20:38:33Z", - "updated_at": "2019-06-03T17:47:20Z" -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/orgs_hub4j-test-org-2.json deleted file mode 100644 index 485a7e2271..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/orgs_hub4j-test-org-2.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "ad4f3477-141d-413d-aae6-d8d877f4359c", - "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": "Sun, 08 Sep 2019 07:24:59 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4848", - "X-RateLimit-Reset": "1567929276", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"d36965e157281b2a309c39e4c2343a55\"", - "Last-Modified": "Mon, 20 Apr 2015 00:42:30 GMT", - "X-OAuth-Scopes": "gist, notifications, repo", - "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "FF9A:15CE:D30877:F67045:5D74ACCB" - } - }, - "uuid": "ad4f3477-141d-413d-aae6-d8d877f4359c", - "persistent": true, - "insertionIndex": 2 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api-3.json deleted file mode 100644 index f7879c82d5..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api-3.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "de7260bc-cad0-4eeb-ab76-129228a40fa4", - "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": "Sun, 08 Sep 2019 07:25:00 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4847", - "X-RateLimit-Reset": "1567929276", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"c7444e60baaecbb2c4b3bfb5ec0122de\"", - "Last-Modified": "Sun, 08 Sep 2019 07:24:56 GMT", - "X-OAuth-Scopes": "gist, notifications, repo", - "X-Accepted-OAuth-Scopes": "repo", - "X-GitHub-Media-Type": "unknown, github.v3", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "FF9A:15CE:D30882:F67052:5D74ACCB" - } - }, - "uuid": "de7260bc-cad0-4eeb-ab76-129228a40fa4", - "persistent": true, - "scenarioName": "scenario-1-repos-hub4j-test-org-github-api", - "requiredScenarioState": "Started", - "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-2", - "insertionIndex": 3 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api-6.json deleted file mode 100644 index 3b5588bad8..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api-6.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "id": "6e0179a4-9d47-4435-897a-ca80019c4ee1", - "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-6.json", - "headers": { - "Date": "Sun, 08 Sep 2019 07:25:02 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4844", - "X-RateLimit-Reset": "1567929276", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"72809813df8fb60cd108f20632d0c629\"", - "Last-Modified": "Sun, 08 Sep 2019 07:24:56 GMT", - "X-OAuth-Scopes": "gist, notifications, repo", - "X-Accepted-OAuth-Scopes": "repo", - "X-GitHub-Media-Type": "unknown, github.v3", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "FF9A:15CE:D309B7:F67195:5D74ACCD" - } - }, - "uuid": "6e0179a4-9d47-4435-897a-ca80019c4ee1", - "persistent": true, - "scenarioName": "scenario-1-repos-hub4j-test-org-github-api", - "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-2", - "insertionIndex": 6 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_270_comments-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_270_comments-5.json deleted file mode 100644 index 26cf97e1b6..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_270_comments-5.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "id": "2cd4dd92-58d7-4423-bbe8-babe22bd36ac", - "name": "repos_hub4j-test-org_github-api_issues_270_comments", - "request": { - "url": "/repos/hub4j-test-org/github-api/issues/270/comments", - "method": "POST", - "bodyPatterns": [ - { - "equalToJson": "{\"body\":\"Some comment\"}", - "ignoreArrayOrder": true, - "ignoreExtraElements": true - } - ], - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 201, - "bodyFileName": "repos_hub4j-test-org_github-api_issues_270_comments-5.json", - "headers": { - "Date": "Sun, 08 Sep 2019 07:25:01 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "201 Created", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4845", - "X-RateLimit-Reset": "1567929276", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "\"ef99935785f5188662f592f8999d1b8a\"", - "X-OAuth-Scopes": "gist, notifications, repo", - "X-Accepted-OAuth-Scopes": "", - "Location": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/529177612", - "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": "FF9A:15CE:D30902:F670E9:5D74ACCC" - } - }, - "uuid": "2cd4dd92-58d7-4423-bbe8-babe22bd36ac", - "persistent": true, - "insertionIndex": 5 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api_pulls-4.json deleted file mode 100644 index 07f10e25c7..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api_pulls-4.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "id": "4e9dadbb-e2ac-410b-9a7e-8731ed5c86cf", - "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\":\"createPullRequestComment\",\"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": "Sun, 08 Sep 2019 07:25:00 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "201 Created", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4846", - "X-RateLimit-Reset": "1567929276", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "\"cb9585955cc58789f91fe57ed42a9e6a\"", - "X-OAuth-Scopes": "gist, notifications, repo", - "X-Accepted-OAuth-Scopes": "", - "Location": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/270", - "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": "FF9A:15CE:D30895:F67066:5D74ACCC" - } - }, - "uuid": "4e9dadbb-e2ac-410b-9a7e-8731ed5c86cf", - "persistent": true, - "insertionIndex": 4 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api_pulls-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api_pulls-7.json deleted file mode 100644 index 59d8c98094..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api_pulls-7.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "420dc28a-cfc8-4fbc-8cef-7123c0387966", - "name": "repos_hub4j-test-org_github-api_pulls", - "request": { - "url": "/repos/hub4j-test-org/github-api/pulls?state=open", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.shadow-cat-preview+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_github-api_pulls-7.json", - "headers": { - "Date": "Sun, 08 Sep 2019 07:25:02 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4843", - "X-RateLimit-Reset": "1567929276", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"02871f6e732cc23dc28a7c5b94f35624\"", - "X-OAuth-Scopes": "gist, notifications, repo", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "FF9A:15CE:D309FE:F6720B:5D74ACCE" - } - }, - "uuid": "420dc28a-cfc8-4fbc-8cef-7123c0387966", - "persistent": true, - "insertionIndex": 7 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api_pulls_270-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api_pulls_270-8.json deleted file mode 100644 index 591c72ba79..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/repos_hub4j-test-org_github-api_pulls_270-8.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "id": "1a6fbb20-8969-454a-94be-1e24388e7ed4", - "name": "repos_hub4j-test-org_github-api_pulls_270", - "request": { - "url": "/repos/hub4j-test-org/github-api/pulls/270", - "method": "PATCH", - "bodyPatterns": [ - { - "equalToJson": "{\"state\":\"closed\"}", - "ignoreArrayOrder": true, - "ignoreExtraElements": true - } - ], - "headers": { - "Accept": { - "equalTo": "application/vnd.github.shadow-cat-preview+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_github-api_pulls_270-8.json", - "headers": { - "Date": "Sun, 08 Sep 2019 07:25:02 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4842", - "X-RateLimit-Reset": "1567929276", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"2f5b48a63cc3e7bc5f36d46808e9d52d\"", - "X-OAuth-Scopes": "gist, notifications, repo", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "FF9A:15CE:D30A26:F67237:5D74ACCE" - } - }, - "uuid": "1a6fbb20-8969-454a-94be-1e24388e7ed4", - "persistent": true, - "insertionIndex": 8 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/user-1.json deleted file mode 100644 index d8473cc384..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/createPullRequestComment/mappings/user-1.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "c4d4d68f-a141-4fad-a2c9-539e3a21fe94", - "name": "user", - "request": { - "url": "/user", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "user-1.json", - "headers": { - "Date": "Sun, 08 Sep 2019 07:24:59 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4849", - "X-RateLimit-Reset": "1567929276", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"3ba1de3523043df743651bd23efc7def\"", - "Last-Modified": "Mon, 03 Jun 2019 17:47:20 GMT", - "X-OAuth-Scopes": "gist, notifications, repo", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "FF9A:15CE:D3086F:F6703D:5D74ACCB" - } - }, - "uuid": "c4d4d68f-a141-4fad-a2c9-539e3a21fe94", - "persistent": true, - "insertionIndex": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..00a6eae928 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,62 @@ +{ + "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": 53, + "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": 5, + "owned_private_repos": 5, + "private_gists": 0, + "disk_usage": 11980, + "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, + "web_commit_signoff_required": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 38, + "seats": 3 + }, + "advanced_security_enabled_for_new_repositories": false, + "dependabot_alerts_enabled_for_new_repositories": false, + "dependabot_security_updates_enabled_for_new_repositories": false, + "dependency_graph_enabled_for_new_repositories": false, + "secret_scanning_enabled_for_new_repositories": false, + "secret_scanning_push_protection_enabled_for_new_repositories": false +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..2160849b57 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,372 @@ +{ + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "2022-05-23T14:23:52Z", + "pushed_at": "2022-09-22T10:46:32Z", + "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": 19045, + "stargazers_count": 1, + "watchers_count": 1, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 7, + "watchers": 1, + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "2022-09-20T21:24:35Z", + "pushed_at": "2022-09-21T16:50:54Z", + "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": "https://github-api.kohsuke.org/", + "size": 40597, + "stargazers_count": 934, + "watchers_count": 934, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 627, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 120, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 627, + "open_issues": 120, + "watchers": 934, + "default_branch": "main" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "2022-09-20T21:24:35Z", + "pushed_at": "2022-09-21T16:50:54Z", + "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": "https://github-api.kohsuke.org/", + "size": 40597, + "stargazers_count": 934, + "watchers_count": 934, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 627, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 120, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 627, + "open_issues": 120, + "watchers": 934, + "default_branch": "main" + }, + "network_count": 627, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-10.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-10.json new file mode 100644 index 0000000000..d6db046328 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-10.json @@ -0,0 +1,46 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853699", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/461#issuecomment-1254853699", + "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/461", + "id": 1254853699, + "node_id": "IC_kwDODFTdCc5Ky4xD", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:31Z", + "updated_at": "2022-09-22T10:48:31Z", + "author_association": "MEMBER", + "body": "First comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853699/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-12.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-12.json new file mode 100644 index 0000000000..66a4fd37a2 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-12.json @@ -0,0 +1,44 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853752", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/461#issuecomment-1254853752", + "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/461", + "id": 1254853752, + "node_id": "IC_kwDODFTdCc5Ky4x4", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?u=952a892aea58858acd1668c10aa6c36ba3dcd7b5&v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:35Z", + "updated_at": "2022-09-22T10:48:35Z", + "author_association": "MEMBER", + "body": "Second comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853752/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-13.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-13.json new file mode 100644 index 0000000000..ca19491650 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-13.json @@ -0,0 +1,90 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853699", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/461#issuecomment-1254853699", + "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/461", + "id": 1254853699, + "node_id": "IC_kwDODFTdCc5Ky4xD", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:31Z", + "updated_at": "2022-09-22T10:48:31Z", + "author_association": "MEMBER", + "body": "First comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853699/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853752", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/461#issuecomment-1254853752", + "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/461", + "id": 1254853752, + "node_id": "IC_kwDODFTdCc5Ky4x4", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:35Z", + "updated_at": "2022-09-22T10:48:35Z", + "author_association": "MEMBER", + "body": "Second comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853752/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-14.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-14.json new file mode 100644 index 0000000000..ca19491650 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-14.json @@ -0,0 +1,90 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853699", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/461#issuecomment-1254853699", + "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/461", + "id": 1254853699, + "node_id": "IC_kwDODFTdCc5Ky4xD", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:31Z", + "updated_at": "2022-09-22T10:48:31Z", + "author_association": "MEMBER", + "body": "First comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853699/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853752", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/461#issuecomment-1254853752", + "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/461", + "id": 1254853752, + "node_id": "IC_kwDODFTdCc5Ky4x4", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:35Z", + "updated_at": "2022-09-22T10:48:35Z", + "author_association": "MEMBER", + "body": "Second comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853752/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-15.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-15.json new file mode 100644 index 0000000000..ca19491650 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-15.json @@ -0,0 +1,90 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853699", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/461#issuecomment-1254853699", + "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/461", + "id": 1254853699, + "node_id": "IC_kwDODFTdCc5Ky4xD", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:31Z", + "updated_at": "2022-09-22T10:48:31Z", + "author_association": "MEMBER", + "body": "First comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853699/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + }, + { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853752", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/461#issuecomment-1254853752", + "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/461", + "id": 1254853752, + "node_id": "IC_kwDODFTdCc5Ky4x4", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:35Z", + "updated_at": "2022-09-22T10:48:35Z", + "author_association": "MEMBER", + "body": "Second comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853752/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-16.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-16.json new file mode 100644 index 0000000000..01718993b6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-16.json @@ -0,0 +1,46 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853752", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/461#issuecomment-1254853752", + "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/461", + "id": 1254853752, + "node_id": "IC_kwDODFTdCc5Ky4x4", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:35Z", + "updated_at": "2022-09-22T10:48:35Z", + "author_association": "MEMBER", + "body": "Second comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853752/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-17.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-17.json new file mode 100644 index 0000000000..01718993b6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-17.json @@ -0,0 +1,46 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853752", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/461#issuecomment-1254853752", + "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/461", + "id": 1254853752, + "node_id": "IC_kwDODFTdCc5Ky4x4", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:35Z", + "updated_at": "2022-09-22T10:48:35Z", + "author_association": "MEMBER", + "body": "Second comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853752/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-19.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-19.json new file mode 100644 index 0000000000..01718993b6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-19.json @@ -0,0 +1,46 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853752", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/461#issuecomment-1254853752", + "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/461", + "id": 1254853752, + "node_id": "IC_kwDODFTdCc5Ky4x4", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:35Z", + "updated_at": "2022-09-22T10:48:35Z", + "author_association": "MEMBER", + "body": "Second comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853752/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-7.json new file mode 100644 index 0000000000..393981cd2a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-7.json @@ -0,0 +1,44 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853699", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/461#issuecomment-1254853699", + "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/461", + "id": 1254853699, + "node_id": "IC_kwDODFTdCc5Ky4xD", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?u=952a892aea58858acd1668c10aa6c36ba3dcd7b5&v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:31Z", + "updated_at": "2022-09-22T10:48:31Z", + "author_association": "MEMBER", + "body": "First comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853699/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-8.json new file mode 100644 index 0000000000..d6db046328 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-8.json @@ -0,0 +1,46 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853699", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/461#issuecomment-1254853699", + "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/461", + "id": 1254853699, + "node_id": "IC_kwDODFTdCc5Ky4xD", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:31Z", + "updated_at": "2022-09-22T10:48:31Z", + "author_association": "MEMBER", + "body": "First comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853699/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-9.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-9.json new file mode 100644 index 0000000000..d6db046328 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_issues_461_comments-9.json @@ -0,0 +1,46 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853699", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/461#issuecomment-1254853699", + "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/461", + "id": 1254853699, + "node_id": "IC_kwDODFTdCc5Ky4xD", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-09-22T10:48:31Z", + "updated_at": "2022-09-22T10:48:31Z", + "author_association": "MEMBER", + "body": "First comment", + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853699/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_pulls-4.json new file mode 100644 index 0000000000..64c7e8d4c2 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/repos_hub4j-test-org_github-api_pulls-4.json @@ -0,0 +1,352 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/461", + "id": 1063990098, + "node_id": "PR_kwDODFTdCc4_azNS", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/461", + "diff_url": "https://github.com/hub4j-test-org/github-api/pull/461.diff", + "patch_url": "https://github.com/hub4j-test-org/github-api/pull/461.patch", + "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/461", + "number": 461, + "state": "open", + "locked": false, + "title": "createPullRequestComment", + "user": { + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false + }, + "body": "## test", + "created_at": "2022-09-22T10:48:29Z", + "updated_at": "2022-09-22T10:48:29Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/461/commits", + "review_comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/461/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/461/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": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "user": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "2022-05-23T14:23:52Z", + "pushed_at": "2022-09-22T10:46:32Z", + "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": 19045, + "stargazers_count": 1, + "watchers_count": 1, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 8, + "watchers": 1, + "default_branch": "main" + } + }, + "base": { + "label": "hub4j-test-org:main", + "ref": "main", + "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", + "user": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "2022-05-23T14:23:52Z", + "pushed_at": "2022-09-22T10:46:32Z", + "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": 19045, + "stargazers_count": 1, + "watchers_count": 1, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 8, + "watchers": 1, + "default_branch": "main" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/461" + }, + "html": { + "href": "https://github.com/hub4j-test-org/github-api/pull/461" + }, + "issue": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/461" + }, + "comments": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/461/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/461/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/461/commits" + }, + "statuses": { + "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, + "mergeable_state": "unknown", + "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/pullRequestComment/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/user-1.json new file mode 100644 index 0000000000..6cbb51aae1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/__files/user-1.json @@ -0,0 +1,34 @@ +{ + "login": "yrodiere", + "id": 412878, + "node_id": "MDQ6VXNlcjQxMjg3OA==", + "avatar_url": "https://avatars.githubusercontent.com/u/412878?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/yrodiere", + "html_url": "https://github.com/yrodiere", + "followers_url": "https://api.github.com/users/yrodiere/followers", + "following_url": "https://api.github.com/users/yrodiere/following{/other_user}", + "gists_url": "https://api.github.com/users/yrodiere/gists{/gist_id}", + "starred_url": "https://api.github.com/users/yrodiere/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/yrodiere/subscriptions", + "organizations_url": "https://api.github.com/users/yrodiere/orgs", + "repos_url": "https://api.github.com/users/yrodiere/repos", + "events_url": "https://api.github.com/users/yrodiere/events{/privacy}", + "received_events_url": "https://api.github.com/users/yrodiere/received_events", + "type": "User", + "site_admin": false, + "name": "Yoann Rodière", + "company": "Red Hat - @hibernate", + "blog": "", + "location": null, + "email": "yoann@hibernate.org", + "hireable": null, + "bio": "Hibernate Search lead developer", + "twitter_username": "yoannrodiere", + "public_repos": 132, + "public_gists": 16, + "followers": 41, + "following": 4, + "created_at": "2010-09-23T12:31:20Z", + "updated_at": "2022-09-22T10:12:47Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..5481d8b6d1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,48 @@ +{ + "id": "1b28adc1-99dd-4600-9786-b4571b6c9222", + "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": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48:28 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/\"fd5df5bd73106f275e6fe9f78f0d8acc4551774eae3e2e391588d01d0bc6d21f\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4642", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "358", + "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": "C91C:8EE4:1080B77:10C76A0:632C3D7C" + } + }, + "uuid": "1b28adc1-99dd-4600-9786-b4571b6c9222", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..e6ac02de4e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,48 @@ +{ + "id": "8a8f6516-07ca-4a5c-a55e-f8f1f44f32bb", + "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": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48:29 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/\"6f88fa938af080ce16f0bb3b78a3deb9532df3650fcaec6198f00d858a32be62\"", + "Last-Modified": "Mon, 23 May 2022 14:23:52 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4641", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "359", + "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": "C92C:2C44:9A6AF38:9CADE9A:632C3D7C" + } + }, + "uuid": "8a8f6516-07ca-4a5c-a55e-f8f1f44f32bb", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-10.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-10.json new file mode 100644 index 0000000000..a68c2141ed --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-10.json @@ -0,0 +1,50 @@ +{ + "id": "1078bd28-5c95-4d53-a177-458f842ef231", + "name": "repos_hub4j-test-org_github-api_issues_461_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/issues/461/comments?since=2022-09-22T10%3A48%3A31Z", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_issues_461_comments-10.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48:32 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/\"ed52590726ad6d54eec0ce4709383619350e680fe98bf57e348989c02c6ad71a\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4634", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "366", + "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": "C95A:A95E:67D2064:6970462:632C3D80" + } + }, + "uuid": "1078bd28-5c95-4d53-a177-458f842ef231", + "persistent": true, + "scenarioName": "scenario-2-repos-hub4j-test-org-github-api-issues-461-comments", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-2-repos-hub4j-test-org-github-api-issues-461-comments-2", + "insertionIndex": 10 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-11.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-11.json new file mode 100644 index 0000000000..006bdc8147 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-11.json @@ -0,0 +1,50 @@ +{ + "id": "dd47ce05-2948-4c9d-a74c-ab657486b05d", + "name": "repos_hub4j-test-org_github-api_issues_461_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/issues/461/comments?since=2022-09-22T10%3A48%3A32Z", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48:33 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"c7c7a1326a6586429fa5ef476d91dfe7d34a7d1ecb5445f44e56c33f5bba405e\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4633", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "367", + "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": "C966:10DC3:A565024:A7B465C:632C3D81" + } + }, + "uuid": "dd47ce05-2948-4c9d-a74c-ab657486b05d", + "persistent": true, + "scenarioName": "scenario-3-repos-hub4j-test-org-github-api-issues-461-comments", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-3-repos-hub4j-test-org-github-api-issues-461-comments-2", + "insertionIndex": 11 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-12.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-12.json new file mode 100644 index 0000000000..5825798460 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-12.json @@ -0,0 +1,55 @@ +{ + "id": "7b1d08ce-a2d7-41ab-9771-b20d774d7257", + "name": "repos_hub4j-test-org_github-api_issues_461_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/issues/461/comments", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"body\":\"Second comment\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_github-api_issues_461_comments-12.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48:36 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"b18faca4696eb1d7373a1350e5948c2f70d3231c331e7976d408c12ac106ddfc\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4632", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "368", + "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": "C972:DF11:9E74813:A0BDB5C:632C3D83", + "Location": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853752" + } + }, + "uuid": "7b1d08ce-a2d7-41ab-9771-b20d774d7257", + "persistent": true, + "insertionIndex": 12 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-13.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-13.json new file mode 100644 index 0000000000..ce34afffed --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-13.json @@ -0,0 +1,50 @@ +{ + "id": "ac2ede1e-49ac-4d19-ac26-d89d05e86142", + "name": "repos_hub4j-test-org_github-api_issues_461_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/issues/461/comments", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_issues_461_comments-13.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48:36 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"17bd19bcda00ee91af3bf82e0b425578cf009bf9ef87bab28b2685586cb36b51\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4631", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "369", + "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": "EE93:644B:3F43845:405030B:632C3D84" + } + }, + "uuid": "ac2ede1e-49ac-4d19-ac26-d89d05e86142", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-issues-461-comments", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-issues-461-comments-5", + "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-issues-461-comments-6", + "insertionIndex": 13 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-14.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-14.json new file mode 100644 index 0000000000..6f8156c5e6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-14.json @@ -0,0 +1,49 @@ +{ + "id": "61a7b784-0830-4431-89f3-f084ad15ebef", + "name": "repos_hub4j-test-org_github-api_issues_461_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/issues/461/comments", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_issues_461_comments-14.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48:36 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"17bd19bcda00ee91af3bf82e0b425578cf009bf9ef87bab28b2685586cb36b51\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4630", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "370", + "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": "F46A:CC72:5E50F7C:5FD7A8A:632C3D84" + } + }, + "uuid": "61a7b784-0830-4431-89f3-f084ad15ebef", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-issues-461-comments", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-issues-461-comments-6", + "insertionIndex": 14 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-15.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-15.json new file mode 100644 index 0000000000..0460219a1b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-15.json @@ -0,0 +1,49 @@ +{ + "id": "30b7a9da-052d-4483-8069-6b52992ee393", + "name": "repos_hub4j-test-org_github-api_issues_461_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/issues/461/comments?since=2022-09-22T10%3A48%3A31Z", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_issues_461_comments-15.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48:37 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"17bd19bcda00ee91af3bf82e0b425578cf009bf9ef87bab28b2685586cb36b51\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4629", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "371", + "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": "F723:5103:9709C33:9950295:632C3D85" + } + }, + "uuid": "30b7a9da-052d-4483-8069-6b52992ee393", + "persistent": true, + "scenarioName": "scenario-2-repos-hub4j-test-org-github-api-issues-461-comments", + "requiredScenarioState": "scenario-2-repos-hub4j-test-org-github-api-issues-461-comments-2", + "insertionIndex": 15 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-16.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-16.json new file mode 100644 index 0000000000..b3a1682af0 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-16.json @@ -0,0 +1,49 @@ +{ + "id": "f2bb23a4-76a1-4ac2-aac7-428c2e231d01", + "name": "repos_hub4j-test-org_github-api_issues_461_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/issues/461/comments?since=2022-09-22T10%3A48%3A32Z", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_issues_461_comments-16.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48:37 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"218b6762c12567bc84771830580d82ba55b200ae3e0b1148717c9b213157005a\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4628", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "372", + "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": "E89D:5420:96FDD6A:9943491:632C3D85" + } + }, + "uuid": "f2bb23a4-76a1-4ac2-aac7-428c2e231d01", + "persistent": true, + "scenarioName": "scenario-3-repos-hub4j-test-org-github-api-issues-461-comments", + "requiredScenarioState": "scenario-3-repos-hub4j-test-org-github-api-issues-461-comments-2", + "insertionIndex": 16 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-17.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-17.json new file mode 100644 index 0000000000..dcd4a2f84d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-17.json @@ -0,0 +1,50 @@ +{ + "id": "78fb3efb-7ff7-4385-9609-3053b86b2162", + "name": "repos_hub4j-test-org_github-api_issues_461_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/issues/461/comments?since=2022-09-22T10%3A48%3A35Z", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_issues_461_comments-17.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48:37 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"218b6762c12567bc84771830580d82ba55b200ae3e0b1148717c9b213157005a\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4627", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "373", + "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": "F5B9:5420:96FDEA8:99435F5:632C3D85" + } + }, + "uuid": "78fb3efb-7ff7-4385-9609-3053b86b2162", + "persistent": true, + "scenarioName": "scenario-4-repos-hub4j-test-org-github-api-issues-461-comments", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-4-repos-hub4j-test-org-github-api-issues-461-comments-2", + "insertionIndex": 17 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-18.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-18.json new file mode 100644 index 0000000000..65738c57a5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-18.json @@ -0,0 +1,47 @@ +{ + "id": "f8929dfd-1a19-498c-8e59-7ad284942eb6", + "name": "repos_hub4j-test-org_github-api_issues_461_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/issues/461/comments?since=2022-09-22T10%3A48%3A36Z", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48: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": "\"c7c7a1326a6586429fa5ef476d91dfe7d34a7d1ecb5445f44e56c33f5bba405e\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4626", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "374", + "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": "F5B8:082A:99AEBE5:9BF1873:632C3D86" + } + }, + "uuid": "f8929dfd-1a19-498c-8e59-7ad284942eb6", + "persistent": true, + "insertionIndex": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-19.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-19.json new file mode 100644 index 0000000000..6f9e84c76d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-19.json @@ -0,0 +1,49 @@ +{ + "id": "bdc5de29-aaa2-4c9b-9f1e-1b86096dee5f", + "name": "repos_hub4j-test-org_github-api_issues_461_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/issues/461/comments?since=2022-09-22T10%3A48%3A35Z", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_issues_461_comments-19.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48: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/\"218b6762c12567bc84771830580d82ba55b200ae3e0b1148717c9b213157005a\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4625", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "375", + "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": "D3D9:AA4E:9AFDD8C:9D455FC:632C3D86" + } + }, + "uuid": "bdc5de29-aaa2-4c9b-9f1e-1b86096dee5f", + "persistent": true, + "scenarioName": "scenario-4-repos-hub4j-test-org-github-api-issues-461-comments", + "requiredScenarioState": "scenario-4-repos-hub4j-test-org-github-api-issues-461-comments-2", + "insertionIndex": 19 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-5.json new file mode 100644 index 0000000000..6cfbde4bc6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-5.json @@ -0,0 +1,50 @@ +{ + "id": "5c6ed0e7-4323-448e-aeb8-6c68699c878d", + "name": "repos_hub4j-test-org_github-api_issues_461_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/issues/461/comments", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48:30 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": "\"c7c7a1326a6586429fa5ef476d91dfe7d34a7d1ecb5445f44e56c33f5bba405e\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4639", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "361", + "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": "C93A:2C44:9A6B592:9CAE52D:632C3D7E" + } + }, + "uuid": "5c6ed0e7-4323-448e-aeb8-6c68699c878d", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-issues-461-comments", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-issues-461-comments-2", + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-6.json new file mode 100644 index 0000000000..63ad6f6106 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-6.json @@ -0,0 +1,50 @@ +{ + "id": "2ff304cd-4fad-4b26-a731-7442439885d6", + "name": "repos_hub4j-test-org_github-api_issues_461_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/issues/461/comments", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48:30 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": "\"c7c7a1326a6586429fa5ef476d91dfe7d34a7d1ecb5445f44e56c33f5bba405e\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4638", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "362", + "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": "C93C:0BB5:93F0A3E:9633E72:632C3D7E" + } + }, + "uuid": "2ff304cd-4fad-4b26-a731-7442439885d6", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-issues-461-comments", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-issues-461-comments-2", + "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-issues-461-comments-3", + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-7.json new file mode 100644 index 0000000000..99fa355dc7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-7.json @@ -0,0 +1,55 @@ +{ + "id": "1b678530-b21b-4345-bc47-c56bf8585072", + "name": "repos_hub4j-test-org_github-api_issues_461_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/issues/461/comments", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"body\":\"First comment\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_github-api_issues_461_comments-7.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48:31 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": "\"180bd24cb77ed8ded012d03f3c0d8ebc7a8d9330d5b9c0d89ec50af98d61b54c\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4637", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "363", + "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": "C94C:AA4E:9AFC073:9D438A0:632C3D7F", + "Location": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments/1254853699" + } + }, + "uuid": "1b678530-b21b-4345-bc47-c56bf8585072", + "persistent": true, + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-8.json new file mode 100644 index 0000000000..cb068b474b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-8.json @@ -0,0 +1,50 @@ +{ + "id": "761f43ec-6e00-49b0-91bd-3572081a139f", + "name": "repos_hub4j-test-org_github-api_issues_461_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/issues/461/comments", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_issues_461_comments-8.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48:32 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/\"ed52590726ad6d54eec0ce4709383619350e680fe98bf57e348989c02c6ad71a\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4636", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "364", + "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": "C94E:A95E:67D1E09:6970214:632C3D80" + } + }, + "uuid": "761f43ec-6e00-49b0-91bd-3572081a139f", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-issues-461-comments", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-issues-461-comments-3", + "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-issues-461-comments-4", + "insertionIndex": 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-9.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-9.json new file mode 100644 index 0000000000..97acfb68af --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_issues_461_comments-9.json @@ -0,0 +1,50 @@ +{ + "id": "0701e5c5-bcf3-4a5d-b8ea-d40b7061f278", + "name": "repos_hub4j-test-org_github-api_issues_461_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/issues/461/comments", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_issues_461_comments-9.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48:32 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/\"ed52590726ad6d54eec0ce4709383619350e680fe98bf57e348989c02c6ad71a\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4635", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "365", + "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": "C952:33AC:AA5048F:AC96BAC:632C3D80" + } + }, + "uuid": "0701e5c5-bcf3-4a5d-b8ea-d40b7061f278", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-issues-461-comments", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-issues-461-comments-4", + "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-issues-461-comments-5", + "insertionIndex": 9 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_pulls-4.json new file mode 100644 index 0000000000..ef81f91642 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/repos_hub4j-test-org_github-api_pulls-4.json @@ -0,0 +1,55 @@ +{ + "id": "8e22df22-c49d-4196-a2f3-d8fefd86b2b0", + "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\":\"createPullRequestComment\",\"body\":\"## test\",\"base\":\"main\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 22 Sep 2022 10:48:30 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": "\"0ee9b14cd1b5bd8fd91bd92e071c580641d49050584d1dec40a62170590f3f80\"", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; param=shadow-cat-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4640", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "360", + "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": "C936:AA4E:9AFB941:9D4314A:632C3D7D", + "Location": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/461" + } + }, + "uuid": "8e22df22-c49d-4196-a2f3-d8fefd86b2b0", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/user-1.json new file mode 100644 index 0000000000..55183e376d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestComment/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "d3868b84-d8ad-41dd-b6f4-d29a71c9ae0d", + "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": "Thu, 22 Sep 2022 10:48:27 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/\"32b033573dc38d4e52ca1ad7c3f276480abd6cc661590bac0e37e012d54b0aa6\"", + "Last-Modified": "Thu, 22 Sep 2022 10:12:47 GMT", + "X-OAuth-Scopes": "repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-29 09:53:54 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4647", + "X-RateLimit-Reset": "1663844087", + "X-RateLimit-Used": "353", + "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": "C91A:6970:A1EC6E0:A432E4D:632C3D7B" + } + }, + "uuid": "d3868b84-d8ad-41dd-b6f4-d29a71c9ae0d", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/orgs_hub4j-test-org-2.json index a97e080b15..628aa16924 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/orgs_hub4j-test-org-2.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/orgs_hub4j-test-org-2.json @@ -20,7 +20,7 @@ "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 13, + "public_repos": 50, "public_gists": 0, "followers": 0, "following": 0, @@ -28,23 +28,28 @@ "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": 4, + "owned_private_repos": 4, "private_gists": 0, - "disk_usage": 152, + "disk_usage": 11980, "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": 22, + "filled_seats": 38, "seats": 3 } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api-3.json index 86ec557e28..984cd328d8 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api-3.json @@ -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,16 +65,16 @@ "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": "2021-01-22T03:50:37Z", - "pushed_at": "2021-01-22T23:37:43Z", + "updated_at": "2022-05-23T14:23:52Z", + "pushed_at": "2022-06-19T20:04:07Z", "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": 19052, - "stargazers_count": 0, - "watchers_count": 0, + "size": 19045, + "stargazers_count": 1, + "watchers_count": 1, "language": "Java", "has_issues": true, "has_projects": true, @@ -85,7 +85,7 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 5, + "open_issues_count": 7, "license": { "key": "mit", "name": "MIT License", @@ -93,20 +93,29 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", "forks": 0, - "open_issues": 5, - "watchers": 0, + "open_issues": 7, + "watchers": 1, "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, + "use_squash_pr_title_as_default": false, "organization": { "login": "hub4j-test-org", "id": 7544739, @@ -194,27 +203,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": "2021-01-22T01:29:15Z", - "pushed_at": "2021-01-15T04:14:15Z", + "updated_at": "2022-06-21T16:37:05Z", + "pushed_at": "2022-06-21T07:07:41Z", "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": "https://github-api.kohsuke.org/", - "size": 26826, - "stargazers_count": 728, - "watchers_count": 728, + "size": 40107, + "stargazers_count": 907, + "watchers_count": 907, "language": "Java", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": true, - "forks_count": 520, + "forks_count": 618, "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 77, + "open_issues_count": 107, "license": { "key": "mit", "name": "MIT License", @@ -222,9 +231,21 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, - "forks": 520, - "open_issues": 77, - "watchers": 728, + "allow_forking": true, + "is_template": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 618, + "open_issues": 107, + "watchers": 907, "default_branch": "main" }, "source": { @@ -294,27 +315,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": "2021-01-22T01:29:15Z", - "pushed_at": "2021-01-15T04:14:15Z", + "updated_at": "2022-06-21T16:37:05Z", + "pushed_at": "2022-06-21T07:07:41Z", "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": "https://github-api.kohsuke.org/", - "size": 26826, - "stargazers_count": 728, - "watchers_count": 728, + "size": 40107, + "stargazers_count": 907, + "watchers_count": 907, "language": "Java", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": true, - "forks_count": 520, + "forks_count": 618, "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 77, + "open_issues_count": 107, "license": { "key": "mit", "name": "MIT License", @@ -322,11 +343,23 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, - "forks": 520, - "open_issues": 77, - "watchers": 728, + "allow_forking": true, + "is_template": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 618, + "open_issues": 107, + "watchers": 907, "default_branch": "main" }, - "network_count": 520, - "subscribers_count": 0 + "network_count": 618, + "subscribers_count": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls-4.json index 3472cb4545..16dfde43be 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls-4.json @@ -1,38 +1,38 @@ { - "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395", - "id": 560268793, - "node_id": "MDExOlB1bGxSZXF1ZXN0NTYwMjY4Nzkz", - "html_url": "https://github.com/hub4j-test-org/github-api/pull/395", - "diff_url": "https://github.com/hub4j-test-org/github-api/pull/395.diff", - "patch_url": "https://github.com/hub4j-test-org/github-api/pull/395.patch", - "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/395", - "number": 395, + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456", + "id": 973840601, + "node_id": "PR_kwDODFTdCc46C6DZ", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/456", + "diff_url": "https://github.com/hub4j-test-org/github-api/pull/456.diff", + "patch_url": "https://github.com/hub4j-test-org/github-api/pull/456.patch", + "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/456", + "number": 456, "state": "open", "locked": false, "title": "pullRequestReviewComments", "user": { - "login": "bitwiseman", - "id": 1958953, - "node_id": "MDQ6VXNlcjE5NTg5NTM=", - "avatar_url": "https://avatars.githubusercontent.com/u/1958953?v=4", + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?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", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", "type": "User", "site_admin": false }, "body": "## test", - "created_at": "2021-01-22T23:38:16Z", - "updated_at": "2021-01-22T23:38:16Z", + "created_at": "2022-06-21T17:18:17Z", + "updated_at": "2022-06-21T17:18:17Z", "closed_at": null, "merged_at": null, "merge_commit_sha": null, @@ -43,15 +43,15 @@ "labels": [], "milestone": null, "draft": false, - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395/commits", - "review_comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395/comments", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456/commits", + "review_comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456/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/395/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/456/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, @@ -99,7 +99,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", @@ -139,16 +139,16 @@ "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": "2021-01-22T03:50:37Z", - "pushed_at": "2021-01-22T23:37:43Z", + "updated_at": "2022-05-23T14:23:52Z", + "pushed_at": "2022-06-19T20:04:07Z", "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": 19052, - "stargazers_count": 0, - "watchers_count": 0, + "size": 19045, + "stargazers_count": 1, + "watchers_count": 1, "language": "Java", "has_issues": true, "has_projects": true, @@ -159,7 +159,7 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 6, + "open_issues_count": 8, "license": { "key": "mit", "name": "MIT License", @@ -167,9 +167,13 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", "forks": 0, - "open_issues": 6, - "watchers": 0, + "open_issues": 8, + "watchers": 1, "default_branch": "main" } }, @@ -224,7 +228,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", @@ -264,16 +268,16 @@ "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": "2021-01-22T03:50:37Z", - "pushed_at": "2021-01-22T23:37:43Z", + "updated_at": "2022-05-23T14:23:52Z", + "pushed_at": "2022-06-19T20:04:07Z", "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": 19052, - "stargazers_count": 0, - "watchers_count": 0, + "size": 19045, + "stargazers_count": 1, + "watchers_count": 1, "language": "Java", "has_issues": true, "has_projects": true, @@ -284,7 +288,7 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 6, + "open_issues_count": 8, "license": { "key": "mit", "name": "MIT License", @@ -292,39 +296,44 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", "forks": 0, - "open_issues": 6, - "watchers": 0, + "open_issues": 8, + "watchers": 1, "default_branch": "main" } }, "_links": { "self": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456" }, "html": { - "href": "https://github.com/hub4j-test-org/github-api/pull/395" + "href": "https://github.com/hub4j-test-org/github-api/pull/456" }, "issue": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/395" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/456" }, "comments": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/395/comments" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/456/comments" }, "review_comments": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395/comments" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456/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/395/commits" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456/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, @@ -334,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/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395-18.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395-18.json deleted file mode 100644 index 226299fcc4..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395-18.json +++ /dev/null @@ -1,341 +0,0 @@ -{ - "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395", - "id": 560268793, - "node_id": "MDExOlB1bGxSZXF1ZXN0NTYwMjY4Nzkz", - "html_url": "https://github.com/hub4j-test-org/github-api/pull/395", - "diff_url": "https://github.com/hub4j-test-org/github-api/pull/395.diff", - "patch_url": "https://github.com/hub4j-test-org/github-api/pull/395.patch", - "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/395", - "number": 395, - "state": "closed", - "locked": false, - "title": "pullRequestReviewComments", - "user": { - "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 - }, - "body": "## test", - "created_at": "2021-01-22T23:38:16Z", - "updated_at": "2021-01-22T23:38:22Z", - "closed_at": "2021-01-22T23:38:22Z", - "merged_at": null, - "merge_commit_sha": "b6ea452cf8e8cb14da5cafd34293193f57bd7e3e", - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [], - "labels": [], - "milestone": null, - "draft": false, - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395/commits", - "review_comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395/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/395/comments", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "head": { - "label": "hub4j-test-org:test/stable", - "ref": "test/stable", - "sha": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "user": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "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", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "repo": { - "id": 206888201, - "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://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", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/github-api", - "description": "Resetting", - "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", - "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", - "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": "2021-01-22T03:50:37Z", - "pushed_at": "2021-01-22T23:38:17Z", - "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": 19052, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 5, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 0, - "open_issues": 5, - "watchers": 0, - "default_branch": "main" - } - }, - "base": { - "label": "hub4j-test-org:main", - "ref": "main", - "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", - "user": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "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", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "repo": { - "id": 206888201, - "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://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", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/github-api", - "description": "Resetting", - "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", - "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", - "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": "2021-01-22T03:50:37Z", - "pushed_at": "2021-01-22T23:38:17Z", - "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": 19052, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 5, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 0, - "open_issues": 5, - "watchers": 0, - "default_branch": "main" - } - }, - "_links": { - "self": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395" - }, - "html": { - "href": "https://github.com/hub4j-test-org/github-api/pull/395" - }, - "issue": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/395" - }, - "comments": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/395/comments" - }, - "review_comments": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395/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/395/commits" - }, - "statuses": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/1f40fdf4acf1adb246c109c21a22f617e4bd1ca8" - } - }, - "author_association": "MEMBER", - "active_lock_reason": null, - "merged": false, - "mergeable": true, - "rebaseable": true, - "mergeable_state": "unstable", - "merged_by": null, - "comments": 0, - "review_comments": 0, - "maintainer_can_modify": false, - "commits": 2, - "additions": 2, - "deletions": 1, - "changed_files": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395_comments-13.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395_comments-13.json deleted file mode 100644 index 870fa8ed31..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395_comments-13.json +++ /dev/null @@ -1,113 +0,0 @@ -[ - { - "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/562972753", - "pull_request_review_id": 574695538, - "id": 562972753, - "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDU2Mjk3Mjc1Mw==", - "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub", - "path": "README.md", - "position": 1, - "original_position": 1, - "commit_id": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "original_commit_id": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "user": { - "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 - }, - "body": "Sample review comment", - "created_at": "2021-01-22T23:38:17Z", - "updated_at": "2021-01-22T23:38:17Z", - "html_url": "https://github.com/hub4j-test-org/github-api/pull/395#discussion_r562972753", - "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395", - "author_association": "MEMBER", - "_links": { - "self": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/562972753" - }, - "html": { - "href": "https://github.com/hub4j-test-org/github-api/pull/395#discussion_r562972753" - }, - "pull_request": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395" - } - }, - "start_line": null, - "original_start_line": null, - "start_side": null, - "line": 1, - "original_line": 1, - "side": "LEFT" - }, - { - "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/562972758", - "pull_request_review_id": 574695548, - "id": 562972758, - "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDU2Mjk3Mjc1OA==", - "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub", - "path": "README.md", - "position": 1, - "original_position": 1, - "commit_id": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "original_commit_id": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "user": { - "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 - }, - "body": "This is a reply.", - "created_at": "2021-01-22T23:38:20Z", - "updated_at": "2021-01-22T23:38:20Z", - "html_url": "https://github.com/hub4j-test-org/github-api/pull/395#discussion_r562972758", - "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395", - "author_association": "MEMBER", - "_links": { - "self": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/562972758" - }, - "html": { - "href": "https://github.com/hub4j-test-org/github-api/pull/395#discussion_r562972758" - }, - "pull_request": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395" - } - }, - "start_line": null, - "original_start_line": null, - "start_side": null, - "line": 1, - "original_line": 1, - "side": "LEFT", - "in_reply_to_id": 562972753 - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395_comments-15.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395_comments-15.json deleted file mode 100644 index 62223354f4..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395_comments-15.json +++ /dev/null @@ -1,113 +0,0 @@ -[ - { - "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/562972753", - "pull_request_review_id": 574695538, - "id": 562972753, - "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDU2Mjk3Mjc1Mw==", - "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub", - "path": "README.md", - "position": 1, - "original_position": 1, - "commit_id": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "original_commit_id": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "user": { - "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 - }, - "body": "Updated review comment", - "created_at": "2021-01-22T23:38:17Z", - "updated_at": "2021-01-22T23:38:21Z", - "html_url": "https://github.com/hub4j-test-org/github-api/pull/395#discussion_r562972753", - "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395", - "author_association": "MEMBER", - "_links": { - "self": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/562972753" - }, - "html": { - "href": "https://github.com/hub4j-test-org/github-api/pull/395#discussion_r562972753" - }, - "pull_request": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395" - } - }, - "start_line": null, - "original_start_line": null, - "start_side": null, - "line": 1, - "original_line": 1, - "side": "LEFT" - }, - { - "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/562972758", - "pull_request_review_id": 574695548, - "id": 562972758, - "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDU2Mjk3Mjc1OA==", - "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub", - "path": "README.md", - "position": 1, - "original_position": 1, - "commit_id": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "original_commit_id": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "user": { - "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 - }, - "body": "This is a reply.", - "created_at": "2021-01-22T23:38:20Z", - "updated_at": "2021-01-22T23:38:20Z", - "html_url": "https://github.com/hub4j-test-org/github-api/pull/395#discussion_r562972758", - "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395", - "author_association": "MEMBER", - "_links": { - "self": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/562972758" - }, - "html": { - "href": "https://github.com/hub4j-test-org/github-api/pull/395#discussion_r562972758" - }, - "pull_request": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395" - } - }, - "start_line": null, - "original_start_line": null, - "start_side": null, - "line": 1, - "original_line": 1, - "side": "LEFT", - "in_reply_to_id": 562972753 - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395_comments-17.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395_comments-17.json deleted file mode 100644 index a483a74495..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395_comments-17.json +++ /dev/null @@ -1,57 +0,0 @@ -[ - { - "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/562972758", - "pull_request_review_id": 574695548, - "id": 562972758, - "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDU2Mjk3Mjc1OA==", - "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub", - "path": "README.md", - "position": 1, - "original_position": 1, - "commit_id": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "original_commit_id": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "user": { - "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 - }, - "body": "This is a reply.", - "created_at": "2021-01-22T23:38:20Z", - "updated_at": "2021-01-22T23:38:20Z", - "html_url": "https://github.com/hub4j-test-org/github-api/pull/395#discussion_r562972758", - "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395", - "author_association": "MEMBER", - "_links": { - "self": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/562972758" - }, - "html": { - "href": "https://github.com/hub4j-test-org/github-api/pull/395#discussion_r562972758" - }, - "pull_request": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395" - } - }, - "start_line": null, - "original_start_line": null, - "start_side": null, - "line": 1, - "original_line": 1, - "side": "LEFT" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395_comments-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395_comments-6.json deleted file mode 100644 index e2c282298f..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395_comments-6.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/562972753", - "pull_request_review_id": 574695538, - "id": 562972753, - "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDU2Mjk3Mjc1Mw==", - "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub", - "path": "README.md", - "position": 1, - "original_position": 1, - "commit_id": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "original_commit_id": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "user": { - "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 - }, - "body": "Sample review comment", - "created_at": "2021-01-22T23:38:17Z", - "updated_at": "2021-01-22T23:38:17Z", - "html_url": "https://github.com/hub4j-test-org/github-api/pull/395#discussion_r562972753", - "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395", - "author_association": "MEMBER", - "_links": { - "self": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/562972753" - }, - "html": { - "href": "https://github.com/hub4j-test-org/github-api/pull/395#discussion_r562972753" - }, - "pull_request": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395" - } - }, - "start_line": null, - "original_start_line": null, - "start_side": null, - "line": 1, - "original_line": 1, - "side": "LEFT" -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395_comments-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395_comments-7.json deleted file mode 100644 index e7f364e08c..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395_comments-7.json +++ /dev/null @@ -1,57 +0,0 @@ -[ - { - "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/562972753", - "pull_request_review_id": 574695538, - "id": 562972753, - "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDU2Mjk3Mjc1Mw==", - "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub", - "path": "README.md", - "position": 1, - "original_position": 1, - "commit_id": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "original_commit_id": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "user": { - "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 - }, - "body": "Sample review comment", - "created_at": "2021-01-22T23:38:17Z", - "updated_at": "2021-01-22T23:38:17Z", - "html_url": "https://github.com/hub4j-test-org/github-api/pull/395#discussion_r562972753", - "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395", - "author_association": "MEMBER", - "_links": { - "self": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/562972753" - }, - "html": { - "href": "https://github.com/hub4j-test-org/github-api/pull/395#discussion_r562972753" - }, - "pull_request": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395" - } - }, - "start_line": null, - "original_start_line": null, - "start_side": null, - "line": 1, - "original_line": 1, - "side": "LEFT" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395_comments_562972753_replies-12.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395_comments_562972753_replies-12.json deleted file mode 100644 index 7fec2d4b5a..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_395_comments_562972753_replies-12.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/562972758", - "pull_request_review_id": 574695548, - "id": 562972758, - "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDU2Mjk3Mjc1OA==", - "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub", - "path": "README.md", - "position": 1, - "original_position": 1, - "commit_id": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "original_commit_id": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "user": { - "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 - }, - "body": "This is a reply.", - "created_at": "2021-01-22T23:38:20Z", - "updated_at": "2021-01-22T23:38:20Z", - "html_url": "https://github.com/hub4j-test-org/github-api/pull/395#discussion_r562972758", - "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395", - "author_association": "MEMBER", - "_links": { - "self": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/562972758" - }, - "html": { - "href": "https://github.com/hub4j-test-org/github-api/pull/395#discussion_r562972758" - }, - "pull_request": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395" - } - }, - "start_line": null, - "original_start_line": null, - "start_side": null, - "line": 1, - "original_line": 1, - "side": "LEFT", - "in_reply_to_id": 562972753 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456-30.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456-30.json new file mode 100644 index 0000000000..2563ea499d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456-30.json @@ -0,0 +1,350 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456", + "id": 973840601, + "node_id": "PR_kwDODFTdCc46C6DZ", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/456", + "diff_url": "https://github.com/hub4j-test-org/github-api/pull/456.diff", + "patch_url": "https://github.com/hub4j-test-org/github-api/pull/456.patch", + "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/456", + "number": 456, + "state": "closed", + "locked": false, + "title": "pullRequestReviewComments", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "body": "## test", + "created_at": "2022-06-21T17:18:17Z", + "updated_at": "2022-06-21T17:18:34Z", + "closed_at": "2022-06-21T17:18:34Z", + "merged_at": null, + "merge_commit_sha": "f8afb2619503d0880cb3d4433fecf56066cdf2fa", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456/commits", + "review_comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456/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/456/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": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "user": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "2022-05-23T14:23:52Z", + "pushed_at": "2022-06-21T17:18:17Z", + "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": 19045, + "stargazers_count": 1, + "watchers_count": 1, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 7, + "watchers": 1, + "default_branch": "main" + } + }, + "base": { + "label": "hub4j-test-org:main", + "ref": "main", + "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", + "user": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "2022-05-23T14:23:52Z", + "pushed_at": "2022-06-21T17:18:17Z", + "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": 19045, + "stargazers_count": 1, + "watchers_count": 1, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 7, + "watchers": 1, + "default_branch": "main" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456" + }, + "html": { + "href": "https://github.com/hub4j-test-org/github-api/pull/456" + }, + "issue": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/456" + }, + "comments": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/456/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456/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/456/commits" + }, + "statuses": { + "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": true, + "rebaseable": true, + "mergeable_state": "unstable", + "merged_by": null, + "comments": 0, + "review_comments": 1, + "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/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-17.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-17.json new file mode 100644 index 0000000000..16583d680f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-17.json @@ -0,0 +1,69 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759", + "pull_request_review_id": 1013972442, + "id": 902875759, + "node_id": "PRRC_kwDODFTdCc410Mpv", + "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub", + "path": "README.md", + "position": 1, + "original_position": 1, + "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "body": "Sample review comment", + "created_at": "2022-06-21T17:18:19Z", + "updated_at": "2022-06-21T17:18:19Z", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759", + "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456", + "author_association": "MEMBER", + "_links": { + "self": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759" + }, + "html": { + "href": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759" + }, + "pull_request": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456" + } + }, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions", + "total_count": 8, + "+1": 1, + "-1": 1, + "laugh": 1, + "hooray": 1, + "confused": 1, + "heart": 1, + "rocket": 1, + "eyes": 1 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 1, + "original_line": 1, + "side": "LEFT" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-25.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-25.json new file mode 100644 index 0000000000..1e68cd8679 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-25.json @@ -0,0 +1,137 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759", + "pull_request_review_id": 1013972442, + "id": 902875759, + "node_id": "PRRC_kwDODFTdCc410Mpv", + "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub", + "path": "README.md", + "position": 1, + "original_position": 1, + "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "body": "Sample review comment", + "created_at": "2022-06-21T17:18:19Z", + "updated_at": "2022-06-21T17:18:19Z", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759", + "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456", + "author_association": "MEMBER", + "_links": { + "self": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759" + }, + "html": { + "href": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759" + }, + "pull_request": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456" + } + }, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions", + "total_count": 7, + "+1": 1, + "-1": 1, + "laugh": 1, + "hooray": 1, + "confused": 0, + "heart": 1, + "rocket": 1, + "eyes": 1 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 1, + "original_line": 1, + "side": "LEFT" + }, + { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952", + "pull_request_review_id": 1013972708, + "id": 902875952, + "node_id": "PRRC_kwDODFTdCc410Msw", + "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub", + "path": "README.md", + "position": 1, + "original_position": 1, + "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "body": "This is a reply.", + "created_at": "2022-06-21T17:18:30Z", + "updated_at": "2022-06-21T17:18:30Z", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875952", + "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456", + "author_association": "MEMBER", + "_links": { + "self": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952" + }, + "html": { + "href": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875952" + }, + "pull_request": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456" + } + }, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 1, + "original_line": 1, + "side": "LEFT", + "in_reply_to_id": 902875759 + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-27.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-27.json new file mode 100644 index 0000000000..68abe05f1e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-27.json @@ -0,0 +1,137 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759", + "pull_request_review_id": 1013972442, + "id": 902875759, + "node_id": "PRRC_kwDODFTdCc410Mpv", + "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub", + "path": "README.md", + "position": 1, + "original_position": 1, + "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "body": "Updated review comment", + "created_at": "2022-06-21T17:18:19Z", + "updated_at": "2022-06-21T17:18:32Z", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759", + "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456", + "author_association": "MEMBER", + "_links": { + "self": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759" + }, + "html": { + "href": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759" + }, + "pull_request": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456" + } + }, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions", + "total_count": 7, + "+1": 1, + "-1": 1, + "laugh": 1, + "hooray": 1, + "confused": 0, + "heart": 1, + "rocket": 1, + "eyes": 1 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 1, + "original_line": 1, + "side": "LEFT" + }, + { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952", + "pull_request_review_id": 1013972708, + "id": 902875952, + "node_id": "PRRC_kwDODFTdCc410Msw", + "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub", + "path": "README.md", + "position": 1, + "original_position": 1, + "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "body": "This is a reply.", + "created_at": "2022-06-21T17:18:30Z", + "updated_at": "2022-06-21T17:18:30Z", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875952", + "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456", + "author_association": "MEMBER", + "_links": { + "self": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952" + }, + "html": { + "href": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875952" + }, + "pull_request": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456" + } + }, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 1, + "original_line": 1, + "side": "LEFT", + "in_reply_to_id": 902875759 + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-29.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-29.json new file mode 100644 index 0000000000..27adb209e6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-29.json @@ -0,0 +1,69 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952", + "pull_request_review_id": 1013972708, + "id": 902875952, + "node_id": "PRRC_kwDODFTdCc410Msw", + "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub", + "path": "README.md", + "position": 1, + "original_position": 1, + "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "body": "This is a reply.", + "created_at": "2022-06-21T17:18:30Z", + "updated_at": "2022-06-21T17:18:30Z", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875952", + "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456", + "author_association": "MEMBER", + "_links": { + "self": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952" + }, + "html": { + "href": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875952" + }, + "pull_request": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456" + } + }, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 1, + "original_line": 1, + "side": "LEFT" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-6.json new file mode 100644 index 0000000000..b5f9885508 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-6.json @@ -0,0 +1,67 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759", + "pull_request_review_id": 1013972442, + "id": 902875759, + "node_id": "PRRC_kwDODFTdCc410Mpv", + "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub", + "path": "README.md", + "position": 1, + "original_position": 1, + "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "body": "Sample review comment", + "created_at": "2022-06-21T17:18:19Z", + "updated_at": "2022-06-21T17:18:19Z", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759", + "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456", + "author_association": "MEMBER", + "_links": { + "self": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759" + }, + "html": { + "href": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759" + }, + "pull_request": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456" + } + }, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 1, + "original_line": 1, + "side": "LEFT" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-7.json new file mode 100644 index 0000000000..4bc8a27daa --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments-7.json @@ -0,0 +1,69 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759", + "pull_request_review_id": 1013972442, + "id": 902875759, + "node_id": "PRRC_kwDODFTdCc410Mpv", + "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub", + "path": "README.md", + "position": 1, + "original_position": 1, + "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "body": "Sample review comment", + "created_at": "2022-06-21T17:18:19Z", + "updated_at": "2022-06-21T17:18:19Z", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759", + "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456", + "author_association": "MEMBER", + "_links": { + "self": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759" + }, + "html": { + "href": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759" + }, + "pull_request": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456" + } + }, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 1, + "original_line": 1, + "side": "LEFT" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments_902875759_replies-24.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments_902875759_replies-24.json new file mode 100644 index 0000000000..c5d258a5f3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_456_comments_902875759_replies-24.json @@ -0,0 +1,68 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952", + "pull_request_review_id": 1013972708, + "id": 902875952, + "node_id": "PRRC_kwDODFTdCc410Msw", + "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub", + "path": "README.md", + "position": 1, + "original_position": 1, + "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "body": "This is a reply.", + "created_at": "2022-06-21T17:18:30Z", + "updated_at": "2022-06-21T17:18:30Z", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875952", + "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456", + "author_association": "MEMBER", + "_links": { + "self": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952" + }, + "html": { + "href": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875952" + }, + "pull_request": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456" + } + }, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 1, + "original_line": 1, + "side": "LEFT", + "in_reply_to_id": 902875759 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_562972753-14.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_562972753-14.json deleted file mode 100644 index b2f973c935..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_562972753-14.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/562972753", - "pull_request_review_id": 574695538, - "id": 562972753, - "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDU2Mjk3Mjc1Mw==", - "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub", - "path": "README.md", - "position": 1, - "original_position": 1, - "commit_id": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "original_commit_id": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "user": { - "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 - }, - "body": "Updated review comment", - "created_at": "2021-01-22T23:38:17Z", - "updated_at": "2021-01-22T23:38:21Z", - "html_url": "https://github.com/hub4j-test-org/github-api/pull/395#discussion_r562972753", - "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395", - "author_association": "MEMBER", - "_links": { - "self": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/562972753" - }, - "html": { - "href": "https://github.com/hub4j-test-org/github-api/pull/395#discussion_r562972753" - }, - "pull_request": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395" - } - }, - "start_line": null, - "original_start_line": null, - "start_side": null, - "line": 1, - "original_line": 1, - "side": "LEFT" -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_562972753_reactions-10.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_562972753_reactions-10.json deleted file mode 100644 index d9fe94ad14..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_562972753_reactions-10.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "id": 97972784, - "node_id": "MDg6UmVhY3Rpb245Nzk3Mjc4NA==", - "user": { - "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 - }, - "content": "confused", - "created_at": "2021-01-22T23:38:19Z" -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_562972753_reactions-11.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_562972753_reactions-11.json deleted file mode 100644 index 64f9fb5ff8..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_562972753_reactions-11.json +++ /dev/null @@ -1,28 +0,0 @@ -[ - { - "id": 97972784, - "node_id": "MDg6UmVhY3Rpb245Nzk3Mjc4NA==", - "user": { - "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 - }, - "content": "confused", - "created_at": "2021-01-22T23:38:19Z" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759-26.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759-26.json new file mode 100644 index 0000000000..46f3e9befa --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759-26.json @@ -0,0 +1,67 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759", + "pull_request_review_id": 1013972442, + "id": 902875759, + "node_id": "PRRC_kwDODFTdCc410Mpv", + "diff_hunk": "@@ -1,3 +1,4 @@\n-Java API for GitHub", + "path": "README.md", + "position": 1, + "original_position": 1, + "commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "original_commit_id": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "body": "Updated review comment", + "created_at": "2022-06-21T17:18:19Z", + "updated_at": "2022-06-21T17:18:32Z", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759", + "pull_request_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456", + "author_association": "MEMBER", + "_links": { + "self": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759" + }, + "html": { + "href": "https://github.com/hub4j-test-org/github-api/pull/456#discussion_r902875759" + }, + "pull_request": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456" + } + }, + "reactions": { + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions", + "total_count": 7, + "+1": 1, + "-1": 1, + "laugh": 1, + "hooray": 1, + "confused": 0, + "heart": 1, + "rocket": 1, + "eyes": 1 + }, + "start_line": null, + "original_start_line": null, + "start_side": null, + "line": 1, + "original_line": 1, + "side": "LEFT" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-10.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-10.json new file mode 100644 index 0000000000..5853c04f14 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-10.json @@ -0,0 +1,26 @@ +{ + "id": 170855255, + "node_id": "REA_lATODFTdCc410MpvzgovC1c", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "confused", + "created_at": "2022-06-21T17:18:21Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-11.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-11.json new file mode 100644 index 0000000000..fa020ac370 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-11.json @@ -0,0 +1,26 @@ +{ + "id": 170855257, + "node_id": "REA_lATODFTdCc410MpvzgovC1k", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "rocket", + "created_at": "2022-06-21T17:18:22Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-12.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-12.json new file mode 100644 index 0000000000..61daf80e73 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-12.json @@ -0,0 +1,26 @@ +{ + "id": 170855259, + "node_id": "REA_lATODFTdCc410MpvzgovC1s", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "hooray", + "created_at": "2022-06-21T17:18:23Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-13.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-13.json new file mode 100644 index 0000000000..88397d87e2 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-13.json @@ -0,0 +1,26 @@ +{ + "id": 170855262, + "node_id": "REA_lATODFTdCc410MpvzgovC14", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "heart", + "created_at": "2022-06-21T17:18:23Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-14.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-14.json new file mode 100644 index 0000000000..9d4e4b26b0 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-14.json @@ -0,0 +1,26 @@ +{ + "id": 170855266, + "node_id": "REA_lATODFTdCc410MpvzgovC2I", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "-1", + "created_at": "2022-06-21T17:18:24Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-15.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-15.json new file mode 100644 index 0000000000..3112bbcd98 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-15.json @@ -0,0 +1,26 @@ +{ + "id": 170855267, + "node_id": "REA_lATODFTdCc410MpvzgovC2M", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "+1", + "created_at": "2022-06-21T17:18:25Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-16.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-16.json new file mode 100644 index 0000000000..40782b3614 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-16.json @@ -0,0 +1,26 @@ +{ + "id": 170855270, + "node_id": "REA_lATODFTdCc410MpvzgovC2Y", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "laugh", + "created_at": "2022-06-21T17:18:25Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-19.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-19.json new file mode 100644 index 0000000000..e17184fe3b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-19.json @@ -0,0 +1,184 @@ +[ + { + "id": 170855251, + "node_id": "REA_lATODFTdCc410MpvzgovC1M", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "eyes", + "created_at": "2022-06-21T17:18:21Z" + }, + { + "id": 170855257, + "node_id": "REA_lATODFTdCc410MpvzgovC1k", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "rocket", + "created_at": "2022-06-21T17:18:22Z" + }, + { + "id": 170855259, + "node_id": "REA_lATODFTdCc410MpvzgovC1s", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "hooray", + "created_at": "2022-06-21T17:18:23Z" + }, + { + "id": 170855262, + "node_id": "REA_lATODFTdCc410MpvzgovC14", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "heart", + "created_at": "2022-06-21T17:18:23Z" + }, + { + "id": 170855266, + "node_id": "REA_lATODFTdCc410MpvzgovC2I", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "-1", + "created_at": "2022-06-21T17:18:24Z" + }, + { + "id": 170855267, + "node_id": "REA_lATODFTdCc410MpvzgovC2M", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "+1", + "created_at": "2022-06-21T17:18:25Z" + }, + { + "id": 170855270, + "node_id": "REA_lATODFTdCc410MpvzgovC2Y", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "laugh", + "created_at": "2022-06-21T17:18:25Z" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-20.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-20.json new file mode 100644 index 0000000000..83cab071ee --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-20.json @@ -0,0 +1,26 @@ +{ + "id": 170855273, + "node_id": "REA_lATODFTdCc410MpvzgovC2k", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "confused", + "created_at": "2022-06-21T17:18:28Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-21.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-21.json new file mode 100644 index 0000000000..a34d79313a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-21.json @@ -0,0 +1,210 @@ +[ + { + "id": 170855251, + "node_id": "REA_lATODFTdCc410MpvzgovC1M", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "eyes", + "created_at": "2022-06-21T17:18:21Z" + }, + { + "id": 170855257, + "node_id": "REA_lATODFTdCc410MpvzgovC1k", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "rocket", + "created_at": "2022-06-21T17:18:22Z" + }, + { + "id": 170855259, + "node_id": "REA_lATODFTdCc410MpvzgovC1s", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "hooray", + "created_at": "2022-06-21T17:18:23Z" + }, + { + "id": 170855262, + "node_id": "REA_lATODFTdCc410MpvzgovC14", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "heart", + "created_at": "2022-06-21T17:18:23Z" + }, + { + "id": 170855266, + "node_id": "REA_lATODFTdCc410MpvzgovC2I", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "-1", + "created_at": "2022-06-21T17:18:24Z" + }, + { + "id": 170855267, + "node_id": "REA_lATODFTdCc410MpvzgovC2M", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "+1", + "created_at": "2022-06-21T17:18:25Z" + }, + { + "id": 170855270, + "node_id": "REA_lATODFTdCc410MpvzgovC2Y", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "laugh", + "created_at": "2022-06-21T17:18:25Z" + }, + { + "id": 170855273, + "node_id": "REA_lATODFTdCc410MpvzgovC2k", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "confused", + "created_at": "2022-06-21T17:18:28Z" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-23.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-23.json new file mode 100644 index 0000000000..e17184fe3b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-23.json @@ -0,0 +1,184 @@ +[ + { + "id": 170855251, + "node_id": "REA_lATODFTdCc410MpvzgovC1M", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "eyes", + "created_at": "2022-06-21T17:18:21Z" + }, + { + "id": 170855257, + "node_id": "REA_lATODFTdCc410MpvzgovC1k", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "rocket", + "created_at": "2022-06-21T17:18:22Z" + }, + { + "id": 170855259, + "node_id": "REA_lATODFTdCc410MpvzgovC1s", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "hooray", + "created_at": "2022-06-21T17:18:23Z" + }, + { + "id": 170855262, + "node_id": "REA_lATODFTdCc410MpvzgovC14", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "heart", + "created_at": "2022-06-21T17:18:23Z" + }, + { + "id": 170855266, + "node_id": "REA_lATODFTdCc410MpvzgovC2I", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "-1", + "created_at": "2022-06-21T17:18:24Z" + }, + { + "id": 170855267, + "node_id": "REA_lATODFTdCc410MpvzgovC2M", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "+1", + "created_at": "2022-06-21T17:18:25Z" + }, + { + "id": 170855270, + "node_id": "REA_lATODFTdCc410MpvzgovC2Y", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "laugh", + "created_at": "2022-06-21T17:18:25Z" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-9.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-9.json new file mode 100644 index 0000000000..b9772e2d0f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-9.json @@ -0,0 +1,26 @@ +{ + "id": 170855251, + "node_id": "REA_lATODFTdCc410MpvzgovC1M", + "user": { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false + }, + "content": "eyes", + "created_at": "2022-06-21T17:18:21Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/user-1.json index 80823e137a..4994365297 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/user-1.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/user-1.json @@ -1,42 +1,42 @@ { - "login": "bitwiseman", - "id": 1958953, - "node_id": "MDQ6VXNlcjE5NTg5NTM=", - "avatar_url": "https://avatars.githubusercontent.com/u/1958953?v=4", + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?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", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", "type": "User", "site_admin": false, - "name": "Liam Newman", - "company": "Cloudbees, Inc.", + "name": "Vasilis Gakias", + "company": null, "blog": "", - "location": "Seattle, WA, USA", - "email": "bitwiseman@gmail.com", + "location": "greece", + "email": "vasileios.gakias@gmail.com", "hireable": null, "bio": null, - "twitter_username": "bitwiseman", - "public_repos": 201, - "public_gists": 7, - "followers": 176, - "following": 11, - "created_at": "2012-07-11T20:38:33Z", - "updated_at": "2021-01-22T16:38:42Z", - "private_gists": 19, - "total_private_repos": 17, + "twitter_username": null, + "public_repos": 14, + "public_gists": 0, + "followers": 2, + "following": 2, + "created_at": "2016-11-10T23:20:00Z", + "updated_at": "2022-06-19T00:21:42Z", + "private_gists": 0, + "total_private_repos": 0, "owned_private_repos": 0, - "disk_usage": 33700, + "disk_usage": 12317, "collaborators": 0, - "two_factor_authentication": true, + "two_factor_authentication": false, "plan": { "name": "free", "space": 976562499, diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/users_bitwiseman-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/users_bitwiseman-8.json deleted file mode 100644 index 80823e137a..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/users_bitwiseman-8.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": 201, - "public_gists": 7, - "followers": 176, - "following": 11, - "created_at": "2012-07-11T20:38:33Z", - "updated_at": "2021-01-22T16:38:42Z", - "private_gists": 19, - "total_private_repos": 17, - "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/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/users_kisaga-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/users_kisaga-8.json new file mode 100644 index 0000000000..4994365297 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/__files/users_kisaga-8.json @@ -0,0 +1,46 @@ +{ + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false, + "name": "Vasilis Gakias", + "company": null, + "blog": "", + "location": "greece", + "email": "vasileios.gakias@gmail.com", + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 14, + "public_gists": 0, + "followers": 2, + "following": 2, + "created_at": "2016-11-10T23:20:00Z", + "updated_at": "2022-06-19T00:21:42Z", + "private_gists": 0, + "total_private_repos": 0, + "owned_private_repos": 0, + "disk_usage": 12317, + "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/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/orgs_hub4j-test-org-2.json index 2850996226..657da03498 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/orgs_hub4j-test-org-2.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/orgs_hub4j-test-org-2.json @@ -1,5 +1,5 @@ { - "id": "69f6f529-b255-4cca-8d7b-8d75751230fe", + "id": "c0c08e2f-2181-4906-b788-ecc6d3f7a1ae", "name": "orgs_hub4j-test-org", "request": { "url": "/orgs/hub4j-test-org", @@ -14,35 +14,35 @@ "status": 200, "bodyFileName": "orgs_hub4j-test-org-2.json", "headers": { - "Date": "Fri, 22 Jan 2021 23:38:16 GMT", - "Content-Type": "application/json; charset=utf-8", "Server": "GitHub.com", - "Status": "200 OK", + "Date": "Tue, 21 Jun 2022 17:18: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", - "Accept-Encoding" + "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"c062f331dfbc4af616476fa3cc4b0e5bbb2ed899c9511d5844ce4bd5274c4c5a\"", - "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", + "ETag": "W/\"5494d1fbf995fc6e1df1d8f680702d945f50908b62ab4b4760b0b38bd1505057\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4815", - "X-RateLimit-Reset": "1611361294", - "x-ratelimit-used": "185", + "X-RateLimit-Remaining": "4994", + "X-RateLimit-Reset": "1655835493", + "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": "D013:3B95:105815:1263AC:600B61E6" + "X-GitHub-Request-Id": "AF60:6281:4D717E:4F2335:62B1FD57" } }, - "uuid": "69f6f529-b255-4cca-8d7b-8d75751230fe", + "uuid": "c0c08e2f-2181-4906-b788-ecc6d3f7a1ae", "persistent": true, "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api-3.json index 2f2cc8156a..5677ea1ca8 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api-3.json @@ -1,5 +1,5 @@ { - "id": "c0f82740-1776-447a-b085-33cf22aa5f86", + "id": "1893f17b-1315-4dc4-8fe2-96bd3e747e84", "name": "repos_hub4j-test-org_github-api", "request": { "url": "/repos/hub4j-test-org/github-api", @@ -14,35 +14,35 @@ "status": 200, "bodyFileName": "repos_hub4j-test-org_github-api-3.json", "headers": { - "Date": "Fri, 22 Jan 2021 23:38:16 GMT", - "Content-Type": "application/json; charset=utf-8", "Server": "GitHub.com", - "Status": "200 OK", + "Date": "Tue, 21 Jun 2022 17:18: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", - "Accept-Encoding" + "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"46b5bda6fe80f4abc4a126a9ca0ca79ad37f2cbc04847e1903e100e6b07744ee\"", - "last-modified": "Fri, 22 Jan 2021 03:50:37 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/\"cb99d6332ac5c8b2c09a1b93d8c078ce24f73cb0b79858a1516f6f939aae0a72\"", + "Last-Modified": "Mon, 23 May 2022 14:23:52 GMT", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", "X-Accepted-OAuth-Scopes": "repo", - "X-GitHub-Media-Type": "unknown, github.v3", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4814", - "X-RateLimit-Reset": "1611361294", - "x-ratelimit-used": "186", + "X-RateLimit-Remaining": "4993", + "X-RateLimit-Reset": "1655835493", + "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": "D013:3B95:105818:1263BC:600B61E8" + "X-GitHub-Request-Id": "AF62:DDCC:3B63EA:3CF72D:62B1FD58" } }, - "uuid": "c0f82740-1776-447a-b085-33cf22aa5f86", + "uuid": "1893f17b-1315-4dc4-8fe2-96bd3e747e84", "persistent": true, "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls-4.json index 37d5d6db2c..d4f20afd9a 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls-4.json @@ -1,5 +1,5 @@ { - "id": "040ee3b9-0b4b-4bad-81da-797e6947ad3c", + "id": "b24c0aff-401f-4e35-add3-2d27e799860c", "name": "repos_hub4j-test-org_github-api_pulls", "request": { "url": "/repos/hub4j-test-org/github-api/pulls", @@ -21,35 +21,35 @@ "status": 201, "bodyFileName": "repos_hub4j-test-org_github-api_pulls-4.json", "headers": { - "Date": "Fri, 22 Jan 2021 23:38:17 GMT", - "Content-Type": "application/json; charset=utf-8", "Server": "GitHub.com", - "Status": "201 Created", + "Date": "Tue, 21 Jun 2022 17:18: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", - "Accept-Encoding" + "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "\"32fc4ebf798f68ee600cbfe11cce66adc1ee61d8c5565db0a402ad1c79fabb57\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", + "ETag": "\"801196cbb450ae48f1d688f815e6830d4e6a687017f5373765f170cd3af6b501\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", "X-Accepted-OAuth-Scopes": "", - "Location": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/395", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", "X-GitHub-Media-Type": "github.v3; param=shadow-cat-preview; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4813", - "X-RateLimit-Reset": "1611361294", - "x-ratelimit-used": "187", + "X-RateLimit-Remaining": "4992", + "X-RateLimit-Reset": "1655835493", + "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": "D013:3B95:10581E:1263C2:600B61E8" + "X-GitHub-Request-Id": "AF64:9DB3:1B392:2BAFF:62B1FD58", + "Location": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/456" } }, - "uuid": "040ee3b9-0b4b-4bad-81da-797e6947ad3c", + "uuid": "b24c0aff-401f-4e35-add3-2d27e799860c", "persistent": true, "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395-18.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395-18.json deleted file mode 100644 index 3bb0a5c162..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395-18.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "id": "c6d050b9-3c21-4665-9755-dd4239b1bdec", - "name": "repos_hub4j-test-org_github-api_pulls_395", - "request": { - "url": "/repos/hub4j-test-org/github-api/pulls/395", - "method": "PATCH", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - }, - "bodyPatterns": [ - { - "equalToJson": "{\"state\":\"closed\"}", - "ignoreArrayOrder": true, - "ignoreExtraElements": false - } - ] - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_github-api_pulls_395-18.json", - "headers": { - "Date": "Fri, 22 Jan 2021 23:38:23 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/\"90509bd8d9725f0f0f27ec990a077b0d7ae666d44e41b40df88021d9431f07b9\"", - "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": "4799", - "X-RateLimit-Reset": "1611361294", - "x-ratelimit-used": "201", - "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": "D013:3B95:105872:12641A:600B61EE" - } - }, - "uuid": "c6d050b9-3c21-4665-9755-dd4239b1bdec", - "persistent": true, - "insertionIndex": 18 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395_comments-13.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395_comments-13.json deleted file mode 100644 index 8ef57c7773..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395_comments-13.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "id": "b1fb172e-6676-4f23-928a-8e07513424d7", - "name": "repos_hub4j-test-org_github-api_pulls_395_comments", - "request": { - "url": "/repos/hub4j-test-org/github-api/pulls/395/comments", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_github-api_pulls_395_comments-13.json", - "headers": { - "Date": "Fri, 22 Jan 2021 23:38:20 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/\"1e69569dcc19e09759d85dedcb2698dce6d5db7ceb48e8f106de4e0104f11ad7\"", - "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": "4804", - "X-RateLimit-Reset": "1611361294", - "x-ratelimit-used": "196", - "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": "D013:3B95:105858:1263FD:600B61EC" - } - }, - "uuid": "b1fb172e-6676-4f23-928a-8e07513424d7", - "persistent": true, - "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-395-comments", - "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-395-comments-3", - "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-395-comments-4", - "insertionIndex": 13 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395_comments-15.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395_comments-15.json deleted file mode 100644 index 7bde1cdd1d..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395_comments-15.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "id": "81772b1c-7882-41b9-b776-130f43fe8063", - "name": "repos_hub4j-test-org_github-api_pulls_395_comments", - "request": { - "url": "/repos/hub4j-test-org/github-api/pulls/395/comments", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_github-api_pulls_395_comments-15.json", - "headers": { - "Date": "Fri, 22 Jan 2021 23:38:21 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/\"0a5c27e886e58db538a4db32443d2c437fe13c344b71d5ded73f375e20ed7bc0\"", - "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": "4802", - "X-RateLimit-Reset": "1611361294", - "x-ratelimit-used": "198", - "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": "D013:3B95:105862:12640A:600B61ED" - } - }, - "uuid": "81772b1c-7882-41b9-b776-130f43fe8063", - "persistent": true, - "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-395-comments", - "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-395-comments-4", - "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-395-comments-5", - "insertionIndex": 15 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395_comments-17.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395_comments-17.json deleted file mode 100644 index 4300e6452c..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395_comments-17.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "id": "e3ad6641-9ad6-4c6f-beb3-b2d35c83c110", - "name": "repos_hub4j-test-org_github-api_pulls_395_comments", - "request": { - "url": "/repos/hub4j-test-org/github-api/pulls/395/comments", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_github-api_pulls_395_comments-17.json", - "headers": { - "Date": "Fri, 22 Jan 2021 23:38:22 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/\"6fe8daefb3089b81348a759c6088069c74b808304d4c62cd9e69f3859ae87088\"", - "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": "4800", - "X-RateLimit-Reset": "1611361294", - "x-ratelimit-used": "200", - "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": "D013:3B95:10586E:126418:600B61EE" - } - }, - "uuid": "e3ad6641-9ad6-4c6f-beb3-b2d35c83c110", - "persistent": true, - "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-395-comments", - "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-395-comments-5", - "insertionIndex": 17 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395_comments-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395_comments-5.json deleted file mode 100644 index 5b469d02e4..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395_comments-5.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "id": "26baa623-674e-4256-a443-42689889d2da", - "name": "repos_hub4j-test-org_github-api_pulls_395_comments", - "request": { - "url": "/repos/hub4j-test-org/github-api/pulls/395/comments", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "body": "[]", - "headers": { - "Date": "Fri, 22 Jan 2021 23:38:17 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": "\"9800b2f961691fc98a0e94eb27a51bcc85f19941baa3ad85cbd310e48cf654e3\"", - "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": "4812", - "X-RateLimit-Reset": "1611361294", - "x-ratelimit-used": "188", - "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": "D013:3B95:10582A:1263CE:600B61E9" - } - }, - "uuid": "26baa623-674e-4256-a443-42689889d2da", - "persistent": true, - "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-395-comments", - "requiredScenarioState": "Started", - "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-395-comments-2", - "insertionIndex": 5 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395_comments-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395_comments-6.json deleted file mode 100644 index 2e0b49c364..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395_comments-6.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "id": "9dbbce40-4a41-4d07-9d32-3bc4b7b55dae", - "name": "repos_hub4j-test-org_github-api_pulls_395_comments", - "request": { - "url": "/repos/hub4j-test-org/github-api/pulls/395/comments", - "method": "POST", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - }, - "bodyPatterns": [ - { - "equalToJson": "{\"path\":\"README.md\",\"position\":1,\"body\":\"Sample review comment\",\"commit_id\":\"1f40fdf4acf1adb246c109c21a22f617e4bd1ca8\"}", - "ignoreArrayOrder": true, - "ignoreExtraElements": false - } - ] - }, - "response": { - "status": 201, - "bodyFileName": "repos_hub4j-test-org_github-api_pulls_395_comments-6.json", - "headers": { - "Date": "Fri, 22 Jan 2021 23:38:18 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "201 Created", - "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": "\"ec53eabf833612e8f478639eec7143c1e3498f3ab23e039055bba92273b64f4d\"", - "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": "", - "Location": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/562972753", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4811", - "X-RateLimit-Reset": "1611361294", - "x-ratelimit-used": "189", - "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": "D013:3B95:10582D:1263D3:600B61E9" - } - }, - "uuid": "9dbbce40-4a41-4d07-9d32-3bc4b7b55dae", - "persistent": true, - "insertionIndex": 6 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395_comments-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395_comments-7.json deleted file mode 100644 index 19631a70ba..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395_comments-7.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "id": "e6a0a1ff-c12f-4950-bc73-1bd03f5995d3", - "name": "repos_hub4j-test-org_github-api_pulls_395_comments", - "request": { - "url": "/repos/hub4j-test-org/github-api/pulls/395/comments", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_github-api_pulls_395_comments-7.json", - "headers": { - "Date": "Fri, 22 Jan 2021 23:38:18 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/\"9888a0a13157acaad48c26c2d4a718dc73ce1d500691037a3b15b8a447da0fba\"", - "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": "4810", - "X-RateLimit-Reset": "1611361294", - "x-ratelimit-used": "190", - "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": "D013:3B95:10583A:1263DC:600B61EA" - } - }, - "uuid": "e6a0a1ff-c12f-4950-bc73-1bd03f5995d3", - "persistent": true, - "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-395-comments", - "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-395-comments-2", - "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-395-comments-3", - "insertionIndex": 7 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395_comments_562972753_replies-12.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395_comments_562972753_replies-12.json deleted file mode 100644 index 25fb56c62b..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_395_comments_562972753_replies-12.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "id": "921db344-9c2f-490c-b683-06f269222a5c", - "name": "repos_hub4j-test-org_github-api_pulls_395_comments_562972753_replies", - "request": { - "url": "/repos/hub4j-test-org/github-api/pulls/395/comments/562972753/replies", - "method": "POST", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - }, - "bodyPatterns": [ - { - "equalToJson": "{\"body\":\"This is a reply.\"}", - "ignoreArrayOrder": true, - "ignoreExtraElements": false - } - ] - }, - "response": { - "status": 201, - "bodyFileName": "repos_hub4j-test-org_github-api_pulls_395_comments_562972753_replies-12.json", - "headers": { - "Date": "Fri, 22 Jan 2021 23:38:20 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "201 Created", - "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": "\"cb47518f479227da1db2d0ede03e8509ed8384b9ec5536a47c2972091c6f94e0\"", - "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": "", - "Location": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/562972758", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4805", - "X-RateLimit-Reset": "1611361294", - "x-ratelimit-used": "195", - "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": "D013:3B95:105851:1263F6:600B61EB" - } - }, - "uuid": "921db344-9c2f-490c-b683-06f269222a5c", - "persistent": true, - "insertionIndex": 12 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456-30.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456-30.json new file mode 100644 index 0000000000..3be792462b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456-30.json @@ -0,0 +1,54 @@ +{ + "id": "2ef0656b-ee95-4cb0-9b2b-30a96164114b", + "name": "repos_hub4j-test-org_github-api_pulls_456", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/456", + "method": "PATCH", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"state\":\"closed\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_456-30.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18:36 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"14e4628277ee83d18534ba6608492413533702d07c90b617ad7a2c72e1fa8722\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4966", + "X-RateLimit-Reset": "1655835493", + "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": "AF98:BA0B:4D3E8B:4EEBAE:62B1FD6A" + } + }, + "uuid": "2ef0656b-ee95-4cb0-9b2b-30a96164114b", + "persistent": true, + "insertionIndex": 30 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-17.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-17.json new file mode 100644 index 0000000000..a35e9865ac --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-17.json @@ -0,0 +1,50 @@ +{ + "id": "85861b33-c13c-446b-88e7-95d2de3b0c47", + "name": "repos_hub4j-test-org_github-api_pulls_456_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/456/comments", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_456_comments-17.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18:26 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"b17862e11b769cb4aeb5be57ec9428150b5b22a089fc9445cb3f60913d89a83e\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4979", + "X-RateLimit-Reset": "1655835493", + "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": "AF7E:307B:1DDEEF:1F24B5:62B1FD62" + } + }, + "uuid": "85861b33-c13c-446b-88e7-95d2de3b0c47", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments-3", + "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments-4", + "insertionIndex": 17 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-25.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-25.json new file mode 100644 index 0000000000..f046039c1c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-25.json @@ -0,0 +1,50 @@ +{ + "id": "d5f1a1b2-c1cc-4ed1-aaee-5008cebe3559", + "name": "repos_hub4j-test-org_github-api_pulls_456_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/456/comments", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_456_comments-25.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18:31 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/\"51c5cdd4e6dceaf9812dba5221f851b5ea8de5b79a0cc551f6ba3fff235e3c5b\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4971", + "X-RateLimit-Reset": "1655835493", + "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": "AF8E:BA0A:31BD35:332F9A:62B1FD67" + } + }, + "uuid": "d5f1a1b2-c1cc-4ed1-aaee-5008cebe3559", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments-4", + "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments-5", + "insertionIndex": 25 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-27.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-27.json new file mode 100644 index 0000000000..ef556a2946 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-27.json @@ -0,0 +1,50 @@ +{ + "id": "c16019df-b04e-44ee-8e05-6aec9d395fd7", + "name": "repos_hub4j-test-org_github-api_pulls_456_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/456/comments", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_456_comments-27.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18:32 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/\"29ae28d5d668de75ea1082c3a8d7461eacd827103677598b4320a9a92ec6e08d\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4969", + "X-RateLimit-Reset": "1655835493", + "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": "AF92:9DB8:51D25C:537C96:62B1FD68" + } + }, + "uuid": "c16019df-b04e-44ee-8e05-6aec9d395fd7", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments-5", + "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments-6", + "insertionIndex": 27 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-29.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-29.json new file mode 100644 index 0000000000..80e93e6315 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-29.json @@ -0,0 +1,49 @@ +{ + "id": "f692d85c-3ad3-4217-a83b-0ee54f002468", + "name": "repos_hub4j-test-org_github-api_pulls_456_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/456/comments", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_456_comments-29.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18:34 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/\"795f2a7f1d3bac3b49904945b4c6865e1b3a4098b74587a4d78c73a2b0ed4a80\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4967", + "X-RateLimit-Reset": "1655835493", + "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": "AF96:FA74:1C6330:1DA6C6:62B1FD6A" + } + }, + "uuid": "f692d85c-3ad3-4217-a83b-0ee54f002468", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments-6", + "insertionIndex": 29 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-5.json new file mode 100644 index 0000000000..8d5037aedc --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-5.json @@ -0,0 +1,50 @@ +{ + "id": "e563f1db-bc81-41c8-a710-187ae27783c4", + "name": "repos_hub4j-test-org_github-api_pulls_456_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/456/comments", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18: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": "\"20fc4441d036edca28dbcc065f9e32b03003e2a9085ffd64254446cf3cf0604f\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4991", + "X-RateLimit-Reset": "1655835493", + "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": "AF66:10EF1:52F61F:54B37F:62B1FD5A" + } + }, + "uuid": "e563f1db-bc81-41c8-a710-187ae27783c4", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments-2", + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-6.json new file mode 100644 index 0000000000..cd7263905c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-6.json @@ -0,0 +1,55 @@ +{ + "id": "006f3169-0085-45a1-b7ba-8a246c639b03", + "name": "repos_hub4j-test-org_github-api_pulls_456_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/456/comments", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"path\":\"README.md\",\"position\":1,\"body\":\"Sample review comment\",\"commit_id\":\"07374fe73aff1c2024a8d4114b32406c7a8e89b7\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_456_comments-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18: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": "\"36a5ee598a508736adcb8410419b27920cc05df644e0a393a293378ac9d5479f\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4990", + "X-RateLimit-Reset": "1655835493", + "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": "AF68:4006:15415:25A5D:62B1FD5A", + "Location": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875759" + } + }, + "uuid": "006f3169-0085-45a1-b7ba-8a246c639b03", + "persistent": true, + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-7.json new file mode 100644 index 0000000000..1c1a2520a2 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments-7.json @@ -0,0 +1,50 @@ +{ + "id": "567785f1-9e06-4054-86c9-4a10605ec52a", + "name": "repos_hub4j-test-org_github-api_pulls_456_comments", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/456/comments", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_456_comments-7.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18:20 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"53d5962598630d2c8c75bc71115eb7887c93b96424168d2183c1e9b2beedff65\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4989", + "X-RateLimit-Reset": "1655835493", + "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": "AF6A:BA0B:4D2C30:4ED8D6:62B1FD5B" + } + }, + "uuid": "567785f1-9e06-4054-86c9-4a10605ec52a", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments-2", + "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-pulls-456-comments-3", + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments_902875759_replies-24.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments_902875759_replies-24.json new file mode 100644 index 0000000000..d67e084fb0 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_456_comments_902875759_replies-24.json @@ -0,0 +1,55 @@ +{ + "id": "37ca8b73-12d2-49a3-8313-f0d431df04cb", + "name": "repos_hub4j-test-org_github-api_pulls_456_comments_902875759_replies", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/456/comments/902875759/replies", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"body\":\"This is a reply.\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_456_comments_902875759_replies-24.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18:31 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": "\"50c45442ba1c3250fe571c1279aa8974e99f137be5f8c4b25bc2bff97a31e30d\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4972", + "X-RateLimit-Reset": "1655835493", + "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": "AF8C:5CC2:53C762:557D24:62B1FD66", + "Location": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments/902875952" + } + }, + "uuid": "37ca8b73-12d2-49a3-8313-f0d431df04cb", + "persistent": true, + "insertionIndex": 24 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_562972753-14.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_562972753-14.json deleted file mode 100644 index 77fd891e5c..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_562972753-14.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "id": "38a615e2-c59f-4447-bed0-8a5543e00b86", - "name": "repos_hub4j-test-org_github-api_pulls_comments_562972753", - "request": { - "url": "/repos/hub4j-test-org/github-api/pulls/comments/562972753", - "method": "PATCH", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - }, - "bodyPatterns": [ - { - "equalToJson": "{\"body\":\"Updated review comment\"}", - "ignoreArrayOrder": true, - "ignoreExtraElements": false - } - ] - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_562972753-14.json", - "headers": { - "Date": "Fri, 22 Jan 2021 23:38:21 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/\"71d2cc6bb01269b7eca9f1dd314ae71ce6d083d816d8b39b406c205c8c213162\"", - "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": "4803", - "X-RateLimit-Reset": "1611361294", - "x-ratelimit-used": "197", - "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": "D013:3B95:10585D:126404:600B61EC" - } - }, - "uuid": "38a615e2-c59f-4447-bed0-8a5543e00b86", - "persistent": true, - "insertionIndex": 14 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_562972753-16.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_562972753-16.json deleted file mode 100644 index e223084f5c..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_562972753-16.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "id": "8b44cc42-31cd-4f69-b91d-4a3c102e13e0", - "name": "repos_hub4j-test-org_github-api_pulls_comments_562972753", - "request": { - "url": "/repos/hub4j-test-org/github-api/pulls/comments/562972753", - "method": "DELETE", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 22 Jan 2021 23:38:22 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "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": "4801", - "X-RateLimit-Reset": "1611361294", - "x-ratelimit-used": "199", - "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, Accept, X-Requested-With", - "Accept-Encoding" - ], - "X-GitHub-Request-Id": "D013:3B95:105867:12640D:600B61ED" - } - }, - "uuid": "8b44cc42-31cd-4f69-b91d-4a3c102e13e0", - "persistent": true, - "insertionIndex": 16 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_562972753_reactions-10.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_562972753_reactions-10.json deleted file mode 100644 index 47ded97c49..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_562972753_reactions-10.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "id": "2d93d531-56fc-4a81-83a8-f21b2418a475", - "name": "repos_hub4j-test-org_github-api_pulls_comments_562972753_reactions", - "request": { - "url": "/repos/hub4j-test-org/github-api/pulls/comments/562972753/reactions", - "method": "POST", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.squirrel-girl-preview+json" - } - }, - "bodyPatterns": [ - { - "equalToJson": "{\"content\":\"confused\"}", - "ignoreArrayOrder": true, - "ignoreExtraElements": false - } - ] - }, - "response": { - "status": 201, - "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_562972753_reactions-10.json", - "headers": { - "Date": "Fri, 22 Jan 2021 23:38:19 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "201 Created", - "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": "\"17c3b61f50b2749d3462b15309c137c6b399948518ed4799d5dcb72b28e17d2c\"", - "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": "github.squirrel-girl-preview; format=json", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4807", - "X-RateLimit-Reset": "1611361294", - "x-ratelimit-used": "193", - "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": "D013:3B95:105847:1263EC:600B61EB" - } - }, - "uuid": "2d93d531-56fc-4a81-83a8-f21b2418a475", - "persistent": true, - "insertionIndex": 10 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_562972753_reactions-11.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_562972753_reactions-11.json deleted file mode 100644 index 44bd1eb482..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_562972753_reactions-11.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "id": "f3ddb81d-9f1d-4895-af3d-7103ab09185f", - "name": "repos_hub4j-test-org_github-api_pulls_comments_562972753_reactions", - "request": { - "url": "/repos/hub4j-test-org/github-api/pulls/comments/562972753/reactions", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.squirrel-girl-preview+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_562972753_reactions-11.json", - "headers": { - "Date": "Fri, 22 Jan 2021 23:38: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": "W/\"78837131484409a9ad58966b90df1ec90ed03b72338a19ed32f3bc04c77f9f42\"", - "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": "github.squirrel-girl-preview; format=json", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4806", - "X-RateLimit-Reset": "1611361294", - "x-ratelimit-used": "194", - "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": "D013:3B95:10584E:1263F2:600B61EB" - } - }, - "uuid": "f3ddb81d-9f1d-4895-af3d-7103ab09185f", - "persistent": true, - "scenarioName": "scenario-2-repos-hub4j-test-org-github-api-pulls-comments-562972753-reactions", - "requiredScenarioState": "scenario-2-repos-hub4j-test-org-github-api-pulls-comments-562972753-reactions-2", - "insertionIndex": 11 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_562972753_reactions-9.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_562972753_reactions-9.json deleted file mode 100644 index bd78d91a42..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_562972753_reactions-9.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "id": "15fb671a-3ce3-420c-981c-0e0f6ae5e7b9", - "name": "repos_hub4j-test-org_github-api_pulls_comments_562972753_reactions", - "request": { - "url": "/repos/hub4j-test-org/github-api/pulls/comments/562972753/reactions", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.squirrel-girl-preview+json" - } - } - }, - "response": { - "status": 200, - "body": "[]", - "headers": { - "Date": "Fri, 22 Jan 2021 23:38: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": "\"7d0253ca51c378ca4fa4839bfd5bb1ac338f28e5ac8f6810cbdc8553513d942f\"", - "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": "github.squirrel-girl-preview; format=json", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4808", - "X-RateLimit-Reset": "1611361294", - "x-ratelimit-used": "192", - "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": "D013:3B95:105845:1263E9:600B61EB" - } - }, - "uuid": "15fb671a-3ce3-420c-981c-0e0f6ae5e7b9", - "persistent": true, - "scenarioName": "scenario-2-repos-hub4j-test-org-github-api-pulls-comments-562972753-reactions", - "requiredScenarioState": "Started", - "newScenarioState": "scenario-2-repos-hub4j-test-org-github-api-pulls-comments-562972753-reactions-2", - "insertionIndex": 9 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759-26.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759-26.json new file mode 100644 index 0000000000..fbcd0c2d63 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759-26.json @@ -0,0 +1,54 @@ +{ + "id": "51880262-5604-45fb-b2df-e451862c07bc", + "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759", + "method": "PATCH", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"body\":\"Updated review comment\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759-26.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18:32 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/\"3d5bb596716385bf97ed2a4ab88e3787b046ad094a2b4d1f2adad85ea09c2687\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4970", + "X-RateLimit-Reset": "1655835493", + "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": "AF90:13949:5107E6:52BF05:62B1FD67" + } + }, + "uuid": "51880262-5604-45fb-b2df-e451862c07bc", + "persistent": true, + "insertionIndex": 26 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759-28.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759-28.json new file mode 100644 index 0000000000..3a2f4e4b44 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759-28.json @@ -0,0 +1,40 @@ +{ + "id": "3b867da2-e92f-4798-9f98-b92a428630d3", + "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18:33 GMT", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4968", + "X-RateLimit-Reset": "1655835493", + "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'", + "Vary": "Accept-Encoding, Accept, X-Requested-With", + "X-GitHub-Request-Id": "AF94:10EF1:530A33:54C7FD:62B1FD69" + } + }, + "uuid": "3b867da2-e92f-4798-9f98-b92a428630d3", + "persistent": true, + "insertionIndex": 28 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-10.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-10.json new file mode 100644 index 0000000000..7e25a02a0a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-10.json @@ -0,0 +1,57 @@ +{ + "id": "a98d69d3-69d9-401b-8382-8700dd69658e", + "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"content\":\"confused\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-10.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18:21 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"4bb664a12ecdec449205f732e493e0b967130eca58f62d0f40959218ffcaa574\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4986", + "X-RateLimit-Reset": "1655835493", + "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": "AF70:FA76:4F82B6:512B8F:62B1FD5D" + } + }, + "uuid": "a98d69d3-69d9-401b-8382-8700dd69658e", + "persistent": true, + "scenarioName": "scenario-2-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-2-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions-2", + "insertionIndex": 10 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-11.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-11.json new file mode 100644 index 0000000000..985a5399ff --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-11.json @@ -0,0 +1,54 @@ +{ + "id": "eeab61fe-6ac9-4c95-9fc7-e8cd6e373fcc", + "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"content\":\"rocket\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-11.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18: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": "\"4b2d342135a3ae806e9a1b2eac1a06b18d23a89d674dc9d5f22dfbe2f33658f0\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4985", + "X-RateLimit-Reset": "1655835493", + "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": "AF72:DDCC:3B69BE:3CFD28:62B1FD5E" + } + }, + "uuid": "eeab61fe-6ac9-4c95-9fc7-e8cd6e373fcc", + "persistent": true, + "insertionIndex": 11 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-12.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-12.json new file mode 100644 index 0000000000..c9175090d8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-12.json @@ -0,0 +1,54 @@ +{ + "id": "91798d64-09f0-49ef-90fe-03523248212e", + "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"content\":\"hooray\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-12.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18: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": "\"ee486cbb5507982be6d2d430523d5bae7d0ff184a9110640a038ff3d8865672a\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4984", + "X-RateLimit-Reset": "1655835493", + "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": "AF74:400C:4C95D5:4E45FB:62B1FD5E" + } + }, + "uuid": "91798d64-09f0-49ef-90fe-03523248212e", + "persistent": true, + "insertionIndex": 12 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-13.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-13.json new file mode 100644 index 0000000000..0c334177ce --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-13.json @@ -0,0 +1,54 @@ +{ + "id": "cad3de94-5c27-4974-9024-060c947d756b", + "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"content\":\"heart\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-13.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18: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": "\"f8fdfebcabd4003a9c02baedc54795453a0d475aa555047801ba623afdfd7b23\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4983", + "X-RateLimit-Reset": "1655835493", + "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": "AF76:0C3F:563EB5:57FD54:62B1FD5F" + } + }, + "uuid": "cad3de94-5c27-4974-9024-060c947d756b", + "persistent": true, + "insertionIndex": 13 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-14.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-14.json new file mode 100644 index 0000000000..f2fe9fe9aa --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-14.json @@ -0,0 +1,54 @@ +{ + "id": "704056db-53ab-4856-9372-f42303344d33", + "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"content\":\"-1\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-14.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18: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": "\"7128974b9114934f390f2431433340b61f858c1ca1ff779f4d66ce641aa9a0e1\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4982", + "X-RateLimit-Reset": "1655835493", + "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": "AF78:C342:1D2B84:1E6EF4:62B1FD60" + } + }, + "uuid": "704056db-53ab-4856-9372-f42303344d33", + "persistent": true, + "insertionIndex": 14 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-15.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-15.json new file mode 100644 index 0000000000..3e33d14c8a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-15.json @@ -0,0 +1,54 @@ +{ + "id": "7b1f91b5-e3af-4ba6-a167-e072c50f034d", + "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"content\":\"+1\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-15.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18:25 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"7c65a98fc7dca7d089d476aacf4207ed48db491f943b13f1731a3e1a79068ae0\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4981", + "X-RateLimit-Reset": "1655835493", + "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": "AF7A:FA73:C4E88:D6D68:62B1FD60" + } + }, + "uuid": "7b1f91b5-e3af-4ba6-a167-e072c50f034d", + "persistent": true, + "insertionIndex": 15 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-16.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-16.json new file mode 100644 index 0000000000..dbceef14af --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-16.json @@ -0,0 +1,54 @@ +{ + "id": "ae34b71c-9d98-4774-9de0-e9e2138fa9f8", + "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"content\":\"laugh\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-16.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18:25 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"e8940d2d1f195c8045e783b98ab7c0455de09965355337fc83bcc10da0681316\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4980", + "X-RateLimit-Reset": "1655835493", + "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": "AF7C:307C:3A3C6F:3BB292:62B1FD61" + } + }, + "uuid": "ae34b71c-9d98-4774-9de0-e9e2138fa9f8", + "persistent": true, + "insertionIndex": 16 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-19.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-19.json new file mode 100644 index 0000000000..b89d32c06b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-19.json @@ -0,0 +1,50 @@ +{ + "id": "746ab178-541e-4dca-9183-b10598bf3ccf", + "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-19.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18:27 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/\"b6ff492e1af9b061cffc7f5c9a251fbd428c9ebb996765012582d54b8799977a\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4977", + "X-RateLimit-Reset": "1655835493", + "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": "AF82:13949:5101BF:52B8BD:62B1FD63" + } + }, + "uuid": "746ab178-541e-4dca-9183-b10598bf3ccf", + "persistent": true, + "scenarioName": "scenario-3-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-3-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions-2", + "insertionIndex": 19 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-20.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-20.json new file mode 100644 index 0000000000..d1997b75ab --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-20.json @@ -0,0 +1,56 @@ +{ + "id": "41f4ffbd-3ac6-46dc-937a-3280e61e02de", + "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"content\":\"confused\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-20.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18:28 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": "\"cf22b35bf81a14d22b24cc6defe32310647a67e41979d0619d2a945c8660b795\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4976", + "X-RateLimit-Reset": "1655835493", + "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": "AF84:400C:4C9C17:4E4C69:62B1FD63" + } + }, + "uuid": "41f4ffbd-3ac6-46dc-937a-3280e61e02de", + "persistent": true, + "scenarioName": "scenario-2-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions", + "requiredScenarioState": "scenario-2-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions-2", + "insertionIndex": 20 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-21.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-21.json new file mode 100644 index 0000000000..bd4c1f2063 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-21.json @@ -0,0 +1,50 @@ +{ + "id": "d0d80ef0-4ed2-426c-a569-45a7a871301d", + "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-21.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18:28 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/\"d4a6e926798ba7f082f8499aefcd20a98e61eee4fbf391067627b75e9b2e7d58\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4975", + "X-RateLimit-Reset": "1655835493", + "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": "AF86:0C3F:564540:580411:62B1FD64" + } + }, + "uuid": "d0d80ef0-4ed2-426c-a569-45a7a871301d", + "persistent": true, + "scenarioName": "scenario-3-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions", + "requiredScenarioState": "scenario-3-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions-2", + "newScenarioState": "scenario-3-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions-3", + "insertionIndex": 21 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-23.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-23.json new file mode 100644 index 0000000000..d1c9a8bc1c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-23.json @@ -0,0 +1,49 @@ +{ + "id": "be8ab32b-e885-4806-b87f-3db5973ef7e4", + "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-23.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18:29 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/\"b6ff492e1af9b061cffc7f5c9a251fbd428c9ebb996765012582d54b8799977a\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4973", + "X-RateLimit-Reset": "1655835493", + "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": "AF8A:6280:3800FF:398241:62B1FD65" + } + }, + "uuid": "be8ab32b-e885-4806-b87f-3db5973ef7e4", + "persistent": true, + "scenarioName": "scenario-3-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions", + "requiredScenarioState": "scenario-3-repos-hub4j-test-org-github-api-pulls-comments-902875759-reactions-3", + "insertionIndex": 23 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-9.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-9.json new file mode 100644 index 0000000000..738a0056d2 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-9.json @@ -0,0 +1,54 @@ +{ + "id": "6148fd96-101d-45af-984a-53407454b15c", + "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.squirrel-girl-preview+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"content\":\"eyes\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions-9.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18:21 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"e21c10f436977c155cb2612b9a13066a568a4c8b1e82c1ca3b0218bd50064771\"", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; param=squirrel-girl-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4987", + "X-RateLimit-Reset": "1655835493", + "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": "AF6E:0C3E:33A10C:351889:62B1FD5D" + } + }, + "uuid": "6148fd96-101d-45af-984a-53407454b15c", + "persistent": true, + "insertionIndex": 9 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions_170855255-18.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions_170855255-18.json new file mode 100644 index 0000000000..5ca5dfc6b5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions_170855255-18.json @@ -0,0 +1,40 @@ +{ + "id": "9bd41cb3-3253-4048-b7a2-1af59a2e7f3e", + "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions_170855255", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions/170855255", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18:27 GMT", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4978", + "X-RateLimit-Reset": "1655835493", + "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'", + "Vary": "Accept-Encoding, Accept, X-Requested-With", + "X-GitHub-Request-Id": "AF80:F6CA:5C7943:5E384F:62B1FD62" + } + }, + "uuid": "9bd41cb3-3253-4048-b7a2-1af59a2e7f3e", + "persistent": true, + "insertionIndex": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions_170855273-22.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions_170855273-22.json new file mode 100644 index 0000000000..d2e0832189 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions_170855273-22.json @@ -0,0 +1,40 @@ +{ + "id": "8283bae4-a7cb-47db-825f-32c28f9e3405", + "name": "repos_hub4j-test-org_github-api_pulls_comments_902875759_reactions_170855273", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/comments/902875759/reactions/170855273", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18:29 GMT", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4974", + "X-RateLimit-Reset": "1655835493", + "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'", + "Vary": "Accept-Encoding, Accept, X-Requested-With", + "X-GitHub-Request-Id": "AF88:13948:352972:369BE1:62B1FD65" + } + }, + "uuid": "8283bae4-a7cb-47db-825f-32c28f9e3405", + "persistent": true, + "insertionIndex": 22 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/user-1.json index 4840ff3401..ab85673cfe 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/user-1.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/user-1.json @@ -1,5 +1,5 @@ { - "id": "231ba785-4cfd-40f0-b6e8-88a46d3190f9", + "id": "3609dba6-8516-4729-b4f3-09a0d352e3aa", "name": "user", "request": { "url": "/user", @@ -14,35 +14,35 @@ "status": 200, "bodyFileName": "user-1.json", "headers": { - "Date": "Fri, 22 Jan 2021 23:38:14 GMT", - "Content-Type": "application/json; charset=utf-8", "Server": "GitHub.com", - "Status": "200 OK", + "Date": "Tue, 21 Jun 2022 17:18: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", - "Accept-Encoding" + "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"c8b61de8f7b00ef1a040d10e88b51dd065defb82f7d94a95a97b3dbab636edbe\"", - "last-modified": "Fri, 22 Jan 2021 16:38:42 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/\"c08249a37ca4953ffb58ac5b74889c6ce74c4d10ed91dd199fa45e1b93196eef\"", + "Last-Modified": "Sun, 19 Jun 2022 00:21:42 GMT", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4821", - "X-RateLimit-Reset": "1611361294", - "x-ratelimit-used": "179", + "X-RateLimit-Remaining": "4999", + "X-RateLimit-Reset": "1655835493", + "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": "D013:3B95:105805:1263A7:600B61E6" + "X-GitHub-Request-Id": "AF5C:10EEE:C39D6:D5504:62B1FD55" } }, - "uuid": "231ba785-4cfd-40f0-b6e8-88a46d3190f9", + "uuid": "3609dba6-8516-4729-b4f3-09a0d352e3aa", "persistent": true, "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/users_bitwiseman-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/users_bitwiseman-8.json deleted file mode 100644 index 3ab16b4039..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/users_bitwiseman-8.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "cf3788f0-b3d8-4397-b28a-3641a25c8101", - "name": "users_bitwiseman", - "request": { - "url": "/users/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "users_bitwiseman-8.json", - "headers": { - "Date": "Fri, 22 Jan 2021 23:38: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": "W/\"c8b61de8f7b00ef1a040d10e88b51dd065defb82f7d94a95a97b3dbab636edbe\"", - "last-modified": "Fri, 22 Jan 2021 16:38:42 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": "4809", - "X-RateLimit-Reset": "1611361294", - "x-ratelimit-used": "191", - "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": "D013:3B95:105840:1263E4:600B61EA" - } - }, - "uuid": "cf3788f0-b3d8-4397-b28a-3641a25c8101", - "persistent": true, - "insertionIndex": 8 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/users_kisaga-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/users_kisaga-8.json new file mode 100644 index 0000000000..14aba63e3d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/pullRequestReviewComments/mappings/users_kisaga-8.json @@ -0,0 +1,48 @@ +{ + "id": "0892a1ba-a9f8-44fe-a199-1c8d3274548f", + "name": "users_kisaga", + "request": { + "url": "/users/kisaga", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "users_kisaga-8.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 21 Jun 2022 17:18:20 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"c08249a37ca4953ffb58ac5b74889c6ce74c4d10ed91dd199fa45e1b93196eef\"", + "Last-Modified": "Sun, 19 Jun 2022 00:21:42 GMT", + "X-OAuth-Scopes": "admin:gpg_key, notifications, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-07-17 15:27:30 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4988", + "X-RateLimit-Reset": "1655835493", + "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": "AF6C:21C5:567FD6:58294B:62B1FD5C" + } + }, + "uuid": "0892a1ba-a9f8-44fe-a199-1c8d3274548f", + "persistent": true, + "insertionIndex": 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/organizations_7544739_team_3451996-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/organizations_7544739_team_3451996-7.json new file mode 100644 index 0000000000..ce21071d54 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/organizations_7544739_team_3451996-7.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/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..162ceb1c73 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__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/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/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__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 new file mode 100644 index 0000000000..ce21071d54 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__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 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/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/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api-2.json new file mode 100644 index 0000000000..40510d1564 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api-2.json @@ -0,0 +1,364 @@ +{ + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "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": 19045, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "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": "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": 596, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 98, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "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": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "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": "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": 596, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 98, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "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": 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-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api-3.json deleted file mode 100644 index ca6e767b05..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api-3.json +++ /dev/null @@ -1,330 +0,0 @@ -{ - "id": 206888201, - "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", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/github-api", - "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", - "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", - "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", - "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, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "main", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "allow_squash_merge": true, - "allow_merge_commit": true, - "allow_rebase_merge": true, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "parent": { - "id": 617210, - "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", - "name": "github-api", - "full_name": "hub4j/github-api", - "private": false, - "owner": { - "login": "hub4j", - "id": 54909825, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", - "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j", - "html_url": "https://github.com/hub4j", - "followers_url": "https://api.github.com/users/hub4j/followers", - "following_url": "https://api.github.com/users/hub4j/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j/orgs", - "repos_url": "https://api.github.com/users/hub4j/repos", - "events_url": "https://api.github.com/users/hub4j/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j/github-api", - "description": "Java API for GitHub", - "fork": false, - "url": "https://api.github.com/repos/hub4j/github-api", - "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", - "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", - "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", - "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, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 429, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 82, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 429, - "open_issues": 82, - "watchers": 557, - "default_branch": "main" - }, - "source": { - "id": 617210, - "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", - "name": "github-api", - "full_name": "hub4j/github-api", - "private": false, - "owner": { - "login": "hub4j", - "id": 54909825, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", - "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j", - "html_url": "https://github.com/hub4j", - "followers_url": "https://api.github.com/users/hub4j/followers", - "following_url": "https://api.github.com/users/hub4j/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j/orgs", - "repos_url": "https://api.github.com/users/hub4j/repos", - "events_url": "https://api.github.com/users/hub4j/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j/github-api", - "description": "Java API for GitHub", - "fork": false, - "url": "https://api.github.com/repos/hub4j/github-api", - "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", - "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", - "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", - "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, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 429, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 82, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 429, - "open_issues": 82, - "watchers": 557, - "default_branch": "main" - }, - "network_count": 429, - "subscribers_count": 0 -} \ 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-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls-3.json new file mode 100644 index 0000000000..34965f550b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls-3.json @@ -0,0 +1,350 @@ +{ + "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": "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 + }, + "body": "## test", + "created_at": "2022-03-04T11:02:08Z", + "updated_at": "2022-03-04T11:02:08Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "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/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": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "user": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "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": 19045, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 8, + "watchers": 0, + "default_branch": "main" + } + }, + "base": { + "label": "hub4j-test-org:main", + "ref": "main", + "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", + "user": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "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": 19045, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 8, + "watchers": 0, + "default_branch": "main" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449" + }, + "html": { + "href": "https://github.com/hub4j-test-org/github-api/pull/449" + }, + "issue": { + "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/449/comments" + }, + "review_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/449/commits" + }, + "statuses": { + "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, + "mergeable_state": "unknown", + "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-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls-4.json deleted file mode 100644 index a42cfb07e4..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls-4.json +++ /dev/null @@ -1,339 +0,0 @@ -{ - "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, - "state": "open", - "locked": false, - "title": "testPullRequestTeamReviewRequests", - "user": { - "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 - }, - "body": "## test", - "created_at": "2019-10-05T13:12:37Z", - "updated_at": "2019-10-05T13:12:37Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "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", - "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", - "head": { - "label": "hub4j-test-org:test/stable", - "ref": "test/stable", - "sha": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "user": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "repo": { - "id": 206888201, - "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", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/github-api", - "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", - "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", - "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", - "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, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "main" - } - }, - "base": { - "label": "hub4j-test-org:main", - "ref": "main", - "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", - "user": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "repo": { - "id": 206888201, - "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", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/github-api", - "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", - "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", - "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", - "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, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "main" - } - }, - "_links": { - "self": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304" - }, - "html": { - "href": "https://github.com/hub4j-test-org/github-api/pull/304" - }, - "issue": { - "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/304/comments" - }, - "review_comments": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304/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" - }, - "statuses": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/1f40fdf4acf1adb246c109c21a22f617e4bd1ca8" - } - }, - "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 -} \ 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_304-7.json deleted file mode 100644 index bec66e2cba..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_304-7.json +++ /dev/null @@ -1,353 +0,0 @@ -{ - "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, - "state": "open", - "locked": false, - "title": "testPullRequestTeamReviewRequests", - "user": { - "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 - }, - "body": "## test", - "created_at": "2019-10-05T13:12:37Z", - "updated_at": "2019-10-05T13:12:37Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [ - { - "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" - } - ], - "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", - "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", - "head": { - "label": "hub4j-test-org:test/stable", - "ref": "test/stable", - "sha": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "user": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "repo": { - "id": 206888201, - "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", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/github-api", - "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", - "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", - "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", - "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, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "main" - } - }, - "base": { - "label": "hub4j-test-org:main", - "ref": "main", - "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", - "user": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "repo": { - "id": 206888201, - "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", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/github-api", - "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", - "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", - "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", - "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, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "main" - } - }, - "_links": { - "self": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304" - }, - "html": { - "href": "https://github.com/hub4j-test-org/github-api/pull/304" - }, - "issue": { - "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/304/comments" - }, - "review_comments": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304/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" - }, - "statuses": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/1f40fdf4acf1adb246c109c21a22f617e4bd1ca8" - } - }, - "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 -} \ 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_304_requested_reviewers-6.json deleted file mode 100644 index 106d2733e4..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_304_requested_reviewers-6.json +++ /dev/null @@ -1,341 +0,0 @@ -{ - "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, - "state": "open", - "locked": false, - "title": "testPullRequestTeamReviewRequests", - "user": { - "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 - }, - "body": "## test", - "created_at": "2019-10-05T13:12:37Z", - "updated_at": "2019-10-05T13:12:37Z", - "closed_at": null, - "merged_at": null, - "merge_commit_sha": null, - "assignee": null, - "assignees": [], - "requested_reviewers": [], - "requested_teams": [ - { - "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" - } - ], - "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", - "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", - "head": { - "label": "hub4j-test-org:test/stable", - "ref": "test/stable", - "sha": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", - "user": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "repo": { - "id": 206888201, - "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", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/github-api", - "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", - "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", - "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", - "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, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "main" - } - }, - "base": { - "label": "hub4j-test-org:main", - "ref": "main", - "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", - "user": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "repo": { - "id": 206888201, - "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", - "gravatar_id": "", - "url": "https://api.github.com/users/hub4j-test-org", - "html_url": "https://github.com/hub4j-test-org", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/github-api", - "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", - "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", - "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", - "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, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Java", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 1, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZTEz" - }, - "forks": 0, - "open_issues": 1, - "watchers": 0, - "default_branch": "main" - } - }, - "_links": { - "self": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304" - }, - "html": { - "href": "https://github.com/hub4j-test-org/github-api/pull/304" - }, - "issue": { - "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/304/comments" - }, - "review_comments": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304/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" - }, - "statuses": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/1f40fdf4acf1adb246c109c21a22f617e4bd1ca8" - } - }, - "author_association": "MEMBER" -} \ 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_449-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_449-6.json new file mode 100644 index 0000000000..b5b61f750d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_449-6.json @@ -0,0 +1,365 @@ +{ + "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": "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 + }, + "body": "## test", + "created_at": "2022-03-04T11:02:08Z", + "updated_at": "2022-03-04T11:02:09Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "a1614ffa12b6a71010a7d9123549c55fde1e709b", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [ + { + "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 + } + ], + "labels": [], + "milestone": null, + "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/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": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "user": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "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": 19045, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 8, + "watchers": 0, + "default_branch": "main" + } + }, + "base": { + "label": "hub4j-test-org:main", + "ref": "main", + "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", + "user": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "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": 19045, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 8, + "watchers": 0, + "default_branch": "main" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449" + }, + "html": { + "href": "https://github.com/hub4j-test-org/github-api/pull/449" + }, + "issue": { + "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/449/comments" + }, + "review_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/449/commits" + }, + "statuses": { + "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": 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_449_requested_reviewers-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_449_requested_reviewers-5.json new file mode 100644 index 0000000000..5a51742f0d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_449_requested_reviewers-5.json @@ -0,0 +1,353 @@ +{ + "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": "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 + }, + "body": "## test", + "created_at": "2022-03-04T11:02:08Z", + "updated_at": "2022-03-04T11:02:09Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "a1614ffa12b6a71010a7d9123549c55fde1e709b", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [ + { + "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 + } + ], + "labels": [], + "milestone": null, + "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/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": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", + "user": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "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": 19045, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 8, + "watchers": 0, + "default_branch": "main" + } + }, + "base": { + "label": "hub4j-test-org:main", + "ref": "main", + "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", + "user": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "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": 19045, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 8, + "watchers": 0, + "default_branch": "main" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449" + }, + "html": { + "href": "https://github.com/hub4j-test-org/github-api/pull/449" + }, + "issue": { + "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/449/comments" + }, + "review_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/449/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/07374fe73aff1c2024a8d4114b32406c7a8e89b7" + } + }, + "author_association": "MEMBER", + "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/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/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 new file mode 100644 index 0000000000..9251a02859 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/orgs_hub4j-test-org_teams_dummy-team-4.json @@ -0,0 +1,47 @@ +{ + "id": "d0951789-762e-4805-ace0-f445caa27ac4", + "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-4.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": "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": "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", + "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": "BA5A:4A7C:8FA786:9ABCFF:6221F1B0" + } + }, + "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/orgs_hub4j-test-org_teams_dummy-team-9.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/orgs_hub4j-test-org_teams_dummy-team-9.json deleted file mode 100644 index b3a49c68f6..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/orgs_hub4j-test-org_teams_dummy-team-9.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "7052eece-1708-4d47-8f66-5d45136c43e6", - "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-9.json", - "headers": { - "Server": "GitHub.com", - "Date": "Tue, 17 Mar 2020 09:19:41 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", - "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": "F98A:4C84:18DACD9:3CB7D53:5E70962D" - } - }, - "uuid": "7052eece-1708-4d47-8f66-5d45136c43e6", - "persistent": true, - "insertionIndex": 9 -} \ 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/GHReleaseTest/wiremock/testMakeLatestRelease/__files/repos_hub4j-test-org_temp-testmakelatestrelease-2.json b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/repos_hub4j-test-org_temp-testmakelatestrelease-2.json new file mode 100644 index 0000000000..36e2ffc89b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/repos_hub4j-test-org_temp-testmakelatestrelease-2.json @@ -0,0 +1,149 @@ +{ + "id": 653172669, + "node_id": "R_kgDOJu6fvQ", + "name": "temp-testMakeLatestRelease", + "full_name": "hub4j-test-org/temp-testMakeLatestRelease", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-testMakeLatestRelease", + "description": "A test repository for testing the github-api project: temp-testMakeLatestRelease", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/deployments", + "created_at": "2023-06-13T14:34:30Z", + "updated_at": "2023-06-13T14:34:31Z", + "pushed_at": "2023-06-13T14:34:31Z", + "git_url": "git://github.com/hub4j-test-org/temp-testMakeLatestRelease.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-testMakeLatestRelease.git", + "clone_url": "https://github.com/hub4j-test-org/temp-testMakeLatestRelease.git", + "svn_url": "https://github.com/hub4j-test-org/temp-testMakeLatestRelease", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "security_and_analysis": { + "secret_scanning": { + "status": "disabled" + }, + "secret_scanning_push_protection": { + "status": "disabled" + } + }, + "network_count": 0, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/repos_hub4j-test-org_temp-testmakelatestrelease_releases-3.json b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/repos_hub4j-test-org_temp-testmakelatestrelease_releases-3.json new file mode 100644 index 0000000000..2be2b7d2d7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/repos_hub4j-test-org_temp-testmakelatestrelease_releases-3.json @@ -0,0 +1,39 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387464", + "assets_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387464/assets", + "upload_url": "https://uploads.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387464/assets{?name,label}", + "html_url": "https://github.com/hub4j-test-org/temp-testMakeLatestRelease/releases/tag/tag1", + "id": 108387464, + "author": { + "login": "nikclayton", + "id": 773100, + "node_id": "MDQ6VXNlcjc3MzEwMA==", + "avatar_url": "https://avatars.githubusercontent.com/u/773100?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/nikclayton", + "html_url": "https://github.com/nikclayton", + "followers_url": "https://api.github.com/users/nikclayton/followers", + "following_url": "https://api.github.com/users/nikclayton/following{/other_user}", + "gists_url": "https://api.github.com/users/nikclayton/gists{/gist_id}", + "starred_url": "https://api.github.com/users/nikclayton/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/nikclayton/subscriptions", + "organizations_url": "https://api.github.com/users/nikclayton/orgs", + "repos_url": "https://api.github.com/users/nikclayton/repos", + "events_url": "https://api.github.com/users/nikclayton/events{/privacy}", + "received_events_url": "https://api.github.com/users/nikclayton/received_events", + "type": "User", + "site_admin": false + }, + "node_id": "RE_kwDOJu6fvc4GddyI", + "tag_name": "tag1", + "target_commitish": "main", + "name": null, + "draft": false, + "prerelease": false, + "created_at": "2023-06-13T14:34:31Z", + "published_at": "2023-06-13T14:34:35Z", + "assets": [], + "tarball_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/tarball/tag1", + "zipball_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/zipball/tag1", + "body": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/repos_hub4j-test-org_temp-testmakelatestrelease_releases-5.json b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/repos_hub4j-test-org_temp-testmakelatestrelease_releases-5.json new file mode 100644 index 0000000000..6de6bb0411 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/repos_hub4j-test-org_temp-testmakelatestrelease_releases-5.json @@ -0,0 +1,39 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387467", + "assets_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387467/assets", + "upload_url": "https://uploads.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387467/assets{?name,label}", + "html_url": "https://github.com/hub4j-test-org/temp-testMakeLatestRelease/releases/tag/tag2", + "id": 108387467, + "author": { + "login": "nikclayton", + "id": 773100, + "node_id": "MDQ6VXNlcjc3MzEwMA==", + "avatar_url": "https://avatars.githubusercontent.com/u/773100?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/nikclayton", + "html_url": "https://github.com/nikclayton", + "followers_url": "https://api.github.com/users/nikclayton/followers", + "following_url": "https://api.github.com/users/nikclayton/following{/other_user}", + "gists_url": "https://api.github.com/users/nikclayton/gists{/gist_id}", + "starred_url": "https://api.github.com/users/nikclayton/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/nikclayton/subscriptions", + "organizations_url": "https://api.github.com/users/nikclayton/orgs", + "repos_url": "https://api.github.com/users/nikclayton/repos", + "events_url": "https://api.github.com/users/nikclayton/events{/privacy}", + "received_events_url": "https://api.github.com/users/nikclayton/received_events", + "type": "User", + "site_admin": false + }, + "node_id": "RE_kwDOJu6fvc4GddyL", + "tag_name": "tag2", + "target_commitish": "main", + "name": null, + "draft": false, + "prerelease": false, + "created_at": "2023-06-13T14:34:31Z", + "published_at": "2023-06-13T14:34:36Z", + "assets": [], + "tarball_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/tarball/tag2", + "zipball_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/zipball/tag2", + "body": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/repos_hub4j-test-org_temp-testmakelatestrelease_releases_108387467-7.json b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/repos_hub4j-test-org_temp-testmakelatestrelease_releases_108387467-7.json new file mode 100644 index 0000000000..6de6bb0411 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/repos_hub4j-test-org_temp-testmakelatestrelease_releases_108387467-7.json @@ -0,0 +1,39 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387467", + "assets_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387467/assets", + "upload_url": "https://uploads.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387467/assets{?name,label}", + "html_url": "https://github.com/hub4j-test-org/temp-testMakeLatestRelease/releases/tag/tag2", + "id": 108387467, + "author": { + "login": "nikclayton", + "id": 773100, + "node_id": "MDQ6VXNlcjc3MzEwMA==", + "avatar_url": "https://avatars.githubusercontent.com/u/773100?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/nikclayton", + "html_url": "https://github.com/nikclayton", + "followers_url": "https://api.github.com/users/nikclayton/followers", + "following_url": "https://api.github.com/users/nikclayton/following{/other_user}", + "gists_url": "https://api.github.com/users/nikclayton/gists{/gist_id}", + "starred_url": "https://api.github.com/users/nikclayton/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/nikclayton/subscriptions", + "organizations_url": "https://api.github.com/users/nikclayton/orgs", + "repos_url": "https://api.github.com/users/nikclayton/repos", + "events_url": "https://api.github.com/users/nikclayton/events{/privacy}", + "received_events_url": "https://api.github.com/users/nikclayton/received_events", + "type": "User", + "site_admin": false + }, + "node_id": "RE_kwDOJu6fvc4GddyL", + "tag_name": "tag2", + "target_commitish": "main", + "name": null, + "draft": false, + "prerelease": false, + "created_at": "2023-06-13T14:34:31Z", + "published_at": "2023-06-13T14:34:36Z", + "assets": [], + "tarball_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/tarball/tag2", + "zipball_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/zipball/tag2", + "body": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest-4.json b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest-4.json new file mode 100644 index 0000000000..2be2b7d2d7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest-4.json @@ -0,0 +1,39 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387464", + "assets_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387464/assets", + "upload_url": "https://uploads.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387464/assets{?name,label}", + "html_url": "https://github.com/hub4j-test-org/temp-testMakeLatestRelease/releases/tag/tag1", + "id": 108387464, + "author": { + "login": "nikclayton", + "id": 773100, + "node_id": "MDQ6VXNlcjc3MzEwMA==", + "avatar_url": "https://avatars.githubusercontent.com/u/773100?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/nikclayton", + "html_url": "https://github.com/nikclayton", + "followers_url": "https://api.github.com/users/nikclayton/followers", + "following_url": "https://api.github.com/users/nikclayton/following{/other_user}", + "gists_url": "https://api.github.com/users/nikclayton/gists{/gist_id}", + "starred_url": "https://api.github.com/users/nikclayton/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/nikclayton/subscriptions", + "organizations_url": "https://api.github.com/users/nikclayton/orgs", + "repos_url": "https://api.github.com/users/nikclayton/repos", + "events_url": "https://api.github.com/users/nikclayton/events{/privacy}", + "received_events_url": "https://api.github.com/users/nikclayton/received_events", + "type": "User", + "site_admin": false + }, + "node_id": "RE_kwDOJu6fvc4GddyI", + "tag_name": "tag1", + "target_commitish": "main", + "name": null, + "draft": false, + "prerelease": false, + "created_at": "2023-06-13T14:34:31Z", + "published_at": "2023-06-13T14:34:35Z", + "assets": [], + "tarball_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/tarball/tag1", + "zipball_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/zipball/tag1", + "body": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest-6.json b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest-6.json new file mode 100644 index 0000000000..2be2b7d2d7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest-6.json @@ -0,0 +1,39 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387464", + "assets_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387464/assets", + "upload_url": "https://uploads.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387464/assets{?name,label}", + "html_url": "https://github.com/hub4j-test-org/temp-testMakeLatestRelease/releases/tag/tag1", + "id": 108387464, + "author": { + "login": "nikclayton", + "id": 773100, + "node_id": "MDQ6VXNlcjc3MzEwMA==", + "avatar_url": "https://avatars.githubusercontent.com/u/773100?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/nikclayton", + "html_url": "https://github.com/nikclayton", + "followers_url": "https://api.github.com/users/nikclayton/followers", + "following_url": "https://api.github.com/users/nikclayton/following{/other_user}", + "gists_url": "https://api.github.com/users/nikclayton/gists{/gist_id}", + "starred_url": "https://api.github.com/users/nikclayton/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/nikclayton/subscriptions", + "organizations_url": "https://api.github.com/users/nikclayton/orgs", + "repos_url": "https://api.github.com/users/nikclayton/repos", + "events_url": "https://api.github.com/users/nikclayton/events{/privacy}", + "received_events_url": "https://api.github.com/users/nikclayton/received_events", + "type": "User", + "site_admin": false + }, + "node_id": "RE_kwDOJu6fvc4GddyI", + "tag_name": "tag1", + "target_commitish": "main", + "name": null, + "draft": false, + "prerelease": false, + "created_at": "2023-06-13T14:34:31Z", + "published_at": "2023-06-13T14:34:35Z", + "assets": [], + "tarball_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/tarball/tag1", + "zipball_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/zipball/tag1", + "body": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest-8.json b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest-8.json new file mode 100644 index 0000000000..6de6bb0411 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest-8.json @@ -0,0 +1,39 @@ +{ + "url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387467", + "assets_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387467/assets", + "upload_url": "https://uploads.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387467/assets{?name,label}", + "html_url": "https://github.com/hub4j-test-org/temp-testMakeLatestRelease/releases/tag/tag2", + "id": 108387467, + "author": { + "login": "nikclayton", + "id": 773100, + "node_id": "MDQ6VXNlcjc3MzEwMA==", + "avatar_url": "https://avatars.githubusercontent.com/u/773100?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/nikclayton", + "html_url": "https://github.com/nikclayton", + "followers_url": "https://api.github.com/users/nikclayton/followers", + "following_url": "https://api.github.com/users/nikclayton/following{/other_user}", + "gists_url": "https://api.github.com/users/nikclayton/gists{/gist_id}", + "starred_url": "https://api.github.com/users/nikclayton/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/nikclayton/subscriptions", + "organizations_url": "https://api.github.com/users/nikclayton/orgs", + "repos_url": "https://api.github.com/users/nikclayton/repos", + "events_url": "https://api.github.com/users/nikclayton/events{/privacy}", + "received_events_url": "https://api.github.com/users/nikclayton/received_events", + "type": "User", + "site_admin": false + }, + "node_id": "RE_kwDOJu6fvc4GddyL", + "tag_name": "tag2", + "target_commitish": "main", + "name": null, + "draft": false, + "prerelease": false, + "created_at": "2023-06-13T14:34:31Z", + "published_at": "2023-06-13T14:34:36Z", + "assets": [], + "tarball_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/tarball/tag2", + "zipball_url": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/zipball/tag2", + "body": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/user-1.json new file mode 100644 index 0000000000..e1eaa24a8e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/__files/user-1.json @@ -0,0 +1,46 @@ +{ + "login": "nikclayton", + "id": 773100, + "node_id": "MDQ6VXNlcjc3MzEwMA==", + "avatar_url": "https://avatars.githubusercontent.com/u/773100?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/nikclayton", + "html_url": "https://github.com/nikclayton", + "followers_url": "https://api.github.com/users/nikclayton/followers", + "following_url": "https://api.github.com/users/nikclayton/following{/other_user}", + "gists_url": "https://api.github.com/users/nikclayton/gists{/gist_id}", + "starred_url": "https://api.github.com/users/nikclayton/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/nikclayton/subscriptions", + "organizations_url": "https://api.github.com/users/nikclayton/orgs", + "repos_url": "https://api.github.com/users/nikclayton/repos", + "events_url": "https://api.github.com/users/nikclayton/events{/privacy}", + "received_events_url": "https://api.github.com/users/nikclayton/received_events", + "type": "User", + "site_admin": false, + "name": "Nik Clayton", + "company": null, + "blog": "", + "location": null, + "email": "nik@ngo.org.uk", + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 52, + "public_gists": 9, + "followers": 58, + "following": 0, + "created_at": "2011-05-06T22:32:25Z", + "updated_at": "2023-04-25T14:38:07Z", + "private_gists": 13, + "total_private_repos": 3, + "owned_private_repos": 3, + "disk_usage": 197328, + "collaborators": 2, + "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/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease-2.json b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease-2.json new file mode 100644 index 0000000000..a258c8721b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease-2.json @@ -0,0 +1,50 @@ +{ + "id": "975a78ad-8d5b-4779-b0df-2d3bdc8af506", + "name": "repos_hub4j-test-org_temp-testmakelatestrelease", + "request": { + "url": "/repos/hub4j-test-org/temp-testMakeLatestRelease", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_temp-testmakelatestrelease-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 13 Jun 2023 14:34:35 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"e075e8a0e6f56bcfad808330f21f6a17ff251596d31c97b47a4e6d68d5a5dfab\"", + "Last-Modified": "Tue, 13 Jun 2023 14:34:31 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4710", + "X-RateLimit-Reset": "1686668725", + "X-RateLimit-Used": "290", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "DB44:75B7:69B9FA:6A7995:64887E7B" + } + }, + "uuid": "975a78ad-8d5b-4779-b0df-2d3bdc8af506", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases-3.json b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases-3.json new file mode 100644 index 0000000000..a0433b9a9c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases-3.json @@ -0,0 +1,57 @@ +{ + "id": "1d1bb51c-eea4-41f1-8688-73a017c24f86", + "name": "repos_hub4j-test-org_temp-testmakelatestrelease_releases", + "request": { + "url": "/repos/hub4j-test-org/temp-testMakeLatestRelease/releases", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"tag_name\":\"tag1\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_temp-testmakelatestrelease_releases-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 13 Jun 2023 14:34:35 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"d5ac9bb181b858366436dd34d116f963ae9bc0ce6e19476373562abd38725d21\"", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4709", + "X-RateLimit-Reset": "1686668725", + "X-RateLimit-Used": "291", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "DB4A:D0AA:691DDA:69DD6E:64887E7B", + "Location": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387464" + } + }, + "uuid": "1d1bb51c-eea4-41f1-8688-73a017c24f86", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases-5.json b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases-5.json new file mode 100644 index 0000000000..7733d81043 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases-5.json @@ -0,0 +1,57 @@ +{ + "id": "40acb196-2f69-469c-b5ef-890978e5e727", + "name": "repos_hub4j-test-org_temp-testmakelatestrelease_releases", + "request": { + "url": "/repos/hub4j-test-org/temp-testMakeLatestRelease/releases", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"make_latest\":\"false\",\"tag_name\":\"tag2\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_temp-testmakelatestrelease_releases-5.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 13 Jun 2023 14:34:36 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"d0b254764dcfb406bb379023e4ce334b34c3be308cc4e9fb0f8ca97c106c81e1\"", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4707", + "X-RateLimit-Reset": "1686668725", + "X-RateLimit-Used": "293", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "DB66:75B7:69BEC8:6A7E43:64887E7C", + "Location": "https://api.github.com/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387467" + } + }, + "uuid": "40acb196-2f69-469c-b5ef-890978e5e727", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases_108387464-9.json b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases_108387464-9.json new file mode 100644 index 0000000000..2fcc3a4331 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases_108387464-9.json @@ -0,0 +1,42 @@ +{ + "id": "18966b56-eb0f-4508-9a2c-0ac9fa7a2192", + "name": "repos_hub4j-test-org_temp-testmakelatestrelease_releases_108387464", + "request": { + "url": "/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387464", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 13 Jun 2023 14:34:38 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4703", + "X-RateLimit-Reset": "1686668725", + "X-RateLimit-Used": "297", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "DB24:03EE:7A227D:7AE621:64887E7D" + } + }, + "uuid": "18966b56-eb0f-4508-9a2c-0ac9fa7a2192", + "persistent": true, + "insertionIndex": 9 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases_108387467-10.json b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases_108387467-10.json new file mode 100644 index 0000000000..cc61ce22e8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases_108387467-10.json @@ -0,0 +1,42 @@ +{ + "id": "458693ea-7e4f-44a1-b1e7-58791c12fc46", + "name": "repos_hub4j-test-org_temp-testmakelatestrelease_releases_108387467", + "request": { + "url": "/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387467", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 13 Jun 2023 14:34:38 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4702", + "X-RateLimit-Reset": "1686668725", + "X-RateLimit-Used": "298", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "DB32:BD5B:6818E9:68D891:64887E7E" + } + }, + "uuid": "458693ea-7e4f-44a1-b1e7-58791c12fc46", + "persistent": true, + "insertionIndex": 10 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases_108387467-7.json b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases_108387467-7.json new file mode 100644 index 0000000000..0d2ff1c1e5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases_108387467-7.json @@ -0,0 +1,56 @@ +{ + "id": "d854c1de-4247-4fd1-b0f4-e06c7eb30473", + "name": "repos_hub4j-test-org_temp-testmakelatestrelease_releases_108387467", + "request": { + "url": "/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/108387467", + "method": "PATCH", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"make_latest\":\"true\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_temp-testmakelatestrelease_releases_108387467-7.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 13 Jun 2023 14:34:37 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"d0b254764dcfb406bb379023e4ce334b34c3be308cc4e9fb0f8ca97c106c81e1\"", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4705", + "X-RateLimit-Reset": "1686668725", + "X-RateLimit-Used": "295", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "DB1E:D0AA:6924A6:69E456:64887E7D" + } + }, + "uuid": "d854c1de-4247-4fd1-b0f4-e06c7eb30473", + "persistent": true, + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest-4.json b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest-4.json new file mode 100644 index 0000000000..f985691054 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest-4.json @@ -0,0 +1,53 @@ +{ + "id": "f7b8616b-6c05-4748-b5db-e4dc12c0cbd0", + "name": "repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest", + "request": { + "url": "/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/latest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 13 Jun 2023 14:34:36 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"d5ac9bb181b858366436dd34d116f963ae9bc0ce6e19476373562abd38725d21\"", + "Last-Modified": "Tue, 13 Jun 2023 14:34:35 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4708", + "X-RateLimit-Reset": "1686668725", + "X-RateLimit-Used": "292", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "DB56:EE24:759179:7654C2:64887E7C" + } + }, + "uuid": "f7b8616b-6c05-4748-b5db-e4dc12c0cbd0", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testMakeLatestRelease-releases-latest", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-hub4j-test-org-temp-testMakeLatestRelease-releases-latest-2", + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest-6.json b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest-6.json new file mode 100644 index 0000000000..d0bea9ddcf --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest-6.json @@ -0,0 +1,53 @@ +{ + "id": "757eb14d-ea05-40f0-a984-792a5e1cb5da", + "name": "repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest", + "request": { + "url": "/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/latest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 13 Jun 2023 14:34:37 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"d5ac9bb181b858366436dd34d116f963ae9bc0ce6e19476373562abd38725d21\"", + "Last-Modified": "Tue, 13 Jun 2023 14:34:35 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4706", + "X-RateLimit-Reset": "1686668725", + "X-RateLimit-Used": "294", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "DB14:6902:6E2446:6EE45B:64887E7C" + } + }, + "uuid": "757eb14d-ea05-40f0-a984-792a5e1cb5da", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testMakeLatestRelease-releases-latest", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-temp-testMakeLatestRelease-releases-latest-2", + "newScenarioState": "scenario-1-repos-hub4j-test-org-temp-testMakeLatestRelease-releases-latest-3", + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest-8.json b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest-8.json new file mode 100644 index 0000000000..4c2eef0b00 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest-8.json @@ -0,0 +1,52 @@ +{ + "id": "1a79688b-bb2e-468e-b906-f959c71032b1", + "name": "repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest", + "request": { + "url": "/repos/hub4j-test-org/temp-testMakeLatestRelease/releases/latest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_temp-testmakelatestrelease_releases_latest-8.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 13 Jun 2023 14:34:37 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"d0b254764dcfb406bb379023e4ce334b34c3be308cc4e9fb0f8ca97c106c81e1\"", + "Last-Modified": "Tue, 13 Jun 2023 14:34:36 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4704", + "X-RateLimit-Reset": "1686668725", + "X-RateLimit-Used": "296", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "DB20:D0AA:692665:69E609:64887E7D" + } + }, + "uuid": "1a79688b-bb2e-468e-b906-f959c71032b1", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-temp-testMakeLatestRelease-releases-latest", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-temp-testMakeLatestRelease-releases-latest-3", + "insertionIndex": 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/user-1.json new file mode 100644 index 0000000000..3bf6c69f0f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHReleaseTest/wiremock/testMakeLatestRelease/mappings/user-1.json @@ -0,0 +1,50 @@ +{ + "id": "ff651c02-8c57-4862-acb1-03892fc6b7fe", + "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, 13 Jun 2023 14:34:29 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/\"dd2e275ef99f6453f19e8f9bf7818310fb43eeb787182f2ec87fe1940f665758\"", + "Last-Modified": "Tue, 25 Apr 2023 14:38:07 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4715", + "X-RateLimit-Reset": "1686668725", + "X-RateLimit-Used": "285", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "DB1C:75B7:69A310:6A6264:64887E75" + } + }, + "uuid": "ff651c02-8c57-4862-acb1-03892fc6b7fe", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..162ceb1c73 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/__files/orgs_hub4j-test-org-2.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/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/__files/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..ae72e6c57a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/__files/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,364 @@ +{ + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "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": 19045, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "2022-04-05T15:53:55Z", + "pushed_at": "2022-04-06T13:31:06Z", + "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": "https://github-api.kohsuke.org/", + "size": 39832, + "stargazers_count": 878, + "watchers_count": 878, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 601, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 101, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 601, + "open_issues": 101, + "watchers": 878, + "default_branch": "main" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "2022-04-05T15:53:55Z", + "pushed_at": "2022-04-06T13:31:06Z", + "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": "https://github-api.kohsuke.org/", + "size": 39832, + "stargazers_count": 878, + "watchers_count": 878, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 601, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 101, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 601, + "open_issues": 101, + "watchers": 878, + "default_branch": "main" + }, + "network_count": 601, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/__files/repos_hub4j-test-org_github-api_collaborators-7.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/__files/repos_hub4j-test-org_github-api_collaborators-7.json new file mode 100644 index 0000000000..99cc2f77ac --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/__files/repos_hub4j-test-org_github-api_collaborators-7.json @@ -0,0 +1,842 @@ +[ + { + "login": "vbehar", + "id": 6251, + "node_id": "MDQ6VXNlcjYyNTE=", + "avatar_url": "https://avatars.githubusercontent.com/u/6251?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/vbehar", + "html_url": "https://github.com/vbehar", + "followers_url": "https://api.github.com/users/vbehar/followers", + "following_url": "https://api.github.com/users/vbehar/following{/other_user}", + "gists_url": "https://api.github.com/users/vbehar/gists{/gist_id}", + "starred_url": "https://api.github.com/users/vbehar/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/vbehar/subscriptions", + "organizations_url": "https://api.github.com/users/vbehar/orgs", + "repos_url": "https://api.github.com/users/vbehar/repos", + "events_url": "https://api.github.com/users/vbehar/events{/privacy}", + "received_events_url": "https://api.github.com/users/vbehar/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": false, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "maintain" + }, + { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "gastaldi", + "id": 54133, + "node_id": "MDQ6VXNlcjU0MTMz", + "avatar_url": "https://avatars.githubusercontent.com/u/54133?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gastaldi", + "html_url": "https://github.com/gastaldi", + "followers_url": "https://api.github.com/users/gastaldi/followers", + "following_url": "https://api.github.com/users/gastaldi/following{/other_user}", + "gists_url": "https://api.github.com/users/gastaldi/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gastaldi/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gastaldi/subscriptions", + "organizations_url": "https://api.github.com/users/gastaldi/orgs", + "repos_url": "https://api.github.com/users/gastaldi/repos", + "events_url": "https://api.github.com/users/gastaldi/events{/privacy}", + "received_events_url": "https://api.github.com/users/gastaldi/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "halkeye", + "id": 110087, + "node_id": "MDQ6VXNlcjExMDA4Nw==", + "avatar_url": "https://avatars.githubusercontent.com/u/110087?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/halkeye", + "html_url": "https://github.com/halkeye", + "followers_url": "https://api.github.com/users/halkeye/followers", + "following_url": "https://api.github.com/users/halkeye/following{/other_user}", + "gists_url": "https://api.github.com/users/halkeye/gists{/gist_id}", + "starred_url": "https://api.github.com/users/halkeye/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/halkeye/subscriptions", + "organizations_url": "https://api.github.com/users/halkeye/orgs", + "repos_url": "https://api.github.com/users/halkeye/repos", + "events_url": "https://api.github.com/users/halkeye/events{/privacy}", + "received_events_url": "https://api.github.com/users/halkeye/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "tedyoung", + "id": 382660, + "node_id": "MDQ6VXNlcjM4MjY2MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/382660?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/tedyoung", + "html_url": "https://github.com/tedyoung", + "followers_url": "https://api.github.com/users/tedyoung/followers", + "following_url": "https://api.github.com/users/tedyoung/following{/other_user}", + "gists_url": "https://api.github.com/users/tedyoung/gists{/gist_id}", + "starred_url": "https://api.github.com/users/tedyoung/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/tedyoung/subscriptions", + "organizations_url": "https://api.github.com/users/tedyoung/orgs", + "repos_url": "https://api.github.com/users/tedyoung/repos", + "events_url": "https://api.github.com/users/tedyoung/events{/privacy}", + "received_events_url": "https://api.github.com/users/tedyoung/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "mrginglymus", + "id": 390569, + "node_id": "MDQ6VXNlcjM5MDU2OQ==", + "avatar_url": "https://avatars.githubusercontent.com/u/390569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/mrginglymus", + "html_url": "https://github.com/mrginglymus", + "followers_url": "https://api.github.com/users/mrginglymus/followers", + "following_url": "https://api.github.com/users/mrginglymus/following{/other_user}", + "gists_url": "https://api.github.com/users/mrginglymus/gists{/gist_id}", + "starred_url": "https://api.github.com/users/mrginglymus/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/mrginglymus/subscriptions", + "organizations_url": "https://api.github.com/users/mrginglymus/orgs", + "repos_url": "https://api.github.com/users/mrginglymus/repos", + "events_url": "https://api.github.com/users/mrginglymus/events{/privacy}", + "received_events_url": "https://api.github.com/users/mrginglymus/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "cmoulliard", + "id": 463790, + "node_id": "MDQ6VXNlcjQ2Mzc5MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/463790?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cmoulliard", + "html_url": "https://github.com/cmoulliard", + "followers_url": "https://api.github.com/users/cmoulliard/followers", + "following_url": "https://api.github.com/users/cmoulliard/following{/other_user}", + "gists_url": "https://api.github.com/users/cmoulliard/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cmoulliard/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cmoulliard/subscriptions", + "organizations_url": "https://api.github.com/users/cmoulliard/orgs", + "repos_url": "https://api.github.com/users/cmoulliard/repos", + "events_url": "https://api.github.com/users/cmoulliard/events{/privacy}", + "received_events_url": "https://api.github.com/users/cmoulliard/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "farmdawgnation", + "id": 620189, + "node_id": "MDQ6VXNlcjYyMDE4OQ==", + "avatar_url": "https://avatars.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, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "alexanderrtaylor", + "id": 852179, + "node_id": "MDQ6VXNlcjg1MjE3OQ==", + "avatar_url": "https://avatars.githubusercontent.com/u/852179?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/alexanderrtaylor", + "html_url": "https://github.com/alexanderrtaylor", + "followers_url": "https://api.github.com/users/alexanderrtaylor/followers", + "following_url": "https://api.github.com/users/alexanderrtaylor/following{/other_user}", + "gists_url": "https://api.github.com/users/alexanderrtaylor/gists{/gist_id}", + "starred_url": "https://api.github.com/users/alexanderrtaylor/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/alexanderrtaylor/subscriptions", + "organizations_url": "https://api.github.com/users/alexanderrtaylor/orgs", + "repos_url": "https://api.github.com/users/alexanderrtaylor/repos", + "events_url": "https://api.github.com/users/alexanderrtaylor/events{/privacy}", + "received_events_url": "https://api.github.com/users/alexanderrtaylor/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "jlengrand", + "id": 921666, + "node_id": "MDQ6VXNlcjkyMTY2Ng==", + "avatar_url": "https://avatars.githubusercontent.com/u/921666?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jlengrand", + "html_url": "https://github.com/jlengrand", + "followers_url": "https://api.github.com/users/jlengrand/followers", + "following_url": "https://api.github.com/users/jlengrand/following{/other_user}", + "gists_url": "https://api.github.com/users/jlengrand/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jlengrand/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jlengrand/subscriptions", + "organizations_url": "https://api.github.com/users/jlengrand/orgs", + "repos_url": "https://api.github.com/users/jlengrand/repos", + "events_url": "https://api.github.com/users/jlengrand/events{/privacy}", + "received_events_url": "https://api.github.com/users/jlengrand/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "PauloMigAlmeida", + "id": 1011868, + "node_id": "MDQ6VXNlcjEwMTE4Njg=", + "avatar_url": "https://avatars.githubusercontent.com/u/1011868?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PauloMigAlmeida", + "html_url": "https://github.com/PauloMigAlmeida", + "followers_url": "https://api.github.com/users/PauloMigAlmeida/followers", + "following_url": "https://api.github.com/users/PauloMigAlmeida/following{/other_user}", + "gists_url": "https://api.github.com/users/PauloMigAlmeida/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PauloMigAlmeida/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PauloMigAlmeida/subscriptions", + "organizations_url": "https://api.github.com/users/PauloMigAlmeida/orgs", + "repos_url": "https://api.github.com/users/PauloMigAlmeida/repos", + "events_url": "https://api.github.com/users/PauloMigAlmeida/events{/privacy}", + "received_events_url": "https://api.github.com/users/PauloMigAlmeida/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "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, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "JLLeitschuh", + "id": 1323708, + "node_id": "MDQ6VXNlcjEzMjM3MDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/1323708?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/JLLeitschuh", + "html_url": "https://github.com/JLLeitschuh", + "followers_url": "https://api.github.com/users/JLLeitschuh/followers", + "following_url": "https://api.github.com/users/JLLeitschuh/following{/other_user}", + "gists_url": "https://api.github.com/users/JLLeitschuh/gists{/gist_id}", + "starred_url": "https://api.github.com/users/JLLeitschuh/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/JLLeitschuh/subscriptions", + "organizations_url": "https://api.github.com/users/JLLeitschuh/orgs", + "repos_url": "https://api.github.com/users/JLLeitschuh/repos", + "events_url": "https://api.github.com/users/JLLeitschuh/events{/privacy}", + "received_events_url": "https://api.github.com/users/JLLeitschuh/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "kohsuke2", + "id": 1329242, + "node_id": "MDQ6VXNlcjEzMjkyNDI=", + "avatar_url": "https://avatars.githubusercontent.com/u/1329242?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke2", + "html_url": "https://github.com/kohsuke2", + "followers_url": "https://api.github.com/users/kohsuke2/followers", + "following_url": "https://api.github.com/users/kohsuke2/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke2/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke2/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke2/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke2/orgs", + "repos_url": "https://api.github.com/users/kohsuke2/repos", + "events_url": "https://api.github.com/users/kohsuke2/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke2/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "ecxia", + "id": 1586186, + "node_id": "MDQ6VXNlcjE1ODYxODY=", + "avatar_url": "https://avatars.githubusercontent.com/u/1586186?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ecxia", + "html_url": "https://github.com/ecxia", + "followers_url": "https://api.github.com/users/ecxia/followers", + "following_url": "https://api.github.com/users/ecxia/following{/other_user}", + "gists_url": "https://api.github.com/users/ecxia/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ecxia/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ecxia/subscriptions", + "organizations_url": "https://api.github.com/users/ecxia/orgs", + "repos_url": "https://api.github.com/users/ecxia/repos", + "events_url": "https://api.github.com/users/ecxia/events{/privacy}", + "received_events_url": "https://api.github.com/users/ecxia/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "jgangemi", + "id": 1831839, + "node_id": "MDQ6VXNlcjE4MzE4Mzk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1831839?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jgangemi", + "html_url": "https://github.com/jgangemi", + "followers_url": "https://api.github.com/users/jgangemi/followers", + "following_url": "https://api.github.com/users/jgangemi/following{/other_user}", + "gists_url": "https://api.github.com/users/jgangemi/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jgangemi/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jgangemi/subscriptions", + "organizations_url": "https://api.github.com/users/jgangemi/orgs", + "repos_url": "https://api.github.com/users/jgangemi/repos", + "events_url": "https://api.github.com/users/jgangemi/events{/privacy}", + "received_events_url": "https://api.github.com/users/jgangemi/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "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, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "antrix190", + "id": 3845033, + "node_id": "MDQ6VXNlcjM4NDUwMzM=", + "avatar_url": "https://avatars.githubusercontent.com/u/3845033?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/antrix190", + "html_url": "https://github.com/antrix190", + "followers_url": "https://api.github.com/users/antrix190/followers", + "following_url": "https://api.github.com/users/antrix190/following{/other_user}", + "gists_url": "https://api.github.com/users/antrix190/gists{/gist_id}", + "starred_url": "https://api.github.com/users/antrix190/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/antrix190/subscriptions", + "organizations_url": "https://api.github.com/users/antrix190/orgs", + "repos_url": "https://api.github.com/users/antrix190/repos", + "events_url": "https://api.github.com/users/antrix190/events{/privacy}", + "received_events_url": "https://api.github.com/users/antrix190/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "asthinasthi", + "id": 4577101, + "node_id": "MDQ6VXNlcjQ1NzcxMDE=", + "avatar_url": "https://avatars.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, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "ingwarsw", + "id": 5390156, + "node_id": "MDQ6VXNlcjUzOTAxNTY=", + "avatar_url": "https://avatars.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, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "Sage-Pierce", + "id": 5396306, + "node_id": "MDQ6VXNlcjUzOTYzMDY=", + "avatar_url": "https://avatars.githubusercontent.com/u/5396306?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Sage-Pierce", + "html_url": "https://github.com/Sage-Pierce", + "followers_url": "https://api.github.com/users/Sage-Pierce/followers", + "following_url": "https://api.github.com/users/Sage-Pierce/following{/other_user}", + "gists_url": "https://api.github.com/users/Sage-Pierce/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Sage-Pierce/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Sage-Pierce/subscriptions", + "organizations_url": "https://api.github.com/users/Sage-Pierce/orgs", + "repos_url": "https://api.github.com/users/Sage-Pierce/repos", + "events_url": "https://api.github.com/users/Sage-Pierce/events{/privacy}", + "received_events_url": "https://api.github.com/users/Sage-Pierce/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "t0m4uk1991", + "id": 6698785, + "node_id": "MDQ6VXNlcjY2OTg3ODU=", + "avatar_url": "https://avatars.githubusercontent.com/u/6698785?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/t0m4uk1991", + "html_url": "https://github.com/t0m4uk1991", + "followers_url": "https://api.github.com/users/t0m4uk1991/followers", + "following_url": "https://api.github.com/users/t0m4uk1991/following{/other_user}", + "gists_url": "https://api.github.com/users/t0m4uk1991/gists{/gist_id}", + "starred_url": "https://api.github.com/users/t0m4uk1991/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/t0m4uk1991/subscriptions", + "organizations_url": "https://api.github.com/users/t0m4uk1991/orgs", + "repos_url": "https://api.github.com/users/t0m4uk1991/repos", + "events_url": "https://api.github.com/users/t0m4uk1991/events{/privacy}", + "received_events_url": "https://api.github.com/users/t0m4uk1991/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "Irialad", + "id": 6895648, + "node_id": "MDQ6VXNlcjY4OTU2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6895648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Irialad", + "html_url": "https://github.com/Irialad", + "followers_url": "https://api.github.com/users/Irialad/followers", + "following_url": "https://api.github.com/users/Irialad/following{/other_user}", + "gists_url": "https://api.github.com/users/Irialad/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Irialad/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Irialad/subscriptions", + "organizations_url": "https://api.github.com/users/Irialad/orgs", + "repos_url": "https://api.github.com/users/Irialad/repos", + "events_url": "https://api.github.com/users/Irialad/events{/privacy}", + "received_events_url": "https://api.github.com/users/Irialad/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "avano", + "id": 7081216, + "node_id": "MDQ6VXNlcjcwODEyMTY=", + "avatar_url": "https://avatars.githubusercontent.com/u/7081216?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/avano", + "html_url": "https://github.com/avano", + "followers_url": "https://api.github.com/users/avano/followers", + "following_url": "https://api.github.com/users/avano/following{/other_user}", + "gists_url": "https://api.github.com/users/avano/gists{/gist_id}", + "starred_url": "https://api.github.com/users/avano/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/avano/subscriptions", + "organizations_url": "https://api.github.com/users/avano/orgs", + "repos_url": "https://api.github.com/users/avano/repos", + "events_url": "https://api.github.com/users/avano/events{/privacy}", + "received_events_url": "https://api.github.com/users/avano/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "vahrennd", + "id": 8679583, + "node_id": "MDQ6VXNlcjg2Nzk1ODM=", + "avatar_url": "https://avatars.githubusercontent.com/u/8679583?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/vahrennd", + "html_url": "https://github.com/vahrennd", + "followers_url": "https://api.github.com/users/vahrennd/followers", + "following_url": "https://api.github.com/users/vahrennd/following{/other_user}", + "gists_url": "https://api.github.com/users/vahrennd/gists{/gist_id}", + "starred_url": "https://api.github.com/users/vahrennd/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/vahrennd/subscriptions", + "organizations_url": "https://api.github.com/users/vahrennd/orgs", + "repos_url": "https://api.github.com/users/vahrennd/repos", + "events_url": "https://api.github.com/users/vahrennd/events{/privacy}", + "received_events_url": "https://api.github.com/users/vahrennd/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "bloslo", + "id": 11611189, + "node_id": "MDQ6VXNlcjExNjExMTg5", + "avatar_url": "https://avatars.githubusercontent.com/u/11611189?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bloslo", + "html_url": "https://github.com/bloslo", + "followers_url": "https://api.github.com/users/bloslo/followers", + "following_url": "https://api.github.com/users/bloslo/following{/other_user}", + "gists_url": "https://api.github.com/users/bloslo/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bloslo/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bloslo/subscriptions", + "organizations_url": "https://api.github.com/users/bloslo/orgs", + "repos_url": "https://api.github.com/users/bloslo/repos", + "events_url": "https://api.github.com/users/bloslo/events{/privacy}", + "received_events_url": "https://api.github.com/users/bloslo/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "km2018", + "id": 13594336, + "node_id": "MDQ6VXNlcjEzNTk0MzM2", + "avatar_url": "https://avatars.githubusercontent.com/u/13594336?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/km2018", + "html_url": "https://github.com/km2018", + "followers_url": "https://api.github.com/users/km2018/followers", + "following_url": "https://api.github.com/users/km2018/following{/other_user}", + "gists_url": "https://api.github.com/users/km2018/gists{/gist_id}", + "starred_url": "https://api.github.com/users/km2018/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/km2018/subscriptions", + "organizations_url": "https://api.github.com/users/km2018/orgs", + "repos_url": "https://api.github.com/users/km2018/repos", + "events_url": "https://api.github.com/users/km2018/events{/privacy}", + "received_events_url": "https://api.github.com/users/km2018/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "akashRindhe", + "id": 14114123, + "node_id": "MDQ6VXNlcjE0MTE0MTIz", + "avatar_url": "https://avatars.githubusercontent.com/u/14114123?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/akashRindhe", + "html_url": "https://github.com/akashRindhe", + "followers_url": "https://api.github.com/users/akashRindhe/followers", + "following_url": "https://api.github.com/users/akashRindhe/following{/other_user}", + "gists_url": "https://api.github.com/users/akashRindhe/gists{/gist_id}", + "starred_url": "https://api.github.com/users/akashRindhe/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/akashRindhe/subscriptions", + "organizations_url": "https://api.github.com/users/akashRindhe/orgs", + "repos_url": "https://api.github.com/users/akashRindhe/repos", + "events_url": "https://api.github.com/users/akashRindhe/events{/privacy}", + "received_events_url": "https://api.github.com/users/akashRindhe/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "jberglund-BSFT", + "id": 19560713, + "node_id": "MDQ6VXNlcjE5NTYwNzEz", + "avatar_url": "https://avatars.githubusercontent.com/u/19560713?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jberglund-BSFT", + "html_url": "https://github.com/jberglund-BSFT", + "followers_url": "https://api.github.com/users/jberglund-BSFT/followers", + "following_url": "https://api.github.com/users/jberglund-BSFT/following{/other_user}", + "gists_url": "https://api.github.com/users/jberglund-BSFT/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jberglund-BSFT/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jberglund-BSFT/subscriptions", + "organizations_url": "https://api.github.com/users/jberglund-BSFT/orgs", + "repos_url": "https://api.github.com/users/jberglund-BSFT/repos", + "events_url": "https://api.github.com/users/jberglund-BSFT/events{/privacy}", + "received_events_url": "https://api.github.com/users/jberglund-BSFT/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "timja", + "id": 21194782, + "node_id": "MDQ6VXNlcjIxMTk0Nzgy", + "avatar_url": "https://avatars.githubusercontent.com/u/21194782?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/timja", + "html_url": "https://github.com/timja", + "followers_url": "https://api.github.com/users/timja/followers", + "following_url": "https://api.github.com/users/timja/following{/other_user}", + "gists_url": "https://api.github.com/users/timja/gists{/gist_id}", + "starred_url": "https://api.github.com/users/timja/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/timja/subscriptions", + "organizations_url": "https://api.github.com/users/timja/orgs", + "repos_url": "https://api.github.com/users/timja/repos", + "events_url": "https://api.github.com/users/timja/events{/privacy}", + "received_events_url": "https://api.github.com/users/timja/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/__files/repositories_206888201_collaborators-8.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/__files/repositories_206888201_collaborators-8.json new file mode 100644 index 0000000000..7a82b89785 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/__files/repositories_206888201_collaborators-8.json @@ -0,0 +1,170 @@ +[ + { + "login": "martinvanzijl", + "id": 24422213, + "node_id": "MDQ6VXNlcjI0NDIyMjEz", + "avatar_url": "https://avatars.githubusercontent.com/u/24422213?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/martinvanzijl", + "html_url": "https://github.com/martinvanzijl", + "followers_url": "https://api.github.com/users/martinvanzijl/followers", + "following_url": "https://api.github.com/users/martinvanzijl/following{/other_user}", + "gists_url": "https://api.github.com/users/martinvanzijl/gists{/gist_id}", + "starred_url": "https://api.github.com/users/martinvanzijl/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/martinvanzijl/subscriptions", + "organizations_url": "https://api.github.com/users/martinvanzijl/orgs", + "repos_url": "https://api.github.com/users/martinvanzijl/repos", + "events_url": "https://api.github.com/users/martinvanzijl/events{/privacy}", + "received_events_url": "https://api.github.com/users/martinvanzijl/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "SCHJonathan", + "id": 26502832, + "node_id": "MDQ6VXNlcjI2NTAyODMy", + "avatar_url": "https://avatars.githubusercontent.com/u/26502832?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/SCHJonathan", + "html_url": "https://github.com/SCHJonathan", + "followers_url": "https://api.github.com/users/SCHJonathan/followers", + "following_url": "https://api.github.com/users/SCHJonathan/following{/other_user}", + "gists_url": "https://api.github.com/users/SCHJonathan/gists{/gist_id}", + "starred_url": "https://api.github.com/users/SCHJonathan/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/SCHJonathan/subscriptions", + "organizations_url": "https://api.github.com/users/SCHJonathan/orgs", + "repos_url": "https://api.github.com/users/SCHJonathan/repos", + "events_url": "https://api.github.com/users/SCHJonathan/events{/privacy}", + "received_events_url": "https://api.github.com/users/SCHJonathan/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "willtsai", + "id": 28876888, + "node_id": "MDQ6VXNlcjI4ODc2ODg4", + "avatar_url": "https://avatars.githubusercontent.com/u/28876888?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/willtsai", + "html_url": "https://github.com/willtsai", + "followers_url": "https://api.github.com/users/willtsai/followers", + "following_url": "https://api.github.com/users/willtsai/following{/other_user}", + "gists_url": "https://api.github.com/users/willtsai/gists{/gist_id}", + "starred_url": "https://api.github.com/users/willtsai/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/willtsai/subscriptions", + "organizations_url": "https://api.github.com/users/willtsai/orgs", + "repos_url": "https://api.github.com/users/willtsai/repos", + "events_url": "https://api.github.com/users/willtsai/events{/privacy}", + "received_events_url": "https://api.github.com/users/willtsai/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "Typraeurion", + "id": 36168707, + "node_id": "MDQ6VXNlcjM2MTY4NzA3", + "avatar_url": "https://avatars.githubusercontent.com/u/36168707?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Typraeurion", + "html_url": "https://github.com/Typraeurion", + "followers_url": "https://api.github.com/users/Typraeurion/followers", + "following_url": "https://api.github.com/users/Typraeurion/following{/other_user}", + "gists_url": "https://api.github.com/users/Typraeurion/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Typraeurion/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Typraeurion/subscriptions", + "organizations_url": "https://api.github.com/users/Typraeurion/orgs", + "repos_url": "https://api.github.com/users/Typraeurion/repos", + "events_url": "https://api.github.com/users/Typraeurion/events{/privacy}", + "received_events_url": "https://api.github.com/users/Typraeurion/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "mxandeco", + "id": 42962662, + "node_id": "MDQ6VXNlcjQyOTYyNjYy", + "avatar_url": "https://avatars.githubusercontent.com/u/42962662?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/mxandeco", + "html_url": "https://github.com/mxandeco", + "followers_url": "https://api.github.com/users/mxandeco/followers", + "following_url": "https://api.github.com/users/mxandeco/following{/other_user}", + "gists_url": "https://api.github.com/users/mxandeco/gists{/gist_id}", + "starred_url": "https://api.github.com/users/mxandeco/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/mxandeco/subscriptions", + "organizations_url": "https://api.github.com/users/mxandeco/orgs", + "repos_url": "https://api.github.com/users/mxandeco/repos", + "events_url": "https://api.github.com/users/mxandeco/events{/privacy}", + "received_events_url": "https://api.github.com/users/mxandeco/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "tginiotis-at-work", + "id": 61763026, + "node_id": "MDQ6VXNlcjYxNzYzMDI2", + "avatar_url": "https://avatars.githubusercontent.com/u/61763026?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/tginiotis-at-work", + "html_url": "https://github.com/tginiotis-at-work", + "followers_url": "https://api.github.com/users/tginiotis-at-work/followers", + "following_url": "https://api.github.com/users/tginiotis-at-work/following{/other_user}", + "gists_url": "https://api.github.com/users/tginiotis-at-work/gists{/gist_id}", + "starred_url": "https://api.github.com/users/tginiotis-at-work/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/tginiotis-at-work/subscriptions", + "organizations_url": "https://api.github.com/users/tginiotis-at-work/orgs", + "repos_url": "https://api.github.com/users/tginiotis-at-work/repos", + "events_url": "https://api.github.com/users/tginiotis-at-work/events{/privacy}", + "received_events_url": "https://api.github.com/users/tginiotis-at-work/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/__files/user-1.json new file mode 100644 index 0000000000..cfe0f3a0c9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/__files/user-1.json @@ -0,0 +1,46 @@ +{ + "login": "jgangemi", + "id": 1831839, + "node_id": "MDQ6VXNlcjE4MzE4Mzk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1831839?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jgangemi", + "html_url": "https://github.com/jgangemi", + "followers_url": "https://api.github.com/users/jgangemi/followers", + "following_url": "https://api.github.com/users/jgangemi/following{/other_user}", + "gists_url": "https://api.github.com/users/jgangemi/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jgangemi/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jgangemi/subscriptions", + "organizations_url": "https://api.github.com/users/jgangemi/orgs", + "repos_url": "https://api.github.com/users/jgangemi/repos", + "events_url": "https://api.github.com/users/jgangemi/events{/privacy}", + "received_events_url": "https://api.github.com/users/jgangemi/received_events", + "type": "User", + "site_admin": false, + "name": "Jae Gangemi", + "company": null, + "blog": "", + "location": null, + "email": null, + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 39, + "public_gists": 1, + "followers": 1, + "following": 0, + "created_at": "2012-06-08T19:54:02Z", + "updated_at": "2022-03-09T12:59:44Z", + "private_gists": 0, + "total_private_repos": 9, + "owned_private_repos": 9, + "disk_usage": 16623, + "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/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/__files/users_jgangemi-9.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/__files/users_jgangemi-9.json new file mode 100644 index 0000000000..cfe0f3a0c9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/__files/users_jgangemi-9.json @@ -0,0 +1,46 @@ +{ + "login": "jgangemi", + "id": 1831839, + "node_id": "MDQ6VXNlcjE4MzE4Mzk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1831839?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jgangemi", + "html_url": "https://github.com/jgangemi", + "followers_url": "https://api.github.com/users/jgangemi/followers", + "following_url": "https://api.github.com/users/jgangemi/following{/other_user}", + "gists_url": "https://api.github.com/users/jgangemi/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jgangemi/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jgangemi/subscriptions", + "organizations_url": "https://api.github.com/users/jgangemi/orgs", + "repos_url": "https://api.github.com/users/jgangemi/repos", + "events_url": "https://api.github.com/users/jgangemi/events{/privacy}", + "received_events_url": "https://api.github.com/users/jgangemi/received_events", + "type": "User", + "site_admin": false, + "name": "Jae Gangemi", + "company": null, + "blog": "", + "location": null, + "email": null, + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 39, + "public_gists": 1, + "followers": 1, + "following": 0, + "created_at": "2012-06-08T19:54:02Z", + "updated_at": "2022-03-09T12:59:44Z", + "private_gists": 0, + "total_private_repos": 9, + "owned_private_repos": 9, + "disk_usage": 16623, + "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/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..26879bb37a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,48 @@ +{ + "id": "e6a881ae-37d1-4d13-bfd5-ea974753e28f", + "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": { + "Server": "GitHub.com", + "Date": "Wed, 06 Apr 2022 13:42: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/\"9c48b6d97946cc9cca7a7eba9df130c47c977fea9e3ed36222d79a378e2ff6c8\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4952", + "X-RateLimit-Reset": "1649254722", + "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": "CECF:0B4E:46D1E:3FF6B7:624D98BB" + } + }, + "uuid": "e6a881ae-37d1-4d13-bfd5-ea974753e28f", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..6db0fa4ecc --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,48 @@ +{ + "id": "49521425-2e5f-42ad-b3e8-303ec0024cda", + "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": { + "Server": "GitHub.com", + "Date": "Wed, 06 Apr 2022 13:42:20 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"f659ce60400fb1f0bd592ef4533029ee2aca8f3785088fc086eb3c10b2548f0f\"", + "Last-Modified": "Tue, 09 Nov 2021 20:13:29 GMT", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4951", + "X-RateLimit-Reset": "1649254722", + "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": "CED2:7498:A2B7E0:1606203:624D98BC" + } + }, + "uuid": "49521425-2e5f-42ad-b3e8-303ec0024cda", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/repos_hub4j-test-org_github-api_collaborators-7.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/repos_hub4j-test-org_github-api_collaborators-7.json new file mode 100644 index 0000000000..f5c02809df --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/repos_hub4j-test-org_github-api_collaborators-7.json @@ -0,0 +1,48 @@ +{ + "id": "f869dcab-3062-4b39-837f-c3040ae909e7", + "name": "repos_hub4j-test-org_github-api_collaborators", + "request": { + "url": "/repos/hub4j-test-org/github-api/collaborators", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_collaborators-7.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 06 Apr 2022 13:45:49 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"c25154dd632007731047bdcf4bd2d6efa956d93da1ff3ec63eb726b5a954531d\"", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4945", + "X-RateLimit-Reset": "1649254722", + "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": "CF41:5446:1F1E10:47661E:624D998D", + "Link": "; rel=\"next\", ; rel=\"last\"" + } + }, + "uuid": "f869dcab-3062-4b39-837f-c3040ae909e7", + "persistent": true, + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/repos_hub4j-test-org_github-api_collaborators_jgangemi-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/repos_hub4j-test-org_github-api_collaborators_jgangemi-4.json new file mode 100644 index 0000000000..fe1c414aa7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/repos_hub4j-test-org_github-api_collaborators_jgangemi-4.json @@ -0,0 +1,49 @@ +{ + "id": "c26dd0b4-763d-4813-ab2e-127a0c97eddd", + "name": "repos_hub4j-test-org_github-api_collaborators_jgangemi", + "request": { + "url": "/repos/hub4j-test-org/github-api/collaborators/jgangemi", + "method": "PUT", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"permission\":{\"permission\":\"push\"}}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 422, + "body": "{\"message\":\"`{\\\"permission\\\"=>\\\"push\\\"}` is not a valid permission.\",\"documentation_url\":\"https://docs.github.com/rest/reference/repos#add-a-repository-collaborator\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 06 Apr 2022 13:42:20 GMT", + "Content-Type": "application/json; charset=utf-8", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4950", + "X-RateLimit-Reset": "1649254722", + "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'", + "Vary": "Accept-Encoding, Accept, X-Requested-With", + "X-GitHub-Request-Id": "CED3:2769:C8D357:235265D:624D98BC" + } + }, + "uuid": "c26dd0b4-763d-4813-ab2e-127a0c97eddd", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/repos_hub4j-test-org_github-api_collaborators_jgangemi-5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/repos_hub4j-test-org_github-api_collaborators_jgangemi-5.json new file mode 100644 index 0000000000..f9e6b7ca09 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/repos_hub4j-test-org_github-api_collaborators_jgangemi-5.json @@ -0,0 +1,49 @@ +{ + "id": "eeea5e22-2c68-417a-9303-11e9bfb7ecfa", + "name": "repos_hub4j-test-org_github-api_collaborators_jgangemi", + "request": { + "url": "/repos/hub4j-test-org/github-api/collaborators/jgangemi", + "method": "PUT", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"permission\":{\"permission\":\"pull\"}}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 422, + "body": "{\"message\":\"`{\\\"permission\\\"=>\\\"pull\\\"}` is not a valid permission.\",\"documentation_url\":\"https://docs.github.com/rest/reference/repos#add-a-repository-collaborator\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 06 Apr 2022 13:43:42 GMT", + "Content-Type": "application/json; charset=utf-8", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4948", + "X-RateLimit-Reset": "1649254722", + "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'", + "Vary": "Accept-Encoding, Accept, X-Requested-With", + "X-GitHub-Request-Id": "CF05:6F76:B645E4:22C8480:624D990D" + } + }, + "uuid": "eeea5e22-2c68-417a-9303-11e9bfb7ecfa", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/repos_hub4j-test-org_github-api_collaborators_jgangemi-6.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/repos_hub4j-test-org_github-api_collaborators_jgangemi-6.json new file mode 100644 index 0000000000..c88ef394ac --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/repos_hub4j-test-org_github-api_collaborators_jgangemi-6.json @@ -0,0 +1,47 @@ +{ + "id": "b78ec5d5-f584-4e81-9080-81779618a93f", + "name": "repos_hub4j-test-org_github-api_collaborators_jgangemi", + "request": { + "url": "/repos/hub4j-test-org/github-api/collaborators/jgangemi", + "method": "PUT", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"permission\":\"pull\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 06 Apr 2022 13:45:49 GMT", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4946", + "X-RateLimit-Reset": "1649254722", + "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'", + "Vary": "Accept-Encoding, Accept, X-Requested-With", + "X-GitHub-Request-Id": "CF40:2961:245341:6DD416:624D998D" + } + }, + "uuid": "b78ec5d5-f584-4e81-9080-81779618a93f", + "persistent": true, + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/repositories_206888201_collaborators-8.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/repositories_206888201_collaborators-8.json new file mode 100644 index 0000000000..562dda67ca --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/repositories_206888201_collaborators-8.json @@ -0,0 +1,48 @@ +{ + "id": "c8638ef3-63c7-4b98-809e-2c913a8a0024", + "name": "repositories_206888201_collaborators", + "request": { + "url": "/repositories/206888201/collaborators?page=2", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repositories_206888201_collaborators-8.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 06 Apr 2022 13:45:50 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"b22e9856582486f7298b3d23070cba87c85eeafac7a9f278d691918b66657310\"", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4944", + "X-RateLimit-Reset": "1649254722", + "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": "CF42:0EAE:3AF067:6D2595:624D998D", + "Link": "; rel=\"prev\", ; rel=\"first\"" + } + }, + "uuid": "c8638ef3-63c7-4b98-809e-2c913a8a0024", + "persistent": true, + "insertionIndex": 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/user-1.json new file mode 100644 index 0000000000..14c5d747d7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "841c9e73-8c02-4018-9e1c-719ac32be0c8", + "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, 06 Apr 2022 13:42: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/\"65ac0e73527e3adc4df6bbbde94bb21480926587df8832f0bab8a5fc1bc746c9\"", + "Last-Modified": "Wed, 09 Mar 2022 12:59:44 GMT", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4954", + "X-RateLimit-Reset": "1649254722", + "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": "CEC4:4546:1199788:2196458:624D98BA" + } + }, + "uuid": "841c9e73-8c02-4018-9e1c-719ac32be0c8", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/users_jgangemi-9.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/users_jgangemi-9.json new file mode 100644 index 0000000000..67731bf89d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/addCollaboratorsRepoPerm/mappings/users_jgangemi-9.json @@ -0,0 +1,48 @@ +{ + "id": "a38d6471-c0b3-43d9-994e-bd253670bea3", + "name": "users_jgangemi", + "request": { + "url": "/users/jgangemi", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "users_jgangemi-9.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 06 Apr 2022 13:45:50 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"65ac0e73527e3adc4df6bbbde94bb21480926587df8832f0bab8a5fc1bc746c9\"", + "Last-Modified": "Wed, 09 Mar 2022 12:59:44 GMT", + "X-OAuth-Scopes": "admin:public_key, admin:repo_hook, delete_repo, repo, user, workflow", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-05-06 06:00:00 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4943", + "X-RateLimit-Reset": "1649254722", + "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": "CF43:6B70:374C2E:67A0E8:624D998E" + } + }, + "uuid": "a38d6471-c0b3-43d9-994e-bd253670bea3", + "persistent": true, + "insertionIndex": 9 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/cannotRetrievePermissionMaintainUser/__files/repos_hub4j-test-org_maintain-permission-issue-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/cannotRetrievePermissionMaintainUser/__files/repos_hub4j-test-org_maintain-permission-issue-2.json new file mode 100644 index 0000000000..fc2257de58 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/cannotRetrievePermissionMaintainUser/__files/repos_hub4j-test-org_maintain-permission-issue-2.json @@ -0,0 +1,141 @@ +{ + "id": 649600716, + "node_id": "R_kgDOJrgezA", + "name": "maintain-permission-issue", + "full_name": "hub4j-test-org/maintain-permission-issue", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/maintain-permission-issue", + "description": "A repository to demo the maintain permission issue", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue", + "forks_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/maintain-permission-issue/deployments", + "created_at": "2023-06-05T08:29:48Z", + "updated_at": "2023-06-05T08:29:48Z", + "pushed_at": "2023-06-05T08:29:48Z", + "git_url": "git://github.com/hub4j-test-org/maintain-permission-issue.git", + "ssh_url": "git@github.com:hub4j-test-org/maintain-permission-issue.git", + "clone_url": "https://github.com/hub4j-test-org/maintain-permission-issue.git", + "svn_url": "https://github.com/hub4j-test-org/maintain-permission-issue", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "ACLMQO62GXXZCCUB5ECCP3DEPWSHO", + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 21 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/cannotRetrievePermissionMaintainUser/__files/repos_hub4j-test-org_maintain-permission-issue_collaborators_alecharp_permission-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/cannotRetrievePermissionMaintainUser/__files/repos_hub4j-test-org_maintain-permission-issue_collaborators_alecharp_permission-3.json new file mode 100644 index 0000000000..e7217fdbe9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/cannotRetrievePermissionMaintainUser/__files/repos_hub4j-test-org_maintain-permission-issue_collaborators_alecharp_permission-3.json @@ -0,0 +1,32 @@ +{ + "permission": "maintain", + "user": { + "login": "alecharp", + "id": 985955, + "node_id": "MDQ6VXNlcjk4NTk1NQ==", + "avatar_url": "https://avatars.githubusercontent.com/u/985955?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/alecharp", + "html_url": "https://github.com/alecharp", + "followers_url": "https://api.github.com/users/alecharp/followers", + "following_url": "https://api.github.com/users/alecharp/following{/other_user}", + "gists_url": "https://api.github.com/users/alecharp/gists{/gist_id}", + "starred_url": "https://api.github.com/users/alecharp/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/alecharp/subscriptions", + "organizations_url": "https://api.github.com/users/alecharp/orgs", + "repos_url": "https://api.github.com/users/alecharp/repos", + "events_url": "https://api.github.com/users/alecharp/events{/privacy}", + "received_events_url": "https://api.github.com/users/alecharp/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": false, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "maintain" + }, + "role_name": "maintain" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/cannotRetrievePermissionMaintainUser/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/cannotRetrievePermissionMaintainUser/__files/user-1.json new file mode 100644 index 0000000000..e80cb1cac4 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/cannotRetrievePermissionMaintainUser/__files/user-1.json @@ -0,0 +1,34 @@ +{ + "login": "PierreBtz", + "id": 9881659, + "node_id": "MDQ6VXNlcjk4ODE2NTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9881659?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PierreBtz", + "html_url": "https://github.com/PierreBtz", + "followers_url": "https://api.github.com/users/PierreBtz/followers", + "following_url": "https://api.github.com/users/PierreBtz/following{/other_user}", + "gists_url": "https://api.github.com/users/PierreBtz/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PierreBtz/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PierreBtz/subscriptions", + "organizations_url": "https://api.github.com/users/PierreBtz/orgs", + "repos_url": "https://api.github.com/users/PierreBtz/repos", + "events_url": "https://api.github.com/users/PierreBtz/events{/privacy}", + "received_events_url": "https://api.github.com/users/PierreBtz/received_events", + "type": "User", + "site_admin": false, + "name": "Pierre Beitz", + "company": "@cloudbees ", + "blog": "", + "location": null, + "email": "pibeitz@gmail.com", + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 89, + "public_gists": 7, + "followers": 12, + "following": 11, + "created_at": "2014-11-21T10:26:34Z", + "updated_at": "2023-05-31T07:47:04Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/cannotRetrievePermissionMaintainUser/mappings/repos_hub4j-test-org_maintain-permission-issue-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/cannotRetrievePermissionMaintainUser/mappings/repos_hub4j-test-org_maintain-permission-issue-2.json new file mode 100644 index 0000000000..24c3955dbe --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/cannotRetrievePermissionMaintainUser/mappings/repos_hub4j-test-org_maintain-permission-issue-2.json @@ -0,0 +1,51 @@ +{ + "id": "1c85c1aa-c054-4ee0-88ac-7a1f093140ce", + "name": "repos_hub4j-test-org_maintain-permission-issue", + "request": { + "url": "/repos/hub4j-test-org/maintain-permission-issue", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_maintain-permission-issue-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 05 Jun 2023 08:56:43 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"aff085d3b49db6fbe3ef8f48e6ca4fe314d68abfdbd7b6e866c4122a3eb0e611\"", + "Last-Modified": "Mon, 05 Jun 2023 08:29:48 GMT", + "X-OAuth-Scopes": "admin:org, repo", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2023-07-05 08:21:35 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4953", + "X-RateLimit-Reset": "1685955508", + "X-RateLimit-Used": "47", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "C925:6C90:53F8419:AC45847:647DA34A" + } + }, + "uuid": "1c85c1aa-c054-4ee0-88ac-7a1f093140ce", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/cannotRetrievePermissionMaintainUser/mappings/repos_hub4j-test-org_maintain-permission-issue_collaborators_alecharp_permission-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/cannotRetrievePermissionMaintainUser/mappings/repos_hub4j-test-org_maintain-permission-issue_collaborators_alecharp_permission-3.json new file mode 100644 index 0000000000..2beac1e0a2 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/cannotRetrievePermissionMaintainUser/mappings/repos_hub4j-test-org_maintain-permission-issue_collaborators_alecharp_permission-3.json @@ -0,0 +1,50 @@ +{ + "id": "003b11c3-6e12-4da6-a439-02095d7d1328", + "name": "repos_hub4j-test-org_maintain-permission-issue_collaborators_alecharp_permission", + "request": { + "url": "/repos/hub4j-test-org/maintain-permission-issue/collaborators/alecharp/permission", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_maintain-permission-issue_collaborators_alecharp_permission-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 05 Jun 2023 08:56:43 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"e2dc20577322b0be94a78538a4d6c166b39c016f02cb4db80cb63ba33bbf8afb\"", + "X-OAuth-Scopes": "admin:org, repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-07-05 08:21:35 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4952", + "X-RateLimit-Reset": "1685955508", + "X-RateLimit-Used": "48", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "C926:0FAC:4E05B5D:A05855E:647DA34B" + } + }, + "uuid": "003b11c3-6e12-4da6-a439-02095d7d1328", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/cannotRetrievePermissionMaintainUser/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/cannotRetrievePermissionMaintainUser/mappings/user-1.json new file mode 100644 index 0000000000..8545f77db0 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/cannotRetrievePermissionMaintainUser/mappings/user-1.json @@ -0,0 +1,51 @@ +{ + "id": "3316e123-fb79-4f7c-b41c-4eaa2840d133", + "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": "Mon, 05 Jun 2023 08:56:42 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"316d532924f9884c6ce327f8dae23b9a39885cb124f317758c5092b9c829fff2\"", + "Last-Modified": "Wed, 31 May 2023 07:47:04 GMT", + "X-OAuth-Scopes": "admin:org, repo", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-07-05 08:21:35 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4955", + "X-RateLimit-Reset": "1685955508", + "X-RateLimit-Used": "45", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "C923:9715:4F96DE0:A3824FD:647DA349" + } + }, + "uuid": "3316e123-fb79-4f7c-b41c-4eaa2840d133", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSecret/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSecret/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..f20dcc4024 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSecret/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,41 @@ +{ + "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": 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": 11, + "seats": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSecret/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSecret/__files/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..6cc98c90e2 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSecret/__files/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,332 @@ +{ + "id": 206888201, + "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", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "description": "Resetting", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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-12-20T00:07:51Z", + "pushed_at": "2020-01-10T23:15:59Z", + "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": 11413, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "temp_clone_token": "", + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "delete_branch_on_merge": false, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j", + "html_url": "https://github.com/hub4j", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "2020-01-10T19:14:02Z", + "pushed_at": "2020-01-10T19:14:21Z", + "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": 17575, + "stargazers_count": 602, + "watchers_count": 602, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 444, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 55, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 444, + "open_issues": 55, + "watchers": 602, + "default_branch": "main" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j", + "html_url": "https://github.com/hub4j", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "2020-01-10T19:14:02Z", + "pushed_at": "2020-01-10T19:14:21Z", + "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": 17575, + "stargazers_count": 602, + "watchers_count": 602, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 444, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 55, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 444, + "open_issues": 55, + "watchers": 602, + "default_branch": "main" + }, + "network_count": 444, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSecret/__files/repos_hub4j-test-org_github-secrets-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSecret/__files/repos_hub4j-test-org_github-secrets-4.json new file mode 100644 index 0000000000..0e0dcd235c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSecret/__files/repos_hub4j-test-org_github-secrets-4.json @@ -0,0 +1,3 @@ +{ + +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSecret/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSecret/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..e7f3541c53 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSecret/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,48 @@ +{ + "id": "d542cf64-ac9f-4fe7-bc38-9286b63c7828", + "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, 10 Jan 2020 23:17:13 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": "1578701497", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"baa5a9df51598a7157caf0bf0f377482\"", + "Last-Modified": "Mon, 20 Apr 2015 00:42:30 GMT", + "X-OAuth-Scopes": "admin:org, delete_repo, gist, repo", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BB06:1AD3:68EF1F:799228:5E1905F6" + } + }, + "uuid": "d542cf64-ac9f-4fe7-bc38-9286b63c7828", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSecret/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSecret/mappings/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..5d65cf45b5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSecret/mappings/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,48 @@ +{ + "id": "18a0b001-eca8-40df-bafa-9c767c9e209a", + "name": "repos_hub4j-test-org_github-api", + "request": { + "url": "/repos/hub4j-test-org/temp-createSecret", + "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, 10 Jan 2020 23:17:13 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": "1578701497", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"66f07f20b59c67d96b7aecf0ae184593\"", + "Last-Modified": "Fri, 20 Dec 2019 00:07:51 GMT", + "X-OAuth-Scopes": "admin:org, delete_repo, gist, repo", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BB06:1AD3:68EF27:799263:5E1905F9" + } + }, + "uuid": "18a0b001-eca8-40df-bafa-9c767c9e209a", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSecret/mappings/repos_hub4j-test-org_github-secrets-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSecret/mappings/repos_hub4j-test-org_github-secrets-4.json new file mode 100644 index 0000000000..3af25c6c66 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/createSecret/mappings/repos_hub4j-test-org_github-secrets-4.json @@ -0,0 +1,54 @@ +{ + "id": "f654b3ef-74dc-4775-8809-f07c2a44925e", + "name": "repos_hub4j-test-org_github-api_git_refs", + "request": { + "url": "/repos/hub4j-test-org/github-api/actions/secrets/secret", + "method": "PUT", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"key_id\":\"public\",\"encrypted_value\":\"encrypted\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": true + } + ] + }, + "response": { + "status": 201, + "headers": { + "Date": "Fri, 10 Jan 2020 23:17:15 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "201 Created", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4972", + "X-RateLimit-Reset": "1578701497", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "\"c369f800ca461fa9cff882ed5e49b2b2\"", + "X-OAuth-Scopes": "admin:org, delete_repo, gist, repo", + "X-Accepted-OAuth-Scopes": "repo", + "Location": "https://api.github.com/repos/hub4j-test-org/github-api/actions/secrets/secret", + "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": "BB06:1AD3:68EF3B:79927A:5E1905FA" + } + }, + "uuid": "f654b3ef-74dc-4775-8809-f07c2a44925e", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRunsWithParams/__files/orgs_hub4j-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRunsWithParams/__files/orgs_hub4j-1.json new file mode 100644 index 0000000000..7af7035707 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRunsWithParams/__files/orgs_hub4j-1.json @@ -0,0 +1,25 @@ +{ + "avatar_url": "https://avatars.githubusercontent.com/u/54909825?v=4", + "created_at": "2019-09-04T18:12:34Z", + "description": null, + "events_url": "https://api.github.com/orgs/hub4j/events", + "followers": 0, + "following": 0, + "has_organization_projects": true, + "has_repository_projects": true, + "hooks_url": "https://api.github.com/orgs/hub4j/hooks", + "html_url": "https://github.com/hub4j", + "id": 54909825, + "is_verified": false, + "issues_url": "https://api.github.com/orgs/hub4j/issues", + "login": "hub4j", + "members_url": "https://api.github.com/orgs/hub4j/members{/member}", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "public_gists": 0, + "public_members_url": "https://api.github.com/orgs/hub4j/public_members{/member}", + "public_repos": 1, + "repos_url": "https://api.github.com/orgs/hub4j/repos", + "type": "Organization", + "updated_at": "2020-05-08T21:26:19Z", + "url": "https://api.github.com/orgs/hub4j" +} diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRunsWithParams/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRunsWithParams/__files/repos_hub4j_github-api-2.json new file mode 100644 index 0000000000..eadccf842e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRunsWithParams/__files/repos_hub4j_github-api-2.json @@ -0,0 +1,137 @@ +{ + "allow_forking": true, + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "archived": false, + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "clone_url": "https://github.com/hub4j/github-api.git", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "created_at": "2010-04-19T04:13:03Z", + "default_branch": "main", + "deployments_url": "https://api.github.com/repos/hub4j/github-api/deployments", + "description": "Java API for GitHub", + "disabled": false, + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "fork": false, + "forks": 651, + "forks_count": 651, + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "full_name": "hub4j/github-api", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_url": "git://github.com/hub4j/github-api.git", + "has_discussions": true, + "has_downloads": true, + "has_issues": true, + "has_pages": true, + "has_projects": true, + "has_wiki": true, + "homepage": "https://github-api.kohsuke.org/", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "html_url": "https://github.com/hub4j/github-api", + "id": 617210, + "is_template": false, + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "language": "Java", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "license": { + "key": "mit", + "name": "MIT License", + "node_id": "MDc6TGljZW5zZTEz", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit" + }, + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "mirror_url": null, + "name": "github-api", + "network_count": 651, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "open_issues": 141, + "open_issues_count": 141, + "organization": { + "avatar_url": "https://avatars.githubusercontent.com/u/54909825?v=4", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/hub4j", + "id": 54909825, + "login": "hub4j", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "repos_url": "https://api.github.com/users/hub4j/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/hub4j" + }, + "owner": { + "avatar_url": "https://avatars.githubusercontent.com/u/54909825?v=4", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "gravatar_id": "", + "html_url": "https://github.com/hub4j", + "id": 54909825, + "login": "hub4j", + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "repos_url": "https://api.github.com/users/hub4j/repos", + "site_admin": false, + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "type": "Organization", + "url": "https://api.github.com/users/hub4j" + }, + "private": false, + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "pushed_at": "2023-02-01T14:18:09Z", + "releases_url": "https://api.github.com/repos/hub4j/github-api/releases{/id}", + "size": 40829, + "ssh_url": "git@github.com:hub4j/github-api.git", + "stargazers_count": 972, + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "subscribers_count": 48, + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "svn_url": "https://github.com/hub4j/github-api", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "temp_clone_token": null, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "updated_at": "2023-01-30T18:28:31Z", + "url": "https://api.github.com/repos/hub4j/github-api", + "visibility": "public", + "watchers": 972, + "watchers_count": 972, + "web_commit_signoff_required": false +} diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRunsWithParams/__files/repos_hub4j_github-api_commits_54d60fbb53b4efa19f3081417bfb6a1de30c55e4_check-runs-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRunsWithParams/__files/repos_hub4j_github-api_commits_54d60fbb53b4efa19f3081417bfb6a1de30c55e4_check-runs-3.json new file mode 100644 index 0000000000..d65eef6cce --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRunsWithParams/__files/repos_hub4j_github-api_commits_54d60fbb53b4efa19f3081417bfb6a1de30c55e4_check-runs-3.json @@ -0,0 +1,105 @@ +{ + "total_count": 1, + "check_runs": [ + { + "id": 514982790, + "node_id": "MDg6Q2hlY2tSdW41MTQ5ODI3OTA=", + "head_sha": "78b9ff49d47daaa158eb373c4e2e040f739df8b9", + "external_id": "5b9ee24e-a4fa-5b0f-9fef-471905f84b41", + "url": "https://api.github.com/repos/hub4j/github-api/check-runs/514982790", + "html_url": "https://github.com/hub4j/github-api/runs/514982790", + "details_url": "https://github.com/hub4j/github-api/runs/514982790", + "status": "completed", + "conclusion": "success", + "started_at": "2020-03-17T21:37:30Z", + "completed_at": "2020-03-17T21:41:01Z", + "output": { + "title": null, + "summary": null, + "text": null, + "annotations_count": 0, + "annotations_url": "https://api.github.com/repos/hub4j/github-api/check-runs/514982790/annotations" + }, + "name": "build-only (Java 17)", + "check_suite": { + "id": 528275399 + }, + "app": { + "id": 15368, + "slug": "github-actions", + "node_id": "MDM6QXBwMTUzNjg=", + "owner": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars1.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "name": "GitHub Actions", + "description": "Automate your workflow from idea to production", + "external_url": "https://help.github.com/en/actions", + "html_url": "https://github.com/apps/github-actions", + "created_at": "2018-07-30T09:30:17Z", + "updated_at": "2019-12-10T19:04:12Z", + "permissions": { + "actions": "write", + "checks": "write", + "contents": "write", + "deployments": "write", + "issues": "write", + "metadata": "read", + "packages": "write", + "pages": "write", + "pull_requests": "write", + "repository_hooks": "write", + "repository_projects": "write", + "statuses": "write", + "vulnerability_alerts": "read" + }, + "events": [ + "check_run", + "check_suite", + "create", + "delete", + "deployment", + "deployment_status", + "fork", + "gollum", + "issues", + "issue_comment", + "label", + "milestone", + "page_build", + "project", + "project_card", + "project_column", + "public", + "pull_request", + "pull_request_review", + "pull_request_review_comment", + "push", + "registry_package", + "release", + "repository", + "repository_dispatch", + "status", + "watch" + ] + }, + "pull_requests": [] + } + ] +} diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRunsWithParams/mappings/orgs_hub4j-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRunsWithParams/mappings/orgs_hub4j-1.json new file mode 100644 index 0000000000..feb2a3c85d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRunsWithParams/mappings/orgs_hub4j-1.json @@ -0,0 +1,44 @@ +{ + "id": "5d8b3f90-4fb5-4321-b979-b06127d19224", + "name": "orgs_hub4j", + "request": { + "url": "/orgs/hub4j", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hub4j-1.json", + "headers": { + "Cache-Control": "public, max-age=60, s-maxage=60", + "Content-Security-Policy": "default-src 'none'", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 01 Feb 2023 14:50:02 GMT", + "ETag": "W/\"0f5afebb9a43d2439789b5ee913e4b91dd2ee711e15a942b5a85dc8d6ae18dc9\"", + "Last-Modified": "Fri, 08 May 2020 21:26:19 GMT", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Server": "GitHub.com", + "Status": "200 OK", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "Vary": [ + "Accept", + "Accept-Encoding, Accept, X-Requested-With" + ], + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "deny", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-GitHub-Request-Id": "CA71:D7EC:186E8A:18D72D:63DA7C19", + "X-RateLimit-Limit": "60", + "X-RateLimit-Remaining": "55", + "X-RateLimit-Reset": "1675263481", + "X-XSS-Protection": "0" + } + }, + "uuid": "5d8b3f90-4fb5-4321-b979-b06127d19224", + "persistent": true, + "insertionIndex": 1 +} diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRunsWithParams/mappings/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRunsWithParams/mappings/repos_hub4j_github-api-2.json new file mode 100644 index 0000000000..4389fe339e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRunsWithParams/mappings/repos_hub4j_github-api-2.json @@ -0,0 +1,44 @@ +{ + "id": "71c75ce1-402c-4835-8841-f1707d28d88d", + "name": "repos_hub4j_github-api", + "request": { + "url": "/repos/hub4j/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j_github-api-2.json", + "headers": { + "Cache-Control": "public, max-age=60, s-maxage=60", + "Content-Security-Policy": "default-src 'none'", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 01 Feb 2023 15:27:59 GMT", + "ETag": "W/\"27c60bc0ab8216c908ac99475a2d77aa39d77e3cbdf04e98f52df98e20d7e7d2\"", + "Last-Modified": "Mon, 30 Jan 2023 18:28:31 GMT", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Server": "GitHub.com", + "Status": "200 OK", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "Vary": [ + "Accept", + "Accept-Encoding, Accept, X-Requested-With" + ], + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "deny", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-GitHub-Request-Id": "CDC0:D7EC:3FD768:40DB97:63DA84FF", + "X-RateLimit-Limit": "60", + "X-RateLimit-Remaining": "57", + "X-RateLimit-Reset": "1675267094", + "X-XSS-Protection": "0" + } + }, + "uuid": "71c75ce1-402c-4835-8841-f1707d28d88d", + "persistent": true, + "insertionIndex": 2 +} diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRunsWithParams/mappings/repos_hub4j_github-api_commits_54d60fbb53b4efa19f3081417bfb6a1de30c55e4_check-runs-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRunsWithParams/mappings/repos_hub4j_github-api_commits_54d60fbb53b4efa19f3081417bfb6a1de30c55e4_check-runs-3.json new file mode 100644 index 0000000000..0abd669562 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getCheckRunsWithParams/mappings/repos_hub4j_github-api_commits_54d60fbb53b4efa19f3081417bfb6a1de30c55e4_check-runs-3.json @@ -0,0 +1,46 @@ +{ + "id": "6f217f80-e2fa-4a54-b6ab-b110055d776a", + "name": "repos_hub4j_github-api_commits_54d60fbb53b4efa19f3081417bfb6a1de30c55e4_check-runs", + "request": { + "url": "/repos/hub4j/github-api/commits/54d60fbb53b4efa19f3081417bfb6a1de30c55e4/check-runs?check_name=build-only+%28Java+17%29", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.antiope-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j_github-api_commits_54d60fbb53b4efa19f3081417bfb6a1de30c55e4_check-runs-3.json", + "headers": { + "Cache-Control": "public, max-age=60, s-maxage=60", + "Content-Security-Policy": "default-src 'none'", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 01 Feb 2023 15:33:02 GMT", + "ETag": "W/\"76cd89479af94fc294b78ddf876c317b67b20fd89ba6543f5464caa19cf0aa75\"", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Server": "GitHub.com", + "Status": "200 OK", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "Vary": [ + "Accept", + "Accept-Encoding, Accept, X-Requested-With" + ], + "X-Content-Type-Options": "nosniff", + "X-Frame-Options": "deny", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-GitHub-Request-Id": "D57A:94E6:41F9B6:4310EC:63DA862D", + "X-RateLimit-Limit": "60", + "X-RateLimit-Remaining": "55", + "X-RateLimit-Reset": "1675267093", + "X-XSS-Protection": "0" + } + }, + "uuid": "6f217f80-e2fa-4a54-b6ab-b110055d776a", + "persistent": true, + "scenarioName": "scenario-1-repos-github-api-github-api-commits-54d60fbb53b4efa19f3081417bfb6a1de30c55e4-check-runs", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-github-api-github-api-commits-54d60fbb53b4efa19f3081417bfb6a1de30c55e4-check-runs-2", + "insertionIndex": 3 +} diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPublicKey/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPublicKey/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..5e957496c3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPublicKey/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,4 @@ +{ + "key_id": "93493987-1167-42ca-9ce1-668c3697700e", + "key": "test-key" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPublicKey/__files/publickey_hub4j-test-org_github-api-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPublicKey/__files/publickey_hub4j-test-org_github-api-1.json new file mode 100644 index 0000000000..8eec1b1e90 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPublicKey/__files/publickey_hub4j-test-org_github-api-1.json @@ -0,0 +1,4 @@ +{ + "key_id": "key-id", + "key": "test-key" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPublicKey/__files/repos_hub4j-test-org_temp-getpublickey-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPublicKey/__files/repos_hub4j-test-org_temp-getpublickey-2.json new file mode 100644 index 0000000000..7fbbd2b994 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPublicKey/__files/repos_hub4j-test-org_temp-getpublickey-2.json @@ -0,0 +1,126 @@ +{ + "id": 233131910, + "node_id": "MDEwOlJlcG9zaXRvcnkyMzMxMzE5MTA=", + "name": "temp-getPublicKey", + "full_name": "hub4j-test-org/temp-getPublicKey", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-getPublicKey", + "description": "A test repository for testing the github-api project: temp-getPublicKey", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-getPublicKey/deployments", + "created_at": "2020-01-10T21:17:53Z", + "updated_at": "2020-01-10T21:17:57Z", + "pushed_at": "2020-01-10T21:17:55Z", + "git_url": "git://github.com/hub4j-test-org/temp-getPublicKey.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-getPublicKey.git", + "clone_url": "https://github.com/hub4j-test-org/temp-getPublicKey.git", + "svn_url": "https://github.com/hub4j-test-org/temp-getPublicKey", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "temp_clone_token": "", + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "delete_branch_on_merge": false, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPublicKey/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPublicKey/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..b6d257e699 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPublicKey/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,47 @@ +{ + "id": "93493987-1167-42ca-9ce1-668c3697700e", + "name": "orgs_hub4j-test-org", + "request": { + "url": "/orgs/hub4j-test-org", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hub4j-test-org-2.json", + "headers": { + "Date": "Thu, 11 Jun 2020 02:20:47 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4917", + "X-RateLimit-Reset": "1591843209", + "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/\"6bd323dd4ab2a01dae2464621246c3cd\"", + "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-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": "E5B0:5D6A:3A9A6:47E29:5EE194FE" + } + }, + "uuid": "93493987-1167-42ca-9ce1-668c3697700e", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPublicKey/mappings/publickey_hub4j-test-org_github-api-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPublicKey/mappings/publickey_hub4j-test-org_github-api-1.json new file mode 100644 index 0000000000..639c74badb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPublicKey/mappings/publickey_hub4j-test-org_github-api-1.json @@ -0,0 +1,47 @@ +{ + "id": "188ff38b-cbda-4bdb-82f0-3dcd5eb20d72", + "name": "repos_hub4j-test-org_github-api", + "request": { + "url": "/repos/hub4j-test-org/temp-getPublicKey/actions/secrets/public-key", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "publickey_hub4j-test-org_github-api-1.json", + "headers": { + "Date": "Thu, 11 Jun 2020 02:20:47 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": "1591843209", + "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/\"d50e09a217754b7ffeb7a6aa7219af30\"", + "Last-Modified": "Wed, 10 Jun 2020 23:27:59 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", + "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": "E5B0:5D6A:3A9A9:47E30:5EE194FF" + } + }, + "uuid": "188ff38b-cbda-4bdb-82f0-3dcd5eb20d72", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPublicKey/mappings/repos_hub4j-test-org_temp-getpublickey-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPublicKey/mappings/repos_hub4j-test-org_temp-getpublickey-2.json new file mode 100644 index 0000000000..90ac33e1d9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/getPublicKey/mappings/repos_hub4j-test-org_temp-getpublickey-2.json @@ -0,0 +1,48 @@ +{ + "id": "7b70f17b-8996-4f3c-b51e-4e185e988ee0", + "name": "repos_hub4j-test-org_temp-getpublickey", + "request": { + "url": "/repos/hub4j-test-org/temp-getPublicKey", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_temp-getpublickey-2.json", + "headers": { + "Date": "Fri, 10 Jan 2020 21:17:59 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4968", + "X-RateLimit-Reset": "1578694499", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"263909fd1bc03a2acdd17bc99b04e26b\"", + "Last-Modified": "Fri, 10 Jan 2020 21:17:57 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": "F626:2189:D66144:FFC95F:5E18EA01" + } + }, + "uuid": "7b70f17b-8996-4f3c-b51e-4e185e988ee0", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission-1.json new file mode 100644 index 0000000000..fa81a060d9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission-1.json @@ -0,0 +1,134 @@ +{ + "id": 78481711, + "node_id": "MDEwOlJlcG9zaXRvcnk3ODQ4MTcxMQ==", + "name": "test-permission", + "full_name": "hub4j-test-org/test-permission", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/test-permission", + "description": "RepositoryTest#getPermission() test fixture", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/test-permission", + "forks_url": "https://api.github.com/repos/hub4j-test-org/test-permission/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/test-permission/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-permission/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/test-permission/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/test-permission/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-permission/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/test-permission/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/test-permission/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/test-permission/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/test-permission/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/test-permission/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-permission/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-permission/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/test-permission/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/test-permission/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/test-permission/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-permission/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/test-permission/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-permission/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/test-permission/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/test-permission/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-permission/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/test-permission/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-permission/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/test-permission/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/test-permission/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/test-permission/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/test-permission/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/test-permission/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/test-permission/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/test-permission/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/test-permission/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/test-permission/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/test-permission/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/test-permission/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/test-permission/deployments", + "created_at": "2017-01-10T00:22:47Z", + "updated_at": "2017-01-10T00:22:47Z", + "pushed_at": "2017-01-10T00:22:48Z", + "git_url": "git://github.com/hub4j-test-org/test-permission.git", + "ssh_url": "git@github.com:hub4j-test-org/test-permission.git", + "clone_url": "https://github.com/hub4j-test-org/test-permission.git", + "svn_url": "https://github.com/hub4j-test-org/test-permission", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission-private-15.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission-private-15.json new file mode 100644 index 0000000000..90cf50bce6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission-private-15.json @@ -0,0 +1,134 @@ +{ + "id": 482967898, + "node_id": "R_kgDOHMmBWg", + "name": "test-permission-private", + "full_name": "hub4j-test-org/test-permission-private", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/test-permission-private", + "description": "Private project for permission tests", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/test-permission-private", + "forks_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/test-permission-private/deployments", + "created_at": "2022-04-18T19:16:27Z", + "updated_at": "2022-04-18T19:16:27Z", + "pushed_at": "2022-04-18T19:16:28Z", + "git_url": "git://github.com/hub4j-test-org/test-permission-private.git", + "ssh_url": "git@github.com:hub4j-test-org/test-permission-private.git", + "clone_url": "https://github.com/hub4j-test-org/test-permission-private.git", + "svn_url": "https://github.com/hub4j-test-org/test-permission-private", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": false, + "is_template": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "AAJYOBKAHLMJYGJO3CR6QP3CLXBUI", + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 17 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-16.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-16.json new file mode 100644 index 0000000000..1bb84ef471 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-16.json @@ -0,0 +1,32 @@ +{ + "permission": "none", + "user": { + "login": "dude", + "id": 60431, + "node_id": "MDQ6VXNlcjYwNDMx", + "avatar_url": "https://avatars.githubusercontent.com/u/60431?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dude", + "html_url": "https://github.com/dude", + "followers_url": "https://api.github.com/users/dude/followers", + "following_url": "https://api.github.com/users/dude/following{/other_user}", + "gists_url": "https://api.github.com/users/dude/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dude/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dude/subscriptions", + "organizations_url": "https://api.github.com/users/dude/orgs", + "repos_url": "https://api.github.com/users/dude/repos", + "events_url": "https://api.github.com/users/dude/events{/privacy}", + "received_events_url": "https://api.github.com/users/dude/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": false + }, + "role_name": "" + }, + "role_name": "" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-17.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-17.json new file mode 100644 index 0000000000..1bb84ef471 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-17.json @@ -0,0 +1,32 @@ +{ + "permission": "none", + "user": { + "login": "dude", + "id": 60431, + "node_id": "MDQ6VXNlcjYwNDMx", + "avatar_url": "https://avatars.githubusercontent.com/u/60431?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dude", + "html_url": "https://github.com/dude", + "followers_url": "https://api.github.com/users/dude/followers", + "following_url": "https://api.github.com/users/dude/following{/other_user}", + "gists_url": "https://api.github.com/users/dude/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dude/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dude/subscriptions", + "organizations_url": "https://api.github.com/users/dude/orgs", + "repos_url": "https://api.github.com/users/dude/repos", + "events_url": "https://api.github.com/users/dude/events{/privacy}", + "received_events_url": "https://api.github.com/users/dude/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": false + }, + "role_name": "" + }, + "role_name": "" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-18.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-18.json new file mode 100644 index 0000000000..1bb84ef471 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-18.json @@ -0,0 +1,32 @@ +{ + "permission": "none", + "user": { + "login": "dude", + "id": 60431, + "node_id": "MDQ6VXNlcjYwNDMx", + "avatar_url": "https://avatars.githubusercontent.com/u/60431?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dude", + "html_url": "https://github.com/dude", + "followers_url": "https://api.github.com/users/dude/followers", + "following_url": "https://api.github.com/users/dude/following{/other_user}", + "gists_url": "https://api.github.com/users/dude/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dude/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dude/subscriptions", + "organizations_url": "https://api.github.com/users/dude/orgs", + "repos_url": "https://api.github.com/users/dude/repos", + "events_url": "https://api.github.com/users/dude/events{/privacy}", + "received_events_url": "https://api.github.com/users/dude/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": false + }, + "role_name": "" + }, + "role_name": "" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-19.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-19.json new file mode 100644 index 0000000000..1bb84ef471 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-19.json @@ -0,0 +1,32 @@ +{ + "permission": "none", + "user": { + "login": "dude", + "id": 60431, + "node_id": "MDQ6VXNlcjYwNDMx", + "avatar_url": "https://avatars.githubusercontent.com/u/60431?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dude", + "html_url": "https://github.com/dude", + "followers_url": "https://api.github.com/users/dude/followers", + "following_url": "https://api.github.com/users/dude/following{/other_user}", + "gists_url": "https://api.github.com/users/dude/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dude/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dude/subscriptions", + "organizations_url": "https://api.github.com/users/dude/orgs", + "repos_url": "https://api.github.com/users/dude/repos", + "events_url": "https://api.github.com/users/dude/events{/privacy}", + "received_events_url": "https://api.github.com/users/dude/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": false + }, + "role_name": "" + }, + "role_name": "" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_dude_permission-6.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_dude_permission-6.json new file mode 100644 index 0000000000..b0f16df089 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_dude_permission-6.json @@ -0,0 +1,32 @@ +{ + "permission": "read", + "user": { + "login": "dude", + "id": 60431, + "node_id": "MDQ6VXNlcjYwNDMx", + "avatar_url": "https://avatars.githubusercontent.com/u/60431?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dude", + "html_url": "https://github.com/dude", + "followers_url": "https://api.github.com/users/dude/followers", + "following_url": "https://api.github.com/users/dude/following{/other_user}", + "gists_url": "https://api.github.com/users/dude/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dude/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dude/subscriptions", + "organizations_url": "https://api.github.com/users/dude/orgs", + "repos_url": "https://api.github.com/users/dude/repos", + "events_url": "https://api.github.com/users/dude/events{/privacy}", + "received_events_url": "https://api.github.com/users/dude/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "role_name": "read" + }, + "role_name": "read" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_dude_permission-7.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_dude_permission-7.json new file mode 100644 index 0000000000..b0f16df089 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_dude_permission-7.json @@ -0,0 +1,32 @@ +{ + "permission": "read", + "user": { + "login": "dude", + "id": 60431, + "node_id": "MDQ6VXNlcjYwNDMx", + "avatar_url": "https://avatars.githubusercontent.com/u/60431?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dude", + "html_url": "https://github.com/dude", + "followers_url": "https://api.github.com/users/dude/followers", + "following_url": "https://api.github.com/users/dude/following{/other_user}", + "gists_url": "https://api.github.com/users/dude/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dude/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dude/subscriptions", + "organizations_url": "https://api.github.com/users/dude/orgs", + "repos_url": "https://api.github.com/users/dude/repos", + "events_url": "https://api.github.com/users/dude/events{/privacy}", + "received_events_url": "https://api.github.com/users/dude/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "role_name": "read" + }, + "role_name": "read" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_dude_permission-8.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_dude_permission-8.json new file mode 100644 index 0000000000..b0f16df089 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_dude_permission-8.json @@ -0,0 +1,32 @@ +{ + "permission": "read", + "user": { + "login": "dude", + "id": 60431, + "node_id": "MDQ6VXNlcjYwNDMx", + "avatar_url": "https://avatars.githubusercontent.com/u/60431?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dude", + "html_url": "https://github.com/dude", + "followers_url": "https://api.github.com/users/dude/followers", + "following_url": "https://api.github.com/users/dude/following{/other_user}", + "gists_url": "https://api.github.com/users/dude/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dude/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dude/subscriptions", + "organizations_url": "https://api.github.com/users/dude/orgs", + "repos_url": "https://api.github.com/users/dude/repos", + "events_url": "https://api.github.com/users/dude/events{/privacy}", + "received_events_url": "https://api.github.com/users/dude/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "role_name": "read" + }, + "role_name": "read" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_dude_permission-9.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_dude_permission-9.json new file mode 100644 index 0000000000..b0f16df089 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_dude_permission-9.json @@ -0,0 +1,32 @@ +{ + "permission": "read", + "user": { + "login": "dude", + "id": 60431, + "node_id": "MDQ6VXNlcjYwNDMx", + "avatar_url": "https://avatars.githubusercontent.com/u/60431?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dude", + "html_url": "https://github.com/dude", + "followers_url": "https://api.github.com/users/dude/followers", + "following_url": "https://api.github.com/users/dude/following{/other_user}", + "gists_url": "https://api.github.com/users/dude/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dude/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dude/subscriptions", + "organizations_url": "https://api.github.com/users/dude/orgs", + "repos_url": "https://api.github.com/users/dude/repos", + "events_url": "https://api.github.com/users/dude/events{/privacy}", + "received_events_url": "https://api.github.com/users/dude/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "role_name": "read" + }, + "role_name": "read" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-11.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-11.json new file mode 100644 index 0000000000..b320edf070 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-11.json @@ -0,0 +1,32 @@ +{ + "permission": "admin", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + "role_name": "admin" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-12.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-12.json new file mode 100644 index 0000000000..b320edf070 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-12.json @@ -0,0 +1,32 @@ +{ + "permission": "admin", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + "role_name": "admin" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-13.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-13.json new file mode 100644 index 0000000000..b320edf070 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-13.json @@ -0,0 +1,32 @@ +{ + "permission": "admin", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + "role_name": "admin" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-14.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-14.json new file mode 100644 index 0000000000..b320edf070 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-14.json @@ -0,0 +1,32 @@ +{ + "permission": "admin", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + "role_name": "admin" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-2.json new file mode 100644 index 0000000000..b320edf070 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-2.json @@ -0,0 +1,32 @@ +{ + "permission": "admin", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + "role_name": "admin" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-3.json new file mode 100644 index 0000000000..b320edf070 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-3.json @@ -0,0 +1,32 @@ +{ + "permission": "admin", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + "role_name": "admin" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-4.json new file mode 100644 index 0000000000..b320edf070 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-4.json @@ -0,0 +1,32 @@ +{ + "permission": "admin", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + "role_name": "admin" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-5.json new file mode 100644 index 0000000000..b320edf070 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-5.json @@ -0,0 +1,32 @@ +{ + "permission": "admin", + "user": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + "role_name": "admin" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/users_kohsuke-10.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/users_kohsuke-10.json new file mode 100644 index 0000000000..b0bb3da441 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/__files/users_kohsuke-10.json @@ -0,0 +1,34 @@ +{ + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false, + "name": "Kohsuke Kawaguchi", + "company": "@launchableinc ", + "blog": "https://www.kohsuke.org/", + "location": "San Jose, California", + "email": "kk@kohsuke.org", + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 265, + "public_gists": 113, + "followers": 1999, + "following": 3, + "created_at": "2009-01-28T18:53:21Z", + "updated_at": "2022-04-10T22:58:15Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission-1.json new file mode 100644 index 0000000000..b8277c0fc4 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission-1.json @@ -0,0 +1,47 @@ +{ + "id": "bcc6e97e-69aa-475d-b26e-7af66c2eb529", + "name": "repos_hub4j-test-org_test-permission", + "request": { + "url": "/repos/hub4j-test-org/test-permission", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_test-permission-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 18 Apr 2022 19:55: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/\"138b745eb1b48b175ba2335fb60765e84cb1ac1b444a1169a2bc696001359aed\"", + "Last-Modified": "Tue, 10 Jan 2017 00:22: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": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4973", + "X-RateLimit-Reset": "1650312871", + "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": "C7A0:AFDA:EFE04A:F7D343:625DC214" + } + }, + "uuid": "bcc6e97e-69aa-475d-b26e-7af66c2eb529", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission-private-15.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission-private-15.json new file mode 100644 index 0000000000..af654d76a8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission-private-15.json @@ -0,0 +1,47 @@ +{ + "id": "e9af413f-1a5b-42d2-be7f-c01a053ee822", + "name": "repos_hub4j-test-org_test-permission-private", + "request": { + "url": "/repos/hub4j-test-org/test-permission-private", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_test-permission-private-15.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 18 Apr 2022 19:55: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/\"04d12013a7456daabb798bac37bd6af1b4202fe6aeb99b6fffde7a3fe9aaaa41\"", + "Last-Modified": "Mon, 18 Apr 2022 19:16:27 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": "4959", + "X-RateLimit-Reset": "1650312871", + "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": "C7BC:373A:1A5E18F:1AF0EEA:625DC218" + } + }, + "uuid": "e9af413f-1a5b-42d2-be7f-c01a053ee822", + "persistent": true, + "insertionIndex": 15 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-16.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-16.json new file mode 100644 index 0000000000..b829d245e2 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-16.json @@ -0,0 +1,49 @@ +{ + "id": "920509f5-fecc-4e90-8479-0099648250d1", + "name": "repos_hub4j-test-org_test-permission-private_collaborators_dude_permission", + "request": { + "url": "/repos/hub4j-test-org/test-permission-private/collaborators/dude/permission", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-16.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 18 Apr 2022 19:55: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/\"fb94f5854d73bb38b3f8bb4e858cf55f841a778627efd77b5defa9c528dd4114\"", + "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": "4958", + "X-RateLimit-Reset": "1650312871", + "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": "C7BE:DE7D:19C5854:1A57980:625DC218" + } + }, + "uuid": "920509f5-fecc-4e90-8479-0099648250d1", + "persistent": true, + "scenarioName": "scenario-3-repos-hub4j-test-org-test-permission-private-collaborators-dude-permission", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-3-repos-hub4j-test-org-test-permission-private-collaborators-dude-permission-2", + "insertionIndex": 16 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-17.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-17.json new file mode 100644 index 0000000000..f8dccaf0e6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-17.json @@ -0,0 +1,49 @@ +{ + "id": "c27c7b2c-5674-471d-9972-b71f5059d1fe", + "name": "repos_hub4j-test-org_test-permission-private_collaborators_dude_permission", + "request": { + "url": "/repos/hub4j-test-org/test-permission-private/collaborators/dude/permission", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-17.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 18 Apr 2022 19:55: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/\"fb94f5854d73bb38b3f8bb4e858cf55f841a778627efd77b5defa9c528dd4114\"", + "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": "4957", + "X-RateLimit-Reset": "1650312871", + "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": "C7C0:AFDB:18F7612:19897B6:625DC218" + } + }, + "uuid": "c27c7b2c-5674-471d-9972-b71f5059d1fe", + "persistent": true, + "scenarioName": "scenario-3-repos-hub4j-test-org-test-permission-private-collaborators-dude-permission", + "requiredScenarioState": "scenario-3-repos-hub4j-test-org-test-permission-private-collaborators-dude-permission-2", + "newScenarioState": "scenario-3-repos-hub4j-test-org-test-permission-private-collaborators-dude-permission-3", + "insertionIndex": 17 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-18.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-18.json new file mode 100644 index 0000000000..ff1b3d8f22 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-18.json @@ -0,0 +1,49 @@ +{ + "id": "3f763e1f-cb20-4a71-9b7f-320b096aafbb", + "name": "repos_hub4j-test-org_test-permission-private_collaborators_dude_permission", + "request": { + "url": "/repos/hub4j-test-org/test-permission-private/collaborators/dude/permission", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-18.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 18 Apr 2022 19:55: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/\"fb94f5854d73bb38b3f8bb4e858cf55f841a778627efd77b5defa9c528dd4114\"", + "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": "4956", + "X-RateLimit-Reset": "1650312871", + "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": "C7C2:AFDC:24C35D8:25674E3:625DC219" + } + }, + "uuid": "3f763e1f-cb20-4a71-9b7f-320b096aafbb", + "persistent": true, + "scenarioName": "scenario-3-repos-hub4j-test-org-test-permission-private-collaborators-dude-permission", + "requiredScenarioState": "scenario-3-repos-hub4j-test-org-test-permission-private-collaborators-dude-permission-3", + "newScenarioState": "scenario-3-repos-hub4j-test-org-test-permission-private-collaborators-dude-permission-4", + "insertionIndex": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-19.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-19.json new file mode 100644 index 0000000000..446a99a878 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-19.json @@ -0,0 +1,48 @@ +{ + "id": "aade53cc-f9c8-4575-8c84-a119aa72a772", + "name": "repos_hub4j-test-org_test-permission-private_collaborators_dude_permission", + "request": { + "url": "/repos/hub4j-test-org/test-permission-private/collaborators/dude/permission", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_test-permission-private_collaborators_dude_permission-19.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 18 Apr 2022 19:55: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/\"fb94f5854d73bb38b3f8bb4e858cf55f841a778627efd77b5defa9c528dd4114\"", + "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": "4955", + "X-RateLimit-Reset": "1650312871", + "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": "C7C4:C448:2A6C47B:2B15245:625DC219" + } + }, + "uuid": "aade53cc-f9c8-4575-8c84-a119aa72a772", + "persistent": true, + "scenarioName": "scenario-3-repos-hub4j-test-org-test-permission-private-collaborators-dude-permission", + "requiredScenarioState": "scenario-3-repos-hub4j-test-org-test-permission-private-collaborators-dude-permission-4", + "insertionIndex": 19 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_dude_permission-6.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_dude_permission-6.json new file mode 100644 index 0000000000..cbb30d7b9d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_dude_permission-6.json @@ -0,0 +1,49 @@ +{ + "id": "01c45756-ee35-4b6d-a16c-6a548d587581", + "name": "repos_hub4j-test-org_test-permission_collaborators_dude_permission", + "request": { + "url": "/repos/hub4j-test-org/test-permission/collaborators/dude/permission", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_test-permission_collaborators_dude_permission-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 18 Apr 2022 19:55: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/\"1cc3cc5489c97f91330041a79e27736832eaa8c8a53d3ef48479ea73bce528d8\"", + "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": "4968", + "X-RateLimit-Reset": "1650312871", + "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": "C7AA:53CF:256FACF:2614599:625DC216" + } + }, + "uuid": "01c45756-ee35-4b6d-a16c-6a548d587581", + "persistent": true, + "scenarioName": "scenario-2-repos-hub4j-test-org-test-permission-collaborators-dude-permission", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-2-repos-hub4j-test-org-test-permission-collaborators-dude-permission-2", + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_dude_permission-7.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_dude_permission-7.json new file mode 100644 index 0000000000..49097857f4 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_dude_permission-7.json @@ -0,0 +1,49 @@ +{ + "id": "1e2e0c5e-2e96-4a39-bb7e-517c7d30d55d", + "name": "repos_hub4j-test-org_test-permission_collaborators_dude_permission", + "request": { + "url": "/repos/hub4j-test-org/test-permission/collaborators/dude/permission", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_test-permission_collaborators_dude_permission-7.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 18 Apr 2022 19:55: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/\"1cc3cc5489c97f91330041a79e27736832eaa8c8a53d3ef48479ea73bce528d8\"", + "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": "4967", + "X-RateLimit-Reset": "1650312871", + "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": "C7AC:13A5F:E053B5:E834BA:625DC216" + } + }, + "uuid": "1e2e0c5e-2e96-4a39-bb7e-517c7d30d55d", + "persistent": true, + "scenarioName": "scenario-2-repos-hub4j-test-org-test-permission-collaborators-dude-permission", + "requiredScenarioState": "scenario-2-repos-hub4j-test-org-test-permission-collaborators-dude-permission-2", + "newScenarioState": "scenario-2-repos-hub4j-test-org-test-permission-collaborators-dude-permission-3", + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_dude_permission-8.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_dude_permission-8.json new file mode 100644 index 0000000000..3780ba4741 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_dude_permission-8.json @@ -0,0 +1,49 @@ +{ + "id": "076c65b3-da23-485b-9e89-bbf61501d76e", + "name": "repos_hub4j-test-org_test-permission_collaborators_dude_permission", + "request": { + "url": "/repos/hub4j-test-org/test-permission/collaborators/dude/permission", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_test-permission_collaborators_dude_permission-8.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 18 Apr 2022 19:55: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/\"1cc3cc5489c97f91330041a79e27736832eaa8c8a53d3ef48479ea73bce528d8\"", + "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": "4966", + "X-RateLimit-Reset": "1650312871", + "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": "C7AE:B976:265343E:26FAA35:625DC216" + } + }, + "uuid": "076c65b3-da23-485b-9e89-bbf61501d76e", + "persistent": true, + "scenarioName": "scenario-2-repos-hub4j-test-org-test-permission-collaborators-dude-permission", + "requiredScenarioState": "scenario-2-repos-hub4j-test-org-test-permission-collaborators-dude-permission-3", + "newScenarioState": "scenario-2-repos-hub4j-test-org-test-permission-collaborators-dude-permission-4", + "insertionIndex": 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_dude_permission-9.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_dude_permission-9.json new file mode 100644 index 0000000000..ebf251d862 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_dude_permission-9.json @@ -0,0 +1,48 @@ +{ + "id": "933b7407-cc71-45b7-884a-443dae65c361", + "name": "repos_hub4j-test-org_test-permission_collaborators_dude_permission", + "request": { + "url": "/repos/hub4j-test-org/test-permission/collaborators/dude/permission", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_test-permission_collaborators_dude_permission-9.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 18 Apr 2022 19:55: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/\"1cc3cc5489c97f91330041a79e27736832eaa8c8a53d3ef48479ea73bce528d8\"", + "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": "4965", + "X-RateLimit-Reset": "1650312871", + "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": "C7B0:AFDC:24C31CE:25670D5:625DC216" + } + }, + "uuid": "933b7407-cc71-45b7-884a-443dae65c361", + "persistent": true, + "scenarioName": "scenario-2-repos-hub4j-test-org-test-permission-collaborators-dude-permission", + "requiredScenarioState": "scenario-2-repos-hub4j-test-org-test-permission-collaborators-dude-permission-4", + "insertionIndex": 9 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-11.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-11.json new file mode 100644 index 0000000000..a1ea71c6ca --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-11.json @@ -0,0 +1,49 @@ +{ + "id": "c388a81b-7d93-4f51-8318-5f2d046840b0", + "name": "repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission", + "request": { + "url": "/repos/hub4j-test-org/test-permission/collaborators/kohsuke/permission", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-11.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 18 Apr 2022 19:55: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/\"81b4768f35337875d66460bab6be08a8e6bbc7b986abd4427e99b4157fe965c0\"", + "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": "4963", + "X-RateLimit-Reset": "1650312871", + "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": "C7B4:C446:DB96E5:E3963B:625DC217" + } + }, + "uuid": "c388a81b-7d93-4f51-8318-5f2d046840b0", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission-5", + "newScenarioState": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission-6", + "insertionIndex": 11 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-12.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-12.json new file mode 100644 index 0000000000..55c40f27d6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-12.json @@ -0,0 +1,49 @@ +{ + "id": "3b415ba6-e21e-4bb4-b068-7ee9d82d80b0", + "name": "repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission", + "request": { + "url": "/repos/hub4j-test-org/test-permission/collaborators/kohsuke/permission", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-12.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 18 Apr 2022 19:55: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/\"81b4768f35337875d66460bab6be08a8e6bbc7b986abd4427e99b4157fe965c0\"", + "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": "4962", + "X-RateLimit-Reset": "1650312871", + "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": "C7B6:373B:2714A03:27BCE36:625DC217" + } + }, + "uuid": "3b415ba6-e21e-4bb4-b068-7ee9d82d80b0", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission-6", + "newScenarioState": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission-7", + "insertionIndex": 12 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-13.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-13.json new file mode 100644 index 0000000000..de4d7c6991 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-13.json @@ -0,0 +1,49 @@ +{ + "id": "d292349e-fe6a-46bf-a79d-56275436dc66", + "name": "repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission", + "request": { + "url": "/repos/hub4j-test-org/test-permission/collaborators/kohsuke/permission", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-13.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 18 Apr 2022 19:55: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/\"81b4768f35337875d66460bab6be08a8e6bbc7b986abd4427e99b4157fe965c0\"", + "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": "4961", + "X-RateLimit-Reset": "1650312871", + "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": "C7B8:373B:2714A8D:27BCEB1:625DC217" + } + }, + "uuid": "d292349e-fe6a-46bf-a79d-56275436dc66", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission-7", + "newScenarioState": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission-8", + "insertionIndex": 13 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-14.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-14.json new file mode 100644 index 0000000000..77a048021c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-14.json @@ -0,0 +1,48 @@ +{ + "id": "2a53d18f-7f36-4705-8f67-d81b8a52a7bd", + "name": "repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission", + "request": { + "url": "/repos/hub4j-test-org/test-permission/collaborators/kohsuke/permission", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-14.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 18 Apr 2022 19:55: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/\"81b4768f35337875d66460bab6be08a8e6bbc7b986abd4427e99b4157fe965c0\"", + "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": "4960", + "X-RateLimit-Reset": "1650312871", + "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": "C7BA:5714:5EFA0C:661EEE:625DC218" + } + }, + "uuid": "2a53d18f-7f36-4705-8f67-d81b8a52a7bd", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission-8", + "insertionIndex": 14 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-2.json new file mode 100644 index 0000000000..49d0d22def --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-2.json @@ -0,0 +1,49 @@ +{ + "id": "7f39602b-88d5-481f-b22b-2236ca540259", + "name": "repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission", + "request": { + "url": "/repos/hub4j-test-org/test-permission/collaborators/kohsuke/permission", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 18 Apr 2022 19:55: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/\"81b4768f35337875d66460bab6be08a8e6bbc7b986abd4427e99b4157fe965c0\"", + "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": "4972", + "X-RateLimit-Reset": "1650312871", + "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": "C7A2:265B:28D17A2:297BD40:625DC215" + } + }, + "uuid": "7f39602b-88d5-481f-b22b-2236ca540259", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission-2", + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-3.json new file mode 100644 index 0000000000..3a59664b28 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-3.json @@ -0,0 +1,49 @@ +{ + "id": "af65185d-5f5c-40b8-97fc-84548a81d981", + "name": "repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission", + "request": { + "url": "/repos/hub4j-test-org/test-permission/collaborators/kohsuke/permission", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 18 Apr 2022 19:55: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/\"81b4768f35337875d66460bab6be08a8e6bbc7b986abd4427e99b4157fe965c0\"", + "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": "4971", + "X-RateLimit-Reset": "1650312871", + "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": "C7A4:13A60:183892B:18C9D18:625DC215" + } + }, + "uuid": "af65185d-5f5c-40b8-97fc-84548a81d981", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission-2", + "newScenarioState": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission-3", + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-4.json new file mode 100644 index 0000000000..65b8051cc5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-4.json @@ -0,0 +1,49 @@ +{ + "id": "6e7c5b20-462c-4d99-a475-0fc0542b8b57", + "name": "repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission", + "request": { + "url": "/repos/hub4j-test-org/test-permission/collaborators/kohsuke/permission", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 18 Apr 2022 19:55: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/\"81b4768f35337875d66460bab6be08a8e6bbc7b986abd4427e99b4157fe965c0\"", + "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": "4970", + "X-RateLimit-Reset": "1650312871", + "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": "C7A6:A10A:18E1046:1972AD5:625DC215" + } + }, + "uuid": "6e7c5b20-462c-4d99-a475-0fc0542b8b57", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission-3", + "newScenarioState": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission-4", + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-5.json new file mode 100644 index 0000000000..3edd3c46eb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-5.json @@ -0,0 +1,49 @@ +{ + "id": "8d75c13d-dbc2-499b-a5ec-2a11153bbbec", + "name": "repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission", + "request": { + "url": "/repos/hub4j-test-org/test-permission/collaborators/kohsuke/permission", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_test-permission_collaborators_kohsuke_permission-5.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 18 Apr 2022 19:55: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/\"81b4768f35337875d66460bab6be08a8e6bbc7b986abd4427e99b4157fe965c0\"", + "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": "4969", + "X-RateLimit-Reset": "1650312871", + "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": "C7A8:8952:E218E8:EA0F76:625DC216" + } + }, + "uuid": "8d75c13d-dbc2-499b-a5ec-2a11153bbbec", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission-4", + "newScenarioState": "scenario-1-repos-hub4j-test-org-test-permission-collaborators-kohsuke-permission-5", + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/users_kohsuke-10.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/users_kohsuke-10.json new file mode 100644 index 0000000000..1aaa7bc713 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/hasPermission/mappings/users_kohsuke-10.json @@ -0,0 +1,47 @@ +{ + "id": "8e9d982b-ca60-4410-a263-d2c49834c0df", + "name": "users_kohsuke", + "request": { + "url": "/users/kohsuke", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "users_kohsuke-10.json", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 18 Apr 2022 19:55: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/\"4ca7cbddf39c9811d84469a3e5d3d4e4e577b18bc9798e19eac336ba991a7300\"", + "Last-Modified": "Sun, 10 Apr 2022 22:58: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": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4964", + "X-RateLimit-Reset": "1650312871", + "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": "C7B2:C448:2A6BF2A:2B14CE1:625DC217" + } + }, + "uuid": "8e9d982b-ca60-4410-a263-d2c49834c0df", + "persistent": true, + "insertionIndex": 10 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabled/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabled/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..f176fc4ff5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabled/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,42 @@ +{ + "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, + "members_allowed_repository_creation_type": "none", + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 0, + "filled_seats": 3, + "seats": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabled/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabled/__files/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..d34f6ef7a1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabled/__files/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,330 @@ +{ + "id": 206888201, + "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", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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-25T23:32:35Z", + "pushed_at": "2019-09-21T14:29:14Z", + "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": 11387, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j", + "html_url": "https://github.com/hub4j", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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-09-25T22:47:32Z", + "pushed_at": "2019-09-25T22:56:18Z", + "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": 11678, + "stargazers_count": 553, + "watchers_count": 553, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 427, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 96, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 427, + "open_issues": 96, + "watchers": 553, + "default_branch": "main" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j", + "html_url": "https://github.com/hub4j", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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-09-25T22:47:32Z", + "pushed_at": "2019-09-25T22:56:18Z", + "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": 11678, + "stargazers_count": 553, + "watchers_count": 553, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 427, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 96, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 427, + "open_issues": 96, + "watchers": 553, + "default_branch": "main" + }, + "network_count": 427, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabled/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabled/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..e3ce24572d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabled/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,48 @@ +{ + "id": "cb173af2-c793-444a-acdf-c3850e7afdbe", + "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, 25 Sep 2019 23:35:58 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4989", + "X-RateLimit-Reset": "1569457884", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"b7989d48e6539c9c76038995b902421b\"", + "Last-Modified": "Mon, 20 Apr 2015 00:42:30 GMT", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "F855:59E1:1397ED7:171400E:5D8BF9DE" + } + }, + "uuid": "cb173af2-c793-444a-acdf-c3850e7afdbe", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabled/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabled/mappings/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..e70151202f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabled/mappings/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,51 @@ +{ + "id": "0a4d7a1a-f99c-47ca-840a-3e920c18bd1f", + "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, 25 Sep 2019 23:35:58 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4988", + "X-RateLimit-Reset": "1569457884", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0678d1c39ea574f68cc0fb330b067cb7\"", + "Last-Modified": "Wed, 25 Sep 2019 23:32:35 GMT", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "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": "F855:59E1:1397EEB:1714029:5D8BF9DE" + } + }, + "uuid": "0a4d7a1a-f99c-47ca-840a-3e920c18bd1f", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-github-api", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-2", + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabledTrue/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabledTrue/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..f176fc4ff5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabledTrue/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,42 @@ +{ + "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, + "members_allowed_repository_creation_type": "none", + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 0, + "filled_seats": 3, + "seats": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabledTrue/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabledTrue/__files/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..4438825c47 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabledTrue/__files/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,330 @@ +{ + "id": 206888201, + "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", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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-25T23:32:35Z", + "pushed_at": "2019-09-21T14:29:14Z", + "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": 11387, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": true, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j", + "html_url": "https://github.com/hub4j", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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-09-25T22:47:32Z", + "pushed_at": "2019-09-25T22:56:18Z", + "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": 11678, + "stargazers_count": 553, + "watchers_count": 553, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 427, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 96, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 427, + "open_issues": 96, + "watchers": 553, + "default_branch": "main" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j", + "html_url": "https://github.com/hub4j", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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-09-25T22:47:32Z", + "pushed_at": "2019-09-25T22:56:18Z", + "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": 11678, + "stargazers_count": 553, + "watchers_count": 553, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 427, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 96, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 427, + "open_issues": 96, + "watchers": 553, + "default_branch": "main" + }, + "network_count": 427, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabledTrue/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabledTrue/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..e3ce24572d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabledTrue/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,48 @@ +{ + "id": "cb173af2-c793-444a-acdf-c3850e7afdbe", + "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, 25 Sep 2019 23:35:58 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4989", + "X-RateLimit-Reset": "1569457884", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"b7989d48e6539c9c76038995b902421b\"", + "Last-Modified": "Mon, 20 Apr 2015 00:42:30 GMT", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "F855:59E1:1397ED7:171400E:5D8BF9DE" + } + }, + "uuid": "cb173af2-c793-444a-acdf-c3850e7afdbe", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabledTrue/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabledTrue/mappings/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..e70151202f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/isDisabledTrue/mappings/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,51 @@ +{ + "id": "0a4d7a1a-f99c-47ca-840a-3e920c18bd1f", + "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, 25 Sep 2019 23:35:58 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4988", + "X-RateLimit-Reset": "1569457884", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0678d1c39ea574f68cc0fb330b067cb7\"", + "Last-Modified": "Wed, 25 Sep 2019 23:32:35 GMT", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "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": "F855:59E1:1397EEB:1714029:5D8BF9DE" + } + }, + "uuid": "0a4d7a1a-f99c-47ca-840a-3e920c18bd1f", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-github-api", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-2", + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchOrgForRepositories/__files/search_repositories-38b9e8e0-1e08-418d-9c48-60599b732783.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchOrgForRepositories/__files/search_repositories-38b9e8e0-1e08-418d-9c48-60599b732783.json new file mode 100644 index 0000000000..d5ca500779 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchOrgForRepositories/__files/search_repositories-38b9e8e0-1e08-418d-9c48-60599b732783.json @@ -0,0 +1,3192 @@ +{ + "total_count": 45, + "incomplete_results": false, + "items": [ + { + "id": 256256652, + "node_id": "MDEwOlJlcG9zaXRvcnkyNTYyNTY2NTI=", + "name": "test-issue-events", + "full_name": "hub4j-test-org/test-issue-events", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/test-issue-events", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/test-issue-events", + "forks_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/test-issue-events/deployments", + "created_at": "2020-04-16T15:33:40Z", + "updated_at": "2020-04-16T15:34:43Z", + "pushed_at": "2020-04-16T15:33:41Z", + "git_url": "git://github.com/hub4j-test-org/test-issue-events.git", + "ssh_url": "git@github.com:hub4j-test-org/test-issue-events.git", + "clone_url": "https://github.com/hub4j-test-org/test-issue-events.git", + "svn_url": "https://github.com/hub4j-test-org/test-issue-events", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 434895672, + "node_id": "R_kgDOGev7OA", + "name": "github-api-test", + "full_name": "hub4j-test-org/github-api-test", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api-test", + "description": "A test repository for testing the github-api project: github-api-test", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/github-api-test", + "forks_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api-test/deployments", + "created_at": "2021-12-04T12:30:56Z", + "updated_at": "2021-12-04T12:31:00Z", + "pushed_at": "2021-12-04T12:30:57Z", + "git_url": "git://github.com/hub4j-test-org/github-api-test.git", + "ssh_url": "git@github.com:hub4j-test-org/github-api-test.git", + "clone_url": "https://github.com/hub4j-test-org/github-api-test.git", + "svn_url": "https://github.com/hub4j-test-org/github-api-test", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 434895770, + "node_id": "R_kgDOGev7mg", + "name": "temp-testHandler_Fail", + "full_name": "hub4j-test-org/temp-testHandler_Fail", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-testHandler_Fail", + "description": "A test repository for testing the github-api project: temp-testHandler_Fail", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Fail/deployments", + "created_at": "2021-12-04T12:31:20Z", + "updated_at": "2021-12-04T12:31:24Z", + "pushed_at": "2021-12-04T12:31:21Z", + "git_url": "git://github.com/hub4j-test-org/temp-testHandler_Fail.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-testHandler_Fail.git", + "clone_url": "https://github.com/hub4j-test-org/temp-testHandler_Fail.git", + "svn_url": "https://github.com/hub4j-test-org/temp-testHandler_Fail", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 348674220, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NzQyMjA=", + "name": "GHWorkflowRunTest", + "full_name": "hub4j-test-org/GHWorkflowRunTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest", + "description": "Repository used by GHWorkflowRunTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/deployments", + "created_at": "2021-03-17T10:50:49Z", + "updated_at": "2021-04-05T12:08:00Z", + "pushed_at": "2021-04-05T12:07:58Z", + "git_url": "git://github.com/hub4j-test-org/GHWorkflowRunTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHWorkflowRunTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest", + "homepage": null, + "size": 7, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 7, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 434896084, + "node_id": "R_kgDOGev81A", + "name": "temp-setMergeOptions", + "full_name": "hub4j-test-org/temp-setMergeOptions", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-setMergeOptions", + "description": "A test repository for testing the github-api project: temp-setMergeOptions", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-setMergeOptions/deployments", + "created_at": "2021-12-04T12:32:46Z", + "updated_at": "2021-12-04T12:32:49Z", + "pushed_at": "2021-12-04T12:32:46Z", + "git_url": "git://github.com/hub4j-test-org/temp-setMergeOptions.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-setMergeOptions.git", + "clone_url": "https://github.com/hub4j-test-org/temp-setMergeOptions.git", + "svn_url": "https://github.com/hub4j-test-org/temp-setMergeOptions", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 19650334, + "node_id": "MDEwOlJlcG9zaXRvcnkxOTY1MDMzNA==", + "name": "testGetTeamsForRepo", + "full_name": "hub4j-test-org/testGetTeamsForRepo", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/testGetTeamsForRepo", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo", + "forks_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/testGetTeamsForRepo/deployments", + "created_at": "2014-05-10T19:42:15Z", + "updated_at": "2014-05-10T19:42:15Z", + "pushed_at": "2014-05-10T19:42:15Z", + "git_url": "git://github.com/hub4j-test-org/testGetTeamsForRepo.git", + "ssh_url": "git@github.com:hub4j-test-org/testGetTeamsForRepo.git", + "clone_url": "https://github.com/hub4j-test-org/testGetTeamsForRepo.git", + "svn_url": "https://github.com/hub4j-test-org/testGetTeamsForRepo", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 434895960, + "node_id": "R_kgDOGev8WA", + "name": "temp-testGetters", + "full_name": "hub4j-test-org/temp-testGetters", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-testGetters", + "description": "A test repository for testing the github-api project: temp-testGetters", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetters/deployments", + "created_at": "2021-12-04T12:32:12Z", + "updated_at": "2021-12-04T12:32:16Z", + "pushed_at": "2021-12-04T12:32:13Z", + "git_url": "git://github.com/hub4j-test-org/temp-testGetters.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-testGetters.git", + "clone_url": "https://github.com/hub4j-test-org/temp-testGetters.git", + "svn_url": "https://github.com/hub4j-test-org/temp-testGetters", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 434897406, + "node_id": "R_kgDOGewB_g", + "name": "temp-testEnableBranchProtections", + "full_name": "hub4j-test-org/temp-testEnableBranchProtections", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-testEnableBranchProtections", + "description": "A test repository for testing the github-api project: temp-testEnableBranchProtections", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-testEnableBranchProtections/deployments", + "created_at": "2021-12-04T12:39:34Z", + "updated_at": "2021-12-04T12:39:37Z", + "pushed_at": "2021-12-04T12:39:34Z", + "git_url": "git://github.com/hub4j-test-org/temp-testEnableBranchProtections.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-testEnableBranchProtections.git", + "clone_url": "https://github.com/hub4j-test-org/temp-testEnableBranchProtections.git", + "svn_url": "https://github.com/hub4j-test-org/temp-testEnableBranchProtections", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 434895785, + "node_id": "R_kgDOGev7qQ", + "name": "temp-testHandler_Wait", + "full_name": "hub4j-test-org/temp-testHandler_Wait", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-testHandler_Wait", + "description": "A test repository for testing the github-api project: temp-testHandler_Wait", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_Wait/deployments", + "created_at": "2021-12-04T12:31:26Z", + "updated_at": "2021-12-04T12:31:30Z", + "pushed_at": "2021-12-04T12:31:27Z", + "git_url": "git://github.com/hub4j-test-org/temp-testHandler_Wait.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-testHandler_Wait.git", + "clone_url": "https://github.com/hub4j-test-org/temp-testHandler_Wait.git", + "svn_url": "https://github.com/hub4j-test-org/temp-testHandler_Wait", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 60391080, + "node_id": "MDEwOlJlcG9zaXRvcnk2MDM5MTA4MA==", + "name": "empty", + "full_name": "hub4j-test-org/empty", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/empty", + "description": "Repository that has no contributor", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/empty", + "forks_url": "https://api.github.com/repos/hub4j-test-org/empty/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/empty/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/empty/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/empty/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/empty/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/empty/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/empty/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/empty/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/empty/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/empty/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/empty/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/empty/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/empty/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/empty/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/empty/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/empty/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/empty/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/empty/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/empty/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/empty/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/empty/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/empty/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/empty/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/empty/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/empty/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/empty/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/empty/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/empty/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/empty/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/empty/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/empty/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/empty/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/empty/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/empty/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/empty/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/empty/deployments", + "created_at": "2016-06-04T03:22:22Z", + "updated_at": "2016-06-04T03:22:22Z", + "pushed_at": "2016-06-04T03:22:23Z", + "git_url": "git://github.com/hub4j-test-org/empty.git", + "ssh_url": "git@github.com:hub4j-test-org/empty.git", + "clone_url": "https://github.com/hub4j-test-org/empty.git", + "svn_url": "https://github.com/hub4j-test-org/empty", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 410203210, + "node_id": "R_kgDOGHM0Sg", + "name": "testQueryIssues", + "full_name": "hub4j-test-org/testQueryIssues", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/testQueryIssues", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues", + "forks_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/testQueryIssues/deployments", + "created_at": "2021-09-25T07:12:04Z", + "updated_at": "2021-09-25T07:12:07Z", + "pushed_at": "2021-09-25T07:12:05Z", + "git_url": "git://github.com/hub4j-test-org/testQueryIssues.git", + "ssh_url": "git@github.com:hub4j-test-org/testQueryIssues.git", + "clone_url": "https://github.com/hub4j-test-org/testQueryIssues.git", + "svn_url": "https://github.com/hub4j-test-org/testQueryIssues", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 6, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 6, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 434895805, + "node_id": "R_kgDOGev7vQ", + "name": "temp-testHandler_WaitStuck", + "full_name": "hub4j-test-org/temp-testHandler_WaitStuck", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-testHandler_WaitStuck", + "description": "A test repository for testing the github-api project: temp-testHandler_WaitStuck", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-testHandler_WaitStuck/deployments", + "created_at": "2021-12-04T12:31:33Z", + "updated_at": "2021-12-04T12:31:37Z", + "pushed_at": "2021-12-04T12:31:34Z", + "git_url": "git://github.com/hub4j-test-org/temp-testHandler_WaitStuck.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-testHandler_WaitStuck.git", + "clone_url": "https://github.com/hub4j-test-org/temp-testHandler_WaitStuck.git", + "svn_url": "https://github.com/hub4j-test-org/temp-testHandler_WaitStuck", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 434895915, + "node_id": "R_kgDOGev8Kw", + "name": "temp-getRefsHeads", + "full_name": "hub4j-test-org/temp-getRefsHeads", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-getRefsHeads", + "description": "A test repository for testing the github-api project: temp-getRefsHeads", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsHeads/deployments", + "created_at": "2021-12-04T12:32:01Z", + "updated_at": "2021-12-04T12:32:05Z", + "pushed_at": "2021-12-04T12:32:02Z", + "git_url": "git://github.com/hub4j-test-org/temp-getRefsHeads.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-getRefsHeads.git", + "clone_url": "https://github.com/hub4j-test-org/temp-getRefsHeads.git", + "svn_url": "https://github.com/hub4j-test-org/temp-getRefsHeads", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 375534019, + "node_id": "MDEwOlJlcG9zaXRvcnkzNzU1MzQwMTk=", + "name": "testCreateRelease", + "full_name": "hub4j-test-org/testCreateRelease", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/testCreateRelease", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease", + "forks_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/testCreateRelease/deployments", + "created_at": "2021-06-10T01:25:59Z", + "updated_at": "2021-06-10T01:31:14Z", + "pushed_at": "2021-06-14T20:07:53Z", + "git_url": "git://github.com/hub4j-test-org/testCreateRelease.git", + "ssh_url": "git@github.com:hub4j-test-org/testCreateRelease.git", + "clone_url": "https://github.com/hub4j-test-org/testCreateRelease.git", + "svn_url": "https://github.com/hub4j-test-org/testCreateRelease", + "homepage": null, + "size": 11948, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": false, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 434895872, + "node_id": "R_kgDOGev8AA", + "name": "temp-listRefsHeads", + "full_name": "hub4j-test-org/temp-listRefsHeads", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-listRefsHeads", + "description": "A test repository for testing the github-api project: temp-listRefsHeads", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-listRefsHeads/deployments", + "created_at": "2021-12-04T12:31:50Z", + "updated_at": "2021-12-04T12:31:53Z", + "pushed_at": "2021-12-04T12:31:50Z", + "git_url": "git://github.com/hub4j-test-org/temp-listRefsHeads.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-listRefsHeads.git", + "clone_url": "https://github.com/hub4j-test-org/temp-listRefsHeads.git", + "svn_url": "https://github.com/hub4j-test-org/temp-listRefsHeads", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 434896040, + "node_id": "R_kgDOGev8qA", + "name": "temp-createDispatchEventWithoutClientPayload", + "full_name": "hub4j-test-org/temp-createDispatchEventWithoutClientPayload", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-createDispatchEventWithoutClientPayload", + "description": "A test repository for testing the github-api project: temp-createDispatchEventWithoutClientPayload", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithoutClientPayload/deployments", + "created_at": "2021-12-04T12:32:34Z", + "updated_at": "2021-12-04T12:32:37Z", + "pushed_at": "2021-12-04T12:32:35Z", + "git_url": "git://github.com/hub4j-test-org/temp-createDispatchEventWithoutClientPayload.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-createDispatchEventWithoutClientPayload.git", + "clone_url": "https://github.com/hub4j-test-org/temp-createDispatchEventWithoutClientPayload.git", + "svn_url": "https://github.com/hub4j-test-org/temp-createDispatchEventWithoutClientPayload", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 434896014, + "node_id": "R_kgDOGev8jg", + "name": "temp-getRefs", + "full_name": "hub4j-test-org/temp-getRefs", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-getRefs", + "description": "A test repository for testing the github-api project: temp-getRefs", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefs/deployments", + "created_at": "2021-12-04T12:32:28Z", + "updated_at": "2021-12-04T12:32:31Z", + "pushed_at": "2021-12-04T12:32:29Z", + "git_url": "git://github.com/hub4j-test-org/temp-getRefs.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-getRefs.git", + "clone_url": "https://github.com/hub4j-test-org/temp-getRefs.git", + "svn_url": "https://github.com/hub4j-test-org/temp-getRefs", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 434897329, + "node_id": "R_kgDOGewBsQ", + "name": "temp-testMergeBranch", + "full_name": "hub4j-test-org/temp-testMergeBranch", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-testMergeBranch", + "description": "A test repository for testing the github-api project: temp-testMergeBranch", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-testMergeBranch/deployments", + "created_at": "2021-12-04T12:39:12Z", + "updated_at": "2021-12-04T12:39:15Z", + "pushed_at": "2021-12-04T12:39:12Z", + "git_url": "git://github.com/hub4j-test-org/temp-testMergeBranch.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-testMergeBranch.git", + "clone_url": "https://github.com/hub4j-test-org/temp-testMergeBranch.git", + "svn_url": "https://github.com/hub4j-test-org/temp-testMergeBranch", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 435782544, + "node_id": "R_kgDOGfmDkA", + "name": "temp-testMappingReaderWriter", + "full_name": "hub4j-test-org/temp-testMappingReaderWriter", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-testMappingReaderWriter", + "description": "A test repository for testing the github-api project: temp-testMappingReaderWriter", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-testMappingReaderWriter/deployments", + "created_at": "2021-12-07T07:23:59Z", + "updated_at": "2021-12-07T07:24:02Z", + "pushed_at": "2021-12-07T07:24:00Z", + "git_url": "git://github.com/hub4j-test-org/temp-testMappingReaderWriter.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-testMappingReaderWriter.git", + "clone_url": "https://github.com/hub4j-test-org/temp-testMappingReaderWriter.git", + "svn_url": "https://github.com/hub4j-test-org/temp-testMappingReaderWriter", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 435775465, + "node_id": "R_kgDOGfln6Q", + "name": "temp-testMIMESmall", + "full_name": "hub4j-test-org/temp-testMIMESmall", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-testMIMESmall", + "description": "A test repository for testing the github-api project: temp-testMIMESmall", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMESmall/deployments", + "created_at": "2021-12-07T06:56:45Z", + "updated_at": "2021-12-07T06:56:48Z", + "pushed_at": "2021-12-07T06:56:46Z", + "git_url": "git://github.com/hub4j-test-org/temp-testMIMESmall.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-testMIMESmall.git", + "clone_url": "https://github.com/hub4j-test-org/temp-testMIMESmall.git", + "svn_url": "https://github.com/hub4j-test-org/temp-testMIMESmall", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 435775404, + "node_id": "R_kgDOGflnrA", + "name": "temp-testMIMELong", + "full_name": "hub4j-test-org/temp-testMIMELong", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-testMIMELong", + "description": "A test repository for testing the github-api project: temp-testMIMELong", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-testMIMELong/deployments", + "created_at": "2021-12-07T06:56:30Z", + "updated_at": "2021-12-07T06:56:33Z", + "pushed_at": "2021-12-07T06:56:31Z", + "git_url": "git://github.com/hub4j-test-org/temp-testMIMELong.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-testMIMELong.git", + "clone_url": "https://github.com/hub4j-test-org/temp-testMIMELong.git", + "svn_url": "https://github.com/hub4j-test-org/temp-testMIMELong", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 434897437, + "node_id": "R_kgDOGewCHQ", + "name": "temp-testGetProtection", + "full_name": "hub4j-test-org/temp-testGetProtection", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-testGetProtection", + "description": "A test repository for testing the github-api project: temp-testGetProtection", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-testGetProtection/deployments", + "created_at": "2021-12-04T12:39:43Z", + "updated_at": "2021-12-04T12:39:46Z", + "pushed_at": "2021-12-04T12:39:44Z", + "git_url": "git://github.com/hub4j-test-org/temp-testGetProtection.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-testGetProtection.git", + "clone_url": "https://github.com/hub4j-test-org/temp-testGetProtection.git", + "svn_url": "https://github.com/hub4j-test-org/temp-testGetProtection", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 434896171, + "node_id": "R_kgDOGev9Kw", + "name": "temp-createDispatchEventWithClientPayload", + "full_name": "hub4j-test-org/temp-createDispatchEventWithClientPayload", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-createDispatchEventWithClientPayload", + "description": "A test repository for testing the github-api project: temp-createDispatchEventWithClientPayload", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-createDispatchEventWithClientPayload/deployments", + "created_at": "2021-12-04T12:33:13Z", + "updated_at": "2021-12-04T12:33:17Z", + "pushed_at": "2021-12-04T12:33:14Z", + "git_url": "git://github.com/hub4j-test-org/temp-createDispatchEventWithClientPayload.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-createDispatchEventWithClientPayload.git", + "clone_url": "https://github.com/hub4j-test-org/temp-createDispatchEventWithClientPayload.git", + "svn_url": "https://github.com/hub4j-test-org/temp-createDispatchEventWithClientPayload", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 434895994, + "node_id": "R_kgDOGev8eg", + "name": "temp-testUpdateRepository", + "full_name": "hub4j-test-org/temp-testUpdateRepository", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-testUpdateRepository", + "description": "A test repository for testing the github-api project: temp-testUpdateRepository", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-testUpdateRepository/deployments", + "created_at": "2021-12-04T12:32:22Z", + "updated_at": "2021-12-04T12:32:25Z", + "pushed_at": "2021-12-04T12:32:23Z", + "git_url": "git://github.com/hub4j-test-org/temp-testUpdateRepository.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-testUpdateRepository.git", + "clone_url": "https://github.com/hub4j-test-org/temp-testUpdateRepository.git", + "svn_url": "https://github.com/hub4j-test-org/temp-testUpdateRepository", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 434896062, + "node_id": "R_kgDOGev8vg", + "name": "test-repo-visibility", + "full_name": "hub4j-test-org/test-repo-visibility", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/test-repo-visibility", + "description": "A test repository for testing the github-api project: test-repo-visibility", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility", + "forks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility/deployments", + "created_at": "2021-12-04T12:32:40Z", + "updated_at": "2021-12-04T12:32:44Z", + "pushed_at": "2021-12-04T12:32:41Z", + "git_url": "git://github.com/hub4j-test-org/test-repo-visibility.git", + "ssh_url": "git@github.com:hub4j-test-org/test-repo-visibility.git", + "clone_url": "https://github.com/hub4j-test-org/test-repo-visibility.git", + "svn_url": "https://github.com/hub4j-test-org/test-repo-visibility", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 434897492, + "node_id": "R_kgDOGewCVA", + "name": "temp-testSignedCommits", + "full_name": "hub4j-test-org/temp-testSignedCommits", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-testSignedCommits", + "description": "A test repository for testing the github-api project: temp-testSignedCommits", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-testSignedCommits/deployments", + "created_at": "2021-12-04T12:39:58Z", + "updated_at": "2021-12-04T12:40:01Z", + "pushed_at": "2021-12-04T12:39:59Z", + "git_url": "git://github.com/hub4j-test-org/temp-testSignedCommits.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-testSignedCommits.git", + "clone_url": "https://github.com/hub4j-test-org/temp-testSignedCommits.git", + "svn_url": "https://github.com/hub4j-test-org/temp-testSignedCommits", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 434895847, + "node_id": "R_kgDOGev75w", + "name": "temp-testTarball", + "full_name": "hub4j-test-org/temp-testTarball", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-testTarball", + "description": "A test repository for testing the github-api project: temp-testTarball", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-testTarball/deployments", + "created_at": "2021-12-04T12:31:44Z", + "updated_at": "2021-12-04T12:31:47Z", + "pushed_at": "2021-12-04T12:31:45Z", + "git_url": "git://github.com/hub4j-test-org/temp-testTarball.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-testTarball.git", + "clone_url": "https://github.com/hub4j-test-org/temp-testTarball.git", + "svn_url": "https://github.com/hub4j-test-org/temp-testTarball", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 30830186, + "node_id": "MDEwOlJlcG9zaXRvcnkzMDgzMDE4Ng==", + "name": "test-labels", + "full_name": "hub4j-test-org/test-labels", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/test-labels", + "description": "Tests labels on issues", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/test-labels", + "forks_url": "https://api.github.com/repos/hub4j-test-org/test-labels/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/test-labels/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-labels/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/test-labels/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/test-labels/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-labels/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/test-labels/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/test-labels/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/test-labels/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/test-labels/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/test-labels/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-labels/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-labels/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/test-labels/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/test-labels/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/test-labels/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-labels/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/test-labels/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-labels/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/test-labels/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/test-labels/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-labels/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/test-labels/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-labels/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/test-labels/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/test-labels/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/test-labels/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/test-labels/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/test-labels/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/test-labels/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/test-labels/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/test-labels/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/test-labels/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/test-labels/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/test-labels/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/test-labels/deployments", + "created_at": "2015-02-15T14:49:09Z", + "updated_at": "2015-02-15T14:49:09Z", + "pushed_at": "2015-02-15T14:49:10Z", + "git_url": "git://github.com/hub4j-test-org/test-labels.git", + "ssh_url": "git@github.com:hub4j-test-org/test-labels.git", + "clone_url": "https://github.com/hub4j-test-org/test-labels.git", + "svn_url": "https://github.com/hub4j-test-org/test-labels", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "master", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 434896100, + "node_id": "R_kgDOGev85A", + "name": "temp-getRefsEmptyTags", + "full_name": "hub4j-test-org/temp-getRefsEmptyTags", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-getRefsEmptyTags", + "description": "A test repository for testing the github-api project: temp-getRefsEmptyTags", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-getRefsEmptyTags/deployments", + "created_at": "2021-12-04T12:32:51Z", + "updated_at": "2021-12-04T12:32:55Z", + "pushed_at": "2021-12-04T12:32:52Z", + "git_url": "git://github.com/hub4j-test-org/temp-getRefsEmptyTags.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-getRefsEmptyTags.git", + "clone_url": "https://github.com/hub4j-test-org/temp-getRefsEmptyTags.git", + "svn_url": "https://github.com/hub4j-test-org/temp-getRefsEmptyTags", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + }, + { + "id": 434895896, + "node_id": "R_kgDOGev8GA", + "name": "temp-testZipball", + "full_name": "hub4j-test-org/temp-testZipball", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/temp-testZipball", + "description": "A test repository for testing the github-api project: temp-testZipball", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball", + "forks_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/temp-testZipball/deployments", + "created_at": "2021-12-04T12:31:56Z", + "updated_at": "2021-12-04T12:31:59Z", + "pushed_at": "2021-12-04T12:31:57Z", + "git_url": "git://github.com/hub4j-test-org/temp-testZipball.git", + "ssh_url": "git@github.com:hub4j-test-org/temp-testZipball.git", + "clone_url": "https://github.com/hub4j-test-org/temp-testZipball.git", + "svn_url": "https://github.com/hub4j-test-org/temp-testZipball", + "homepage": "http://github-api.kohsuke.org/", + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 1, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 1, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": false, + "maintain": false, + "push": false, + "triage": false, + "pull": true + }, + "score": 1 + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchOrgForRepositories/mappings/search_repositories-38b9e8e0-1e08-418d-9c48-60599b732783.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchOrgForRepositories/mappings/search_repositories-38b9e8e0-1e08-418d-9c48-60599b732783.json new file mode 100644 index 0000000000..0768ee797c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/searchOrgForRepositories/mappings/search_repositories-38b9e8e0-1e08-418d-9c48-60599b732783.json @@ -0,0 +1,46 @@ +{ + "id": "38b9e8e0-1e08-418d-9c48-60599b732783", + "name": "search_repositories", + "request": { + "url": "/search/repositories?q=org%3Ahub4j-test-org", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "search_repositories-38b9e8e0-1e08-418d-9c48-60599b732783.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 15 Feb 2022 05:39:25 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "no-cache", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "X-OAuth-Scopes": "gist, read:discussion, read:org, read:packages, read:user, repo, user:email, workflow", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "30", + "X-RateLimit-Remaining": "29", + "X-RateLimit-Reset": "1644903625", + "X-RateLimit-Used": "1", + "X-RateLimit-Resource": "search", + "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": "EBD4:EA93:C06301:CF0868:620B3C8D", + "Link": "; rel=\"next\", ; rel=\"last\"" + } + }, + "uuid": "38b9e8e0-1e08-418d-9c48-60599b732783", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/__files/orgs_hub4j-test-org.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/__files/orgs_hub4j-test-org.json new file mode 100644 index 0000000000..54173e5a10 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/__files/orgs_hub4j-test-org.json @@ -0,0 +1,41 @@ +{ + "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": 10, + "seats": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/__files/repos_hub4j-test-org_github-api-starred-users.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/__files/repos_hub4j-test-org_github-api-starred-users.json new file mode 100644 index 0000000000..1155b5f6c8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/__files/repos_hub4j-test-org_github-api-starred-users.json @@ -0,0 +1,25 @@ +[ + { + "starred_at": "2010-04-19T04:13:03Z", + "user": { + "login": "hub4j-test-org", + "id": 9799, + "node_id": "MDQ6VXNlcjk3OTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9799?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "User", + "site_admin": false + } + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/__files/repos_hub4j-test-org_github-api.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/__files/repos_hub4j-test-org_github-api.json new file mode 100644 index 0000000000..312a26362c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/__files/repos_hub4j-test-org_github-api.json @@ -0,0 +1,330 @@ +{ + "id": 206888201, + "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", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "description": "Resetting", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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", + "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, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j", + "html_url": "https://github.com/hub4j", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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-12-04T10:56:12Z", + "pushed_at": "2019-12-04T14:15:10Z", + "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": 17060, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 443, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 56, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 443, + "open_issues": 56, + "watchers": 585, + "default_branch": "main" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j", + "html_url": "https://github.com/hub4j", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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-12-04T10:56:12Z", + "pushed_at": "2019-12-04T14:15:10Z", + "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": 17060, + "stargazers_count": 585, + "watchers_count": 585, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 443, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 56, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 443, + "open_issues": 56, + "watchers": 585, + "default_branch": "main" + }, + "network_count": 443, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/__files/user.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/__files/user.json new file mode 100644 index 0000000000..68c8dbe653 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/__files/user.json @@ -0,0 +1,33 @@ +{ + "login": "hub4j-test-org", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "hub4j-test-org@gmail.com", + "hireable": null, + "bio": "https://twitter.com/hub4j-test-org", + "public_repos": 166, + "public_gists": 4, + "followers": 135, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/mappings/orgs_hub4j-test-org.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/mappings/orgs_hub4j-test-org.json new file mode 100644 index 0000000000..0c9eb0f7fa --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/mappings/orgs_hub4j-test-org.json @@ -0,0 +1,48 @@ +{ + "id": "d319a11c-9dce-4642-a18a-175f6cdbde6d", + "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.json", + "headers": { + "Date": "Wed, 04 Dec 2019 17:07:18 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4956", + "X-RateLimit-Reset": "1575482837", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"1de516fab0228945881043c1bc527c88\"", + "Last-Modified": "Mon, 20 Apr 2015 00:42:30 GMT", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "A585:3D530:D2A1AF3:FAB1EAD:5DE7E7C5" + } + }, + "uuid": "d319a11c-9dce-4642-a18a-175f6cdbde6d", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/mappings/repos_hub4j-test-org_github-api-starred.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/mappings/repos_hub4j-test-org_github-api-starred.json new file mode 100644 index 0000000000..e869cd0c6e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/mappings/repos_hub4j-test-org_github-api-starred.json @@ -0,0 +1,16 @@ +{ + "id": "4c1e8c73-a989-4625-8582-5fa6a2f88f4d", + "name": "repos_hub4j-test-org_github-api-starred", + "request": { + "url": "/user/starred/hub4j-test-org/github-api", + "method": "PUT", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/mappings/repos_hub4j-test-org_github-api-unstarred.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/mappings/repos_hub4j-test-org_github-api-unstarred.json new file mode 100644 index 0000000000..86308c991c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/mappings/repos_hub4j-test-org_github-api-unstarred.json @@ -0,0 +1,16 @@ +{ + "id": "4c1e8c73-a989-4625-8582-5fa6a2f88f4d", + "name": "repos_hub4j-test-org_github-api-starred", + "request": { + "url": "/user/starred/hub4j-test-org/github-api", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/mappings/repos_hub4j-test-org_github-api.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/mappings/repos_hub4j-test-org_github-api.json new file mode 100644 index 0000000000..eebaac8b76 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/mappings/repos_hub4j-test-org_github-api.json @@ -0,0 +1,48 @@ +{ + "id": "4c1e8c73-a989-4625-8582-5fa6a2f88f4d", + "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.json", + "headers": { + "Date": "Wed, 04 Dec 2019 17:07:19 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4955", + "X-RateLimit-Reset": "1575482837", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"bd13c31938217e87f61c9a08bd0fe01d\"", + "Last-Modified": "Thu, 07 Nov 2019 22:27:11 GMT", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "A585:3D530:D2A1B48:FAB201E:5DE7E7C6" + } + }, + "uuid": "4c1e8c73-a989-4625-8582-5fa6a2f88f4d", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/mappings/repos_hub4j-test-org_github-api_starred-users.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/mappings/repos_hub4j-test-org_github-api_starred-users.json new file mode 100644 index 0000000000..3b6cf79f81 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/mappings/repos_hub4j-test-org_github-api_starred-users.json @@ -0,0 +1,47 @@ +{ + "id": "a8dd4fb9-0ec7-4a93-b642-193312795e64", + "name": "repos_hub4j-test-org_github-api_stargazers", + "request": { + "url": "/repos/hub4j-test-org/github-api/stargazers", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3.star+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api-starred-users.json", + "headers": { + "Date": "Mon, 25 Jan 2021 01:00:35 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": "\"c0ae8d4e2de626e3c17a734d124e620264c64895ab868c0914ace984cce8cef8\"", + "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": "github.v3; param=star; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4943", + "X-RateLimit-Reset": "1611538431", + "x-ratelimit-used": "57", + "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": "FEDB:9997:871A4E:9D45ED:600E1833" + } + }, + "uuid": "a8dd4fb9-0ec7-4a93-b642-193312795e64", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/mappings/repos_hub4j-test-org_github-api_unstarred-users.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/mappings/repos_hub4j-test-org_github-api_unstarred-users.json new file mode 100644 index 0000000000..67eef7a242 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/mappings/repos_hub4j-test-org_github-api_unstarred-users.json @@ -0,0 +1,47 @@ +{ + "id": "a8dd4fb9-0ec7-4a93-b642-193312795e64", + "name": "repos_hub4j-test-org_github-api_stargazers", + "request": { + "url": "/repos/hub4j-test-org/github-api/stargazers", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Date": "Mon, 25 Jan 2021 01:00:35 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": "\"c0ae8d4e2de626e3c17a734d124e620264c64895ab868c0914ace984cce8cef8\"", + "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": "github.v3; param=star; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4943", + "X-RateLimit-Reset": "1611538431", + "x-ratelimit-used": "57", + "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": "FEDB:9997:871A4E:9D45ED:600E1833" + } + }, + "uuid": "a8dd4fb9-0ec7-4a93-b642-193312795e64", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/mappings/user.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/mappings/user.json new file mode 100644 index 0000000000..1a514ad25a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/starTest/mappings/user.json @@ -0,0 +1,48 @@ +{ + "id": "7f6e9a01-5bfa-4f72-9947-07df902f56c3", + "name": "user", + "request": { + "url": "/users/hub4j-test-org", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user.json", + "headers": { + "Date": "Wed, 25 Sep 2019 23:35:33 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4992", + "X-RateLimit-Reset": "1569457884", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"14ffd29009ddc2209c450bb29a5a8330\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "F845:5D1D:FFA88A:12FE539:5D8BF9C5" + } + }, + "uuid": "7f6e9a01-5bfa-4f72-9947-07df902f56c3", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..25c602bdf3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,58 @@ +{ + "login": "hub4j-test-org", + "id": 59470614, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NDcwNjE0", + "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/59470614?v=4", + "description": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 1, + "public_gists": 0, + "followers": 9, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2020-01-03T09:09:41Z", + "updated_at": "2023-05-15T08:11:52Z", + "type": "Organization", + "total_private_repos": 1630, + "owned_private_repos": 1671, + "private_gists": 0, + "disk_usage": 4872624, + "collaborators": 75, + "billing_email": "garridobarrera@gmail.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, + "web_commit_signoff_required": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "enterprise", + "space": 976562499, + "private_repos": 999999, + "filled_seats": 5153, + "seats": 5664 + }, + "advanced_security_enabled_for_new_repositories": false, + "dependabot_alerts_enabled_for_new_repositories": false, + "dependabot_security_updates_enabled_for_new_repositories": false, + "dependency_graph_enabled_for_new_repositories": false, + "secret_scanning_enabled_for_new_repositories": false, + "secret_scanning_push_protection_enabled_for_new_repositories": false, + "secret_scanning_push_protection_custom_link_enabled": false, + "secret_scanning_push_protection_custom_link": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..7aae05a540 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,143 @@ +{ + "id": 649619181, + "node_id": "R_kgDOJrhm7Q", + "name": "github-api", + "full_name": "hub4j-test-org/github-api", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 59470614, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NDcwNjE0", + "avatar_url": "https://avatars.githubusercontent.com/u/59470614?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "description": "github-api", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/github-api", + "forks_url": "https://api.github.com/repos/hub4j-test-org/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "2023-06-05T09:18:13Z", + "updated_at": "2023-06-05T09:18:21Z", + "pushed_at": "2023-06-05T09:18:39Z", + "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": null, + "size": 7, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "topiclanguage" + ], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "develop", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "ABVSGFWK3NHJBUL36IBMZGDEPX2UC", + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_auto_merge": false, + "delete_branch_on_merge": true, + "allow_update_branch": false, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 59470614, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NDcwNjE0", + "avatar_url": "https://avatars.githubusercontent.com/u/59470614?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/__files/user-1.json new file mode 100644 index 0000000000..08775b9cda --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/__files/user-1.json @@ -0,0 +1,46 @@ +{ + "login": "garridobarrera", + "id": 7021334, + "node_id": "MDQ6VXNlcjcwMjEzMzQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/7021334?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/garridobarrera", + "html_url": "https://github.com/garridobarrera", + "followers_url": "https://api.github.com/users/garridobarrera/followers", + "following_url": "https://api.github.com/users/garridobarrera/following{/other_user}", + "gists_url": "https://api.github.com/users/garridobarrera/gists{/gist_id}", + "starred_url": "https://api.github.com/users/garridobarrera/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/garridobarrera/subscriptions", + "organizations_url": "https://api.github.com/users/garridobarrera/orgs", + "repos_url": "https://api.github.com/users/garridobarrera/repos", + "events_url": "https://api.github.com/users/garridobarrera/events{/privacy}", + "received_events_url": "https://api.github.com/users/garridobarrera/received_events", + "type": "User", + "site_admin": false, + "name": "JosÊ Manuel Garrido Barrera", + "company": "personal", + "blog": "", + "location": null, + "email": "garridobarrera@gmail.com", + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 11, + "public_gists": 0, + "followers": 3, + "following": 3, + "created_at": "2014-03-21T10:37:00Z", + "updated_at": "2023-03-13T11:32:23Z", + "private_gists": 0, + "total_private_repos": 2, + "owned_private_repos": 2, + "disk_usage": 5935, + "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/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..f318bc0c90 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,50 @@ +{ + "id": "627a7493-f294-4a21-a6ef-088614dc0a2b", + "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": { + "Server": "GitHub.com", + "Date": "Mon, 05 Jun 2023 14:41:25 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"46a40cb19e416c1d2dce19a8db11c0f32801a98a0c629dfa70fd25358454e97d\"", + "Last-Modified": "Mon, 15 May 2023 08:11:52 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4908", + "X-RateLimit-Reset": "1685976900", + "X-RateLimit-Used": "92", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CC83:0BAC:1A459532:1A85271D:647DF414" + } + }, + "uuid": "627a7493-f294-4a21-a6ef-088614dc0a2b", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..c053aae44b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,50 @@ +{ + "id": "587b0fb2-3a43-490f-87f3-9efbee755d6c", + "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": { + "Server": "GitHub.com", + "Date": "Mon, 05 Jun 2023 14:41:25 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"ad2ec095079899332f528baec4441d362d0e6e5594b29ff93423e00ce1f5350b\"", + "Last-Modified": "Mon, 05 Jun 2023 09:18:21 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4907", + "X-RateLimit-Reset": "1685976900", + "X-RateLimit-Used": "93", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CC84:10E3E:13C847C2:13FF891F:647DF415" + } + }, + "uuid": "587b0fb2-3a43-490f-87f3-9efbee755d6c", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables-4.json new file mode 100644 index 0000000000..f26779ad34 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables-4.json @@ -0,0 +1,56 @@ +{ + "id": "d4b69248-b4cb-4f60-a649-1c78718bc875", + "name": "repos_hub4j-test-org_github-api_actions_variables", + "request": { + "url": "/repos/hub4j-test-org/github-api/actions/variables", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"name\":\"MYNEWVARIABLE\",\"value\":\"mynewvalue\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "body": "{}", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 05 Jun 2023 14:41:26 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"6ea51f14160aa76cc240aa74ee94683a5648fedf8df8670960086d035ede1436\"", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4906", + "X-RateLimit-Reset": "1685976900", + "X-RateLimit-Used": "94", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CC85:8B14:10B524FC:10E4767F:647DF415" + } + }, + "uuid": "d4b69248-b4cb-4f60-a649-1c78718bc875", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-5.json new file mode 100644 index 0000000000..2fe5ed18ed --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-5.json @@ -0,0 +1,49 @@ +{ + "id": "0deec025-c7ce-4a95-863a-58c8bf52fe42", + "name": "repos_hub4j-test-org_github-api_actions_variables_mynewvariable", + "request": { + "url": "/repos/hub4j-test-org/github-api/actions/variables/mynewvariable", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"name\":\"MYNEWVARIABLE\",\"value\":\"mynewvalue\",\"created_at\":\"2023-06-05T14:41:26Z\",\"updated_at\":\"2023-06-05T14:41:26Z\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 05 Jun 2023 14:41:26 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"ce64a844db6abf4edd4b3d80a8d2a1b698a7f6b39ddd029a703ff5e74688bf50\"", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4905", + "X-RateLimit-Reset": "1685976900", + "X-RateLimit-Used": "95", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CC86:50C2:1565624E:15A1C963:647DF416" + } + }, + "uuid": "0deec025-c7ce-4a95-863a-58c8bf52fe42", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/user-1.json new file mode 100644 index 0000000000..b9946106e7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/user-1.json @@ -0,0 +1,50 @@ +{ + "id": "9ea576f1-c6ba-427c-9cb8-4cbc343db0f7", + "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": "Mon, 05 Jun 2023 14:41: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/\"72b451bc289e83190862630ea2754b45789caedda90121a9584bce45fe6830c8\"", + "Last-Modified": "Mon, 13 Mar 2023 11:32:23 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4910", + "X-RateLimit-Reset": "1685976900", + "X-RateLimit-Used": "90", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CC81:0E02:19BD9C64:19FD2D1E:647DF413" + } + }, + "uuid": "9ea576f1-c6ba-427c-9cb8-4cbc343db0f7", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..ff5c615dfa --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,65 @@ +{ + "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": 26, + "public_gists": 0, + "followers": 1, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2020-06-04T05:56:10Z", + "archived_at": null, + "type": "Organization", + "total_private_repos": 6, + "owned_private_repos": 6, + "private_gists": 0, + "disk_usage": 12007, + "collaborators": 1, + "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, + "web_commit_signoff_required": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 46, + "seats": 3 + }, + "advanced_security_enabled_for_new_repositories": false, + "dependabot_alerts_enabled_for_new_repositories": false, + "dependabot_security_updates_enabled_for_new_repositories": false, + "dependency_graph_enabled_for_new_repositories": false, + "secret_scanning_enabled_for_new_repositories": false, + "secret_scanning_push_protection_enabled_for_new_repositories": false, + "secret_scanning_push_protection_custom_link_enabled": false, + "secret_scanning_push_protection_custom_link": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/__files/orgs_hub4j-test-org_repos-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/__files/orgs_hub4j-test-org_repos-3.json new file mode 100644 index 0000000000..41aefbcfbe --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/__files/orgs_hub4j-test-org_repos-3.json @@ -0,0 +1,140 @@ +{ + "id": 676879845, + "node_id": "R_kgDOKFhd5Q", + "name": "test-repo-visibility-public", + "full_name": "hub4j-test-org/test-repo-visibility-public", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/test-repo-visibility-public", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public", + "forks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/deployments", + "created_at": "2023-08-10T08:16:45Z", + "updated_at": "2023-08-10T08:16:46Z", + "pushed_at": "2023-08-10T08:16:46Z", + "git_url": "git://github.com/hub4j-test-org/test-repo-visibility-public.git", + "ssh_url": "git@github.com:hub4j-test-org/test-repo-visibility-public.git", + "clone_url": "https://github.com/hub4j-test-org/test-repo-visibility-public.git", + "svn_url": "https://github.com/hub4j-test-org/test-repo-visibility-public", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/__files/orgs_hub4j-test-org_repos-6.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/__files/orgs_hub4j-test-org_repos-6.json new file mode 100644 index 0000000000..41e08d8c90 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/__files/orgs_hub4j-test-org_repos-6.json @@ -0,0 +1,140 @@ +{ + "id": 676879862, + "node_id": "R_kgDOKFhd9g", + "name": "test-repo-visibility-private", + "full_name": "hub4j-test-org/test-repo-visibility-private", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/test-repo-visibility-private", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private", + "forks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/deployments", + "created_at": "2023-08-10T08:16:48Z", + "updated_at": "2023-08-10T08:16:48Z", + "pushed_at": "2023-08-10T08:16:48Z", + "git_url": "git://github.com/hub4j-test-org/test-repo-visibility-private.git", + "ssh_url": "git@github.com:hub4j-test-org/test-repo-visibility-private.git", + "clone_url": "https://github.com/hub4j-test-org/test-repo-visibility-private.git", + "svn_url": "https://github.com/hub4j-test-org/test-repo-visibility-private", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/__files/repos_hub4j-test-org_test-repo-visibility-private-7.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/__files/repos_hub4j-test-org_test-repo-visibility-private-7.json new file mode 100644 index 0000000000..bb8cbae35d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/__files/repos_hub4j-test-org_test-repo-visibility-private-7.json @@ -0,0 +1,141 @@ +{ + "id": 676879862, + "node_id": "R_kgDOKFhd9g", + "name": "test-repo-visibility-private", + "full_name": "hub4j-test-org/test-repo-visibility-private", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/test-repo-visibility-private", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private", + "forks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private/deployments", + "created_at": "2023-08-10T08:16:48Z", + "updated_at": "2023-08-10T08:16:48Z", + "pushed_at": "2023-08-10T08:16:48Z", + "git_url": "git://github.com/hub4j-test-org/test-repo-visibility-private.git", + "ssh_url": "git@github.com:hub4j-test-org/test-repo-visibility-private.git", + "clone_url": "https://github.com/hub4j-test-org/test-repo-visibility-private.git", + "svn_url": "https://github.com/hub4j-test-org/test-repo-visibility-private", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "ABXKPQCKFTRVIO2CU2TP4TLE2SPB2", + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/__files/repos_hub4j-test-org_test-repo-visibility-public-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/__files/repos_hub4j-test-org_test-repo-visibility-public-4.json new file mode 100644 index 0000000000..18bc5c5494 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/__files/repos_hub4j-test-org_test-repo-visibility-public-4.json @@ -0,0 +1,152 @@ +{ + "id": 676879845, + "node_id": "R_kgDOKFhd5Q", + "name": "test-repo-visibility-public", + "full_name": "hub4j-test-org/test-repo-visibility-public", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/test-repo-visibility-public", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public", + "forks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public/deployments", + "created_at": "2023-08-10T08:16:45Z", + "updated_at": "2023-08-10T08:16:46Z", + "pushed_at": "2023-08-10T08:16:46Z", + "git_url": "git://github.com/hub4j-test-org/test-repo-visibility-public.git", + "ssh_url": "git@github.com:hub4j-test-org/test-repo-visibility-public.git", + "clone_url": "https://github.com/hub4j-test-org/test-repo-visibility-public.git", + "svn_url": "https://github.com/hub4j-test-org/test-repo-visibility-public", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "security_and_analysis": { + "secret_scanning": { + "status": "disabled" + }, + "secret_scanning_push_protection": { + "status": "disabled" + }, + "dependabot_security_updates": { + "status": "disabled" + } + }, + "network_count": 0, + "subscribers_count": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/__files/user-1.json new file mode 100644 index 0000000000..21dc04da7c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/__files/user-1.json @@ -0,0 +1,46 @@ +{ + "login": "dbaur", + "id": 7251904, + "node_id": "MDQ6VXNlcjcyNTE5MDQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/7251904?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dbaur", + "html_url": "https://github.com/dbaur", + "followers_url": "https://api.github.com/users/dbaur/followers", + "following_url": "https://api.github.com/users/dbaur/following{/other_user}", + "gists_url": "https://api.github.com/users/dbaur/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dbaur/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dbaur/subscriptions", + "organizations_url": "https://api.github.com/users/dbaur/orgs", + "repos_url": "https://api.github.com/users/dbaur/repos", + "events_url": "https://api.github.com/users/dbaur/events{/privacy}", + "received_events_url": "https://api.github.com/users/dbaur/received_events", + "type": "User", + "site_admin": false, + "name": "Daniel Baur", + "company": null, + "blog": "", + "location": "Ulm", + "email": null, + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 50, + "public_gists": 0, + "followers": 7, + "following": 10, + "created_at": "2014-04-10T14:14:43Z", + "updated_at": "2023-07-28T11:30:28Z", + "private_gists": 3, + "total_private_repos": 13, + "owned_private_repos": 13, + "disk_usage": 104958, + "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/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..8246f6c638 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,51 @@ +{ + "id": "11b5a503-81c8-4c75-86f4-29aece672ca5", + "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": { + "Server": "GitHub.com", + "Date": "Thu, 10 Aug 2023 08:16:45 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"a78356b24c70002a5c721d7789be4984765938105a496ee45980bd8e2b4acb8a\"", + "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, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "github-authentication-token-expiration": "2023-09-09 06:40:49 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4966", + "X-RateLimit-Reset": "1691657047", + "X-RateLimit-Used": "34", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "6DDB:0BF2:C43B083:C5F7EA0:64D49CED" + } + }, + "uuid": "11b5a503-81c8-4c75-86f4-29aece672ca5", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/orgs_hub4j-test-org_repos-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/orgs_hub4j-test-org_repos-3.json new file mode 100644 index 0000000000..c7472e4f1c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/orgs_hub4j-test-org_repos-3.json @@ -0,0 +1,58 @@ +{ + "id": "dd68d6f4-8604-4fa1-8b3e-60008b2641d7", + "name": "orgs_hub4j-test-org_repos", + "request": { + "url": "/orgs/hub4j-test-org/repos", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.nebula-preview+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"visibility\":\"public\",\"name\":\"test-repo-visibility-public\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "orgs_hub4j-test-org_repos-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 10 Aug 2023 08:16:46 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"a4022eacf3610f0af2727fe90fd92727d52c233a2d0498987687f85402ada84f\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "public_repo, repo", + "github-authentication-token-expiration": "2023-09-09 06:40:49 UTC", + "X-GitHub-Media-Type": "github.v3; param=nebula-preview; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4965", + "X-RateLimit-Reset": "1691657047", + "X-RateLimit-Used": "35", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "FD12:37FF:A0FD881:A27FB32:64D49CED", + "Location": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-public" + } + }, + "uuid": "dd68d6f4-8604-4fa1-8b3e-60008b2641d7", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/orgs_hub4j-test-org_repos-6.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/orgs_hub4j-test-org_repos-6.json new file mode 100644 index 0000000000..3150934e45 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/orgs_hub4j-test-org_repos-6.json @@ -0,0 +1,58 @@ +{ + "id": "4b47fb90-5073-413d-88fb-15e372883c5b", + "name": "orgs_hub4j-test-org_repos", + "request": { + "url": "/orgs/hub4j-test-org/repos", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.nebula-preview+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"visibility\":\"private\",\"name\":\"test-repo-visibility-private\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "orgs_hub4j-test-org_repos-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 10 Aug 2023 08:16:48 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"afbff3bbcc1fcbc9034fef2ae0c7ad185f86e13387630f1e50bf282f86cd7eb5\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "public_repo, repo", + "github-authentication-token-expiration": "2023-09-09 06:40:49 UTC", + "X-GitHub-Media-Type": "github.v3; param=nebula-preview; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4962", + "X-RateLimit-Reset": "1691657047", + "X-RateLimit-Used": "38", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "B4B1:3986:C5D9B60:C79698A:64D49CEF", + "Location": "https://api.github.com/repos/hub4j-test-org/test-repo-visibility-private" + } + }, + "uuid": "4b47fb90-5073-413d-88fb-15e372883c5b", + "persistent": true, + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/repos_hub4j-test-org_test-repo-visibility-private-7.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/repos_hub4j-test-org_test-repo-visibility-private-7.json new file mode 100644 index 0000000000..f7270bb819 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/repos_hub4j-test-org_test-repo-visibility-private-7.json @@ -0,0 +1,51 @@ +{ + "id": "540eae50-8e68-4a09-bc7e-44a345ca05ac", + "name": "repos_hub4j-test-org_test-repo-visibility-private", + "request": { + "url": "/repos/hub4j-test-org/test-repo-visibility-private", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_test-repo-visibility-private-7.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 10 Aug 2023 08:16:49 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"9e0ca2fa3644d8f9ad2c77c331c32fb2b6142a08142217835d2dc50818ed9763\"", + "Last-Modified": "Thu, 10 Aug 2023 08:16:48 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2023-09-09 06:40:49 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4961", + "X-RateLimit-Reset": "1691657047", + "X-RateLimit-Used": "39", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "6FC8:0628:C18DB8F:C34AA1D:64D49CF1" + } + }, + "uuid": "540eae50-8e68-4a09-bc7e-44a345ca05ac", + "persistent": true, + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/repos_hub4j-test-org_test-repo-visibility-private-8.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/repos_hub4j-test-org_test-repo-visibility-private-8.json new file mode 100644 index 0000000000..0cdae38823 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/repos_hub4j-test-org_test-repo-visibility-private-8.json @@ -0,0 +1,43 @@ +{ + "id": "62ddd6fd-995a-48e9-80c5-778d276da598", + "name": "repos_hub4j-test-org_test-repo-visibility-private", + "request": { + "url": "/repos/hub4j-test-org/test-repo-visibility-private", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 10 Aug 2023 08:16:49 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-09-09 06:40:49 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4960", + "X-RateLimit-Reset": "1691657047", + "X-RateLimit-Used": "40", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "3ECF:107D4:BA2781C:BBE45B6:64D49CF1" + } + }, + "uuid": "62ddd6fd-995a-48e9-80c5-778d276da598", + "persistent": true, + "insertionIndex": 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/repos_hub4j-test-org_test-repo-visibility-public-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/repos_hub4j-test-org_test-repo-visibility-public-4.json new file mode 100644 index 0000000000..ce2cd062bc --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/repos_hub4j-test-org_test-repo-visibility-public-4.json @@ -0,0 +1,51 @@ +{ + "id": "056ca96a-7c6c-4063-b832-091c1711a625", + "name": "repos_hub4j-test-org_test-repo-visibility-public", + "request": { + "url": "/repos/hub4j-test-org/test-repo-visibility-public", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_test-repo-visibility-public-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 10 Aug 2023 08:16:47 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"424a290a1bc05597231646d41563213026e71b1b0b9f96fb9017ca534cbc5b81\"", + "Last-Modified": "Thu, 10 Aug 2023 08:16:46 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2023-09-09 06:40:49 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4964", + "X-RateLimit-Reset": "1691657047", + "X-RateLimit-Used": "36", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "5FFB:392E:BB82EAB:BD3FBC1:64D49CEE" + } + }, + "uuid": "056ca96a-7c6c-4063-b832-091c1711a625", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/repos_hub4j-test-org_test-repo-visibility-public-5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/repos_hub4j-test-org_test-repo-visibility-public-5.json new file mode 100644 index 0000000000..84ecb2d295 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/repos_hub4j-test-org_test-repo-visibility-public-5.json @@ -0,0 +1,43 @@ +{ + "id": "48ed2e59-9b57-4b8f-99f8-10046d9fb104", + "name": "repos_hub4j-test-org_test-repo-visibility-public", + "request": { + "url": "/repos/hub4j-test-org/test-repo-visibility-public", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 10 Aug 2023 08:16:47 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "delete_repo", + "github-authentication-token-expiration": "2023-09-09 06:40:49 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4963", + "X-RateLimit-Reset": "1691657047", + "X-RateLimit-Used": "37", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "98FD:392E:BB830AB:BD3FDC3:64D49CEF" + } + }, + "uuid": "48ed2e59-9b57-4b8f-99f8-10046d9fb104", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/user-1.json new file mode 100644 index 0000000000..adecd246e5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForOrganization/mappings/user-1.json @@ -0,0 +1,51 @@ +{ + "id": "615f57b7-baf3-473d-ab53-7b9c378c826f", + "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": "Thu, 10 Aug 2023 08:16:44 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/\"548cf23283fa0524609b0128ffe4d2e4d8bfe278a54ae9a93c7bbdcf6b9e199b\"", + "Last-Modified": "Fri, 28 Jul 2023 11:30:28 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-09-09 06:40:49 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4968", + "X-RateLimit-Reset": "1691657047", + "X-RateLimit-Used": "32", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "5300:6CA9:4DBF50F:4E76E9C:64D49CEC" + } + }, + "uuid": "615f57b7-baf3-473d-ab53-7b9c378c826f", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/__files/repos_dbaur_test-repo-visibility-private-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/__files/repos_dbaur_test-repo-visibility-private-3.json new file mode 100644 index 0000000000..41639b5477 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/__files/repos_dbaur_test-repo-visibility-private-3.json @@ -0,0 +1,121 @@ +{ + "id": 676880054, + "node_id": "R_kgDOKFhetg", + "name": "test-repo-visibility-private", + "full_name": "dbaur/test-repo-visibility-private", + "private": true, + "owner": { + "login": "dbaur", + "id": 7251904, + "node_id": "MDQ6VXNlcjcyNTE5MDQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/7251904?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dbaur", + "html_url": "https://github.com/dbaur", + "followers_url": "https://api.github.com/users/dbaur/followers", + "following_url": "https://api.github.com/users/dbaur/following{/other_user}", + "gists_url": "https://api.github.com/users/dbaur/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dbaur/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dbaur/subscriptions", + "organizations_url": "https://api.github.com/users/dbaur/orgs", + "repos_url": "https://api.github.com/users/dbaur/repos", + "events_url": "https://api.github.com/users/dbaur/events{/privacy}", + "received_events_url": "https://api.github.com/users/dbaur/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/dbaur/test-repo-visibility-private", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/dbaur/test-repo-visibility-private", + "forks_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/forks", + "keys_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/teams", + "hooks_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/hooks", + "issue_events_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/issues/events{/number}", + "events_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/events", + "assignees_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/assignees{/user}", + "branches_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/branches{/branch}", + "tags_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/tags", + "blobs_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/languages", + "stargazers_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/stargazers", + "contributors_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/contributors", + "subscribers_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/subscribers", + "subscription_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/subscription", + "commits_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/contents/{+path}", + "compare_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/merges", + "archive_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/downloads", + "issues_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/issues{/number}", + "pulls_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/labels{/name}", + "releases_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/releases{/id}", + "deployments_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/deployments", + "created_at": "2023-08-10T08:17:17Z", + "updated_at": "2023-08-10T08:17:18Z", + "pushed_at": "2023-08-10T08:17:18Z", + "git_url": "git://github.com/dbaur/test-repo-visibility-private.git", + "ssh_url": "git@github.com:dbaur/test-repo-visibility-private.git", + "clone_url": "https://github.com/dbaur/test-repo-visibility-private.git", + "svn_url": "https://github.com/dbaur/test-repo-visibility-private", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "ABXKPQGUT6WEMKJU3O23ISDE2SPDU", + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "network_count": 0, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/__files/repos_dbaur_test-repo-visibility-public-6.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/__files/repos_dbaur_test-repo-visibility-public-6.json new file mode 100644 index 0000000000..b160d1fc85 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/__files/repos_dbaur_test-repo-visibility-public-6.json @@ -0,0 +1,132 @@ +{ + "id": 676880069, + "node_id": "R_kgDOKFhexQ", + "name": "test-repo-visibility-public", + "full_name": "dbaur/test-repo-visibility-public", + "private": false, + "owner": { + "login": "dbaur", + "id": 7251904, + "node_id": "MDQ6VXNlcjcyNTE5MDQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/7251904?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dbaur", + "html_url": "https://github.com/dbaur", + "followers_url": "https://api.github.com/users/dbaur/followers", + "following_url": "https://api.github.com/users/dbaur/following{/other_user}", + "gists_url": "https://api.github.com/users/dbaur/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dbaur/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dbaur/subscriptions", + "organizations_url": "https://api.github.com/users/dbaur/orgs", + "repos_url": "https://api.github.com/users/dbaur/repos", + "events_url": "https://api.github.com/users/dbaur/events{/privacy}", + "received_events_url": "https://api.github.com/users/dbaur/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/dbaur/test-repo-visibility-public", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/dbaur/test-repo-visibility-public", + "forks_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/forks", + "keys_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/teams", + "hooks_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/hooks", + "issue_events_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/issues/events{/number}", + "events_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/events", + "assignees_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/assignees{/user}", + "branches_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/branches{/branch}", + "tags_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/tags", + "blobs_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/languages", + "stargazers_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/stargazers", + "contributors_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/contributors", + "subscribers_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/subscribers", + "subscription_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/subscription", + "commits_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/contents/{+path}", + "compare_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/merges", + "archive_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/downloads", + "issues_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/issues{/number}", + "pulls_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/labels{/name}", + "releases_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/releases{/id}", + "deployments_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/deployments", + "created_at": "2023-08-10T08:17:20Z", + "updated_at": "2023-08-10T08:17:20Z", + "pushed_at": "2023-08-10T08:17:20Z", + "git_url": "git://github.com/dbaur/test-repo-visibility-public.git", + "ssh_url": "git@github.com:dbaur/test-repo-visibility-public.git", + "clone_url": "https://github.com/dbaur/test-repo-visibility-public.git", + "svn_url": "https://github.com/dbaur/test-repo-visibility-public", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "security_and_analysis": { + "secret_scanning": { + "status": "disabled" + }, + "secret_scanning_push_protection": { + "status": "disabled" + }, + "dependabot_security_updates": { + "status": "disabled" + } + }, + "network_count": 0, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/__files/user-1.json new file mode 100644 index 0000000000..21dc04da7c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/__files/user-1.json @@ -0,0 +1,46 @@ +{ + "login": "dbaur", + "id": 7251904, + "node_id": "MDQ6VXNlcjcyNTE5MDQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/7251904?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dbaur", + "html_url": "https://github.com/dbaur", + "followers_url": "https://api.github.com/users/dbaur/followers", + "following_url": "https://api.github.com/users/dbaur/following{/other_user}", + "gists_url": "https://api.github.com/users/dbaur/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dbaur/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dbaur/subscriptions", + "organizations_url": "https://api.github.com/users/dbaur/orgs", + "repos_url": "https://api.github.com/users/dbaur/repos", + "events_url": "https://api.github.com/users/dbaur/events{/privacy}", + "received_events_url": "https://api.github.com/users/dbaur/received_events", + "type": "User", + "site_admin": false, + "name": "Daniel Baur", + "company": null, + "blog": "", + "location": "Ulm", + "email": null, + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 50, + "public_gists": 0, + "followers": 7, + "following": 10, + "created_at": "2014-04-10T14:14:43Z", + "updated_at": "2023-07-28T11:30:28Z", + "private_gists": 3, + "total_private_repos": 13, + "owned_private_repos": 13, + "disk_usage": 104958, + "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/GHRepositoryTest/wiremock/testCreateVisibilityForUser/__files/user_repos-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/__files/user_repos-2.json new file mode 100644 index 0000000000..5775ce95ae --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/__files/user_repos-2.json @@ -0,0 +1,120 @@ +{ + "id": 676880054, + "node_id": "R_kgDOKFhetg", + "name": "test-repo-visibility-private", + "full_name": "dbaur/test-repo-visibility-private", + "private": true, + "owner": { + "login": "dbaur", + "id": 7251904, + "node_id": "MDQ6VXNlcjcyNTE5MDQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/7251904?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dbaur", + "html_url": "https://github.com/dbaur", + "followers_url": "https://api.github.com/users/dbaur/followers", + "following_url": "https://api.github.com/users/dbaur/following{/other_user}", + "gists_url": "https://api.github.com/users/dbaur/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dbaur/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dbaur/subscriptions", + "organizations_url": "https://api.github.com/users/dbaur/orgs", + "repos_url": "https://api.github.com/users/dbaur/repos", + "events_url": "https://api.github.com/users/dbaur/events{/privacy}", + "received_events_url": "https://api.github.com/users/dbaur/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/dbaur/test-repo-visibility-private", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/dbaur/test-repo-visibility-private", + "forks_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/forks", + "keys_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/teams", + "hooks_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/hooks", + "issue_events_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/issues/events{/number}", + "events_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/events", + "assignees_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/assignees{/user}", + "branches_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/branches{/branch}", + "tags_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/tags", + "blobs_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/languages", + "stargazers_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/stargazers", + "contributors_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/contributors", + "subscribers_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/subscribers", + "subscription_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/subscription", + "commits_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/contents/{+path}", + "compare_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/merges", + "archive_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/downloads", + "issues_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/issues{/number}", + "pulls_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/labels{/name}", + "releases_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/releases{/id}", + "deployments_url": "https://api.github.com/repos/dbaur/test-repo-visibility-private/deployments", + "created_at": "2023-08-10T08:17:17Z", + "updated_at": "2023-08-10T08:17:18Z", + "pushed_at": "2023-08-10T08:17:18Z", + "git_url": "git://github.com/dbaur/test-repo-visibility-private.git", + "ssh_url": "git@github.com:dbaur/test-repo-visibility-private.git", + "clone_url": "https://github.com/dbaur/test-repo-visibility-private.git", + "svn_url": "https://github.com/dbaur/test-repo-visibility-private", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "network_count": 0, + "subscribers_count": 0 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/__files/user_repos-5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/__files/user_repos-5.json new file mode 100644 index 0000000000..79b5cc4e8b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/__files/user_repos-5.json @@ -0,0 +1,120 @@ +{ + "id": 676880069, + "node_id": "R_kgDOKFhexQ", + "name": "test-repo-visibility-public", + "full_name": "dbaur/test-repo-visibility-public", + "private": false, + "owner": { + "login": "dbaur", + "id": 7251904, + "node_id": "MDQ6VXNlcjcyNTE5MDQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/7251904?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dbaur", + "html_url": "https://github.com/dbaur", + "followers_url": "https://api.github.com/users/dbaur/followers", + "following_url": "https://api.github.com/users/dbaur/following{/other_user}", + "gists_url": "https://api.github.com/users/dbaur/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dbaur/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dbaur/subscriptions", + "organizations_url": "https://api.github.com/users/dbaur/orgs", + "repos_url": "https://api.github.com/users/dbaur/repos", + "events_url": "https://api.github.com/users/dbaur/events{/privacy}", + "received_events_url": "https://api.github.com/users/dbaur/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/dbaur/test-repo-visibility-public", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/dbaur/test-repo-visibility-public", + "forks_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/forks", + "keys_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/teams", + "hooks_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/hooks", + "issue_events_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/issues/events{/number}", + "events_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/events", + "assignees_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/assignees{/user}", + "branches_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/branches{/branch}", + "tags_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/tags", + "blobs_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/languages", + "stargazers_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/stargazers", + "contributors_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/contributors", + "subscribers_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/subscribers", + "subscription_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/subscription", + "commits_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/contents/{+path}", + "compare_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/merges", + "archive_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/downloads", + "issues_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/issues{/number}", + "pulls_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/labels{/name}", + "releases_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/releases{/id}", + "deployments_url": "https://api.github.com/repos/dbaur/test-repo-visibility-public/deployments", + "created_at": "2023-08-10T08:17:20Z", + "updated_at": "2023-08-10T08:17:20Z", + "pushed_at": "2023-08-10T08:17:20Z", + "git_url": "git://github.com/dbaur/test-repo-visibility-public.git", + "ssh_url": "git@github.com:dbaur/test-repo-visibility-public.git", + "clone_url": "https://github.com/dbaur/test-repo-visibility-public.git", + "svn_url": "https://github.com/dbaur/test-repo-visibility-public", + "homepage": null, + "size": 0, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "network_count": 0, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/mappings/repos_dbaur_test-repo-visibility-private-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/mappings/repos_dbaur_test-repo-visibility-private-3.json new file mode 100644 index 0000000000..184e5309f6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/mappings/repos_dbaur_test-repo-visibility-private-3.json @@ -0,0 +1,51 @@ +{ + "id": "f3be99a7-c7d5-4976-9985-819f1cf7cb89", + "name": "repos_dbaur_test-repo-visibility-private", + "request": { + "url": "/repos/dbaur/test-repo-visibility-private", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_dbaur_test-repo-visibility-private-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 10 Aug 2023 08:17: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/\"1fcee14c53151014695c16026a070791c42f4b9459c5bf90b496c55f29aa15dc\"", + "Last-Modified": "Thu, 10 Aug 2023 08:17:18 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2023-09-09 06:40:49 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4956", + "X-RateLimit-Reset": "1691657047", + "X-RateLimit-Used": "44", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "535F:1B9A:A589168:A7197C8:64D49D0E" + } + }, + "uuid": "f3be99a7-c7d5-4976-9985-819f1cf7cb89", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/mappings/repos_dbaur_test-repo-visibility-private-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/mappings/repos_dbaur_test-repo-visibility-private-4.json new file mode 100644 index 0000000000..41ad8b5288 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/mappings/repos_dbaur_test-repo-visibility-private-4.json @@ -0,0 +1,43 @@ +{ + "id": "380be673-7ca3-4c6d-916a-0df603ed0258", + "name": "repos_dbaur_test-repo-visibility-private", + "request": { + "url": "/repos/dbaur/test-repo-visibility-private", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 10 Aug 2023 08:17:19 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-09-09 06:40:49 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4955", + "X-RateLimit-Reset": "1691657047", + "X-RateLimit-Used": "45", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "18B3:AC85:BD54BD2:BF11A60:64D49D0F" + } + }, + "uuid": "380be673-7ca3-4c6d-916a-0df603ed0258", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/mappings/repos_dbaur_test-repo-visibility-public-6.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/mappings/repos_dbaur_test-repo-visibility-public-6.json new file mode 100644 index 0000000000..c11595c6c3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/mappings/repos_dbaur_test-repo-visibility-public-6.json @@ -0,0 +1,51 @@ +{ + "id": "86cbe029-2da6-4e64-a66e-17512214eb88", + "name": "repos_dbaur_test-repo-visibility-public", + "request": { + "url": "/repos/dbaur/test-repo-visibility-public", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_dbaur_test-repo-visibility-public-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 10 Aug 2023 08:17:21 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"dbfe4b8a1933fb9ca510ef5152b51f52ed9055c3e732ba712b9c909fffd0b1e2\"", + "Last-Modified": "Thu, 10 Aug 2023 08:17:20 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2023-09-09 06:40:49 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4953", + "X-RateLimit-Reset": "1691657047", + "X-RateLimit-Used": "47", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "3F1E:107D4:BA310E4:BBEDF72:64D49D11" + } + }, + "uuid": "86cbe029-2da6-4e64-a66e-17512214eb88", + "persistent": true, + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/mappings/repos_dbaur_test-repo-visibility-public-7.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/mappings/repos_dbaur_test-repo-visibility-public-7.json new file mode 100644 index 0000000000..c3002856ef --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/mappings/repos_dbaur_test-repo-visibility-public-7.json @@ -0,0 +1,43 @@ +{ + "id": "7941094b-097c-4538-aa6c-f009d286d101", + "name": "repos_dbaur_test-repo-visibility-public", + "request": { + "url": "/repos/dbaur/test-repo-visibility-public", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 10 Aug 2023 08:17:21 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "delete_repo", + "github-authentication-token-expiration": "2023-09-09 06:40:49 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4952", + "X-RateLimit-Reset": "1691657047", + "X-RateLimit-Used": "48", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "C107:B69B:5C90851:5D7B6C5:64D49D11" + } + }, + "uuid": "7941094b-097c-4538-aa6c-f009d286d101", + "persistent": true, + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/mappings/user-1.json new file mode 100644 index 0000000000..9a0a622540 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/mappings/user-1.json @@ -0,0 +1,51 @@ +{ + "id": "5371b0ef-81ed-47b9-abf1-7d86a9102827", + "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": "Thu, 10 Aug 2023 08:17: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/\"548cf23283fa0524609b0128ffe4d2e4d8bfe278a54ae9a93c7bbdcf6b9e199b\"", + "Last-Modified": "Fri, 28 Jul 2023 11:30:28 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-09-09 06:40:49 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4959", + "X-RateLimit-Reset": "1691657047", + "X-RateLimit-Used": "41", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "118B:73C9:BBA374A:BD604E8:64D49D0C" + } + }, + "uuid": "5371b0ef-81ed-47b9-abf1-7d86a9102827", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/mappings/user_repos-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/mappings/user_repos-2.json new file mode 100644 index 0000000000..8e9e2301c6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/mappings/user_repos-2.json @@ -0,0 +1,58 @@ +{ + "id": "a4cf11ac-2f3e-434a-a51b-d448a241f4cc", + "name": "user_repos", + "request": { + "url": "/user/repos", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.nebula-preview+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"private\":true,\"visibility\":\"private\",\"name\":\"test-repo-visibility-private\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "user_repos-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 10 Aug 2023 08:17: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": "\"4b4328107fe0eac23f94e4c77aad112750d131c0fcd3a7b2f709e2db399eb79f\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "public_repo, repo", + "github-authentication-token-expiration": "2023-09-09 06:40:49 UTC", + "X-GitHub-Media-Type": "github.v3; param=nebula-preview; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4957", + "X-RateLimit-Reset": "1691657047", + "X-RateLimit-Used": "43", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "84E9:0F26:BF1EA4C:C0DB942:64D49D0D", + "Location": "https://api.github.com/repos/dbaur/test-repo-visibility-private" + } + }, + "uuid": "a4cf11ac-2f3e-434a-a51b-d448a241f4cc", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/mappings/user_repos-5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/mappings/user_repos-5.json new file mode 100644 index 0000000000..e2e72551c9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateVisibilityForUser/mappings/user_repos-5.json @@ -0,0 +1,58 @@ +{ + "id": "0a0e551b-947b-4ff1-ad4e-c345bd3abaae", + "name": "user_repos", + "request": { + "url": "/user/repos", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.nebula-preview+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"private\":false,\"visibility\":\"public\",\"name\":\"test-repo-visibility-public\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "user_repos-5.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 10 Aug 2023 08:17:20 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"5d5e2558a98e94e2a9f97bc63f41919c0f5e16a420032274b421560393dce525\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "public_repo, repo", + "github-authentication-token-expiration": "2023-09-09 06:40:49 UTC", + "X-GitHub-Media-Type": "github.v3; param=nebula-preview; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4954", + "X-RateLimit-Reset": "1691657047", + "X-RateLimit-Used": "46", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "31CC:A754:9086FD:920FFE:64D49D0F", + "Location": "https://api.github.com/repos/dbaur/test-repo-visibility-public" + } + }, + "uuid": "0a0e551b-947b-4ff1-ad4e-c345bd3abaae", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..25c602bdf3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,58 @@ +{ + "login": "hub4j-test-org", + "id": 59470614, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NDcwNjE0", + "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/59470614?v=4", + "description": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 1, + "public_gists": 0, + "followers": 9, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2020-01-03T09:09:41Z", + "updated_at": "2023-05-15T08:11:52Z", + "type": "Organization", + "total_private_repos": 1630, + "owned_private_repos": 1671, + "private_gists": 0, + "disk_usage": 4872624, + "collaborators": 75, + "billing_email": "garridobarrera@gmail.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, + "web_commit_signoff_required": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "enterprise", + "space": 976562499, + "private_repos": 999999, + "filled_seats": 5153, + "seats": 5664 + }, + "advanced_security_enabled_for_new_repositories": false, + "dependabot_alerts_enabled_for_new_repositories": false, + "dependabot_security_updates_enabled_for_new_repositories": false, + "dependency_graph_enabled_for_new_repositories": false, + "secret_scanning_enabled_for_new_repositories": false, + "secret_scanning_push_protection_enabled_for_new_repositories": false, + "secret_scanning_push_protection_custom_link_enabled": false, + "secret_scanning_push_protection_custom_link": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..e691789a9a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,143 @@ +{ + "id": 649619181, + "node_id": "R_kgDOJrhm7Q", + "name": "github-api", + "full_name": "hub4j-test-org/github-api", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 59470614, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NDcwNjE0", + "avatar_url": "https://avatars.githubusercontent.com/u/59470614?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "description": "github-api", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/github-api", + "forks_url": "https://api.github.com/repos/hub4j-test-org/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "2023-06-05T09:18:13Z", + "updated_at": "2023-06-05T09:18:21Z", + "pushed_at": "2023-06-05T09:18:39Z", + "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": null, + "size": 7, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "topiclanguage" + ], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "develop", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "ABVSGFSU5FJS5LWWZ543MBTEPX2XS", + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_auto_merge": false, + "delete_branch_on_merge": true, + "allow_update_branch": false, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 59470614, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NDcwNjE0", + "avatar_url": "https://avatars.githubusercontent.com/u/59470614?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/__files/user-1.json new file mode 100644 index 0000000000..08775b9cda --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/__files/user-1.json @@ -0,0 +1,46 @@ +{ + "login": "garridobarrera", + "id": 7021334, + "node_id": "MDQ6VXNlcjcwMjEzMzQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/7021334?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/garridobarrera", + "html_url": "https://github.com/garridobarrera", + "followers_url": "https://api.github.com/users/garridobarrera/followers", + "following_url": "https://api.github.com/users/garridobarrera/following{/other_user}", + "gists_url": "https://api.github.com/users/garridobarrera/gists{/gist_id}", + "starred_url": "https://api.github.com/users/garridobarrera/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/garridobarrera/subscriptions", + "organizations_url": "https://api.github.com/users/garridobarrera/orgs", + "repos_url": "https://api.github.com/users/garridobarrera/repos", + "events_url": "https://api.github.com/users/garridobarrera/events{/privacy}", + "received_events_url": "https://api.github.com/users/garridobarrera/received_events", + "type": "User", + "site_admin": false, + "name": "JosÊ Manuel Garrido Barrera", + "company": "personal", + "blog": "", + "location": null, + "email": "garridobarrera@gmail.com", + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 11, + "public_gists": 0, + "followers": 3, + "following": 3, + "created_at": "2014-03-21T10:37:00Z", + "updated_at": "2023-03-13T11:32:23Z", + "private_gists": 0, + "total_private_repos": 2, + "owned_private_repos": 2, + "disk_usage": 5935, + "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/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..300b6cedd5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,50 @@ +{ + "id": "ae6ef016-0e7a-49a3-901b-4f2807e31e2e", + "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": { + "Server": "GitHub.com", + "Date": "Mon, 05 Jun 2023 14:42:20 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"46a40cb19e416c1d2dce19a8db11c0f32801a98a0c629dfa70fd25358454e97d\"", + "Last-Modified": "Mon, 15 May 2023 08:11:52 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4895", + "X-RateLimit-Reset": "1685976900", + "X-RateLimit-Used": "105", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CCAF:10E3E:13C923FB:14006713:647DF44C" + } + }, + "uuid": "ae6ef016-0e7a-49a3-901b-4f2807e31e2e", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..058b260dbd --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,50 @@ +{ + "id": "1fc5275c-8afb-4d1e-9e09-a627b651097f", + "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": { + "Server": "GitHub.com", + "Date": "Mon, 05 Jun 2023 14:42:21 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"ad2ec095079899332f528baec4441d362d0e6e5594b29ff93423e00ce1f5350b\"", + "Last-Modified": "Mon, 05 Jun 2023 09:18:21 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4894", + "X-RateLimit-Reset": "1685976900", + "X-RateLimit-Used": "106", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CCB0:D7C5:EDFAFBE:F0A6BAB:647DF44C" + } + }, + "uuid": "1fc5275c-8afb-4d1e-9e09-a627b651097f", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-4.json new file mode 100644 index 0000000000..c786d63d84 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-4.json @@ -0,0 +1,52 @@ +{ + "id": "d88ce739-d1f7-4a9d-9ac1-4dd8ddb5a2c9", + "name": "repos_hub4j-test-org_github-api_actions_variables_mynewvariable", + "request": { + "url": "/repos/hub4j-test-org/github-api/actions/variables/mynewvariable", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"name\":\"MYNEWVARIABLE\",\"value\":\"myupdatevalue\",\"created_at\":\"2023-06-05T14:41:26Z\",\"updated_at\":\"2023-06-05T14:42:03Z\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 05 Jun 2023 14:42:21 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"adc647a71f6dd424746b9f6b68580e603d95daafc4c8026c6482cd6e56e6842d\"", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4893", + "X-RateLimit-Reset": "1685976900", + "X-RateLimit-Used": "107", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CCB1:86C7:AE0F8D4:B029CE4:647DF44D" + } + }, + "uuid": "d88ce739-d1f7-4a9d-9ac1-4dd8ddb5a2c9", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-actions-variables-mynewvariable", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-actions-variables-mynewvariable-2", + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-5.json new file mode 100644 index 0000000000..a16c2ae5a3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-5.json @@ -0,0 +1,42 @@ +{ + "id": "4258eddb-68ee-4b81-a663-ae5b1d15246d", + "name": "repos_hub4j-test-org_github-api_actions_variables_mynewvariable", + "request": { + "url": "/repos/hub4j-test-org/github-api/actions/variables/MYNEWVARIABLE", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 05 Jun 2023 14:42:22 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4892", + "X-RateLimit-Reset": "1685976900", + "X-RateLimit-Used": "108", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CCB2:EA30:E5C990A:E860BEB:647DF44D" + } + }, + "uuid": "4258eddb-68ee-4b81-a663-ae5b1d15246d", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-6.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-6.json new file mode 100644 index 0000000000..e0ce969310 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-6.json @@ -0,0 +1,46 @@ +{ + "id": "bce04a9b-5390-4605-a3c2-466516e59cce", + "name": "repos_hub4j-test-org_github-api_actions_variables_mynewvariable", + "request": { + "url": "/repos/hub4j-test-org/github-api/actions/variables/mynewvariable", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 404, + "body": "{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/actions/variables#get-a-repository-variable\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 05 Jun 2023 14:42:22 GMT", + "Content-Type": "application/json; charset=utf-8", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4891", + "X-RateLimit-Reset": "1685976900", + "X-RateLimit-Used": "109", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "743A:8B14:10B608C0:10E55C07:647DF44E" + } + }, + "uuid": "bce04a9b-5390-4605-a3c2-466516e59cce", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-actions-variables-mynewvariable", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-actions-variables-mynewvariable-2", + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/user-1.json new file mode 100644 index 0000000000..b4122cfe40 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/user-1.json @@ -0,0 +1,50 @@ +{ + "id": "43bf07f8-47b8-47f0-beb1-962b1a3835cc", + "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": "Mon, 05 Jun 2023 14:42: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/\"72b451bc289e83190862630ea2754b45789caedda90121a9584bce45fe6830c8\"", + "Last-Modified": "Mon, 13 Mar 2023 11:32:23 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4897", + "X-RateLimit-Reset": "1685976900", + "X-RateLimit-Used": "103", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CCAD:51B5:1633B1D5:1670787E:647DF44B" + } + }, + "uuid": "43bf07f8-47b8-47f0-beb1-962b1a3835cc", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testGetters/__files/repos_hub4j-test-org_temp-testgetters-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testGetters/__files/repos_hub4j-test-org_temp-testgetters-2.json index f8d16217fc..dac8e119fa 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testGetters/__files/repos_hub4j-test-org_temp-testgetters-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testGetters/__files/repos_hub4j-test-org_temp-testgetters-2.json @@ -101,6 +101,7 @@ "allow_merge_commit": true, "allow_rebase_merge": true, "delete_branch_on_merge": false, + "allow_forking": false, "organization": { "login": "hub4j-test-org", "id": 7544739, @@ -123,4 +124,4 @@ }, "network_count": 0, "subscribers_count": 7 -} \ No newline at end of file +} diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..25c602bdf3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,58 @@ +{ + "login": "hub4j-test-org", + "id": 59470614, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NDcwNjE0", + "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/59470614?v=4", + "description": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 1, + "public_gists": 0, + "followers": 9, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2020-01-03T09:09:41Z", + "updated_at": "2023-05-15T08:11:52Z", + "type": "Organization", + "total_private_repos": 1630, + "owned_private_repos": 1671, + "private_gists": 0, + "disk_usage": 4872624, + "collaborators": 75, + "billing_email": "garridobarrera@gmail.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, + "web_commit_signoff_required": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "enterprise", + "space": 976562499, + "private_repos": 999999, + "filled_seats": 5153, + "seats": 5664 + }, + "advanced_security_enabled_for_new_repositories": false, + "dependabot_alerts_enabled_for_new_repositories": false, + "dependabot_security_updates_enabled_for_new_repositories": false, + "dependency_graph_enabled_for_new_repositories": false, + "secret_scanning_enabled_for_new_repositories": false, + "secret_scanning_push_protection_enabled_for_new_repositories": false, + "secret_scanning_push_protection_custom_link_enabled": false, + "secret_scanning_push_protection_custom_link": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..6cb6e062cc --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,143 @@ +{ + "id": 649619181, + "node_id": "R_kgDOJrhm7Q", + "name": "github-api", + "full_name": "hub4j-test-org/github-api", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 59470614, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NDcwNjE0", + "avatar_url": "https://avatars.githubusercontent.com/u/59470614?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "description": "github-api", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/github-api", + "forks_url": "https://api.github.com/repos/hub4j-test-org/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "2023-06-05T09:18:13Z", + "updated_at": "2023-06-05T09:18:21Z", + "pushed_at": "2023-06-05T09:18:39Z", + "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": null, + "size": 7, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "topiclanguage" + ], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "develop", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "ABVSGFWHKEOHAZLNFDN2WA3EPX2PG", + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_auto_merge": false, + "delete_branch_on_merge": true, + "allow_update_branch": false, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 59470614, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NDcwNjE0", + "avatar_url": "https://avatars.githubusercontent.com/u/59470614?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/__files/user-1.json new file mode 100644 index 0000000000..08775b9cda --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/__files/user-1.json @@ -0,0 +1,46 @@ +{ + "login": "garridobarrera", + "id": 7021334, + "node_id": "MDQ6VXNlcjcwMjEzMzQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/7021334?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/garridobarrera", + "html_url": "https://github.com/garridobarrera", + "followers_url": "https://api.github.com/users/garridobarrera/followers", + "following_url": "https://api.github.com/users/garridobarrera/following{/other_user}", + "gists_url": "https://api.github.com/users/garridobarrera/gists{/gist_id}", + "starred_url": "https://api.github.com/users/garridobarrera/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/garridobarrera/subscriptions", + "organizations_url": "https://api.github.com/users/garridobarrera/orgs", + "repos_url": "https://api.github.com/users/garridobarrera/repos", + "events_url": "https://api.github.com/users/garridobarrera/events{/privacy}", + "received_events_url": "https://api.github.com/users/garridobarrera/received_events", + "type": "User", + "site_admin": false, + "name": "JosÊ Manuel Garrido Barrera", + "company": "personal", + "blog": "", + "location": null, + "email": "garridobarrera@gmail.com", + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 11, + "public_gists": 0, + "followers": 3, + "following": 3, + "created_at": "2014-03-21T10:37:00Z", + "updated_at": "2023-03-13T11:32:23Z", + "private_gists": 0, + "total_private_repos": 2, + "owned_private_repos": 2, + "disk_usage": 5935, + "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/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..e19d1222b0 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,50 @@ +{ + "id": "43a649a4-f410-4d1b-8094-50fdb86d4e56", + "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": { + "Server": "GitHub.com", + "Date": "Mon, 05 Jun 2023 14:40: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/\"46a40cb19e416c1d2dce19a8db11c0f32801a98a0c629dfa70fd25358454e97d\"", + "Last-Modified": "Mon, 15 May 2023 08:11:52 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4913", + "X-RateLimit-Reset": "1685976900", + "X-RateLimit-Used": "87", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CC60:2143:C603F3C:C83F892:647DF3C6" + } + }, + "uuid": "43a649a4-f410-4d1b-8094-50fdb86d4e56", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..a94c45698c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,50 @@ +{ + "id": "067e960b-58de-4bb3-9d66-21a3f334c523", + "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": { + "Server": "GitHub.com", + "Date": "Mon, 05 Jun 2023 14:40: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/\"ad2ec095079899332f528baec4441d362d0e6e5594b29ff93423e00ce1f5350b\"", + "Last-Modified": "Mon, 05 Jun 2023 09:18:21 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4912", + "X-RateLimit-Reset": "1685976900", + "X-RateLimit-Used": "88", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CC61:E303:180C3883:184BC7EE:647DF3C7" + } + }, + "uuid": "067e960b-58de-4bb3-9d66-21a3f334c523", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_myvar-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_myvar-4.json new file mode 100644 index 0000000000..4f06adbe85 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_myvar-4.json @@ -0,0 +1,49 @@ +{ + "id": "624eb199-1d0c-4b4c-b5c6-9cc8a918b15e", + "name": "repos_hub4j-test-org_github-api_actions_variables_myvar", + "request": { + "url": "/repos/hub4j-test-org/github-api/actions/variables/myvar", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"name\":\"MYVAR\",\"value\":\"this is my var value\",\"created_at\":\"2023-06-05T13:57:01Z\",\"updated_at\":\"2023-06-05T13:57:39Z\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 05 Jun 2023 14:40: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/\"85935ba33a83ca7e6b8bcd0f53a928c40a1a61529c90b08ea3ccf368a7c8f836\"", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4911", + "X-RateLimit-Reset": "1685976900", + "X-RateLimit-Used": "89", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CC62:8B14:10B3D9D6:10E328E5:647DF3C7" + } + }, + "uuid": "624eb199-1d0c-4b4c-b5c6-9cc8a918b15e", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/user-1.json new file mode 100644 index 0000000000..302c6be055 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/user-1.json @@ -0,0 +1,50 @@ +{ + "id": "634f7697-2ba4-4e53-ad18-c99d2696e77d", + "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": "Mon, 05 Jun 2023 14:40: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/\"72b451bc289e83190862630ea2754b45789caedda90121a9584bce45fe6830c8\"", + "Last-Modified": "Mon, 13 Mar 2023 11:32:23 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4915", + "X-RateLimit-Reset": "1685976900", + "X-RateLimit-Used": "85", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CC5E:51B5:163198FA:166E5B89:647DF3C5" + } + }, + "uuid": "634f7697-2ba4-4e53-ad18-c99d2696e77d", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..25c602bdf3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/__files/orgs_hub4j-test-org-2.json @@ -0,0 +1,58 @@ +{ + "login": "hub4j-test-org", + "id": 59470614, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NDcwNjE0", + "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/59470614?v=4", + "description": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 1, + "public_gists": 0, + "followers": 9, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2020-01-03T09:09:41Z", + "updated_at": "2023-05-15T08:11:52Z", + "type": "Organization", + "total_private_repos": 1630, + "owned_private_repos": 1671, + "private_gists": 0, + "disk_usage": 4872624, + "collaborators": 75, + "billing_email": "garridobarrera@gmail.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, + "web_commit_signoff_required": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "enterprise", + "space": 976562499, + "private_repos": 999999, + "filled_seats": 5153, + "seats": 5664 + }, + "advanced_security_enabled_for_new_repositories": false, + "dependabot_alerts_enabled_for_new_repositories": false, + "dependabot_security_updates_enabled_for_new_repositories": false, + "dependency_graph_enabled_for_new_repositories": false, + "secret_scanning_enabled_for_new_repositories": false, + "secret_scanning_push_protection_enabled_for_new_repositories": false, + "secret_scanning_push_protection_custom_link_enabled": false, + "secret_scanning_push_protection_custom_link": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..3f1d4881f1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,143 @@ +{ + "id": 649619181, + "node_id": "R_kgDOJrhm7Q", + "name": "github-api", + "full_name": "hub4j-test-org/github-api", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 59470614, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NDcwNjE0", + "avatar_url": "https://avatars.githubusercontent.com/u/59470614?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "description": "github-api", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/github-api", + "forks_url": "https://api.github.com/repos/hub4j-test-org/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "2023-06-05T09:18:13Z", + "updated_at": "2023-06-05T09:18:21Z", + "pushed_at": "2023-06-05T09:18:39Z", + "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": null, + "size": 7, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": false, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [ + "topiclanguage" + ], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "develop", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "ABVSGFSARH5HR7ZIAXGJ54DEPX2WM", + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_auto_merge": false, + "delete_branch_on_merge": true, + "allow_update_branch": false, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 59470614, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NDcwNjE0", + "avatar_url": "https://avatars.githubusercontent.com/u/59470614?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/__files/user-1.json new file mode 100644 index 0000000000..08775b9cda --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/__files/user-1.json @@ -0,0 +1,46 @@ +{ + "login": "garridobarrera", + "id": 7021334, + "node_id": "MDQ6VXNlcjcwMjEzMzQ=", + "avatar_url": "https://avatars.githubusercontent.com/u/7021334?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/garridobarrera", + "html_url": "https://github.com/garridobarrera", + "followers_url": "https://api.github.com/users/garridobarrera/followers", + "following_url": "https://api.github.com/users/garridobarrera/following{/other_user}", + "gists_url": "https://api.github.com/users/garridobarrera/gists{/gist_id}", + "starred_url": "https://api.github.com/users/garridobarrera/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/garridobarrera/subscriptions", + "organizations_url": "https://api.github.com/users/garridobarrera/orgs", + "repos_url": "https://api.github.com/users/garridobarrera/repos", + "events_url": "https://api.github.com/users/garridobarrera/events{/privacy}", + "received_events_url": "https://api.github.com/users/garridobarrera/received_events", + "type": "User", + "site_admin": false, + "name": "JosÊ Manuel Garrido Barrera", + "company": "personal", + "blog": "", + "location": null, + "email": "garridobarrera@gmail.com", + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 11, + "public_gists": 0, + "followers": 3, + "following": 3, + "created_at": "2014-03-21T10:37:00Z", + "updated_at": "2023-03-13T11:32:23Z", + "private_gists": 0, + "total_private_repos": 2, + "owned_private_repos": 2, + "disk_usage": 5935, + "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/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..86c320ea61 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,50 @@ +{ + "id": "ec015fc5-de63-4b49-a0f1-3533fbec1304", + "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": { + "Server": "GitHub.com", + "Date": "Mon, 05 Jun 2023 14:42: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/\"46a40cb19e416c1d2dce19a8db11c0f32801a98a0c629dfa70fd25358454e97d\"", + "Last-Modified": "Mon, 15 May 2023 08:11:52 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4902", + "X-RateLimit-Reset": "1685976900", + "X-RateLimit-Used": "98", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CC99:62E4:1745DEC3:17857007:647DF439" + } + }, + "uuid": "ec015fc5-de63-4b49-a0f1-3533fbec1304", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..fe37896786 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,50 @@ +{ + "id": "5253ccea-04a8-46a2-81fd-f4b53a3c4239", + "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": { + "Server": "GitHub.com", + "Date": "Mon, 05 Jun 2023 14:42: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/\"ad2ec095079899332f528baec4441d362d0e6e5594b29ff93423e00ce1f5350b\"", + "Last-Modified": "Mon, 05 Jun 2023 09:18:21 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4901", + "X-RateLimit-Reset": "1685976900", + "X-RateLimit-Used": "99", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CC9A:EA30:E5C3C98:E85AF0B:647DF439" + } + }, + "uuid": "5253ccea-04a8-46a2-81fd-f4b53a3c4239", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-4.json new file mode 100644 index 0000000000..979640577a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-4.json @@ -0,0 +1,52 @@ +{ + "id": "4ae08d81-f174-4291-90ba-3e1ddc4c7e44", + "name": "repos_hub4j-test-org_github-api_actions_variables_mynewvariable", + "request": { + "url": "/repos/hub4j-test-org/github-api/actions/variables/MYNEWVARIABLE", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"name\":\"MYNEWVARIABLE\",\"value\":\"mynewvalue\",\"created_at\":\"2023-06-05T14:41:26Z\",\"updated_at\":\"2023-06-05T14:41:26Z\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 05 Jun 2023 14:42: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/\"ce64a844db6abf4edd4b3d80a8d2a1b698a7f6b39ddd029a703ff5e74688bf50\"", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4900", + "X-RateLimit-Reset": "1685976900", + "X-RateLimit-Used": "100", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CC9B:10E3E:13C8D48C:1400172D:647DF43A" + } + }, + "uuid": "4ae08d81-f174-4291-90ba-3e1ddc4c7e44", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-actions-variables-MYNEWVARIABLE", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-actions-variables-MYNEWVARIABLE-2", + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-5.json new file mode 100644 index 0000000000..6b4f2a0ccb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-5.json @@ -0,0 +1,49 @@ +{ + "id": "ddade36a-39bf-4456-a991-7bcb6e6445ab", + "name": "repos_hub4j-test-org_github-api_actions_variables_mynewvariable", + "request": { + "url": "/repos/hub4j-test-org/github-api/actions/variables/MYNEWVARIABLE", + "method": "PATCH", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"name\":\"MYNEWVARIABLE\",\"value\":\"myupdatevalue\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 05 Jun 2023 14:42:03 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4899", + "X-RateLimit-Reset": "1685976900", + "X-RateLimit-Used": "101", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CC9C:1168F:1635BE44:16732AC5:647DF43A" + } + }, + "uuid": "ddade36a-39bf-4456-a991-7bcb6e6445ab", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-6.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-6.json new file mode 100644 index 0000000000..76ff6a75bc --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-6.json @@ -0,0 +1,51 @@ +{ + "id": "a3144943-cefe-4ec1-9d88-ff2ad08ddbb5", + "name": "repos_hub4j-test-org_github-api_actions_variables_mynewvariable", + "request": { + "url": "/repos/hub4j-test-org/github-api/actions/variables/MYNEWVARIABLE", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"name\":\"MYNEWVARIABLE\",\"value\":\"myupdatevalue\",\"created_at\":\"2023-06-05T14:41:26Z\",\"updated_at\":\"2023-06-05T14:42:03Z\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Mon, 05 Jun 2023 14:42: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/\"adc647a71f6dd424746b9f6b68580e603d95daafc4c8026c6482cd6e56e6842d\"", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4898", + "X-RateLimit-Reset": "1685976900", + "X-RateLimit-Used": "102", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CC9D:2143:C6213A1:C85D073:647DF43B" + } + }, + "uuid": "a3144943-cefe-4ec1-9d88-ff2ad08ddbb5", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-actions-variables-MYNEWVARIABLE", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-actions-variables-MYNEWVARIABLE-2", + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/user-1.json new file mode 100644 index 0000000000..089f9f6cc9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/user-1.json @@ -0,0 +1,50 @@ +{ + "id": "43b68c03-8469-4721-8370-2ddbc435ae76", + "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": "Mon, 05 Jun 2023 14:42: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/\"72b451bc289e83190862630ea2754b45789caedda90121a9584bce45fe6830c8\"", + "Last-Modified": "Mon, 13 Mar 2023 11:32:23 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4904", + "X-RateLimit-Reset": "1685976900", + "X-RateLimit-Used": "96", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "CC97:4749:B22F17B:B448F22:647DF438" + } + }, + "uuid": "43b68c03-8469-4721-8370-2ddbc435ae76", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepository/__files/repos_hub4j-test-org_temp-testupdaterepository-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepository/__files/repos_hub4j-test-org_temp-testupdaterepository-2.json index a6f5e84b2c..b35dc8ffd7 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepository/__files/repos_hub4j-test-org_temp-testupdaterepository-2.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepository/__files/repos_hub4j-test-org_temp-testupdaterepository-2.json @@ -101,6 +101,7 @@ "allow_merge_commit": true, "allow_rebase_merge": true, "delete_branch_on_merge": false, + "allow_forking": false, "organization": { "login": "hub4j-test-org", "id": 7544739, @@ -123,4 +124,4 @@ }, "network_count": 0, "subscribers_count": 9 -} \ No newline at end of file +} diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepository/__files/repos_hub4j-test-org_temp-testupdaterepository-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepository/__files/repos_hub4j-test-org_temp-testupdaterepository-3.json index d62845bc50..ed4894e9e9 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepository/__files/repos_hub4j-test-org_temp-testupdaterepository-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepository/__files/repos_hub4j-test-org_temp-testupdaterepository-3.json @@ -100,6 +100,7 @@ "allow_merge_commit": true, "allow_rebase_merge": false, "delete_branch_on_merge": true, + "allow_forking": true, "organization": { "login": "hub4j-test-org", "id": 7544739, @@ -122,4 +123,4 @@ }, "network_count": 0, "subscribers_count": 9 -} \ No newline at end of file +} diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepository/__files/repos_hub4j-test-org_temp-testupdaterepository-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepository/__files/repos_hub4j-test-org_temp-testupdaterepository-4.json index 8c2ad19854..8e4d6e85ba 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepository/__files/repos_hub4j-test-org_temp-testupdaterepository-4.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepository/__files/repos_hub4j-test-org_temp-testupdaterepository-4.json @@ -100,6 +100,7 @@ "allow_merge_commit": false, "allow_rebase_merge": true, "delete_branch_on_merge": true, + "allow_forking": false, "organization": { "login": "hub4j-test-org", "id": 7544739, @@ -122,4 +123,4 @@ }, "network_count": 0, "subscribers_count": 9 -} \ No newline at end of file +} diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepository/__files/repos_hub4j-test-org_temp-testupdaterepository-5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepository/__files/repos_hub4j-test-org_temp-testupdaterepository-5.json index 3ce310fccf..88ad46243c 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepository/__files/repos_hub4j-test-org_temp-testupdaterepository-5.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepository/__files/repos_hub4j-test-org_temp-testupdaterepository-5.json @@ -100,6 +100,7 @@ "allow_merge_commit": false, "allow_rebase_merge": true, "delete_branch_on_merge": true, + "allow_forking": false, "organization": { "login": "hub4j-test-org", "id": 7544739, @@ -122,4 +123,4 @@ }, "network_count": 0, "subscribers_count": 9 -} \ No newline at end of file +} diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepository/mappings/repos_hub4j-test-org_temp-testupdaterepository-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepository/mappings/repos_hub4j-test-org_temp-testupdaterepository-3.json index 8596d7744c..38d758a008 100644 --- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepository/mappings/repos_hub4j-test-org_temp-testupdaterepository-3.json +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepository/mappings/repos_hub4j-test-org_temp-testupdaterepository-3.json @@ -11,7 +11,7 @@ }, "bodyPatterns": [ { - "equalToJson": "{\"name\":\"temp-testUpdateRepository\",\"has_projects\":false,\"allow_squash_merge\":false,\"private\":true,\"has_downloads\":false,\"has_wiki\":false,\"description\":\"A test repository for update testing via the github-api project\",\"delete_branch_on_merge\":true,\"allow_rebase_merge\":false,\"has_issues\":false,\"homepage\":\"https://github-api.kohsuke.org/apidocs/index.html\"}", + "equalToJson": "{\"name\":\"temp-testUpdateRepository\",\"has_projects\":false,\"allow_squash_merge\":false,\"allow_forking\":true,\"private\":true,\"has_downloads\":false,\"has_wiki\":false,\"description\":\"A test repository for update testing via the github-api project\",\"delete_branch_on_merge\":true,\"allow_rebase_merge\":false,\"has_issues\":false,\"homepage\":\"https://github-api.kohsuke.org/apidocs/index.html\"}", "ignoreArrayOrder": true, "ignoreExtraElements": false } @@ -51,4 +51,4 @@ "uuid": "d0036ebb-64a8-4c4c-bed3-697870892d5f", "persistent": true, "insertionIndex": 3 -} \ No newline at end of file +} diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..628aa16924 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/__files/orgs_hub4j-test-org-2.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": 50, + "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": 4, + "owned_private_repos": 4, + "private_gists": 0, + "disk_usage": 11980, + "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": 38, + "seats": 3 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/__files/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..8716ab734a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/__files/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,365 @@ +{ + "id": 206888201, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/github-api", + "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", + "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}", + "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": "2022-05-23T14:23:52Z", + "pushed_at": "2022-06-21T17:18:17Z", + "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": 19045, + "stargazers_count": 1, + "watchers_count": 1, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 7, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 7, + "watchers": 1, + "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, + "use_squash_pr_title_as_default": false, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "parent": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "2022-06-21T16:37:05Z", + "pushed_at": "2022-06-22T03:11:41Z", + "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": "https://github-api.kohsuke.org/", + "size": 40084, + "stargazers_count": 907, + "watchers_count": 907, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 618, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 106, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 618, + "open_issues": 106, + "watchers": 907, + "default_branch": "main" + }, + "source": { + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "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", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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": "2022-06-21T16:37:05Z", + "pushed_at": "2022-06-22T03:11:41Z", + "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": "https://github-api.kohsuke.org/", + "size": 40084, + "stargazers_count": 907, + "watchers_count": 907, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 618, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 106, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "allow_forking": true, + "is_template": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 618, + "open_issues": 106, + "watchers": 907, + "default_branch": "main" + }, + "network_count": 618, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/__files/repos_hub4j-test-org_github-api_collaborators-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/__files/repos_hub4j-test-org_github-api_collaborators-4.json new file mode 100644 index 0000000000..5cfd5fb504 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/__files/repos_hub4j-test-org_github-api_collaborators-4.json @@ -0,0 +1,842 @@ +[ + { + "login": "vbehar", + "id": 6251, + "node_id": "MDQ6VXNlcjYyNTE=", + "avatar_url": "https://avatars.githubusercontent.com/u/6251?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/vbehar", + "html_url": "https://github.com/vbehar", + "followers_url": "https://api.github.com/users/vbehar/followers", + "following_url": "https://api.github.com/users/vbehar/following{/other_user}", + "gists_url": "https://api.github.com/users/vbehar/gists{/gist_id}", + "starred_url": "https://api.github.com/users/vbehar/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/vbehar/subscriptions", + "organizations_url": "https://api.github.com/users/vbehar/orgs", + "repos_url": "https://api.github.com/users/vbehar/repos", + "events_url": "https://api.github.com/users/vbehar/events{/privacy}", + "received_events_url": "https://api.github.com/users/vbehar/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": false, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "maintain" + }, + { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "gastaldi", + "id": 54133, + "node_id": "MDQ6VXNlcjU0MTMz", + "avatar_url": "https://avatars.githubusercontent.com/u/54133?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gastaldi", + "html_url": "https://github.com/gastaldi", + "followers_url": "https://api.github.com/users/gastaldi/followers", + "following_url": "https://api.github.com/users/gastaldi/following{/other_user}", + "gists_url": "https://api.github.com/users/gastaldi/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gastaldi/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gastaldi/subscriptions", + "organizations_url": "https://api.github.com/users/gastaldi/orgs", + "repos_url": "https://api.github.com/users/gastaldi/repos", + "events_url": "https://api.github.com/users/gastaldi/events{/privacy}", + "received_events_url": "https://api.github.com/users/gastaldi/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "halkeye", + "id": 110087, + "node_id": "MDQ6VXNlcjExMDA4Nw==", + "avatar_url": "https://avatars.githubusercontent.com/u/110087?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/halkeye", + "html_url": "https://github.com/halkeye", + "followers_url": "https://api.github.com/users/halkeye/followers", + "following_url": "https://api.github.com/users/halkeye/following{/other_user}", + "gists_url": "https://api.github.com/users/halkeye/gists{/gist_id}", + "starred_url": "https://api.github.com/users/halkeye/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/halkeye/subscriptions", + "organizations_url": "https://api.github.com/users/halkeye/orgs", + "repos_url": "https://api.github.com/users/halkeye/repos", + "events_url": "https://api.github.com/users/halkeye/events{/privacy}", + "received_events_url": "https://api.github.com/users/halkeye/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "tedyoung", + "id": 382660, + "node_id": "MDQ6VXNlcjM4MjY2MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/382660?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/tedyoung", + "html_url": "https://github.com/tedyoung", + "followers_url": "https://api.github.com/users/tedyoung/followers", + "following_url": "https://api.github.com/users/tedyoung/following{/other_user}", + "gists_url": "https://api.github.com/users/tedyoung/gists{/gist_id}", + "starred_url": "https://api.github.com/users/tedyoung/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/tedyoung/subscriptions", + "organizations_url": "https://api.github.com/users/tedyoung/orgs", + "repos_url": "https://api.github.com/users/tedyoung/repos", + "events_url": "https://api.github.com/users/tedyoung/events{/privacy}", + "received_events_url": "https://api.github.com/users/tedyoung/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "mrginglymus", + "id": 390569, + "node_id": "MDQ6VXNlcjM5MDU2OQ==", + "avatar_url": "https://avatars.githubusercontent.com/u/390569?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/mrginglymus", + "html_url": "https://github.com/mrginglymus", + "followers_url": "https://api.github.com/users/mrginglymus/followers", + "following_url": "https://api.github.com/users/mrginglymus/following{/other_user}", + "gists_url": "https://api.github.com/users/mrginglymus/gists{/gist_id}", + "starred_url": "https://api.github.com/users/mrginglymus/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/mrginglymus/subscriptions", + "organizations_url": "https://api.github.com/users/mrginglymus/orgs", + "repos_url": "https://api.github.com/users/mrginglymus/repos", + "events_url": "https://api.github.com/users/mrginglymus/events{/privacy}", + "received_events_url": "https://api.github.com/users/mrginglymus/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "cmoulliard", + "id": 463790, + "node_id": "MDQ6VXNlcjQ2Mzc5MA==", + "avatar_url": "https://avatars.githubusercontent.com/u/463790?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cmoulliard", + "html_url": "https://github.com/cmoulliard", + "followers_url": "https://api.github.com/users/cmoulliard/followers", + "following_url": "https://api.github.com/users/cmoulliard/following{/other_user}", + "gists_url": "https://api.github.com/users/cmoulliard/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cmoulliard/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cmoulliard/subscriptions", + "organizations_url": "https://api.github.com/users/cmoulliard/orgs", + "repos_url": "https://api.github.com/users/cmoulliard/repos", + "events_url": "https://api.github.com/users/cmoulliard/events{/privacy}", + "received_events_url": "https://api.github.com/users/cmoulliard/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "farmdawgnation", + "id": 620189, + "node_id": "MDQ6VXNlcjYyMDE4OQ==", + "avatar_url": "https://avatars.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, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "alexanderrtaylor", + "id": 852179, + "node_id": "MDQ6VXNlcjg1MjE3OQ==", + "avatar_url": "https://avatars.githubusercontent.com/u/852179?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/alexanderrtaylor", + "html_url": "https://github.com/alexanderrtaylor", + "followers_url": "https://api.github.com/users/alexanderrtaylor/followers", + "following_url": "https://api.github.com/users/alexanderrtaylor/following{/other_user}", + "gists_url": "https://api.github.com/users/alexanderrtaylor/gists{/gist_id}", + "starred_url": "https://api.github.com/users/alexanderrtaylor/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/alexanderrtaylor/subscriptions", + "organizations_url": "https://api.github.com/users/alexanderrtaylor/orgs", + "repos_url": "https://api.github.com/users/alexanderrtaylor/repos", + "events_url": "https://api.github.com/users/alexanderrtaylor/events{/privacy}", + "received_events_url": "https://api.github.com/users/alexanderrtaylor/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "jlengrand", + "id": 921666, + "node_id": "MDQ6VXNlcjkyMTY2Ng==", + "avatar_url": "https://avatars.githubusercontent.com/u/921666?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jlengrand", + "html_url": "https://github.com/jlengrand", + "followers_url": "https://api.github.com/users/jlengrand/followers", + "following_url": "https://api.github.com/users/jlengrand/following{/other_user}", + "gists_url": "https://api.github.com/users/jlengrand/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jlengrand/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jlengrand/subscriptions", + "organizations_url": "https://api.github.com/users/jlengrand/orgs", + "repos_url": "https://api.github.com/users/jlengrand/repos", + "events_url": "https://api.github.com/users/jlengrand/events{/privacy}", + "received_events_url": "https://api.github.com/users/jlengrand/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "PauloMigAlmeida", + "id": 1011868, + "node_id": "MDQ6VXNlcjEwMTE4Njg=", + "avatar_url": "https://avatars.githubusercontent.com/u/1011868?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PauloMigAlmeida", + "html_url": "https://github.com/PauloMigAlmeida", + "followers_url": "https://api.github.com/users/PauloMigAlmeida/followers", + "following_url": "https://api.github.com/users/PauloMigAlmeida/following{/other_user}", + "gists_url": "https://api.github.com/users/PauloMigAlmeida/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PauloMigAlmeida/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PauloMigAlmeida/subscriptions", + "organizations_url": "https://api.github.com/users/PauloMigAlmeida/orgs", + "repos_url": "https://api.github.com/users/PauloMigAlmeida/repos", + "events_url": "https://api.github.com/users/PauloMigAlmeida/events{/privacy}", + "received_events_url": "https://api.github.com/users/PauloMigAlmeida/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "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, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "JLLeitschuh", + "id": 1323708, + "node_id": "MDQ6VXNlcjEzMjM3MDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/1323708?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/JLLeitschuh", + "html_url": "https://github.com/JLLeitschuh", + "followers_url": "https://api.github.com/users/JLLeitschuh/followers", + "following_url": "https://api.github.com/users/JLLeitschuh/following{/other_user}", + "gists_url": "https://api.github.com/users/JLLeitschuh/gists{/gist_id}", + "starred_url": "https://api.github.com/users/JLLeitschuh/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/JLLeitschuh/subscriptions", + "organizations_url": "https://api.github.com/users/JLLeitschuh/orgs", + "repos_url": "https://api.github.com/users/JLLeitschuh/repos", + "events_url": "https://api.github.com/users/JLLeitschuh/events{/privacy}", + "received_events_url": "https://api.github.com/users/JLLeitschuh/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "kohsuke2", + "id": 1329242, + "node_id": "MDQ6VXNlcjEzMjkyNDI=", + "avatar_url": "https://avatars.githubusercontent.com/u/1329242?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke2", + "html_url": "https://github.com/kohsuke2", + "followers_url": "https://api.github.com/users/kohsuke2/followers", + "following_url": "https://api.github.com/users/kohsuke2/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke2/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke2/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke2/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke2/orgs", + "repos_url": "https://api.github.com/users/kohsuke2/repos", + "events_url": "https://api.github.com/users/kohsuke2/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke2/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "ecxia", + "id": 1586186, + "node_id": "MDQ6VXNlcjE1ODYxODY=", + "avatar_url": "https://avatars.githubusercontent.com/u/1586186?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ecxia", + "html_url": "https://github.com/ecxia", + "followers_url": "https://api.github.com/users/ecxia/followers", + "following_url": "https://api.github.com/users/ecxia/following{/other_user}", + "gists_url": "https://api.github.com/users/ecxia/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ecxia/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ecxia/subscriptions", + "organizations_url": "https://api.github.com/users/ecxia/orgs", + "repos_url": "https://api.github.com/users/ecxia/repos", + "events_url": "https://api.github.com/users/ecxia/events{/privacy}", + "received_events_url": "https://api.github.com/users/ecxia/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "jgangemi", + "id": 1831839, + "node_id": "MDQ6VXNlcjE4MzE4Mzk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1831839?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jgangemi", + "html_url": "https://github.com/jgangemi", + "followers_url": "https://api.github.com/users/jgangemi/followers", + "following_url": "https://api.github.com/users/jgangemi/following{/other_user}", + "gists_url": "https://api.github.com/users/jgangemi/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jgangemi/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jgangemi/subscriptions", + "organizations_url": "https://api.github.com/users/jgangemi/orgs", + "repos_url": "https://api.github.com/users/jgangemi/repos", + "events_url": "https://api.github.com/users/jgangemi/events{/privacy}", + "received_events_url": "https://api.github.com/users/jgangemi/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "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, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "antrix190", + "id": 3845033, + "node_id": "MDQ6VXNlcjM4NDUwMzM=", + "avatar_url": "https://avatars.githubusercontent.com/u/3845033?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/antrix190", + "html_url": "https://github.com/antrix190", + "followers_url": "https://api.github.com/users/antrix190/followers", + "following_url": "https://api.github.com/users/antrix190/following{/other_user}", + "gists_url": "https://api.github.com/users/antrix190/gists{/gist_id}", + "starred_url": "https://api.github.com/users/antrix190/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/antrix190/subscriptions", + "organizations_url": "https://api.github.com/users/antrix190/orgs", + "repos_url": "https://api.github.com/users/antrix190/repos", + "events_url": "https://api.github.com/users/antrix190/events{/privacy}", + "received_events_url": "https://api.github.com/users/antrix190/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "qc12su", + "id": 4357348, + "node_id": "MDQ6VXNlcjQzNTczNDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/4357348?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/qc12su", + "html_url": "https://github.com/qc12su", + "followers_url": "https://api.github.com/users/qc12su/followers", + "following_url": "https://api.github.com/users/qc12su/following{/other_user}", + "gists_url": "https://api.github.com/users/qc12su/gists{/gist_id}", + "starred_url": "https://api.github.com/users/qc12su/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/qc12su/subscriptions", + "organizations_url": "https://api.github.com/users/qc12su/orgs", + "repos_url": "https://api.github.com/users/qc12su/repos", + "events_url": "https://api.github.com/users/qc12su/events{/privacy}", + "received_events_url": "https://api.github.com/users/qc12su/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "asthinasthi", + "id": 4577101, + "node_id": "MDQ6VXNlcjQ1NzcxMDE=", + "avatar_url": "https://avatars.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, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "ingwarsw", + "id": 5390156, + "node_id": "MDQ6VXNlcjUzOTAxNTY=", + "avatar_url": "https://avatars.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, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "Sage-Pierce", + "id": 5396306, + "node_id": "MDQ6VXNlcjUzOTYzMDY=", + "avatar_url": "https://avatars.githubusercontent.com/u/5396306?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Sage-Pierce", + "html_url": "https://github.com/Sage-Pierce", + "followers_url": "https://api.github.com/users/Sage-Pierce/followers", + "following_url": "https://api.github.com/users/Sage-Pierce/following{/other_user}", + "gists_url": "https://api.github.com/users/Sage-Pierce/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Sage-Pierce/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Sage-Pierce/subscriptions", + "organizations_url": "https://api.github.com/users/Sage-Pierce/orgs", + "repos_url": "https://api.github.com/users/Sage-Pierce/repos", + "events_url": "https://api.github.com/users/Sage-Pierce/events{/privacy}", + "received_events_url": "https://api.github.com/users/Sage-Pierce/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "t0m4uk1991", + "id": 6698785, + "node_id": "MDQ6VXNlcjY2OTg3ODU=", + "avatar_url": "https://avatars.githubusercontent.com/u/6698785?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/t0m4uk1991", + "html_url": "https://github.com/t0m4uk1991", + "followers_url": "https://api.github.com/users/t0m4uk1991/followers", + "following_url": "https://api.github.com/users/t0m4uk1991/following{/other_user}", + "gists_url": "https://api.github.com/users/t0m4uk1991/gists{/gist_id}", + "starred_url": "https://api.github.com/users/t0m4uk1991/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/t0m4uk1991/subscriptions", + "organizations_url": "https://api.github.com/users/t0m4uk1991/orgs", + "repos_url": "https://api.github.com/users/t0m4uk1991/repos", + "events_url": "https://api.github.com/users/t0m4uk1991/events{/privacy}", + "received_events_url": "https://api.github.com/users/t0m4uk1991/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "Irialad", + "id": 6895648, + "node_id": "MDQ6VXNlcjY4OTU2NDg=", + "avatar_url": "https://avatars.githubusercontent.com/u/6895648?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Irialad", + "html_url": "https://github.com/Irialad", + "followers_url": "https://api.github.com/users/Irialad/followers", + "following_url": "https://api.github.com/users/Irialad/following{/other_user}", + "gists_url": "https://api.github.com/users/Irialad/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Irialad/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Irialad/subscriptions", + "organizations_url": "https://api.github.com/users/Irialad/orgs", + "repos_url": "https://api.github.com/users/Irialad/repos", + "events_url": "https://api.github.com/users/Irialad/events{/privacy}", + "received_events_url": "https://api.github.com/users/Irialad/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "avano", + "id": 7081216, + "node_id": "MDQ6VXNlcjcwODEyMTY=", + "avatar_url": "https://avatars.githubusercontent.com/u/7081216?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/avano", + "html_url": "https://github.com/avano", + "followers_url": "https://api.github.com/users/avano/followers", + "following_url": "https://api.github.com/users/avano/following{/other_user}", + "gists_url": "https://api.github.com/users/avano/gists{/gist_id}", + "starred_url": "https://api.github.com/users/avano/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/avano/subscriptions", + "organizations_url": "https://api.github.com/users/avano/orgs", + "repos_url": "https://api.github.com/users/avano/repos", + "events_url": "https://api.github.com/users/avano/events{/privacy}", + "received_events_url": "https://api.github.com/users/avano/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "vahrennd", + "id": 8679583, + "node_id": "MDQ6VXNlcjg2Nzk1ODM=", + "avatar_url": "https://avatars.githubusercontent.com/u/8679583?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/vahrennd", + "html_url": "https://github.com/vahrennd", + "followers_url": "https://api.github.com/users/vahrennd/followers", + "following_url": "https://api.github.com/users/vahrennd/following{/other_user}", + "gists_url": "https://api.github.com/users/vahrennd/gists{/gist_id}", + "starred_url": "https://api.github.com/users/vahrennd/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/vahrennd/subscriptions", + "organizations_url": "https://api.github.com/users/vahrennd/orgs", + "repos_url": "https://api.github.com/users/vahrennd/repos", + "events_url": "https://api.github.com/users/vahrennd/events{/privacy}", + "received_events_url": "https://api.github.com/users/vahrennd/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "bloslo", + "id": 11611189, + "node_id": "MDQ6VXNlcjExNjExMTg5", + "avatar_url": "https://avatars.githubusercontent.com/u/11611189?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bloslo", + "html_url": "https://github.com/bloslo", + "followers_url": "https://api.github.com/users/bloslo/followers", + "following_url": "https://api.github.com/users/bloslo/following{/other_user}", + "gists_url": "https://api.github.com/users/bloslo/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bloslo/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bloslo/subscriptions", + "organizations_url": "https://api.github.com/users/bloslo/orgs", + "repos_url": "https://api.github.com/users/bloslo/repos", + "events_url": "https://api.github.com/users/bloslo/events{/privacy}", + "received_events_url": "https://api.github.com/users/bloslo/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "km2018", + "id": 13594336, + "node_id": "MDQ6VXNlcjEzNTk0MzM2", + "avatar_url": "https://avatars.githubusercontent.com/u/13594336?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/km2018", + "html_url": "https://github.com/km2018", + "followers_url": "https://api.github.com/users/km2018/followers", + "following_url": "https://api.github.com/users/km2018/following{/other_user}", + "gists_url": "https://api.github.com/users/km2018/gists{/gist_id}", + "starred_url": "https://api.github.com/users/km2018/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/km2018/subscriptions", + "organizations_url": "https://api.github.com/users/km2018/orgs", + "repos_url": "https://api.github.com/users/km2018/repos", + "events_url": "https://api.github.com/users/km2018/events{/privacy}", + "received_events_url": "https://api.github.com/users/km2018/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "akashRindhe", + "id": 14114123, + "node_id": "MDQ6VXNlcjE0MTE0MTIz", + "avatar_url": "https://avatars.githubusercontent.com/u/14114123?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/akashRindhe", + "html_url": "https://github.com/akashRindhe", + "followers_url": "https://api.github.com/users/akashRindhe/followers", + "following_url": "https://api.github.com/users/akashRindhe/following{/other_user}", + "gists_url": "https://api.github.com/users/akashRindhe/gists{/gist_id}", + "starred_url": "https://api.github.com/users/akashRindhe/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/akashRindhe/subscriptions", + "organizations_url": "https://api.github.com/users/akashRindhe/orgs", + "repos_url": "https://api.github.com/users/akashRindhe/repos", + "events_url": "https://api.github.com/users/akashRindhe/events{/privacy}", + "received_events_url": "https://api.github.com/users/akashRindhe/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "jberglund-BSFT", + "id": 19560713, + "node_id": "MDQ6VXNlcjE5NTYwNzEz", + "avatar_url": "https://avatars.githubusercontent.com/u/19560713?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jberglund-BSFT", + "html_url": "https://github.com/jberglund-BSFT", + "followers_url": "https://api.github.com/users/jberglund-BSFT/followers", + "following_url": "https://api.github.com/users/jberglund-BSFT/following{/other_user}", + "gists_url": "https://api.github.com/users/jberglund-BSFT/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jberglund-BSFT/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jberglund-BSFT/subscriptions", + "organizations_url": "https://api.github.com/users/jberglund-BSFT/orgs", + "repos_url": "https://api.github.com/users/jberglund-BSFT/repos", + "events_url": "https://api.github.com/users/jberglund-BSFT/events{/privacy}", + "received_events_url": "https://api.github.com/users/jberglund-BSFT/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/__files/repositories_206888201_collaborators-5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/__files/repositories_206888201_collaborators-5.json new file mode 100644 index 0000000000..c72cd76f1f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/__files/repositories_206888201_collaborators-5.json @@ -0,0 +1,254 @@ +[ + { + "login": "timja", + "id": 21194782, + "node_id": "MDQ6VXNlcjIxMTk0Nzgy", + "avatar_url": "https://avatars.githubusercontent.com/u/21194782?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/timja", + "html_url": "https://github.com/timja", + "followers_url": "https://api.github.com/users/timja/followers", + "following_url": "https://api.github.com/users/timja/following{/other_user}", + "gists_url": "https://api.github.com/users/timja/gists{/gist_id}", + "starred_url": "https://api.github.com/users/timja/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/timja/subscriptions", + "organizations_url": "https://api.github.com/users/timja/orgs", + "repos_url": "https://api.github.com/users/timja/repos", + "events_url": "https://api.github.com/users/timja/events{/privacy}", + "received_events_url": "https://api.github.com/users/timja/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "kisaga", + "id": 23390439, + "node_id": "MDQ6VXNlcjIzMzkwNDM5", + "avatar_url": "https://avatars.githubusercontent.com/u/23390439?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kisaga", + "html_url": "https://github.com/kisaga", + "followers_url": "https://api.github.com/users/kisaga/followers", + "following_url": "https://api.github.com/users/kisaga/following{/other_user}", + "gists_url": "https://api.github.com/users/kisaga/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kisaga/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kisaga/subscriptions", + "organizations_url": "https://api.github.com/users/kisaga/orgs", + "repos_url": "https://api.github.com/users/kisaga/repos", + "events_url": "https://api.github.com/users/kisaga/events{/privacy}", + "received_events_url": "https://api.github.com/users/kisaga/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "martinvanzijl", + "id": 24422213, + "node_id": "MDQ6VXNlcjI0NDIyMjEz", + "avatar_url": "https://avatars.githubusercontent.com/u/24422213?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/martinvanzijl", + "html_url": "https://github.com/martinvanzijl", + "followers_url": "https://api.github.com/users/martinvanzijl/followers", + "following_url": "https://api.github.com/users/martinvanzijl/following{/other_user}", + "gists_url": "https://api.github.com/users/martinvanzijl/gists{/gist_id}", + "starred_url": "https://api.github.com/users/martinvanzijl/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/martinvanzijl/subscriptions", + "organizations_url": "https://api.github.com/users/martinvanzijl/orgs", + "repos_url": "https://api.github.com/users/martinvanzijl/repos", + "events_url": "https://api.github.com/users/martinvanzijl/events{/privacy}", + "received_events_url": "https://api.github.com/users/martinvanzijl/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "SCHJonathan", + "id": 26502832, + "node_id": "MDQ6VXNlcjI2NTAyODMy", + "avatar_url": "https://avatars.githubusercontent.com/u/26502832?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/SCHJonathan", + "html_url": "https://github.com/SCHJonathan", + "followers_url": "https://api.github.com/users/SCHJonathan/followers", + "following_url": "https://api.github.com/users/SCHJonathan/following{/other_user}", + "gists_url": "https://api.github.com/users/SCHJonathan/gists{/gist_id}", + "starred_url": "https://api.github.com/users/SCHJonathan/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/SCHJonathan/subscriptions", + "organizations_url": "https://api.github.com/users/SCHJonathan/orgs", + "repos_url": "https://api.github.com/users/SCHJonathan/repos", + "events_url": "https://api.github.com/users/SCHJonathan/events{/privacy}", + "received_events_url": "https://api.github.com/users/SCHJonathan/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "willtsai", + "id": 28876888, + "node_id": "MDQ6VXNlcjI4ODc2ODg4", + "avatar_url": "https://avatars.githubusercontent.com/u/28876888?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/willtsai", + "html_url": "https://github.com/willtsai", + "followers_url": "https://api.github.com/users/willtsai/followers", + "following_url": "https://api.github.com/users/willtsai/following{/other_user}", + "gists_url": "https://api.github.com/users/willtsai/gists{/gist_id}", + "starred_url": "https://api.github.com/users/willtsai/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/willtsai/subscriptions", + "organizations_url": "https://api.github.com/users/willtsai/orgs", + "repos_url": "https://api.github.com/users/willtsai/repos", + "events_url": "https://api.github.com/users/willtsai/events{/privacy}", + "received_events_url": "https://api.github.com/users/willtsai/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "Typraeurion", + "id": 36168707, + "node_id": "MDQ6VXNlcjM2MTY4NzA3", + "avatar_url": "https://avatars.githubusercontent.com/u/36168707?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Typraeurion", + "html_url": "https://github.com/Typraeurion", + "followers_url": "https://api.github.com/users/Typraeurion/followers", + "following_url": "https://api.github.com/users/Typraeurion/following{/other_user}", + "gists_url": "https://api.github.com/users/Typraeurion/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Typraeurion/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Typraeurion/subscriptions", + "organizations_url": "https://api.github.com/users/Typraeurion/orgs", + "repos_url": "https://api.github.com/users/Typraeurion/repos", + "events_url": "https://api.github.com/users/Typraeurion/events{/privacy}", + "received_events_url": "https://api.github.com/users/Typraeurion/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "mxandeco", + "id": 42962662, + "node_id": "MDQ6VXNlcjQyOTYyNjYy", + "avatar_url": "https://avatars.githubusercontent.com/u/42962662?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/mxandeco", + "html_url": "https://github.com/mxandeco", + "followers_url": "https://api.github.com/users/mxandeco/followers", + "following_url": "https://api.github.com/users/mxandeco/following{/other_user}", + "gists_url": "https://api.github.com/users/mxandeco/gists{/gist_id}", + "starred_url": "https://api.github.com/users/mxandeco/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/mxandeco/subscriptions", + "organizations_url": "https://api.github.com/users/mxandeco/orgs", + "repos_url": "https://api.github.com/users/mxandeco/repos", + "events_url": "https://api.github.com/users/mxandeco/events{/privacy}", + "received_events_url": "https://api.github.com/users/mxandeco/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "tginiotis-at-work", + "id": 61763026, + "node_id": "MDQ6VXNlcjYxNzYzMDI2", + "avatar_url": "https://avatars.githubusercontent.com/u/61763026?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/tginiotis-at-work", + "html_url": "https://github.com/tginiotis-at-work", + "followers_url": "https://api.github.com/users/tginiotis-at-work/followers", + "following_url": "https://api.github.com/users/tginiotis-at-work/following{/other_user}", + "gists_url": "https://api.github.com/users/tginiotis-at-work/gists{/gist_id}", + "starred_url": "https://api.github.com/users/tginiotis-at-work/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/tginiotis-at-work/subscriptions", + "organizations_url": "https://api.github.com/users/tginiotis-at-work/orgs", + "repos_url": "https://api.github.com/users/tginiotis-at-work/repos", + "events_url": "https://api.github.com/users/tginiotis-at-work/events{/privacy}", + "received_events_url": "https://api.github.com/users/tginiotis-at-work/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + }, + { + "login": "0xacx", + "id": 99351112, + "node_id": "U_kgDOBev6SA", + "avatar_url": "https://avatars.githubusercontent.com/u/99351112?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0xacx", + "html_url": "https://github.com/0xacx", + "followers_url": "https://api.github.com/users/0xacx/followers", + "following_url": "https://api.github.com/users/0xacx/following{/other_user}", + "gists_url": "https://api.github.com/users/0xacx/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0xacx/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0xacx/subscriptions", + "organizations_url": "https://api.github.com/users/0xacx/orgs", + "repos_url": "https://api.github.com/users/0xacx/repos", + "events_url": "https://api.github.com/users/0xacx/events{/privacy}", + "received_events_url": "https://api.github.com/users/0xacx/received_events", + "type": "User", + "site_admin": false, + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "role_name": "admin" + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/__files/user-1.json new file mode 100644 index 0000000000..0903a33033 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/__files/user-1.json @@ -0,0 +1,46 @@ +{ + "login": "0xacx", + "id": 99351112, + "node_id": "U_kgDOBev6SA", + "avatar_url": "https://avatars.githubusercontent.com/u/99351112?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/0xacx", + "html_url": "https://github.com/0xacx", + "followers_url": "https://api.github.com/users/0xacx/followers", + "following_url": "https://api.github.com/users/0xacx/following{/other_user}", + "gists_url": "https://api.github.com/users/0xacx/gists{/gist_id}", + "starred_url": "https://api.github.com/users/0xacx/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/0xacx/subscriptions", + "organizations_url": "https://api.github.com/users/0xacx/orgs", + "repos_url": "https://api.github.com/users/0xacx/repos", + "events_url": "https://api.github.com/users/0xacx/events{/privacy}", + "received_events_url": "https://api.github.com/users/0xacx/received_events", + "type": "User", + "site_admin": false, + "name": null, + "company": null, + "blog": "", + "location": null, + "email": null, + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 13, + "public_gists": 0, + "followers": 0, + "following": 2, + "created_at": "2022-02-09T16:37:05Z", + "updated_at": "2022-06-15T07:58:04Z", + "private_gists": 0, + "total_private_repos": 0, + "owned_private_repos": 0, + "disk_usage": 725, + "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/GHRepositoryTest/wiremock/userIsCollaborator/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..bb3d284504 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,48 @@ +{ + "id": "12d0904c-a249-4339-b8ab-e9c5f1484c38", + "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": { + "Server": "GitHub.com", + "Date": "Wed, 22 Jun 2022 13:18: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/\"80dbe7cd27a01d294925375cca9edb73bc5b5215126873fa5b58df298a20e7a1\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "admin:org, admin:repo_hook, gist, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "github-authentication-token-expiration": "2022-09-20 12:51:45 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4886", + "X-RateLimit-Reset": "1655906861", + "X-RateLimit-Used": "114", + "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": "CDCD:2B83:13B8A8F:1423E49:62B31697" + } + }, + "uuid": "12d0904c-a249-4339-b8ab-e9c5f1484c38", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/mappings/repos_hub4j-test-org_github-api-3.json new file mode 100644 index 0000000000..3ccf0df2be --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/mappings/repos_hub4j-test-org_github-api-3.json @@ -0,0 +1,48 @@ +{ + "id": "cb685d03-9994-419a-bba7-a43525aec7c5", + "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": { + "Server": "GitHub.com", + "Date": "Wed, 22 Jun 2022 13:18: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/\"cb99d6332ac5c8b2c09a1b93d8c078ce24f73cb0b79858a1516f6f939aae0a72\"", + "Last-Modified": "Mon, 23 May 2022 14:23:52 GMT", + "X-OAuth-Scopes": "admin:org, admin:repo_hook, gist, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2022-09-20 12:51:45 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4885", + "X-RateLimit-Reset": "1655906861", + "X-RateLimit-Used": "115", + "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": "CDCE:115D0:11EC0F1:1255378:62B31697" + } + }, + "uuid": "cb685d03-9994-419a-bba7-a43525aec7c5", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/mappings/repos_hub4j-test-org_github-api_collaborators-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/mappings/repos_hub4j-test-org_github-api_collaborators-4.json new file mode 100644 index 0000000000..9ff9256bb7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/mappings/repos_hub4j-test-org_github-api_collaborators-4.json @@ -0,0 +1,48 @@ +{ + "id": "51d46529-a306-4d19-810c-92843fcd36b3", + "name": "repos_hub4j-test-org_github-api_collaborators", + "request": { + "url": "/repos/hub4j-test-org/github-api/collaborators", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_collaborators-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 22 Jun 2022 13:18: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/\"451021fe23138706be1e1e35f542497503828ad1ff3eaf82f8e8be7550eadcfe\"", + "X-OAuth-Scopes": "admin:org, admin:repo_hook, gist, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-20 12:51:45 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4884", + "X-RateLimit-Reset": "1655906861", + "X-RateLimit-Used": "116", + "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": "CDCF:11403:BF7787:C51875:62B31697", + "Link": "; rel=\"next\", ; rel=\"last\"" + } + }, + "uuid": "51d46529-a306-4d19-810c-92843fcd36b3", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/mappings/repos_hub4j-test-org_github-api_collaborators_vbehar-6.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/mappings/repos_hub4j-test-org_github-api_collaborators_vbehar-6.json new file mode 100644 index 0000000000..a9f25af5dd --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/mappings/repos_hub4j-test-org_github-api_collaborators_vbehar-6.json @@ -0,0 +1,40 @@ +{ + "id": "2ec707ff-894b-4e30-bab5-8b8ffc82adeb", + "name": "repos_hub4j-test-org_github-api_collaborators_vbehar", + "request": { + "url": "/repos/hub4j-test-org/github-api/collaborators/vbehar", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 22 Jun 2022 13:18:16 GMT", + "X-OAuth-Scopes": "admin:org, admin:repo_hook, gist, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-20 12:51:45 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4882", + "X-RateLimit-Reset": "1655906861", + "X-RateLimit-Used": "118", + "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": "CDD1:21ED:1404C81:146F821:62B31698" + } + }, + "uuid": "2ec707ff-894b-4e30-bab5-8b8ffc82adeb", + "persistent": true, + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/mappings/repositories_206888201_collaborators-5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/mappings/repositories_206888201_collaborators-5.json new file mode 100644 index 0000000000..3baf3d426e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/mappings/repositories_206888201_collaborators-5.json @@ -0,0 +1,48 @@ +{ + "id": "2624a0c2-3bee-4d14-ad13-b0c96381ad90", + "name": "repositories_206888201_collaborators", + "request": { + "url": "/repositories/206888201/collaborators?page=2", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repositories_206888201_collaborators-5.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 22 Jun 2022 13:18: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/\"d53581f41f93b974f1e2c3f8c7d3f42343561163b0593865121640518d932cad\"", + "X-OAuth-Scopes": "admin:org, admin:repo_hook, gist, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-20 12:51:45 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4883", + "X-RateLimit-Reset": "1655906861", + "X-RateLimit-Used": "117", + "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": "CDD0:11400:57FAC0:5CF124:62B31698", + "Link": "; rel=\"prev\", ; rel=\"first\"" + } + }, + "uuid": "2624a0c2-3bee-4d14-ad13-b0c96381ad90", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/mappings/user-1.json new file mode 100644 index 0000000000..d8248b7126 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/userIsCollaborator/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "27a143ee-fd78-47f0-a017-1ffd68615756", + "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, 22 Jun 2022 13:18: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/\"73ba98e72cc4eee3ac22773bf0aca91ee52ada5d7ed1683fb83c677d46388dde\"", + "Last-Modified": "Wed, 15 Jun 2022 07:58:04 GMT", + "X-OAuth-Scopes": "admin:org, admin:repo_hook, gist, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2022-09-20 12:51:45 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4888", + "X-RateLimit-Reset": "1655906861", + "X-RateLimit-Used": "112", + "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": "CDCC:0F9F:287D3E:2D0A3B:62B31696" + } + }, + "uuid": "27a143ee-fd78-47f0-a017-1ffd68615756", + "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/addRemoveMember/__files/organizations_7544739_team_3451996_members-10.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/addRemoveMember/__files/organizations_7544739_team_3451996_members-10.json 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/addRemoveMember/__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/addRemoveMember/__files/organizations_7544739_team_3451996_members-3.json diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/__files/organizations_7544739_team_3451996_members-6.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/__files/organizations_7544739_team_3451996_members-6.json new file mode 100644 index 0000000000..d66fd58078 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/__files/organizations_7544739_team_3451996_members-6.json @@ -0,0 +1,42 @@ +[ + { + "login": "gsmet", + "id": 1279749, + "node_id": "MDQ6VXNlcjEyNzk3NDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1279749?u=e462a6165ea17647aed446ca31fae604338ae18c&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 + }, + { + "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 + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/__files/organizations_7544739_team_3451996_members-7.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/__files/organizations_7544739_team_3451996_members-7.json new file mode 100644 index 0000000000..d66fd58078 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/__files/organizations_7544739_team_3451996_members-7.json @@ -0,0 +1,42 @@ +[ + { + "login": "gsmet", + "id": 1279749, + "node_id": "MDQ6VXNlcjEyNzk3NDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1279749?u=e462a6165ea17647aed446ca31fae604338ae18c&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 + }, + { + "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 + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/__files/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/__files/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..1fc92f22b1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/__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": 4, + "owned_private_repos": 4, + "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": 37, + "seats": 3 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/__files/orgs_hub4j-test-org_teams_dummy-team-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/__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/addRemoveMember/__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/addRemoveMember/__files/users_gsmet-4.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/__files/users_gsmet-4.json new file mode 100644 index 0000000000..f87cbe41ef --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/__files/users_gsmet-4.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": 152, + "public_gists": 15, + "followers": 174, + "following": 3, + "created_at": "2011-12-22T11:03:22Z", + "updated_at": "2022-04-14T20:01:34Z", + "private_gists": 14, + "total_private_repos": 4, + "owned_private_repos": 1, + "disk_usage": 70883, + "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/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_members-10.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_members-10.json new file mode 100644 index 0000000000..26db3e84a0 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_members-10.json @@ -0,0 +1,48 @@ +{ + "id": "424c6f1d-3e8a-4153-803c-38fa04347733", + "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-10.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 21 Apr 2022 10:56:53 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": "4973", + "X-RateLimit-Reset": "1650541694", + "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": "C192:1227A:CA2E10:CE35A1:62613875" + } + }, + "uuid": "424c6f1d-3e8a-4153-803c-38fa04347733", + "persistent": true, + "scenarioName": "scenario-1-organizations-7544739-team-3451996-members", + "requiredScenarioState": "scenario-1-organizations-7544739-team-3451996-members-3", + "insertionIndex": 10 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_members-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_members-3.json new file mode 100644 index 0000000000..20df19ea87 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_members-3.json @@ -0,0 +1,49 @@ +{ + "id": "c2ad8b47-3d58-484d-91db-32576d8ec1cb", + "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": "Thu, 21 Apr 2022 10:56:50 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "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": "4980", + "X-RateLimit-Reset": "1650541694", + "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": "C182:B3FE:126871A:12B1E66:62613872" + } + }, + "uuid": "c2ad8b47-3d58-484d-91db-32576d8ec1cb", + "persistent": true, + "scenarioName": "scenario-1-organizations-7544739-team-3451996-members", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-organizations-7544739-team-3451996-members-2", + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_members-6.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_members-6.json new file mode 100644 index 0000000000..0eb3f92af8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_members-6.json @@ -0,0 +1,49 @@ +{ + "id": "e0b9766d-ff6d-4e8e-a3bb-d645297d18be", + "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-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 21 Apr 2022 10:56:51 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/\"da8fb970de728aff6154c2f2a9083e384ea024b402424bc8456f0c4117a6deaf\"", + "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": "1650541694", + "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": "C18A:4960:8D57BF:8FD6E5:62613873" + } + }, + "uuid": "e0b9766d-ff6d-4e8e-a3bb-d645297d18be", + "persistent": true, + "scenarioName": "scenario-1-organizations-7544739-team-3451996-members", + "requiredScenarioState": "scenario-1-organizations-7544739-team-3451996-members-2", + "newScenarioState": "scenario-1-organizations-7544739-team-3451996-members-3", + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_members-7.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_members-7.json new file mode 100644 index 0000000000..69c75821bc --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_members-7.json @@ -0,0 +1,46 @@ +{ + "id": "43361fed-9632-4319-a7a7-3abeecf3790f", + "name": "organizations_7544739_team_3451996_members", + "request": { + "url": "/organizations/7544739/team/3451996/members?role=maintainer", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "organizations_7544739_team_3451996_members-7.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 21 Apr 2022 10:56:51 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/\"da8fb970de728aff6154c2f2a9083e384ea024b402424bc8456f0c4117a6deaf\"", + "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": "4976", + "X-RateLimit-Reset": "1650541694", + "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": "C18C:7057:121D070:12649B9:62613873" + } + }, + "uuid": "43361fed-9632-4319-a7a7-3abeecf3790f", + "persistent": true, + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_members-8.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_members-8.json new file mode 100644 index 0000000000..d3efb30f76 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_members-8.json @@ -0,0 +1,46 @@ +{ + "id": "8c628b1f-bb2f-4a3f-b714-c5a49fe0e9fb", + "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": "Thu, 21 Apr 2022 10:56:52 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": "4975", + "X-RateLimit-Reset": "1650541694", + "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": "C18E:8011:C859B4:CC5ACE:62613874" + } + }, + "uuid": "8c628b1f-bb2f-4a3f-b714-c5a49fe0e9fb", + "persistent": true, + "insertionIndex": 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_memberships_gsmet-11.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_memberships_gsmet-11.json new file mode 100644 index 0000000000..0c423f5521 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_memberships_gsmet-11.json @@ -0,0 +1,41 @@ +{ + "id": "54b46c29-3b21-41ff-8dbe-bc90f4e2834f", + "name": "organizations_7544739_team_3451996_memberships_gsmet", + "request": { + "url": "/organizations/7544739/team/3451996/memberships/gsmet", + "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": "Thu, 21 Apr 2022 10:56:53 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": "4972", + "X-RateLimit-Reset": "1650541694", + "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'", + "Vary": "Accept-Encoding, Accept, X-Requested-With", + "X-GitHub-Request-Id": "C194:B3FD:C25197:C63FCC:62613875" + } + }, + "uuid": "54b46c29-3b21-41ff-8dbe-bc90f4e2834f", + "persistent": true, + "insertionIndex": 11 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_memberships_gsmet-5.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_memberships_gsmet-5.json new file mode 100644 index 0000000000..fd01acdb99 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_memberships_gsmet-5.json @@ -0,0 +1,53 @@ +{ + "id": "5ae8bc2b-2b7d-4e1a-bce3-84b91d3a4e41", + "name": "organizations_7544739_team_3451996_memberships_gsmet", + "request": { + "url": "/organizations/7544739/team/3451996/memberships/gsmet", + "method": "PUT", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"role\":\"maintainer\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/7544739/team/3451996/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 21 Apr 2022 10:56:51 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/\"6e79bcc9d1fb97f3ea11c87805d3dafea4016657495845ba0b3c74b9492cb67d\"", + "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": "4978", + "X-RateLimit-Reset": "1650541694", + "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": "C188:495D:1E8F50:2038E7:62613873" + } + }, + "uuid": "5ae8bc2b-2b7d-4e1a-bce3-84b91d3a4e41", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_memberships_gsmet-9.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_memberships_gsmet-9.json new file mode 100644 index 0000000000..e2cda5d4d1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/organizations_7544739_team_3451996_memberships_gsmet-9.json @@ -0,0 +1,39 @@ +{ + "id": "1b440ab0-a70b-43a3-8295-b69f335f3e0b", + "name": "organizations_7544739_team_3451996_memberships_gsmet", + "request": { + "url": "/organizations/7544739/team/3451996/memberships/gsmet", + "method": "DELETE", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 21 Apr 2022 10:56:53 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, repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4974", + "X-RateLimit-Reset": "1650541694", + "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'", + "Vary": "Accept-Encoding, Accept, X-Requested-With", + "X-GitHub-Request-Id": "C190:B3FE:1268AB0:12B21EB:62613874" + } + }, + "uuid": "1b440ab0-a70b-43a3-8295-b69f335f3e0b", + "persistent": true, + "insertionIndex": 9 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..a6e0aadc61 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/orgs_hub4j-test-org-1.json @@ -0,0 +1,47 @@ +{ + "id": "07e23af6-158e-4ae7-8733-c0cd44af55d9", + "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": "Thu, 21 Apr 2022 10:56:49 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"c02031d2ea85f3634e9f8fe9240f1d2790a675e0cc9c2884fad5cd632a52ce94\"", + "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": "4982", + "X-RateLimit-Reset": "1650541694", + "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": "C17E:4960:8D54D8:8FD3FA:62613871" + } + }, + "uuid": "07e23af6-158e-4ae7-8733-c0cd44af55d9", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json new file mode 100644 index 0000000000..9e1f0ba386 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json @@ -0,0 +1,47 @@ +{ + "id": "66add0d9-eb3e-4c1f-bea2-6e0f32941e92", + "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": "Thu, 21 Apr 2022 10:56:50 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "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": "4981", + "X-RateLimit-Reset": "1650541694", + "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": "C180:E7CD:1147E92:118D151:62613872" + } + }, + "uuid": "66add0d9-eb3e-4c1f-bea2-6e0f32941e92", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/users_gsmet-4.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/users_gsmet-4.json new file mode 100644 index 0000000000..709ab6ec34 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/addRemoveMember/mappings/users_gsmet-4.json @@ -0,0 +1,47 @@ +{ + "id": "dc528185-62a6-431c-b570-3a1c768fe91c", + "name": "users_gsmet", + "request": { + "url": "/users/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "users_gsmet-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 21 Apr 2022 10:56:50 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"93ed71936dd0a92c3d1561cfdfbe7ea961c27ab15c76ec2608bcccba0b3c3284\"", + "Last-Modified": "Thu, 14 Apr 2022 20:01:34 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": "4979", + "X-RateLimit-Reset": "1650541694", + "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": "C184:1227B:12AEABF:12F6177:62613872" + } + }, + "uuid": "dc528185-62a6-431c-b570-3a1c768fe91c", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/organizations_7544739_team_3451996_members-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/organizations_7544739_team_3451996_members-3.json new file mode 100644 index 0000000000..10e9756d26 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/organizations_7544739_team_3451996_members-3.json @@ -0,0 +1,22 @@ +[ + { + "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 + } +] \ No newline at end of file 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/getMembers/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/orgs_hub4j-test-org-2.json deleted file mode 100644 index 6a53d8b196..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/orgs_hub4j-test-org-2.json +++ /dev/null @@ -1,50 +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://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": 19, - "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": 2, - "owned_private_repos": 2, - "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_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": 26, - "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-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__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/getMembers/__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/getMembers/__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-3.json deleted file mode 100644 index e9db7ba861..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/orgs_hub4j-test-org_teams_dummy-team-3.json +++ /dev/null @@ -1,49 +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-06-02T19:31:50Z", - "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": 19, - "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/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/getMembers/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/orgs_hub4j-test-org-2.json deleted file mode 100644 index 71249f05d6..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/orgs_hub4j-test-org-2.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "2696f538-0497-4f75-a200-4254e4ffc208", - "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": { - "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/\"e9f639cd8af8a2d7ebcaecf51127929bbd54efb425c02083f50c16b565bd5f60\"", - "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-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4982", - "X-RateLimit-Reset": "1631652409", - "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": "D39E:601D:16E234D:184EC7F:6140FE2C" - } - }, - "uuid": "2696f538-0497-4f75-a200-4254e4ffc208", - "persistent": true, - "insertionIndex": 2 -} \ 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-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json new file mode 100644 index 0000000000..5186f865e3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json @@ -0,0 +1,47 @@ +{ + "id": "cb39a683-c859-4510-96ad-09bc517c24fb", + "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: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/\"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": "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", + "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": "BA1C:BF13:1A33268:1B0B176:6221EBD7" + } + }, + "uuid": "cb39a683-c859-4510-96ad-09bc517c24fb", + "persistent": true, + "insertionIndex": 2 +} \ 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/GHTeamTest/wiremock/getMembers/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json deleted file mode 100644 index 3e1120ca8a..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "05dbfe20-3e15-4b20-9ee0-993b2f42d5c3", - "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": { - "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/\"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", - "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4981", - "X-RateLimit-Reset": "1631652409", - "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": "D3A0:047F:1629EA5:1795993:6140FE2C" - } - }, - "uuid": "05dbfe20-3e15-4b20-9ee0-993b2f42d5c3", - "persistent": true, - "insertionIndex": 3 -} \ 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/organizations_7544739_team_3451996_members-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/organizations_7544739_team_3451996_members-3.json new file mode 100644 index 0000000000..10e9756d26 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/organizations_7544739_team_3451996_members-3.json @@ -0,0 +1,22 @@ +[ + { + "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 + } +] \ No newline at end of file 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-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/orgs_hub4j-test-org-2.json deleted file mode 100644 index 6a53d8b196..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/orgs_hub4j-test-org-2.json +++ /dev/null @@ -1,50 +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://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": 19, - "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": 2, - "owned_private_repos": 2, - "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_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": 26, - "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/__files/orgs_hub4j-test-org_teams_dummy-team-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/orgs_hub4j-test-org_teams_dummy-team-3.json deleted file mode 100644 index e9db7ba861..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/orgs_hub4j-test-org_teams_dummy-team-3.json +++ /dev/null @@ -1,49 +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-06-02T19:31:50Z", - "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": 19, - "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/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/user-1.json deleted file mode 100644 index 7a16e7194b..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__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-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 - } -} \ 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/GHTeamTest/wiremock/listMembers/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/orgs_hub4j-test-org-2.json deleted file mode 100644 index 0b53109658..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/orgs_hub4j-test-org-2.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "6c1fdaf9-c962-4d41-ab1e-699060ba0ebb", - "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": { - "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/\"e9f639cd8af8a2d7ebcaecf51127929bbd54efb425c02083f50c16b565bd5f60\"", - "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-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4992", - "X-RateLimit-Reset": "1631652409", - "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": "D364:55EE:BEE4A7:D2466B:6140FC3F" - } - }, - "uuid": "6c1fdaf9-c962-4d41-ab1e-699060ba0ebb", - "persistent": true, - "insertionIndex": 2 -} \ 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-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json new file mode 100644 index 0000000000..4cc9706fdb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json @@ -0,0 +1,47 @@ +{ + "id": "86d0a8d7-3d91-42f7-90a4-54f7f9a7fe4b", + "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": "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": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B9FC:61AD:3EFA471:4012299:6221EBCC" + } + }, + "uuid": "86d0a8d7-3d91-42f7-90a4-54f7f9a7fe4b", + "persistent": true, + "insertionIndex": 2 +} \ 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/listMembers/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json deleted file mode 100644 index b08d93c163..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "95086bc7-9f1a-44aa-83ad-081ae26296f7", - "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": { - "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/\"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", - "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4991", - "X-RateLimit-Reset": "1631652409", - "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": "D366:0480:1C122E3:1DA28F1:6140FC3F" - } - }, - "uuid": "95086bc7-9f1a-44aa-83ad-081ae26296f7", - "persistent": true, - "insertionIndex": 3 -} \ 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/listMembers/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/user-1.json deleted file mode 100644 index c14f8d0a03..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/user-1.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "4db960bc-5fa4-461a-917a-a2de0c87197f", - "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:47: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/\"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", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4994", - "X-RateLimit-Reset": "1631652409", - "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": "D3C4:57F9:D8FB:E6FF:6140FC3E" - } - }, - "uuid": "4db960bc-5fa4-461a-917a-a2de0c87197f", - "persistent": true, - "insertionIndex": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/__files/organizations_7544739_team_3451996_members-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/__files/organizations_7544739_team_3451996_members-3.json new file mode 100644 index 0000000000..10e9756d26 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/__files/organizations_7544739_team_3451996_members-3.json @@ -0,0 +1,22 @@ +[ + { + "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 + } +] \ No newline at end of file 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/__files/teams_3451996_members-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/__files/teams_3451996_members-3.json deleted file mode 100644 index a3cec9e1a6..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/__files/teams_3451996_members-3.json +++ /dev/null @@ -1,22 +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 - } -] \ No newline at end of file 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/orgs_hub4j-test-org_teams_dummy-team-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/__files/orgs_hub4j-test-org_teams_dummy-team-3.json deleted file mode 100644 index 901d1c798b..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/__files/orgs_hub4j-test-org_teams_dummy-team-3.json +++ /dev/null @@ -1,49 +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-06-02T19:31:50Z", - "members_count": 2, - "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": "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" - }, - "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-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/__files/orgs_hub4j-test-org-2.json deleted file mode 100644 index b115ab2ee6..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/__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": 0, - "disk_usage": 148, - "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": 10000, - "filled_seats": 18, - "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-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/__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/testFetchEmptyChildTeams/__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/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-3.json deleted file mode 100644 index 1dc59986c5..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/__files/orgs_hub4j-test-org_teams_simple-team-3.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "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://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" - }, - "parent": null -} \ No newline at end of file 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-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/orgs_hub4j-test-org-2.json deleted file mode 100644 index 91bee12bbe..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/orgs_hub4j-test-org-2.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "db9b96a5-fe2c-487d-8fbe-777c821a637a", - "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": { - "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": "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\"", - "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-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": "CB6B:7F44:5E37B7:DCCBC7:5F0F6948" - } - }, - "uuid": "db9b96a5-fe2c-487d-8fbe-777c821a637a", - "persistent": true, - "insertionIndex": 2 -} \ 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-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/orgs_hub4j-test-org_teams_simple-team-2.json new file mode 100644 index 0000000000..258cb6bf1b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/orgs_hub4j-test-org_teams_simple-team-2.json @@ -0,0 +1,47 @@ +{ + "id": "dd60e897-5342-4517-8704-2b951435707d", + "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: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/\"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": "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": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA0A:B362:341BBFD:3518CFE:6221EBCE" + } + }, + "uuid": "dd60e897-5342-4517-8704-2b951435707d", + "persistent": true, + "insertionIndex": 2 +} \ 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-3.json deleted file mode 100644 index c5f8848a20..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/orgs_hub4j-test-org_teams_simple-team-3.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "015dd9a8-6fb4-4ab0-9053-15905e3a80be", - "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-3.json", - "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": "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\"", - "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-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": "CB6B:7F44:5E37BE:DCCC34:5F0F6949" - } - }, - "uuid": "015dd9a8-6fb4-4ab0-9053-15905e3a80be", - "persistent": true, - "insertionIndex": 3 -} \ 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/organizations_7544739_team_3451996-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/organizations_7544739_team_3451996-3.json new file mode 100644 index 0000000000..d78a03330e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/organizations_7544739_team_3451996-3.json @@ -0,0 +1,53 @@ +{ + "id": "a2103423-0c21-4e36-ad8d-6b1fe68ac998", + "name": "organizations_7544739_team_3451996", + "request": { + "url": "/organizations/7544739/team/3451996", + "method": "PATCH", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"description\":\"Updated by API Test\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "organizations_7544739_team_3451996-3.json", + "headers": { + "Server": "GitHub.com", + "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/\"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": "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": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B9EC:89C5:100B358:10979BB:6221EBCA" + } + }, + "uuid": "a2103423-0c21-4e36-ad8d-6b1fe68ac998", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/organizations_7544739_team_3451996-5.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/organizations_7544739_team_3451996-5.json new file mode 100644 index 0000000000..05610e5d9e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/organizations_7544739_team_3451996-5.json @@ -0,0 +1,53 @@ +{ + "id": "191cd3f8-d590-4623-be77-3852f86b5393", + "name": "organizations_7544739_team_3451996", + "request": { + "url": "/organizations/7544739/team/3451996", + "method": "PATCH", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"description\":\"Updated by API TestModified\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "organizations_7544739_team_3451996-5.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/\"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": "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": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B9F0:61AD:3EFA107:4011EF6:6221EBCA" + } + }, + "uuid": "191cd3f8-d590-4623-be77-3852f86b5393", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..027b50d39e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org-1.json @@ -0,0 +1,47 @@ +{ + "id": "ab47197a-1088-406c-b081-6a26a0511641", + "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: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/\"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": "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", + "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": "B9E8:5E60:65682:AABA0:6221EBC9" + } + }, + "uuid": "ab47197a-1088-406c-b081-6a26a0511641", + "persistent": true, + "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/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json new file mode 100644 index 0000000000..1af1ed023f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json @@ -0,0 +1,50 @@ +{ + "id": "0bd796e4-62b3-424b-8a3b-46475f2d0f7d", + "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: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/\"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": "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": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B9EA:4928:77D635:7C4630:6221EBCA" + } + }, + "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": 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-4.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-4.json new file mode 100644 index 0000000000..a72338779e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-4.json @@ -0,0 +1,50 @@ +{ + "id": "5f8a2db7-2bd0-4cc0-897c-a4aa944744ee", + "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-4.json", + "headers": { + "Server": "GitHub.com", + "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/\"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": "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": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B9EE:4927:3B8E59:3F90E9:6221EBCA" + } + }, + "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": 4 +} \ 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-5.json deleted file mode 100644 index 8c45a3a6a9..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-5.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "id": "32efe61a-4308-46c2-a349-010050ec8685", - "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: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", - "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", - "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:A3A3F:151F13:5E709476" - } - }, - "uuid": "32efe61a-4308-46c2-a349-010050ec8685", - "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/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-6.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-6.json new file mode 100644 index 0000000000..698926fe78 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-6.json @@ -0,0 +1,49 @@ +{ + "id": "ee4e568b-f0db-4859-8be0-b879a78263fd", + "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-6.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/\"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": "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": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B9F2:361B:1BC7131:1CA203C:6221EBCB" + } + }, + "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": 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/teams_3451996-4.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/teams_3451996-4.json deleted file mode 100644 index ea4f8bc9b7..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/teams_3451996-4.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "id": "a8678668-24d0-4f75-b5a3-da720a764dd6", - "name": "teams_3451996", - "request": { - "url": "/teams/3451996", - "method": "PATCH", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - }, - "bodyPatterns": [ - { - "equalToJson": "{\"description\":\"Updated by API Test\"}", - "ignoreArrayOrder": true, - "ignoreExtraElements": true - } - ] - }, - "response": { - "status": 200, - "bodyFileName": "teams_3451996-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": "4443", - "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/\"6d0f4cb5dd3a7f45b3267da728da2e09\"", - "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": "F8C7:46E1:A3A32:151F01:5E709476", - "Link": "; rel=\"deprecation\"; type=\"text/html\", ; rel=\"alternate\"" - } - }, - "uuid": "a8678668-24d0-4f75-b5a3-da720a764dd6", - "persistent": true, - "insertionIndex": 4 -} \ 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/teams_3451996-6.json deleted file mode 100644 index 92b99a47d4..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/teams_3451996-6.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "id": "de9b6c26-1f63-4cc3-b4f6-6691f9bf180c", - "name": "teams_3451996", - "request": { - "url": "/teams/3451996", - "method": "PATCH", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - }, - "bodyPatterns": [ - { - "equalToJson": "{\"description\":\"Updated by API TestModified\"}", - "ignoreArrayOrder": true, - "ignoreExtraElements": true - } - ] - }, - "response": { - "status": 200, - "bodyFileName": "teams_3451996-6.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", - "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", - "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": "F8C7:46E1:A3A43:151F17:5E709476", - "Link": "; rel=\"deprecation\"; type=\"text/html\", ; rel=\"alternate\"" - } - }, - "uuid": "de9b6c26-1f63-4cc3-b4f6-6691f9bf180c", - "persistent": true, - "insertionIndex": 6 -} \ 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-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json deleted file mode 100644 index d8c7a713d6..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "id": "2b66312b-5707-492e-81cd-55b9f49b65f1", - "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: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", - "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": "F8CD:0B9D:AAA25:159552:5E709478" - } - }, - "uuid": "2b66312b-5707-492e-81cd-55b9f49b65f1", - "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/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_dummy-team-7.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_dummy-team-7.json deleted file mode 100644 index e9fa5c026e..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_dummy-team-7.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "a73705e3-9d60-41e7-be95-b417ea3eb75d", - "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: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", - "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", - "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:AAA56:159586:5E70947A" - } - }, - "uuid": "a73705e3-9d60-41e7-be95-b417ea3eb75d", - "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/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/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest-2.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest-2.json new file mode 100644 index 0000000000..cb012a1256 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest-2.json @@ -0,0 +1,121 @@ +{ + "id": 654900107, + "node_id": "R_kgDOJwj7iw", + "name": "GHTreeBuilderTest", + "full_name": "hub4j-test-org/GHTreeBuilderTest", + "private": true, + "owner": { + "login": "hub4j-test-org", + "id": 1793410, + "node_id": "MDQ6VXNlcjE3OTM0MTA=", + "avatar_url": "https://avatars.githubusercontent.com/u/1793410?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j-test-org", + "html_url": "https://github.com/hub4j-test-org", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/deployments", + "created_at": "2023-06-17T09:21:30Z", + "updated_at": "2023-06-17T09:21:30Z", + "pushed_at": "2023-06-20T05:28:20Z", + "git_url": "git://github.com/hub4j-test-org/GHTreeBuilderTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHTreeBuilderTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest", + "homepage": null, + "size": 4, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "private", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "permissions": { + "admin": true, + "maintain": true, + "push": true, + "triage": true, + "pull": true + }, + "temp_clone_token": "AANV3AUXZXCI3AHCWHMMVFLESE5DS", + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "network_count": 0, + "subscribers_count": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_commits_7e888a1cd95c3caf31a16ff21751a06a7feb039f-12.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_commits_7e888a1cd95c3caf31a16ff21751a06a7feb039f-12.json new file mode 100644 index 0000000000..225ce2948e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_commits_7e888a1cd95c3caf31a16ff21751a06a7feb039f-12.json @@ -0,0 +1,72 @@ +{ + "sha": "7e888a1cd95c3caf31a16ff21751a06a7feb039f", + "node_id": "MDY6Q29tbWl0NjU0OTAwMTA3OjdlODg4YTFjZDk1YzNjYWYzMWExNmZmMjE3NTFhMDZhN2ZlYjAzOWY=", + "commit": { + "author": { + "name": "author", + "email": "author@author.com", + "date": "2021-01-23T20:20:25Z" + }, + "committer": { + "name": "committer", + "email": "committer@committer.com", + "date": "2021-01-23T20:20:25Z" + }, + "message": "Add files", + "tree": { + "sha": "0efbfcf79def8e437d825e0116def4be6be56026", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/trees/0efbfcf79def8e437d825e0116def4be6be56026" + }, + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/commits/7e888a1cd95c3caf31a16ff21751a06a7feb039f", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/commits/7e888a1cd95c3caf31a16ff21751a06a7feb039f", + "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/commit/7e888a1cd95c3caf31a16ff21751a06a7feb039f", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/commits/7e888a1cd95c3caf31a16ff21751a06a7feb039f/comments", + "author": null, + "committer": null, + "parents": [ + { + "sha": "172349212fb19ffa4f33dcced3263c6963dc750a", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/commits/172349212fb19ffa4f33dcced3263c6963dc750a", + "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/commit/172349212fb19ffa4f33dcced3263c6963dc750a" + } + ], + "stats": { + "total": 2, + "additions": 2, + "deletions": 0 + }, + "files": [ + { + "sha": "aed2973e4b8a7ff1b30ff5c4751e5a2b38989e74", + "filename": "data/val1.dat", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/7e888a1cd95c3caf31a16ff21751a06a7feb039f/data%2Fval1.dat", + "raw_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/raw/7e888a1cd95c3caf31a16ff21751a06a7feb039f/data%2Fval1.dat", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/data%2Fval1.dat?ref=7e888a1cd95c3caf31a16ff21751a06a7feb039f", + "patch": "@@ -0,0 +1 @@\n+\u0001\u0002\u0003\n\\ No newline at end of file" + }, + { + "sha": "fbbc875b17d1e17da06b4ee8fda46e2596c41f3c", + "filename": "doc/readme.txt", + "status": "added", + "additions": 1, + "deletions": 0, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/7e888a1cd95c3caf31a16ff21751a06a7feb039f/doc%2Freadme.txt", + "raw_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/raw/7e888a1cd95c3caf31a16ff21751a06a7feb039f/doc%2Freadme.txt", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/doc%2Freadme.txt?ref=7e888a1cd95c3caf31a16ff21751a06a7feb039f", + "patch": "@@ -0,0 +1 @@\n+Thanks for using our application!" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_commits_7f9b11d9512f639acc6d48439621026cf8410f3a-19.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_commits_7f9b11d9512f639acc6d48439621026cf8410f3a-19.json new file mode 100644 index 0000000000..2ba4afd323 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_commits_7f9b11d9512f639acc6d48439621026cf8410f3a-19.json @@ -0,0 +1,60 @@ +{ + "sha": "7f9b11d9512f639acc6d48439621026cf8410f3a", + "node_id": "MDY6Q29tbWl0NjU0OTAwMTA3OjdmOWIxMWQ5NTEyZjYzOWFjYzZkNDg0Mzk2MjEwMjZjZjg0MTBmM2E=", + "commit": { + "author": { + "name": "author", + "email": "author@author.com", + "date": "2021-01-23T20:20:25Z" + }, + "committer": { + "name": "committer", + "email": "committer@committer.com", + "date": "2021-01-23T20:20:25Z" + }, + "message": "Add files", + "tree": { + "sha": "f9a619cb835ac407e0a464618fc59386be70bd63", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/trees/f9a619cb835ac407e0a464618fc59386be70bd63" + }, + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/commits/7f9b11d9512f639acc6d48439621026cf8410f3a", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } + }, + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/commits/7f9b11d9512f639acc6d48439621026cf8410f3a", + "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/commit/7f9b11d9512f639acc6d48439621026cf8410f3a", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/commits/7f9b11d9512f639acc6d48439621026cf8410f3a/comments", + "author": null, + "committer": null, + "parents": [ + { + "sha": "7e888a1cd95c3caf31a16ff21751a06a7feb039f", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/commits/7e888a1cd95c3caf31a16ff21751a06a7feb039f", + "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/commit/7e888a1cd95c3caf31a16ff21751a06a7feb039f" + } + ], + "stats": { + "total": 1, + "additions": 0, + "deletions": 1 + }, + "files": [ + { + "sha": "aed2973e4b8a7ff1b30ff5c4751e5a2b38989e74", + "filename": "data/val1.dat", + "status": "removed", + "additions": 0, + "deletions": 1, + "changes": 1, + "blob_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/7e888a1cd95c3caf31a16ff21751a06a7feb039f/data%2Fval1.dat", + "raw_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/raw/7e888a1cd95c3caf31a16ff21751a06a7feb039f/data%2Fval1.dat", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/data%2Fval1.dat?ref=7e888a1cd95c3caf31a16ff21751a06a7feb039f", + "patch": "@@ -1 +0,0 @@\n-\u0001\u0002\u0003\n\\ No newline at end of file" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_contents_data_val1dat-11.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_contents_data_val1dat-11.json new file mode 100644 index 0000000000..dc0d19abb7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_contents_data_val1dat-11.json @@ -0,0 +1,18 @@ +{ + "name": "val1.dat", + "path": "data/val1.dat", + "sha": "aed2973e4b8a7ff1b30ff5c4751e5a2b38989e74", + "size": 3, + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/data/val1.dat?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/main/data/val1.dat", + "git_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/aed2973e4b8a7ff1b30ff5c4751e5a2b38989e74", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHTreeBuilderTest/main/data/val1.dat?token=AANV3AQG25IMIIRS2WYVBALESE4UY", + "type": "file", + "content": "AQID\n", + "encoding": "base64", + "_links": { + "self": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/data/val1.dat?ref=main", + "git": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/aed2973e4b8a7ff1b30ff5c4751e5a2b38989e74", + "html": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/main/data/val1.dat" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_contents_doc_readmetxt-10.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_contents_doc_readmetxt-10.json new file mode 100644 index 0000000000..a3a4409999 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_contents_doc_readmetxt-10.json @@ -0,0 +1,18 @@ +{ + "name": "readme.txt", + "path": "doc/readme.txt", + "sha": "fbbc875b17d1e17da06b4ee8fda46e2596c41f3c", + "size": 34, + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/doc/readme.txt?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/main/doc/readme.txt", + "git_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/fbbc875b17d1e17da06b4ee8fda46e2596c41f3c", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHTreeBuilderTest/main/doc/readme.txt?token=AANV3AUAKUQF4Q66G35XPVLESE4UY", + "type": "file", + "content": "VGhhbmtzIGZvciB1c2luZyBvdXIgYXBwbGljYXRpb24hCg==\n", + "encoding": "base64", + "_links": { + "self": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/doc/readme.txt?ref=main", + "git": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/fbbc875b17d1e17da06b4ee8fda46e2596c41f3c", + "html": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/main/doc/readme.txt" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_contents_doc_readmetxt-18.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_contents_doc_readmetxt-18.json new file mode 100644 index 0000000000..bdff55b213 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_contents_doc_readmetxt-18.json @@ -0,0 +1,18 @@ +{ + "name": "readme.txt", + "path": "doc/readme.txt", + "sha": "fbbc875b17d1e17da06b4ee8fda46e2596c41f3c", + "size": 34, + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/doc/readme.txt?ref=main", + "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/main/doc/readme.txt", + "git_url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/fbbc875b17d1e17da06b4ee8fda46e2596c41f3c", + "download_url": "https://raw.githubusercontent.com/hub4j-test-org/GHTreeBuilderTest/main/doc/readme.txt?token=AANV3ATL6IK7FMQNM2ZOCG3ESE4U6", + "type": "file", + "content": "VGhhbmtzIGZvciB1c2luZyBvdXIgYXBwbGljYXRpb24hCg==\n", + "encoding": "base64", + "_links": { + "self": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/contents/doc/readme.txt?ref=main", + "git": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/fbbc875b17d1e17da06b4ee8fda46e2596c41f3c", + "html": "https://github.com/hub4j-test-org/GHTreeBuilderTest/blob/main/doc/readme.txt" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_commits-16.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_commits-16.json new file mode 100644 index 0000000000..fb216cbe10 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_commits-16.json @@ -0,0 +1,34 @@ +{ + "sha": "7f9b11d9512f639acc6d48439621026cf8410f3a", + "node_id": "MDY6Q29tbWl0NjU0OTAwMTA3OjdmOWIxMWQ5NTEyZjYzOWFjYzZkNDg0Mzk2MjEwMjZjZjg0MTBmM2E=", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/commits/7f9b11d9512f639acc6d48439621026cf8410f3a", + "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/commit/7f9b11d9512f639acc6d48439621026cf8410f3a", + "author": { + "name": "author", + "email": "author@author.com", + "date": "2021-01-23T20:20:25Z" + }, + "committer": { + "name": "committer", + "email": "committer@committer.com", + "date": "2021-01-23T20:20:25Z" + }, + "tree": { + "sha": "f9a619cb835ac407e0a464618fc59386be70bd63", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/trees/f9a619cb835ac407e0a464618fc59386be70bd63" + }, + "message": "Add files", + "parents": [ + { + "sha": "7e888a1cd95c3caf31a16ff21751a06a7feb039f", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/commits/7e888a1cd95c3caf31a16ff21751a06a7feb039f", + "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/commit/7e888a1cd95c3caf31a16ff21751a06a7feb039f" + } + ], + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_commits-8.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_commits-8.json new file mode 100644 index 0000000000..4f4ff447cf --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_commits-8.json @@ -0,0 +1,34 @@ +{ + "sha": "7e888a1cd95c3caf31a16ff21751a06a7feb039f", + "node_id": "MDY6Q29tbWl0NjU0OTAwMTA3OjdlODg4YTFjZDk1YzNjYWYzMWExNmZmMjE3NTFhMDZhN2ZlYjAzOWY=", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/commits/7e888a1cd95c3caf31a16ff21751a06a7feb039f", + "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/commit/7e888a1cd95c3caf31a16ff21751a06a7feb039f", + "author": { + "name": "author", + "email": "author@author.com", + "date": "2021-01-23T20:20:25Z" + }, + "committer": { + "name": "committer", + "email": "committer@committer.com", + "date": "2021-01-23T20:20:25Z" + }, + "tree": { + "sha": "0efbfcf79def8e437d825e0116def4be6be56026", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/trees/0efbfcf79def8e437d825e0116def4be6be56026" + }, + "message": "Add files", + "parents": [ + { + "sha": "172349212fb19ffa4f33dcced3263c6963dc750a", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/commits/172349212fb19ffa4f33dcced3263c6963dc750a", + "html_url": "https://github.com/hub4j-test-org/GHTreeBuilderTest/commit/172349212fb19ffa4f33dcced3263c6963dc750a" + } + ], + "verification": { + "verified": false, + "reason": "unsigned", + "signature": null, + "payload": null + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-13.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-13.json new file mode 100644 index 0000000000..6d6251930d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-13.json @@ -0,0 +1,10 @@ +{ + "ref": "refs/heads/main", + "node_id": "REF_kwDOJwj7i69yZWZzL2hlYWRzL21haW4", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/main", + "object": { + "sha": "7e888a1cd95c3caf31a16ff21751a06a7feb039f", + "type": "commit", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/commits/7e888a1cd95c3caf31a16ff21751a06a7feb039f" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-17.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-17.json new file mode 100644 index 0000000000..ec2d79dbc9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-17.json @@ -0,0 +1,10 @@ +{ + "ref": "refs/heads/main", + "node_id": "REF_kwDOJwj7i69yZWZzL2hlYWRzL21haW4", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/main", + "object": { + "sha": "7f9b11d9512f639acc6d48439621026cf8410f3a", + "type": "commit", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/commits/7f9b11d9512f639acc6d48439621026cf8410f3a" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-3.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-3.json new file mode 100644 index 0000000000..7daaa422c0 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-3.json @@ -0,0 +1,10 @@ +{ + "ref": "refs/heads/main", + "node_id": "REF_kwDOJwj7i69yZWZzL2hlYWRzL21haW4", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/main", + "object": { + "sha": "172349212fb19ffa4f33dcced3263c6963dc750a", + "type": "commit", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/commits/172349212fb19ffa4f33dcced3263c6963dc750a" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-9.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-9.json new file mode 100644 index 0000000000..6d6251930d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-9.json @@ -0,0 +1,10 @@ +{ + "ref": "refs/heads/main", + "node_id": "REF_kwDOJwj7i69yZWZzL2hlYWRzL21haW4", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/main", + "object": { + "sha": "7e888a1cd95c3caf31a16ff21751a06a7feb039f", + "type": "commit", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/commits/7e888a1cd95c3caf31a16ff21751a06a7feb039f" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_trees-15.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_trees-15.json new file mode 100644 index 0000000000..ecec5ac01a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_trees-15.json @@ -0,0 +1,22 @@ +{ + "sha": "f9a619cb835ac407e0a464618fc59386be70bd63", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/trees/f9a619cb835ac407e0a464618fc59386be70bd63", + "tree": [ + { + "path": "README.md", + "mode": "100644", + "type": "blob", + "sha": "958337fe1f522a58e5e7098cc61a2917db1c9643", + "size": 19, + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/958337fe1f522a58e5e7098cc61a2917db1c9643" + }, + { + "path": "doc", + "mode": "040000", + "type": "tree", + "sha": "30bda54e864ecafd021698ddf75bb9378dd755e5", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/trees/30bda54e864ecafd021698ddf75bb9378dd755e5" + } + ], + "truncated": false +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_trees-7.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_trees-7.json new file mode 100644 index 0000000000..a2661a636b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_trees-7.json @@ -0,0 +1,29 @@ +{ + "sha": "0efbfcf79def8e437d825e0116def4be6be56026", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/trees/0efbfcf79def8e437d825e0116def4be6be56026", + "tree": [ + { + "path": "README.md", + "mode": "100644", + "type": "blob", + "sha": "958337fe1f522a58e5e7098cc61a2917db1c9643", + "size": 19, + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/958337fe1f522a58e5e7098cc61a2917db1c9643" + }, + { + "path": "data", + "mode": "040000", + "type": "tree", + "sha": "3ad1a259f440f9995a93ecfd9de5b6ad23d88455", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/trees/3ad1a259f440f9995a93ecfd9de5b6ad23d88455" + }, + { + "path": "doc", + "mode": "040000", + "type": "tree", + "sha": "30bda54e864ecafd021698ddf75bb9378dd755e5", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/trees/30bda54e864ecafd021698ddf75bb9378dd755e5" + } + ], + "truncated": false +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_trees_0efbfcf79def8e437d825e0116def4be6be56026-14.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_trees_0efbfcf79def8e437d825e0116def4be6be56026-14.json new file mode 100644 index 0000000000..a2661a636b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_trees_0efbfcf79def8e437d825e0116def4be6be56026-14.json @@ -0,0 +1,29 @@ +{ + "sha": "0efbfcf79def8e437d825e0116def4be6be56026", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/trees/0efbfcf79def8e437d825e0116def4be6be56026", + "tree": [ + { + "path": "README.md", + "mode": "100644", + "type": "blob", + "sha": "958337fe1f522a58e5e7098cc61a2917db1c9643", + "size": 19, + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/958337fe1f522a58e5e7098cc61a2917db1c9643" + }, + { + "path": "data", + "mode": "040000", + "type": "tree", + "sha": "3ad1a259f440f9995a93ecfd9de5b6ad23d88455", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/trees/3ad1a259f440f9995a93ecfd9de5b6ad23d88455" + }, + { + "path": "doc", + "mode": "040000", + "type": "tree", + "sha": "30bda54e864ecafd021698ddf75bb9378dd755e5", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/trees/30bda54e864ecafd021698ddf75bb9378dd755e5" + } + ], + "truncated": false +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_trees_main-4.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_trees_main-4.json new file mode 100644 index 0000000000..3cd4ce1100 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/repos_hub4j-test-org_ghtreebuildertest_git_trees_main-4.json @@ -0,0 +1,15 @@ +{ + "sha": "172349212fb19ffa4f33dcced3263c6963dc750a", + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/trees/172349212fb19ffa4f33dcced3263c6963dc750a", + "tree": [ + { + "path": "README.md", + "mode": "100644", + "type": "blob", + "sha": "958337fe1f522a58e5e7098cc61a2917db1c9643", + "size": 19, + "url": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/958337fe1f522a58e5e7098cc61a2917db1c9643" + } + ], + "truncated": false +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/user-1.json new file mode 100644 index 0000000000..43b7923283 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/__files/user-1.json @@ -0,0 +1,46 @@ +{ + "login": "davseitsev", + "id": 1793410, + "node_id": "MDQ6VXNlcjE3OTM0MTA=", + "avatar_url": "https://avatars.githubusercontent.com/u/1793410?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/davseitsev", + "html_url": "https://github.com/davseitsev", + "followers_url": "https://api.github.com/users/davseitsev/followers", + "following_url": "https://api.github.com/users/davseitsev/following{/other_user}", + "gists_url": "https://api.github.com/users/davseitsev/gists{/gist_id}", + "starred_url": "https://api.github.com/users/davseitsev/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/davseitsev/subscriptions", + "organizations_url": "https://api.github.com/users/davseitsev/orgs", + "repos_url": "https://api.github.com/users/davseitsev/repos", + "events_url": "https://api.github.com/users/davseitsev/events{/privacy}", + "received_events_url": "https://api.github.com/users/davseitsev/received_events", + "type": "User", + "site_admin": false, + "name": "Dmitriy Avseitsev", + "company": "Wix", + "blog": "", + "location": "Ukraine", + "email": null, + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 4, + "public_gists": 0, + "followers": 3, + "following": 2, + "created_at": "2012-05-30T12:32:55Z", + "updated_at": "2023-06-17T08:08:30Z", + "private_gists": 0, + "total_private_repos": 4, + "owned_private_repos": 1, + "disk_usage": 29, + "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/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest-2.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest-2.json new file mode 100644 index 0000000000..389099f536 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest-2.json @@ -0,0 +1,51 @@ +{ + "id": "b245a8a9-81e7-4ca5-a095-277e85a86699", + "name": "repos_hub4j-test-org_ghtreebuildertest", + "request": { + "url": "/repos/hub4j-test-org/GHTreeBuilderTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 20 Jun 2023 05:28:45 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"75d1ccbff669c56882f6a4f7fd8517c83624f0a2c501ba7c552652ce42d28d25\"", + "Last-Modified": "Sat, 17 Jun 2023 09:21:30 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2023-06-24 09:37:03 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4944", + "X-RateLimit-Reset": "1687242459", + "X-RateLimit-Used": "56", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E6F4:DD38:397C53B:3A04DDB:6491390C" + } + }, + "uuid": "b245a8a9-81e7-4ca5-a095-277e85a86699", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_commits_7e888a1cd95c3caf31a16ff21751a06a7feb039f-12.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_commits_7e888a1cd95c3caf31a16ff21751a06a7feb039f-12.json new file mode 100644 index 0000000000..bc0e3dfe8b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_commits_7e888a1cd95c3caf31a16ff21751a06a7feb039f-12.json @@ -0,0 +1,51 @@ +{ + "id": "3ea508b9-5adb-40ec-afe3-d623090f54b6", + "name": "repos_hub4j-test-org_ghtreebuildertest_commits_7e888a1cd95c3caf31a16ff21751a06a7feb039f", + "request": { + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/commits/7e888a1cd95c3caf31a16ff21751a06a7feb039f", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_commits_7e888a1cd95c3caf31a16ff21751a06a7feb039f-12.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 20 Jun 2023 05:28:49 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"f423a98200a98ee8f47fc91c05aa2fa94bab34aafe25c055d8adfb48dcf62d97\"", + "Last-Modified": "Sat, 23 Jan 2021 20:20:25 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-06-24 09:37:03 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4934", + "X-RateLimit-Reset": "1687242459", + "X-RateLimit-Used": "66", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E6FE:CAB0:38E8D78:3971640:64913910" + } + }, + "uuid": "3ea508b9-5adb-40ec-afe3-d623090f54b6", + "persistent": true, + "insertionIndex": 12 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_commits_7f9b11d9512f639acc6d48439621026cf8410f3a-19.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_commits_7f9b11d9512f639acc6d48439621026cf8410f3a-19.json new file mode 100644 index 0000000000..eca17c0e11 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_commits_7f9b11d9512f639acc6d48439621026cf8410f3a-19.json @@ -0,0 +1,51 @@ +{ + "id": "37439e9b-a067-4b6a-8f12-334c323f9672", + "name": "repos_hub4j-test-org_ghtreebuildertest_commits_7f9b11d9512f639acc6d48439621026cf8410f3a", + "request": { + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/commits/7f9b11d9512f639acc6d48439621026cf8410f3a", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_commits_7f9b11d9512f639acc6d48439621026cf8410f3a-19.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 20 Jun 2023 05:28:51 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/\"5e2a20a7a874d008dcc559b084c18a197e0531f4da8808b698ebb6758941787c\"", + "Last-Modified": "Sat, 23 Jan 2021 20:20:25 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-06-24 09:37:03 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4927", + "X-RateLimit-Reset": "1687242459", + "X-RateLimit-Used": "73", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E705:CAB0:38E9325:3971BFD:64913913" + } + }, + "uuid": "37439e9b-a067-4b6a-8f12-334c323f9672", + "persistent": true, + "insertionIndex": 19 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_contents_data_val1dat-11.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_contents_data_val1dat-11.json new file mode 100644 index 0000000000..b343ea7ef0 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_contents_data_val1dat-11.json @@ -0,0 +1,54 @@ +{ + "id": "c85bcca2-d182-42a1-bc5b-b01c002b1692", + "name": "repos_hub4j-test-org_ghtreebuildertest_contents_data_val1dat", + "request": { + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/contents/data/val1.dat", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_contents_data_val1dat-11.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 20 Jun 2023 05:28:48 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"aed2973e4b8a7ff1b30ff5c4751e5a2b38989e74\"", + "Last-Modified": "Sat, 23 Jan 2021 20:20:25 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-06-24 09:37:03 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4935", + "X-RateLimit-Reset": "1687242459", + "X-RateLimit-Used": "65", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E6FD:5618:3ACA2CA:3B52B8A:64913910" + } + }, + "uuid": "c85bcca2-d182-42a1-bc5b-b01c002b1692", + "persistent": true, + "scenarioName": "scenario-3-repos-hub4j-test-org-GHTreeBuilderTest-contents-data-val1.dat", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-3-repos-hub4j-test-org-GHTreeBuilderTest-contents-data-val1.dat-2", + "insertionIndex": 11 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_contents_data_val1dat-20.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_contents_data_val1dat-20.json new file mode 100644 index 0000000000..8981eddc73 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_contents_data_val1dat-20.json @@ -0,0 +1,47 @@ +{ + "id": "178b3392-4b27-4263-b453-63f7b92cd78f", + "name": "repos_hub4j-test-org_ghtreebuildertest_contents_data_val1dat", + "request": { + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/contents/data/val1.dat", + "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/repos#get-repository-content\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 20 Jun 2023 05:28:52 GMT", + "Content-Type": "application/json; charset=utf-8", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-06-24 09:37:03 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4926", + "X-RateLimit-Reset": "1687242459", + "X-RateLimit-Used": "74", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E706:C35C:34F5A75:357E34F:64913913" + } + }, + "uuid": "178b3392-4b27-4263-b453-63f7b92cd78f", + "persistent": true, + "scenarioName": "scenario-3-repos-hub4j-test-org-GHTreeBuilderTest-contents-data-val1.dat", + "requiredScenarioState": "scenario-3-repos-hub4j-test-org-GHTreeBuilderTest-contents-data-val1.dat-2", + "insertionIndex": 20 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_contents_doc_readmetxt-10.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_contents_doc_readmetxt-10.json new file mode 100644 index 0000000000..6217dffd7c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_contents_doc_readmetxt-10.json @@ -0,0 +1,54 @@ +{ + "id": "91da6707-80ba-4686-9155-4c4c7368f28c", + "name": "repos_hub4j-test-org_ghtreebuildertest_contents_doc_readmetxt", + "request": { + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/contents/doc/readme.txt", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_contents_doc_readmetxt-10.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 20 Jun 2023 05:28:48 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"fbbc875b17d1e17da06b4ee8fda46e2596c41f3c\"", + "Last-Modified": "Sat, 23 Jan 2021 20:20:25 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-06-24 09:37:03 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4936", + "X-RateLimit-Reset": "1687242459", + "X-RateLimit-Used": "64", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E6FC:CAB0:38E8BF8:39714CD:64913910" + } + }, + "uuid": "91da6707-80ba-4686-9155-4c4c7368f28c", + "persistent": true, + "scenarioName": "scenario-2-repos-hub4j-test-org-GHTreeBuilderTest-contents-doc-readme.txt", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-2-repos-hub4j-test-org-GHTreeBuilderTest-contents-doc-readme.txt-2", + "insertionIndex": 10 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_contents_doc_readmetxt-18.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_contents_doc_readmetxt-18.json new file mode 100644 index 0000000000..fca434b8b8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_contents_doc_readmetxt-18.json @@ -0,0 +1,53 @@ +{ + "id": "b8c1379e-3668-459d-9a07-bb1f80773ebe", + "name": "repos_hub4j-test-org_ghtreebuildertest_contents_doc_readmetxt", + "request": { + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/contents/doc/readme.txt", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_contents_doc_readmetxt-18.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 20 Jun 2023 05:28:51 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/\"fbbc875b17d1e17da06b4ee8fda46e2596c41f3c\"", + "Last-Modified": "Sat, 23 Jan 2021 20:20:25 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-06-24 09:37:03 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4928", + "X-RateLimit-Reset": "1687242459", + "X-RateLimit-Used": "72", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E704:2866:377A46A:3802D1D:64913913" + } + }, + "uuid": "b8c1379e-3668-459d-9a07-bb1f80773ebe", + "persistent": true, + "scenarioName": "scenario-2-repos-hub4j-test-org-GHTreeBuilderTest-contents-doc-readme.txt", + "requiredScenarioState": "scenario-2-repos-hub4j-test-org-GHTreeBuilderTest-contents-doc-readme.txt-2", + "insertionIndex": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_blobs-5.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_blobs-5.json new file mode 100644 index 0000000000..124b560cac --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_blobs-5.json @@ -0,0 +1,58 @@ +{ + "id": "6be43f18-f690-4dcf-97db-4a7f0dc3992f", + "name": "repos_hub4j-test-org_ghtreebuildertest_git_blobs", + "request": { + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"encoding\":\"base64\",\"content\":\"VGhhbmtzIGZvciB1c2luZyBvdXIgYXBwbGljYXRpb24hCg==\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "body": "{\"sha\":\"fbbc875b17d1e17da06b4ee8fda46e2596c41f3c\",\"url\":\"https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/fbbc875b17d1e17da06b4ee8fda46e2596c41f3c\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 20 Jun 2023 05:28:46 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"163f83bbd1173801e13129b664eefeca4bcffadac061620acf689bf7c9ca2cfc\"", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-06-24 09:37:03 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4941", + "X-RateLimit-Reset": "1687242459", + "X-RateLimit-Used": "59", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E6F7:2F49:B6BC1F:B99013:6491390D", + "Location": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/fbbc875b17d1e17da06b4ee8fda46e2596c41f3c" + } + }, + "uuid": "6be43f18-f690-4dcf-97db-4a7f0dc3992f", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_blobs-6.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_blobs-6.json new file mode 100644 index 0000000000..902afde443 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_blobs-6.json @@ -0,0 +1,58 @@ +{ + "id": "491e1e6a-996e-4ce8-9178-93198dcb077e", + "name": "repos_hub4j-test-org_ghtreebuildertest_git_blobs", + "request": { + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"encoding\":\"base64\",\"content\":\"AQID\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "body": "{\"sha\":\"aed2973e4b8a7ff1b30ff5c4751e5a2b38989e74\",\"url\":\"https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/aed2973e4b8a7ff1b30ff5c4751e5a2b38989e74\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 20 Jun 2023 05:28:46 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"ece9a63bb7a10d9be9df978bd3030b47be2b2a1e01cc5aa6fae0ad83e3cc3998\"", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-06-24 09:37:03 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4940", + "X-RateLimit-Reset": "1687242459", + "X-RateLimit-Used": "60", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E6F8:12658:3A94A56:3B1D323:6491390E", + "Location": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/blobs/aed2973e4b8a7ff1b30ff5c4751e5a2b38989e74" + } + }, + "uuid": "491e1e6a-996e-4ce8-9178-93198dcb077e", + "persistent": true, + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_commits-16.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_commits-16.json new file mode 100644 index 0000000000..60c4951474 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_commits-16.json @@ -0,0 +1,58 @@ +{ + "id": "4157028e-c59c-4e4a-8e69-942880061268", + "name": "repos_hub4j-test-org_ghtreebuildertest_git_commits", + "request": { + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/commits", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"committer\":{\"name\":\"committer\",\"email\":\"committer@committer.com\",\"date\":\"2021-01-23T20:20:25Z\"},\"author\":{\"name\":\"author\",\"email\":\"author@author.com\",\"date\":\"2021-01-23T20:20:25Z\"},\"tree\":\"f9a619cb835ac407e0a464618fc59386be70bd63\",\"message\":\"Add files\",\"parents\":[\"7e888a1cd95c3caf31a16ff21751a06a7feb039f\"]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_commits-16.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 20 Jun 2023 05:28:50 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"3238fa5eff984f4868d1c525a2a58bc3fbe0368600b2ab84600f1e0370a548d1\"", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-06-24 09:37:03 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4930", + "X-RateLimit-Reset": "1687242459", + "X-RateLimit-Used": "70", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E702:2D3A:1F58940:1FBC471:64913912", + "Location": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/commits/7f9b11d9512f639acc6d48439621026cf8410f3a" + } + }, + "uuid": "4157028e-c59c-4e4a-8e69-942880061268", + "persistent": true, + "insertionIndex": 16 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_commits-8.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_commits-8.json new file mode 100644 index 0000000000..e52e217bc9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_commits-8.json @@ -0,0 +1,58 @@ +{ + "id": "ae17f42d-677c-4d51-97ee-a431fa113296", + "name": "repos_hub4j-test-org_ghtreebuildertest_git_commits", + "request": { + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/commits", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"committer\":{\"name\":\"committer\",\"email\":\"committer@committer.com\",\"date\":\"2021-01-23T20:20:25Z\"},\"author\":{\"name\":\"author\",\"email\":\"author@author.com\",\"date\":\"2021-01-23T20:20:25Z\"},\"tree\":\"0efbfcf79def8e437d825e0116def4be6be56026\",\"message\":\"Add files\",\"parents\":[\"172349212fb19ffa4f33dcced3263c6963dc750a\"]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_commits-8.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 20 Jun 2023 05:28:47 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"9550476a519cba23cbf802381ee9325cacbcb788ce7932314fbad47e7c23e813\"", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-06-24 09:37:03 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4938", + "X-RateLimit-Reset": "1687242459", + "X-RateLimit-Used": "62", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E6FA:DD38:397CB0C:3A053BA:6491390F", + "Location": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/commits/7e888a1cd95c3caf31a16ff21751a06a7feb039f" + } + }, + "uuid": "ae17f42d-677c-4d51-97ee-a431fa113296", + "persistent": true, + "insertionIndex": 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-13.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-13.json new file mode 100644 index 0000000000..e3e689b399 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-13.json @@ -0,0 +1,54 @@ +{ + "id": "a007310d-5f4d-46c4-bee5-e85b006dd505", + "name": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main", + "request": { + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/main", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-13.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 20 Jun 2023 05:28:49 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"bba22ee793ee364dfd8404230d5d7b55b227def742a402a50d03bbe2dbed74f0\"", + "Last-Modified": "Sat, 17 Jun 2023 09:21:30 GMT", + "X-Poll-Interval": "300", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2023-06-24 09:37:03 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4933", + "X-RateLimit-Reset": "1687242459", + "X-RateLimit-Used": "67", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E6FF:C35C:34F54F4:357DDA7:64913911" + } + }, + "uuid": "a007310d-5f4d-46c4-bee5-e85b006dd505", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHTreeBuilderTest-git-refs-heads-main", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHTreeBuilderTest-git-refs-heads-main-2", + "insertionIndex": 13 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-17.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-17.json new file mode 100644 index 0000000000..6499c6f655 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-17.json @@ -0,0 +1,57 @@ +{ + "id": "8ac43b56-e027-48ee-8152-05ad21f3190a", + "name": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main", + "request": { + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/main", + "method": "PATCH", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"force\":false,\"sha\":\"7f9b11d9512f639acc6d48439621026cf8410f3a\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-17.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 20 Jun 2023 05:28:51 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/\"d2080b37f2f5091ab6fdb33a43b7545e716e14235ed485849cace3cae73c230f\"", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2023-06-24 09:37:03 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4929", + "X-RateLimit-Reset": "1687242459", + "X-RateLimit-Used": "71", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E703:E5A4:3923A92:39AC37A:64913912" + } + }, + "uuid": "8ac43b56-e027-48ee-8152-05ad21f3190a", + "persistent": true, + "insertionIndex": 17 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-3.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-3.json new file mode 100644 index 0000000000..6896999f3d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-3.json @@ -0,0 +1,55 @@ +{ + "id": "f6c2c882-fd90-4cac-bf53-a92a7cb4d0e4", + "name": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main", + "request": { + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/main", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 20 Jun 2023 05:28:45 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"afd11955e216e7cb970f6a80de3ed846d9e5374ec870029f916fd41e464bd367\"", + "Last-Modified": "Tue, 20 Jun 2023 05:28:20 GMT", + "X-Poll-Interval": "300", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2023-06-24 09:37:03 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4943", + "X-RateLimit-Reset": "1687242459", + "X-RateLimit-Used": "57", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E6F5:2F49:B6BA8B:B98E55:6491390D" + } + }, + "uuid": "f6c2c882-fd90-4cac-bf53-a92a7cb4d0e4", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHTreeBuilderTest-git-refs-heads-main", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-hub4j-test-org-GHTreeBuilderTest-git-refs-heads-main-2", + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-9.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-9.json new file mode 100644 index 0000000000..e31afa11bf --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-9.json @@ -0,0 +1,57 @@ +{ + "id": "69a41ff0-b112-4fa3-930f-097886aba03d", + "name": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main", + "request": { + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/refs/heads/main", + "method": "PATCH", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"force\":false,\"sha\":\"7e888a1cd95c3caf31a16ff21751a06a7feb039f\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_refs_heads_main-9.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 20 Jun 2023 05:28:48 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"bba22ee793ee364dfd8404230d5d7b55b227def742a402a50d03bbe2dbed74f0\"", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "repo", + "github-authentication-token-expiration": "2023-06-24 09:37:03 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4937", + "X-RateLimit-Reset": "1687242459", + "X-RateLimit-Used": "63", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E6FB:C35C:34F51BF:357DA6E:6491390F" + } + }, + "uuid": "69a41ff0-b112-4fa3-930f-097886aba03d", + "persistent": true, + "insertionIndex": 9 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees-15.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees-15.json new file mode 100644 index 0000000000..2f184b258c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees-15.json @@ -0,0 +1,58 @@ +{ + "id": "5d86fc86-f3cc-4939-bc99-8c5b59b5c2e3", + "name": "repos_hub4j-test-org_ghtreebuildertest_git_trees", + "request": { + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/trees", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"base_tree\":\"0efbfcf79def8e437d825e0116def4be6be56026\",\"tree\":[{\"path\":\"data/val1.dat\",\"mode\":\"100644\",\"type\":\"blob\",\"sha\":null}]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_trees-15.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 20 Jun 2023 05:28:50 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"7994c86d53091fb0af7cab2c7eeab20a96a1c7d5c3003ab3999a492fa6252cc6\"", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-06-24 09:37:03 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4931", + "X-RateLimit-Reset": "1687242459", + "X-RateLimit-Used": "69", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E701:12658:3A952B2:3B1DBA7:64913911", + "Location": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/trees/f9a619cb835ac407e0a464618fc59386be70bd63" + } + }, + "uuid": "5d86fc86-f3cc-4939-bc99-8c5b59b5c2e3", + "persistent": true, + "insertionIndex": 15 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees-7.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees-7.json new file mode 100644 index 0000000000..82e757c5c8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees-7.json @@ -0,0 +1,58 @@ +{ + "id": "c7f39a2b-e126-4a9a-96a5-f3ae55c6c333", + "name": "repos_hub4j-test-org_ghtreebuildertest_git_trees", + "request": { + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/trees", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"base_tree\":\"172349212fb19ffa4f33dcced3263c6963dc750a\",\"tree\":[{\"path\":\"doc/readme.txt\",\"mode\":\"100644\",\"type\":\"blob\",\"sha\":\"fbbc875b17d1e17da06b4ee8fda46e2596c41f3c\"},{\"path\":\"data/val1.dat\",\"mode\":\"100644\",\"type\":\"blob\",\"sha\":\"aed2973e4b8a7ff1b30ff5c4751e5a2b38989e74\"}]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_trees-7.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 20 Jun 2023 05:28:47 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"cc5396cc7dbc55b26008e889b238f9df01a65a0142ff0627a62834f9dfaa44f1\"", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-06-24 09:37:03 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4939", + "X-RateLimit-Reset": "1687242459", + "X-RateLimit-Used": "61", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E6F9:6FC5:3DA3361:3E2BC16:6491390E", + "Location": "https://api.github.com/repos/hub4j-test-org/GHTreeBuilderTest/git/trees/0efbfcf79def8e437d825e0116def4be6be56026" + } + }, + "uuid": "c7f39a2b-e126-4a9a-96a5-f3ae55c6c333", + "persistent": true, + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees_0efbfcf79def8e437d825e0116def4be6be56026-14.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees_0efbfcf79def8e437d825e0116def4be6be56026-14.json new file mode 100644 index 0000000000..fcd59b25b3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees_0efbfcf79def8e437d825e0116def4be6be56026-14.json @@ -0,0 +1,51 @@ +{ + "id": "31069baa-d4ff-44b5-b82f-ee9be05e8467", + "name": "repos_hub4j-test-org_ghtreebuildertest_git_trees_0efbfcf79def8e437d825e0116def4be6be56026", + "request": { + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/trees/0efbfcf79def8e437d825e0116def4be6be56026", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_trees_0efbfcf79def8e437d825e0116def4be6be56026-14.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 20 Jun 2023 05:28:49 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=86400, s-maxage=86400", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"cc5396cc7dbc55b26008e889b238f9df01a65a0142ff0627a62834f9dfaa44f1\"", + "Last-Modified": "Sat, 17 Jun 2023 09:21:30 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-06-24 09:37:03 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4932", + "X-RateLimit-Reset": "1687242459", + "X-RateLimit-Used": "68", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E700:B799:391DA3C:39A6308:64913911" + } + }, + "uuid": "31069baa-d4ff-44b5-b82f-ee9be05e8467", + "persistent": true, + "insertionIndex": 14 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees_main-4.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees_main-4.json new file mode 100644 index 0000000000..b7bb86ffd5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/repos_hub4j-test-org_ghtreebuildertest_git_trees_main-4.json @@ -0,0 +1,51 @@ +{ + "id": "c6e73b5b-8987-4bf1-a132-284d5b8b4d6b", + "name": "repos_hub4j-test-org_ghtreebuildertest_git_trees_main", + "request": { + "url": "/repos/hub4j-test-org/GHTreeBuilderTest/git/trees/main?recursive=1", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghtreebuildertest_git_trees_main-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 20 Jun 2023 05:28:45 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"5f04be028cd2ad3a5e1019d3393811a6e086293c7b6d13ad93ff7e57881f8701\"", + "Last-Modified": "Sat, 17 Jun 2023 09:21:30 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-06-24 09:37:03 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4942", + "X-RateLimit-Reset": "1687242459", + "X-RateLimit-Used": "58", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E6F6:12914:39240C1:39AC978:6491390D" + } + }, + "uuid": "c6e73b5b-8987-4bf1-a132-284d5b8b4d6b", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/user-1.json new file mode 100644 index 0000000000..f33206a5c1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTreeBuilderTest/wiremock/testDelete/mappings/user-1.json @@ -0,0 +1,51 @@ +{ + "id": "baed7d1b-1826-40d0-9146-537f7369215d", + "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, 20 Jun 2023 05:28:42 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8e03f3c7f4bfa9a272abf7c471c1b788d8fcfa9f183f51d537df9097c70bc1e2\"", + "Last-Modified": "Sat, 17 Jun 2023 08:08:30 GMT", + "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages", + "X-Accepted-OAuth-Scopes": "", + "github-authentication-token-expiration": "2023-06-24 09:37:03 UTC", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4951", + "X-RateLimit-Reset": "1687242459", + "X-RateLimit-Used": "49", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "E6F2:E5A4:39227DA:39AB07F:6491390A" + } + }, + "uuid": "baed7d1b-1826-40d0-9146-537f7369215d", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/createAndCountPrivateRepos/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/createAndCountPrivateRepos/__files/user-1.json index 1c08033b3e..c446e8a327 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/createAndCountPrivateRepos/__files/user-1.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/createAndCountPrivateRepos/__files/user-1.json @@ -16,14 +16,15 @@ "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", "received_events_url": "https://api.github.com/users/kohsuke/received_events", "type": "User", - "site_admin": false, + "site_admin": true, + "ldap_dn": "CN=kohsuke,OU=Users,DC=github,DC=com", "name": "Sage Pierce", "company": "@Vrbo @ExpediaGroup", "blog": "", "location": null, "email": "sapierce@vrbo.com", "hireable": true, - "bio": "Software engineer with a Masters of Science in Electrical and Computer Engineering out of The University of Texas at Austin.", + "bio": "test", "public_repos": 9, "public_gists": 0, "followers": 4, diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-7.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-7.json new file mode 100644 index 0000000000..6eee4c6f03 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-7.json @@ -0,0 +1,25 @@ +{ + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "url": "https://api.github.com/orgs/hub4j", + "repos_url": "https://api.github.com/orgs/hub4j/repos", + "events_url": "https://api.github.com/orgs/hub4j/events", + "hooks_url": "https://api.github.com/orgs/hub4j/hooks", + "issues_url": "https://api.github.com/orgs/hub4j/issues", + "members_url": "https://api.github.com/orgs/hub4j/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/54909825?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/hub4j", + "created_at": "2019-09-04T18:12:34Z", + "updated_at": "2020-05-08T21:26:19Z", + "type": "Organization" +} \ 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-8.json deleted file mode 100644 index dcf75d9f48..0000000000 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-8.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "login": "hub4j", - "id": 54909825, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", - "url": "https://api.github.com/orgs/hub4j", - "repos_url": "https://api.github.com/orgs/hub4j/repos", - "events_url": "https://api.github.com/orgs/hub4j/events", - "hooks_url": "https://api.github.com/orgs/hub4j/hooks", - "issues_url": "https://api.github.com/orgs/hub4j/issues", - "members_url": "https://api.github.com/orgs/hub4j/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j/public_members{/member}", - "avatar_url": "https://avatars.githubusercontent.com/u/54909825?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/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 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..162ceb1c73 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org-2.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/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org-3.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org-3.json deleted file mode 100644 index 6a53d8b196..0000000000 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org-3.json +++ /dev/null @@ -1,50 +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://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": 19, - "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": 2, - "owned_private_repos": 2, - "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_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": 26, - "seats": 3 - } -} \ 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-3.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org_teams_dummy-team-3.json new file mode 100644 index 0000000000..ce21071d54 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org_teams_dummy-team-3.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/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org_teams_dummy-team-4.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org_teams_dummy-team-4.json deleted file mode 100644 index e9db7ba861..0000000000 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org_teams_dummy-team-4.json +++ /dev/null @@ -1,49 +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-06-02T19:31:50Z", - "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": 19, - "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/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/GHUserTest/wiremock/isMemberOf/__files/users_bitwiseman-1.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/users_bitwiseman-1.json new file mode 100644 index 0000000000..d27e3a6438 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/users_bitwiseman-1.json @@ -0,0 +1,34 @@ +{ + "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": 209, + "public_gists": 8, + "followers": 211, + "following": 12, + "created_at": "2012-07-11T20:38:33Z", + "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-7.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-7.json new file mode 100644 index 0000000000..1d5e0173dd --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-7.json @@ -0,0 +1,47 @@ +{ + "id": "d2d9fa46-8384-4bb0-9d1e-13398b8ada24", + "name": "orgs_hub4j", + "request": { + "url": "/orgs/hub4j", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hub4j-7.json", + "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/\"a2383eb32b1c9263b257375e84968ea30c59702caa5b8d9c7ed39f748d58f1f4\"", + "Last-Modified": "Fri, 08 May 2020 21:26:19 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": "1646404914", + "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": "BA72:B362:38949F6:39A534D:62221723" + } + }, + "uuid": "d2d9fa46-8384-4bb0-9d1e-13398b8ada24", + "persistent": true, + "insertionIndex": 7 +} \ 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-8.json deleted file mode 100644 index d5744670f0..0000000000 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-8.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "dffd25a0-2986-464f-934c-8960453b1f73", - "name": "orgs_hub4j", - "request": { - "url": "/orgs/hub4j", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_hub4j-8.json", - "headers": { - "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 20:25: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/\"b8ca318740d0cc811ad497e22907a727aed54546f34125199d50d0284f375fc8\"", - "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-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4938", - "X-RateLimit-Reset": "1631652409", - "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": "D370:572E:4903D:4E479:61410533" - } - }, - "uuid": "dffd25a0-2986-464f-934c-8960453b1f73", - "persistent": true, - "insertionIndex": 8 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org-2.json new file mode 100644 index 0000000000..904421c495 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org-2.json @@ -0,0 +1,47 @@ +{ + "id": "4a2bbedd-c70a-4882-9b7c-e5bb7bf60c48", + "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": { + "Server": "GitHub.com", + "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/\"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": "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", + "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": "BA68:DC14:1F163DB:1FFFAFA:62221722" + } + }, + "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-3.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org-3.json deleted file mode 100644 index cbfb59166b..0000000000 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org-3.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "a58e4a31-b37f-4b46-a4e2-79bf846f5d63", - "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-3.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/\"e9f639cd8af8a2d7ebcaecf51127929bbd54efb425c02083f50c16b565bd5f60\"", - "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-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4943", - "X-RateLimit-Reset": "1631652409", - "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": "D366:0480:1C5CC39:1DF0998:61410532" - } - }, - "uuid": "a58e4a31-b37f-4b46-a4e2-79bf846f5d63", - "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-test-org_members_bitwiseman-4.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_members_bitwiseman-4.json new file mode 100644 index 0000000000..f48189b545 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_members_bitwiseman-4.json @@ -0,0 +1,39 @@ +{ + "id": "c52ad746-c978-4aed-8537-4f2d4eba7e3b", + "name": "orgs_hub4j-test-org_members_bitwiseman", + "request": { + "url": "/orgs/hub4j-test-org/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: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": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "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", + "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": "BA6C:58CC:666E80:685C60:62221722" + } + }, + "uuid": "c52ad746-c978-4aed-8537-4f2d4eba7e3b", + "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_members_bitwiseman-5.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_members_bitwiseman-5.json deleted file mode 100644 index 0d9962f250..0000000000 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_members_bitwiseman-5.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "id": "d0efe5a6-6c5a-441a-a48b-8b8793ecdead", - "name": "orgs_hub4j-test-org_members_bitwiseman", - "request": { - "url": "/orgs/hub4j-test-org/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": "read:org, repo, user", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4941", - "X-RateLimit-Reset": "1631652409", - "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'", - "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "D36A:0480:1C5CC6A:1DF09C3:61410533" - } - }, - "uuid": "d0efe5a6-6c5a-441a-a48b-8b8793ecdead", - "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_public_members_bitwiseman-6.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_public_members_bitwiseman-6.json new file mode 100644 index 0000000000..72b535353e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_public_members_bitwiseman-6.json @@ -0,0 +1,41 @@ +{ + "id": "130c8bda-6623-4c8d-b0db-9e307f1e69ab", + "name": "orgs_hub4j-test-org_public_members_bitwiseman", + "request": { + "url": "/orgs/hub4j-test-org/public_members/bitwiseman", + "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:55 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": "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", + "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": "BA70:361E:476368B:4893072:62221723" + } + }, + "uuid": "130c8bda-6623-4c8d-b0db-9e307f1e69ab", + "persistent": true, + "insertionIndex": 6 +} \ 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-7.json deleted file mode 100644 index b1e810d4b9..0000000000 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_public_members_bitwiseman-7.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "id": "538fdac1-31b1-4176-95eb-d5c44478dcc0", - "name": "orgs_hub4j-test-org_public_members_bitwiseman", - "request": { - "url": "/orgs/hub4j-test-org/public_members/bitwiseman", - "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": "Tue, 14 Sep 2021 20:25:23 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": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4939", - "X-RateLimit-Reset": "1631652409", - "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'", - "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "D36E:6ED0:2BDC3A:2E6F51:61410533" - } - }, - "uuid": "538fdac1-31b1-4176-95eb-d5c44478dcc0", - "persistent": true, - "insertionIndex": 7 -} \ 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-3.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json new file mode 100644 index 0000000000..f5861a3391 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json @@ -0,0 +1,47 @@ +{ + "id": "cf7c64d3-d7db-442a-b236-9e8996eb67cc", + "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": { + "Server": "GitHub.com", + "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/\"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": "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", + "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": "BA6A:03D5:49F4165:4B23E06:62221722" + } + }, + "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-test-org_teams_dummy-team-4.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_teams_dummy-team-4.json deleted file mode 100644 index fcb2a1511b..0000000000 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_teams_dummy-team-4.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "6145f9a3-719f-4837-822f-282f2be33c33", - "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-4.json", - "headers": { - "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 20:25: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/\"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", - "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4942", - "X-RateLimit-Reset": "1631652409", - "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": "D368:5F33:DD8487:F29CB8:61410533" - } - }, - "uuid": "6145f9a3-719f-4837-822f-282f2be33c33", - "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_members_bitwiseman-8.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_members_bitwiseman-8.json new file mode 100644 index 0000000000..2aec5d55a6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_members_bitwiseman-8.json @@ -0,0 +1,38 @@ +{ + "id": "250f3756-db0e-4cec-99de-0500d80430f0", + "name": "orgs_hub4j_members_bitwiseman", + "request": { + "url": "/orgs/hub4j/members/bitwiseman", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 302, + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 13:41:55 GMT", + "Content-Type": "text/html;charset=utf-8", + "X-RateLimit-Limit": "5000", + "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", + "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": "BA74:361E:4763743:489312C:62221723", + "Location": "https://api.github.com/organizations/54909825/public_members/bitwiseman" + } + }, + "uuid": "250f3756-db0e-4cec-99de-0500d80430f0", + "persistent": true, + "insertionIndex": 8 +} \ 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-9.json deleted file mode 100644 index a164aafb63..0000000000 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_members_bitwiseman-9.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "id": "54eb94e7-2afb-41ef-84c5-b7a62a818f88", - "name": "orgs_hub4j_members_bitwiseman", - "request": { - "url": "/orgs/hub4j/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: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", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4937", - "X-RateLimit-Reset": "1631652409", - "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'", - "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "D372:0480:1C5CCCD:1DF0A29:61410533" - } - }, - "uuid": "54eb94e7-2afb-41ef-84c5-b7a62a818f88", - "persistent": true, - "insertionIndex": 9 -} \ 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-14.json deleted file mode 100644 index 5585619de6..0000000000 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_public_members_rtyler-14.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "id": "7488b850-7e4a-434a-9845-f70a0a34c8b6", - "name": "orgs_hub4j_public_members_rtyler", - "request": { - "url": "/orgs/hub4j/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": "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": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4932", - "X-RateLimit-Reset": "1631652409", - "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'", - "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "D37C:8497:1AECE10:1C7E134:61410534" - } - }, - "uuid": "7488b850-7e4a-434a-9845-f70a0a34c8b6", - "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_public_members_rtyler-15.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_public_members_rtyler-15.json new file mode 100644 index 0000000000..3c8430e160 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_public_members_rtyler-15.json @@ -0,0 +1,41 @@ +{ + "id": "6fbabd7c-2d5d-41c8-ab59-4e84dbe2a23d", + "name": "orgs_hub4j_public_members_rtyler", + "request": { + "url": "/orgs/hub4j/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:57 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": "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", + "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": "BA82:89C7:2E73C7E:2F45063:62221725" + } + }, + "uuid": "6fbabd7c-2d5d-41c8-ab59-4e84dbe2a23d", + "persistent": true, + "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-1.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/users_bitwiseman-1.json new file mode 100644 index 0000000000..7eef6ae2dc --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/users_bitwiseman-1.json @@ -0,0 +1,47 @@ +{ + "id": "2c00c23d-7334-47de-af24-9b5f43d37d47", + "name": "users_bitwiseman", + "request": { + "url": "/users/bitwiseman", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "users_bitwiseman-1.json", + "headers": { + "Server": "GitHub.com", + "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/\"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": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "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", + "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": "BA66:B363:4D244B8:4E60CF7:62221722" + } + }, + "uuid": "2c00c23d-7334-47de-af24-9b5f43d37d47", + "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-2.json deleted file mode 100644 index e126dcee49..0000000000 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/users_bitwiseman-2.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "6028e3cc-915c-4808-8020-a3f95419385e", - "name": "users_bitwiseman", - "request": { - "url": "/users/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "users_bitwiseman-2.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": "4944", - "X-RateLimit-Reset": "1631652409", - "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": "D364:55F0:112EAEF:1284CD9:61410532" - } - }, - "uuid": "6028e3cc-915c-4808-8020-a3f95419385e", - "persistent": true, - "insertionIndex": 2 -} \ 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 diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/verifyLdapdn/__files/users_kartikpatodi-1.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/verifyLdapdn/__files/users_kartikpatodi-1.json new file mode 100644 index 0000000000..11ffa2db95 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/verifyLdapdn/__files/users_kartikpatodi-1.json @@ -0,0 +1,35 @@ +{ + "login": "kartikpatodi", + "id": 23272937, + "node_id": "MDQ6VXNlcjIzMjcyOTM3", + "avatar_url": "https://avatars.githubusercontent.com/u/23272937?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kartikpatodi", + "html_url": "https://github.com/kartikpatodi", + "followers_url": "https://api.github.com/users/kartikpatodi/followers", + "following_url": "https://api.github.com/users/kartikpatodi/following{/other_user}", + "gists_url": "https://api.github.com/users/kartikpatodi/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kartikpatodi/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kartikpatodi/subscriptions", + "organizations_url": "https://api.github.com/users/kartikpatodi/orgs", + "repos_url": "https://api.github.com/users/kartikpatodi/repos", + "events_url": "https://api.github.com/users/kartikpatodi/events{/privacy}", + "received_events_url": "https://api.github.com/users/kartikpatodi/received_events", + "type": "User", + "ldap_dn": "CN=kartikpatodi,OU=Users,DC=github,DC=com", + "site_admin": false, + "name": "Kartik Patodi", + "company": null, + "blog": "", + "location": "Nimbahera, Rajasthan, India", + "email": null, + "hireable": null, + "bio": null, + "twitter_username": "kartikpatodi", + "public_repos": 12, + "public_gists": 0, + "followers": 2, + "following": 7, + "created_at": "2016-11-05T05:01:41Z", + "updated_at": "2022-02-24T13:54:34Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/verifyLdapdn/mappings/users_kartikpatodi-1.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/verifyLdapdn/mappings/users_kartikpatodi-1.json new file mode 100644 index 0000000000..e1ae5b74cb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/verifyLdapdn/mappings/users_kartikpatodi-1.json @@ -0,0 +1,41 @@ +{ + "name": "users_kartikpatodi", + "request": { + "url": "/users/kartikpatodi", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "users_kartikpatodi-1.json", + "headers": { + "server": "GitHub.com", + "date": "Mon, 04 Apr 2022 19:10:00 GMT", + "content-type": "application/json; charset=utf-8", + "status": "200 OK", + "cache-control": "public, max-age=60, s-maxage=60", + "vary": "Accept, Accept-Encoding, Accept, X-Requested-With", + "etag": "W/\"960f568b7a2dd1591a136e36748cc44e\"", + "last-modified": "Thu, 24 Feb 2022 13:54:34 GMT", + "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-Ratelimit-Limit": "60", + "X-Ratelimit-Remaining": "47", + "X-Ratelimit-Reset": "1649100347", + "Accept-Ranges": "bytes", + "X-GitHub-Request-Id": "45F4:0D15:1B4EE4:373E4C:624B4288" + } + }, + "uuid": "39860a04-002b-45da-aae7-70c97031c79e", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadCert/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadCert/__files/repos_hub4j_github-api-2.json new file mode 100644 index 0000000000..43ee270874 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadCert/__files/repos_hub4j_github-api-2.json @@ -0,0 +1,130 @@ +{ + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j", + "html_url": "https://github.com/hub4j", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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-25T01:32:16Z", + "pushed_at": "2019-10-25T16:41:09Z", + "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": 13494, + "stargazers_count": 565, + "watchers_count": 565, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 433, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 64, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 433, + "open_issues": 64, + "watchers": 565, + "default_branch": "main", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "organization": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j", + "html_url": "https://github.com/hub4j", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 433, + "subscribers_count": 48 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadCert/__files/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadCert/__files/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json new file mode 100644 index 0000000000..77895afe2c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadCert/__files/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json @@ -0,0 +1,98 @@ +{ + "sha": "86a2e245aa6d71d54923655066049d9e21a15f01", + "node_id": "MDY6Q29tbWl0NjE3MjEwOjg2YTJlMjQ1YWE2ZDcxZDU0OTIzNjU1MDY2MDQ5ZDllMjFhMTVmMjM=", + "commit": { + "author": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "committer": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "message": "doc", + "tree": { + "sha": "17ed4173aeb2e98c93216e8b6e16138dc7f8cd91", + "url": "https://api.github.com/repos/hub4j/github-api/git/trees/17ed4173aeb2e98c93216e8b6e16138dc7f8cd91" + }, + "url": "https://api.github.com/repos/hub4j/github-api/git/commits/86a2e245aa6d71d54923655066049d9e21a15f01", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "bad_cert", + "signature": "-----BEGIN SIGNED MESSAGE-----\nMIIFdQYJKoZIhvcNAQcCoIIFZjCCBWICAQExDTALBglghkgBZQMEAgEwCwYJKoZI\nhvcNAQcBoIIDejCCA3YwggJeoAMCAQICAQIwDQYJKoZIhvcNAQELBQAwKjEbMBkG\nA1UEAwwSQXN0cm9UbGFsb2PigJlzIENBMQswCQYDVQQGEwJVUzAeFw0yMzA5MTgy\nMzI2MDlaFw0yNDA5MTcyMzI2MDlaMEYxFDASBgNVBAMMC0FzdHJvVGxhbG9jMQsw\nCQYDVQQGEwJVUzEhMB8GCSqGSIb3DQEJARYSMHhUbGFsb2NAZ21haWwuY29tMIIB\nIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA+Zq+N5v68htABs4ZLPORns/F\nzixnI+6L+WaVGeQFzxIBs9zsm9IRGJ4xoMBPSg1BuoilRXzsQoCH6+5zyQ4jaHMa\nHBBEijVM7kor3Um+35KdYh79nIY7ZQoDRypLF02FiqfNjhN8Nm8ciNf2EUkiGIcj\n/+TPhVFMxnwlZ2SmSJoMBE5pkDBllb/8kfxgenSoVLXaOigYJ1It6AqH2L8Ju9pa\nJ1zJGu2edjN6xi/0yjzZ7CmPFbnWcY5flJfMqdaj0Po3dMwYKYK07rE7KQHc8wFT\ngAUtQNtJkGBjEcTBh1B7SUsnJ/x4XcSQwOMxPNSm4Esn2RWanJYunez75eCWlwID\nAQABo4GKMIGHMA4GA1UdDwEB/wQEAwIFoDAWBgNVHSUBAf8EDDAKBggrBgEFBQcD\nBDAdBgNVHQ4EFgQUSi5d7oqzSYNhpeG4I2VNF9j881UwHwYDVR0jBBgwFoAULCWl\nbibBiKOX/6M3RWgIlSPM7dcwHQYDVR0RBBYwFIESMHhUbGFsb2NAZ21haWwuY29t\nMA0GCSqGSIb3DQEBCwUAA4IBAQDSn3caORjlSXCSm8ZY1uAbG+IngvEooIJvbl+y\n0yglPA3pkWybXxLfvayJVRGtNgLambnPpulzZmdwjj7qSTzd9K/+OIsI2qjNrZZ+\napXJLhlfabNHzydj0y0DUWgbtKzQ1SVhWgglHaCp440UmVAi0PtsMy3F1S5S0HlZ\n80V1CE3r7UYsC64GG3CmyXVf5MB+pzPriE729Gglig5z6rq8F+GNk5hJW7tOKBRb\nCyXFkqbkMWHPJ/CP5wrFjrEITsn8fIhlJsYRIAGzTnffCOs9i3rMpUTXRBOwSVMB\nI1I3VPm+WxVE7O9NY7TGBDe7010D4DorTNUPYo8xsPtKYyrpMYIBwTCCAb0CAQEw\nLzAqMRswGQYDVQQDDBJBc3Ryb1RsYWxvY+KAmXMgQ0ExCzAJBgNVBAYTAlVTAgEC\nMAsGCWCGSAFlAwQCAaBpMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZI\nhvcNAQkFMQ8XDTIzMDkxODIzMjg1MFowLwYJKoZIhvcNAQkEMSIEIIFHI8Ick3Tu\nBlnfTU6v24ls8D+jGkpQoDK+MF4rk5iTMAsGCSqGSIb3DQEBCwSCAQC4nIUEB/bR\ngeXnO7KdtqRFn/slCNTKZaQObsyL7C7cmNYAlgQAYj/qOBhKGMd3ZAFHRUroCiCy\n5GPs1sEnPKT1Bh7E7HJbpfdMXZINxoiRBrwQpAD/UKxk6etF5qvtAwDJaFMZiTMh\nd6tPNVBcThhUglSqqQFT3BKE9z5KTGwonMeqZlyf/EpXRBn0YcaoWvcAzaahMBQw\nUPwwEtU3FVyYBbLQee0SoYDsddEjdaNN/37auMVIltYmKNq/A4KhJWduTGFcaD/k\nfcXIzhzBi4vk1No6y2ftDgbivxP3MVQyf1tIfD1fv9cw/55JnDRA3IXkQRc+yyUG\nGmHXpKHhqNKm\n-----END SIGNED MESSAGE-----", + "payload": null + } + }, + "url": "https://api.github.com/repos/hub4j/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f01", + "html_url": "https://github.com/hub4j/github-api/commit/86a2e245aa6d71d54923655066049d9e21a15f01", + "comments_url": "https://api.github.com/repos/hub4j/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f01/comments", + "author": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "url": "https://api.github.com/repos/hub4j/github-api/commits/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "html_url": "https://github.com/hub4j/github-api/commit/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396" + } + ], + "stats": { + "total": 3, + "additions": 3, + "deletions": 0 + }, + "files": [ + { + "sha": "2a2e1f77fd77bd03273946d893d25a455f696be0", + "filename": "README", + "status": "added", + "additions": 3, + "deletions": 0, + "changes": 3, + "blob_url": "https://github.com/hub4j/github-api/blob/86a2e245aa6d71d54923655066049d9e21a15f01/README", + "raw_url": "https://github.com/hub4j/github-api/raw/86a2e245aa6d71d54923655066049d9e21a15f01/README", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/README?ref=86a2e245aa6d71d54923655066049d9e21a15f01", + "patch": "@@ -0,0 +1,3 @@\n+Java API for GitHub\n+\n+See http://kohsuke.org/github-api/ for more details" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadCert/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadCert/__files/user-1.json new file mode 100644 index 0000000000..a4b576e8a7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadCert/__files/user-1.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 169, + "public_gists": 7, + "followers": 139, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "two_factor_authentication": true, + "plan": { + "name": "free", + "space": 976562499, + "collaborators": 0, + "private_repos": 10000 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadCert/mappings/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadCert/mappings/repos_hub4j_github-api-2.json new file mode 100644 index 0000000000..80fb7dfa4e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadCert/mappings/repos_hub4j_github-api-2.json @@ -0,0 +1,48 @@ +{ + "id": "441cdfd7-a44a-42b4-b732-57e674227760", + "name": "repos_hub4j_github-api", + "request": { + "url": "/repos/hub4j/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j_github-api-2.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4295", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"c1a01d01a6354d93b3cc6098e0b2d047\"", + "Last-Modified": "Fri, 25 Oct 2019 01:32:16 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B56:C4A050:5DB3A147" + } + }, + "uuid": "441cdfd7-a44a-42b4-b732-57e674227760", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadCert/mappings/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadCert/mappings/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json new file mode 100644 index 0000000000..6b5904361c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadCert/mappings/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json @@ -0,0 +1,48 @@ +{ + "id": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "name": "repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01", + "request": { + "url": "/repos/hub4j/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f01", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4294", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0a8c453e4290ce879ea09578e06a5961\"", + "Last-Modified": "Mon, 19 Apr 2010 04:12:41 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B5F:C4A064:5DB3A148" + } + }, + "uuid": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadCert/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadCert/mappings/user-1.json new file mode 100644 index 0000000000..7c0606ff2f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testBadCert/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "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, 26 Oct 2019 01:28:39 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4297", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"8c3d3dcf6fc5f9edaf26c902295396e5\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B49:C4A046:5DB3A147" + } + }, + "uuid": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSig/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSig/__files/repos_hub4j_github-api-2.json new file mode 100644 index 0000000000..43ee270874 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSig/__files/repos_hub4j_github-api-2.json @@ -0,0 +1,130 @@ +{ + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j", + "html_url": "https://github.com/hub4j", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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-25T01:32:16Z", + "pushed_at": "2019-10-25T16:41:09Z", + "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": 13494, + "stargazers_count": 565, + "watchers_count": 565, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 433, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 64, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 433, + "open_issues": 64, + "watchers": 565, + "default_branch": "main", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "organization": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j", + "html_url": "https://github.com/hub4j", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 433, + "subscribers_count": 48 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSig/__files/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSig/__files/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json new file mode 100644 index 0000000000..8ec18c631d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSig/__files/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json @@ -0,0 +1,98 @@ +{ + "sha": "86a2e245aa6d71d54923655066049d9e21a15f01", + "node_id": "MDY6Q29tbWl0NjE3MjEwOjg2YTJlMjQ1YWE2ZDcxZDU0OTIzNjU1MDY2MDQ5ZDllMjFhMTVmMjM=", + "commit": { + "author": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "committer": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "message": "doc", + "tree": { + "sha": "17ed4173aeb2e98c93216e8b6e16138dc7f8cd91", + "url": "https://api.github.com/repos/hub4j/github-api/git/trees/17ed4173aeb2e98c93216e8b6e16138dc7f8cd91" + }, + "url": "https://api.github.com/repos/hub4j/github-api/git/commits/86a2e245aa6d71d54923655066049d9e21a15f01", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "malformed_sig", + "signature": "-----BEGIN SIGNED MESSAGE-----\nMIIFdQYJKoZIhvcNAQcCoIIFZjCCBWICAQExDTALBglghkgBZQMEAgEwCwYJKoZI\nhvcNAQcBoIIDejCCA3YwggJeoAMCAQICAQIwDQYJKoZIhvcNAQELBQAwKjEbMBkG\nA1UEAwwSQXN0cm9UbGFsb2PigJlzIENBMQswCQYDVQQGEwJVUzAeFw0yMzA5MTgy\nMzI2MDlaFw0yNDA5MTcyMzI2MDlaMEYxFDASBgNVBAMMC0FzdHJvVGxhbG9jMQsw\nCQYDVQQGEwJVUzEhMB8GCSqGSIb3DQEJARYSMHhUbGFsb2NAZ21haWwuY29tMIIB\nIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA+Zq+N5v68htABs4ZLPORns/F\nzixnI+6L+WaVGeQFzxIBs9zsm9IRGJ4xoMBPSg1BuoilRXzsQoCH6+5zyQ4jaHMa\nHBBEijVM7kor3Um+35KdYh79nIY7ZQoDRypLF02FiqfNjhN8Nm8ciNf2EUkiGIcj\n/+TPhVFMxnwlZ2SmSJoMBE5pkDBllb/8kfxgenSoVLXaOigYJ1It6AqH2L8Ju9pa\nJ1zJGu2edjN6xi/0yjzZ7CmPFbnWcY5flJfMqdaj0Po3dMwYKYK07rE7KQHc8wFT\ngAUtQNtJkGBjEcTBh1B7SUsnJ/x4XcSQwOMxPNSm4Esn2RWanJYunez75eCWlwID\nAQABo4GKMIGHMA4GA1UdDwEB/wQEAwIFoDAWBgNVHSUBAf8EDDAKBggrBgEFBQcD\nBDAdBgNVHQ4EFgQUSi5d7oqzSYNhpeG4I2VNF9j881UwHwYDVR0jBBgwFoAULCWl\nbibBiKOX/6M3RWgIlSPM7dcwHQYDVR0RBBYwFIESMHhUbGFsb2NAZ21haWwuY29t\nMA0GCSqGSIb3DQEBCwUAA4IBAQDSn3caORjlSXCSm8ZY1uAbG+IngvEooIJvbl+y\n0yglPA3pkWybXxLfvayJVRGtNgLambnPpulzZmdwjj7qSTzd9K/+OIsI2qjNrZZ+\napXJLhlfabNHzydj0y0DUWgbtKzQ1SVhWgglHaCp440UmVAi0PtsMy3F1S5S0HlZ\n80V1CE3r7UYsC64GG3CmyXVf5MB+pzPriE729Gglig5z6rq8F+GNk5hJW7tOKBRb\nCyXFkqbkMWHPJ/CP5wrFjrEITsn8fIhlJsYRIAGzTnffCOs9i3rMpUTXRBOwSVMB\nI1I3VPm+WxVE7O9NY7TGBDe7010D4DorTNUPYo8xsPtKYyrpMYIBwTCCAb0CAQEw\nLzAqMRswGQYDVQQDDBJBc3Ryb1RsYWxvY+KAmXMgQ0ExCzAJBgNVBAYTAlVTAgEC\nMAsGCWCGSAFlAwQCAaBpMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZI\nhvcNAQkFMQ8XDTIzMDkxODIzMjg1MFowLwYJKoZIhvcNAQkEMSIEIIFHI8Ick3Tu\nBlnfTU6v24ls8D+jGkpQoDK+MF4rk5iTMAsGCSqGSIb3DQEBCwSCAQC4nIUEB/bR\ngeXnO7KdtqRFn/slCNTKZaQObsyL7C7cmNYAlgQAYj/qOBhKGMd3ZAFHRUroCiCy\n5GPs1sEnPKT1Bh7E7HJbpfdMXZINxoiRBrwQpAD/UKxk6etF5qvtAwDJaFMZiTMh\nd6tPNVBcThhUglSqqQFT3BKE9z5KTGwonMeqZlyf/EpXRBn0YcaoWvcAzaahMBQw\nUPwwEtU3FVyYBbLQee0SoYDsddEjdaNN/37auMVIltYmKNq/A4KhJWduTGFcaD/k\nfcXIzhzBi4vk1No6y2ftDgbivxP3MVQyf1tIfD1fv9cw/55JnDRA3IXkQRc+yyUG\nGmHXpKHhqNKm\n-----END SIGNED MESSAGE-----", + "payload": null + } + }, + "url": "https://api.github.com/repos/hub4j/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f01", + "html_url": "https://github.com/hub4j/github-api/commit/86a2e245aa6d71d54923655066049d9e21a15f01", + "comments_url": "https://api.github.com/repos/hub4j/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f01/comments", + "author": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "url": "https://api.github.com/repos/hub4j/github-api/commits/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "html_url": "https://github.com/hub4j/github-api/commit/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396" + } + ], + "stats": { + "total": 3, + "additions": 3, + "deletions": 0 + }, + "files": [ + { + "sha": "2a2e1f77fd77bd03273946d893d25a455f696be0", + "filename": "README", + "status": "added", + "additions": 3, + "deletions": 0, + "changes": 3, + "blob_url": "https://github.com/hub4j/github-api/blob/86a2e245aa6d71d54923655066049d9e21a15f01/README", + "raw_url": "https://github.com/hub4j/github-api/raw/86a2e245aa6d71d54923655066049d9e21a15f01/README", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/README?ref=86a2e245aa6d71d54923655066049d9e21a15f01", + "patch": "@@ -0,0 +1,3 @@\n+Java API for GitHub\n+\n+See http://kohsuke.org/github-api/ for more details" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSig/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSig/__files/user-1.json new file mode 100644 index 0000000000..a4b576e8a7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSig/__files/user-1.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 169, + "public_gists": 7, + "followers": 139, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "two_factor_authentication": true, + "plan": { + "name": "free", + "space": 976562499, + "collaborators": 0, + "private_repos": 10000 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSig/mappings/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSig/mappings/repos_hub4j_github-api-2.json new file mode 100644 index 0000000000..80fb7dfa4e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSig/mappings/repos_hub4j_github-api-2.json @@ -0,0 +1,48 @@ +{ + "id": "441cdfd7-a44a-42b4-b732-57e674227760", + "name": "repos_hub4j_github-api", + "request": { + "url": "/repos/hub4j/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j_github-api-2.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4295", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"c1a01d01a6354d93b3cc6098e0b2d047\"", + "Last-Modified": "Fri, 25 Oct 2019 01:32:16 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B56:C4A050:5DB3A147" + } + }, + "uuid": "441cdfd7-a44a-42b4-b732-57e674227760", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSig/mappings/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSig/mappings/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json new file mode 100644 index 0000000000..6b5904361c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSig/mappings/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json @@ -0,0 +1,48 @@ +{ + "id": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "name": "repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01", + "request": { + "url": "/repos/hub4j/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f01", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4294", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0a8c453e4290ce879ea09578e06a5961\"", + "Last-Modified": "Mon, 19 Apr 2010 04:12:41 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B5F:C4A064:5DB3A148" + } + }, + "uuid": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSig/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSig/mappings/user-1.json new file mode 100644 index 0000000000..7c0606ff2f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testMalformedSig/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "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, 26 Oct 2019 01:28:39 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4297", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"8c3d3dcf6fc5f9edaf26c902295396e5\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B49:C4A046:5DB3A147" + } + }, + "uuid": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOcspError/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOcspError/__files/repos_hub4j_github-api-2.json new file mode 100644 index 0000000000..43ee270874 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOcspError/__files/repos_hub4j_github-api-2.json @@ -0,0 +1,130 @@ +{ + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j", + "html_url": "https://github.com/hub4j", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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-25T01:32:16Z", + "pushed_at": "2019-10-25T16:41:09Z", + "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": 13494, + "stargazers_count": 565, + "watchers_count": 565, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 433, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 64, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 433, + "open_issues": 64, + "watchers": 565, + "default_branch": "main", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "organization": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j", + "html_url": "https://github.com/hub4j", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 433, + "subscribers_count": 48 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOcspError/__files/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOcspError/__files/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json new file mode 100644 index 0000000000..4f60cb235f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOcspError/__files/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json @@ -0,0 +1,98 @@ +{ + "sha": "86a2e245aa6d71d54923655066049d9e21a15f01", + "node_id": "MDY6Q29tbWl0NjE3MjEwOjg2YTJlMjQ1YWE2ZDcxZDU0OTIzNjU1MDY2MDQ5ZDllMjFhMTVmMjM=", + "commit": { + "author": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "committer": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "message": "doc", + "tree": { + "sha": "17ed4173aeb2e98c93216e8b6e16138dc7f8cd91", + "url": "https://api.github.com/repos/hub4j/github-api/git/trees/17ed4173aeb2e98c93216e8b6e16138dc7f8cd91" + }, + "url": "https://api.github.com/repos/hub4j/github-api/git/commits/86a2e245aa6d71d54923655066049d9e21a15f01", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "ocsp_error", + "signature": "-----BEGIN SIGNED MESSAGE-----\nMIIFdQYJKoZIhvcNAQcCoIIFZjCCBWICAQExDTALBglghkgBZQMEAgEwCwYJKoZI\nhvcNAQcBoIIDejCCA3YwggJeoAMCAQICAQIwDQYJKoZIhvcNAQELBQAwKjEbMBkG\nA1UEAwwSQXN0cm9UbGFsb2PigJlzIENBMQswCQYDVQQGEwJVUzAeFw0yMzA5MTgy\nMzI2MDlaFw0yNDA5MTcyMzI2MDlaMEYxFDASBgNVBAMMC0FzdHJvVGxhbG9jMQsw\nCQYDVQQGEwJVUzEhMB8GCSqGSIb3DQEJARYSMHhUbGFsb2NAZ21haWwuY29tMIIB\nIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA+Zq+N5v68htABs4ZLPORns/F\nzixnI+6L+WaVGeQFzxIBs9zsm9IRGJ4xoMBPSg1BuoilRXzsQoCH6+5zyQ4jaHMa\nHBBEijVM7kor3Um+35KdYh79nIY7ZQoDRypLF02FiqfNjhN8Nm8ciNf2EUkiGIcj\n/+TPhVFMxnwlZ2SmSJoMBE5pkDBllb/8kfxgenSoVLXaOigYJ1It6AqH2L8Ju9pa\nJ1zJGu2edjN6xi/0yjzZ7CmPFbnWcY5flJfMqdaj0Po3dMwYKYK07rE7KQHc8wFT\ngAUtQNtJkGBjEcTBh1B7SUsnJ/x4XcSQwOMxPNSm4Esn2RWanJYunez75eCWlwID\nAQABo4GKMIGHMA4GA1UdDwEB/wQEAwIFoDAWBgNVHSUBAf8EDDAKBggrBgEFBQcD\nBDAdBgNVHQ4EFgQUSi5d7oqzSYNhpeG4I2VNF9j881UwHwYDVR0jBBgwFoAULCWl\nbibBiKOX/6M3RWgIlSPM7dcwHQYDVR0RBBYwFIESMHhUbGFsb2NAZ21haWwuY29t\nMA0GCSqGSIb3DQEBCwUAA4IBAQDSn3caORjlSXCSm8ZY1uAbG+IngvEooIJvbl+y\n0yglPA3pkWybXxLfvayJVRGtNgLambnPpulzZmdwjj7qSTzd9K/+OIsI2qjNrZZ+\napXJLhlfabNHzydj0y0DUWgbtKzQ1SVhWgglHaCp440UmVAi0PtsMy3F1S5S0HlZ\n80V1CE3r7UYsC64GG3CmyXVf5MB+pzPriE729Gglig5z6rq8F+GNk5hJW7tOKBRb\nCyXFkqbkMWHPJ/CP5wrFjrEITsn8fIhlJsYRIAGzTnffCOs9i3rMpUTXRBOwSVMB\nI1I3VPm+WxVE7O9NY7TGBDe7010D4DorTNUPYo8xsPtKYyrpMYIBwTCCAb0CAQEw\nLzAqMRswGQYDVQQDDBJBc3Ryb1RsYWxvY+KAmXMgQ0ExCzAJBgNVBAYTAlVTAgEC\nMAsGCWCGSAFlAwQCAaBpMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZI\nhvcNAQkFMQ8XDTIzMDkxODIzMjg1MFowLwYJKoZIhvcNAQkEMSIEIIFHI8Ick3Tu\nBlnfTU6v24ls8D+jGkpQoDK+MF4rk5iTMAsGCSqGSIb3DQEBCwSCAQC4nIUEB/bR\ngeXnO7KdtqRFn/slCNTKZaQObsyL7C7cmNYAlgQAYj/qOBhKGMd3ZAFHRUroCiCy\n5GPs1sEnPKT1Bh7E7HJbpfdMXZINxoiRBrwQpAD/UKxk6etF5qvtAwDJaFMZiTMh\nd6tPNVBcThhUglSqqQFT3BKE9z5KTGwonMeqZlyf/EpXRBn0YcaoWvcAzaahMBQw\nUPwwEtU3FVyYBbLQee0SoYDsddEjdaNN/37auMVIltYmKNq/A4KhJWduTGFcaD/k\nfcXIzhzBi4vk1No6y2ftDgbivxP3MVQyf1tIfD1fv9cw/55JnDRA3IXkQRc+yyUG\nGmHXpKHhqNKm\n-----END SIGNED MESSAGE-----", + "payload": null + } + }, + "url": "https://api.github.com/repos/hub4j/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f01", + "html_url": "https://github.com/hub4j/github-api/commit/86a2e245aa6d71d54923655066049d9e21a15f01", + "comments_url": "https://api.github.com/repos/hub4j/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f01/comments", + "author": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "url": "https://api.github.com/repos/hub4j/github-api/commits/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "html_url": "https://github.com/hub4j/github-api/commit/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396" + } + ], + "stats": { + "total": 3, + "additions": 3, + "deletions": 0 + }, + "files": [ + { + "sha": "2a2e1f77fd77bd03273946d893d25a455f696be0", + "filename": "README", + "status": "added", + "additions": 3, + "deletions": 0, + "changes": 3, + "blob_url": "https://github.com/hub4j/github-api/blob/86a2e245aa6d71d54923655066049d9e21a15f01/README", + "raw_url": "https://github.com/hub4j/github-api/raw/86a2e245aa6d71d54923655066049d9e21a15f01/README", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/README?ref=86a2e245aa6d71d54923655066049d9e21a15f01", + "patch": "@@ -0,0 +1,3 @@\n+Java API for GitHub\n+\n+See http://kohsuke.org/github-api/ for more details" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOcspError/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOcspError/__files/user-1.json new file mode 100644 index 0000000000..a4b576e8a7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOcspError/__files/user-1.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 169, + "public_gists": 7, + "followers": 139, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "two_factor_authentication": true, + "plan": { + "name": "free", + "space": 976562499, + "collaborators": 0, + "private_repos": 10000 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOcspError/mappings/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOcspError/mappings/repos_hub4j_github-api-2.json new file mode 100644 index 0000000000..80fb7dfa4e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOcspError/mappings/repos_hub4j_github-api-2.json @@ -0,0 +1,48 @@ +{ + "id": "441cdfd7-a44a-42b4-b732-57e674227760", + "name": "repos_hub4j_github-api", + "request": { + "url": "/repos/hub4j/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j_github-api-2.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4295", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"c1a01d01a6354d93b3cc6098e0b2d047\"", + "Last-Modified": "Fri, 25 Oct 2019 01:32:16 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B56:C4A050:5DB3A147" + } + }, + "uuid": "441cdfd7-a44a-42b4-b732-57e674227760", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOcspError/mappings/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOcspError/mappings/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json new file mode 100644 index 0000000000..6b5904361c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOcspError/mappings/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json @@ -0,0 +1,48 @@ +{ + "id": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "name": "repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01", + "request": { + "url": "/repos/hub4j/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f01", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4294", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0a8c453e4290ce879ea09578e06a5961\"", + "Last-Modified": "Mon, 19 Apr 2010 04:12:41 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B5F:C4A064:5DB3A148" + } + }, + "uuid": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOcspError/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOcspError/mappings/user-1.json new file mode 100644 index 0000000000..7c0606ff2f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOcspError/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "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, 26 Oct 2019 01:28:39 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4297", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"8c3d3dcf6fc5f9edaf26c902295396e5\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B49:C4A046:5DB3A147" + } + }, + "uuid": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpPending/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpPending/__files/repos_hub4j_github-api-2.json new file mode 100644 index 0000000000..43ee270874 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpPending/__files/repos_hub4j_github-api-2.json @@ -0,0 +1,130 @@ +{ + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j", + "html_url": "https://github.com/hub4j", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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-25T01:32:16Z", + "pushed_at": "2019-10-25T16:41:09Z", + "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": 13494, + "stargazers_count": 565, + "watchers_count": 565, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 433, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 64, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 433, + "open_issues": 64, + "watchers": 565, + "default_branch": "main", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "organization": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j", + "html_url": "https://github.com/hub4j", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 433, + "subscribers_count": 48 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpPending/__files/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpPending/__files/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json new file mode 100644 index 0000000000..c5e2c3995c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpPending/__files/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json @@ -0,0 +1,98 @@ +{ + "sha": "86a2e245aa6d71d54923655066049d9e21a15f01", + "node_id": "MDY6Q29tbWl0NjE3MjEwOjg2YTJlMjQ1YWE2ZDcxZDU0OTIzNjU1MDY2MDQ5ZDllMjFhMTVmMjM=", + "commit": { + "author": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "committer": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "message": "doc", + "tree": { + "sha": "17ed4173aeb2e98c93216e8b6e16138dc7f8cd91", + "url": "https://api.github.com/repos/hub4j/github-api/git/trees/17ed4173aeb2e98c93216e8b6e16138dc7f8cd91" + }, + "url": "https://api.github.com/repos/hub4j/github-api/git/commits/86a2e245aa6d71d54923655066049d9e21a15f01", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "ocsp_pending", + "signature": "-----BEGIN SIGNED MESSAGE-----\nMIIFdQYJKoZIhvcNAQcCoIIFZjCCBWICAQExDTALBglghkgBZQMEAgEwCwYJKoZI\nhvcNAQcBoIIDejCCA3YwggJeoAMCAQICAQIwDQYJKoZIhvcNAQELBQAwKjEbMBkG\nA1UEAwwSQXN0cm9UbGFsb2PigJlzIENBMQswCQYDVQQGEwJVUzAeFw0yMzA5MTgy\nMzI2MDlaFw0yNDA5MTcyMzI2MDlaMEYxFDASBgNVBAMMC0FzdHJvVGxhbG9jMQsw\nCQYDVQQGEwJVUzEhMB8GCSqGSIb3DQEJARYSMHhUbGFsb2NAZ21haWwuY29tMIIB\nIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA+Zq+N5v68htABs4ZLPORns/F\nzixnI+6L+WaVGeQFzxIBs9zsm9IRGJ4xoMBPSg1BuoilRXzsQoCH6+5zyQ4jaHMa\nHBBEijVM7kor3Um+35KdYh79nIY7ZQoDRypLF02FiqfNjhN8Nm8ciNf2EUkiGIcj\n/+TPhVFMxnwlZ2SmSJoMBE5pkDBllb/8kfxgenSoVLXaOigYJ1It6AqH2L8Ju9pa\nJ1zJGu2edjN6xi/0yjzZ7CmPFbnWcY5flJfMqdaj0Po3dMwYKYK07rE7KQHc8wFT\ngAUtQNtJkGBjEcTBh1B7SUsnJ/x4XcSQwOMxPNSm4Esn2RWanJYunez75eCWlwID\nAQABo4GKMIGHMA4GA1UdDwEB/wQEAwIFoDAWBgNVHSUBAf8EDDAKBggrBgEFBQcD\nBDAdBgNVHQ4EFgQUSi5d7oqzSYNhpeG4I2VNF9j881UwHwYDVR0jBBgwFoAULCWl\nbibBiKOX/6M3RWgIlSPM7dcwHQYDVR0RBBYwFIESMHhUbGFsb2NAZ21haWwuY29t\nMA0GCSqGSIb3DQEBCwUAA4IBAQDSn3caORjlSXCSm8ZY1uAbG+IngvEooIJvbl+y\n0yglPA3pkWybXxLfvayJVRGtNgLambnPpulzZmdwjj7qSTzd9K/+OIsI2qjNrZZ+\napXJLhlfabNHzydj0y0DUWgbtKzQ1SVhWgglHaCp440UmVAi0PtsMy3F1S5S0HlZ\n80V1CE3r7UYsC64GG3CmyXVf5MB+pzPriE729Gglig5z6rq8F+GNk5hJW7tOKBRb\nCyXFkqbkMWHPJ/CP5wrFjrEITsn8fIhlJsYRIAGzTnffCOs9i3rMpUTXRBOwSVMB\nI1I3VPm+WxVE7O9NY7TGBDe7010D4DorTNUPYo8xsPtKYyrpMYIBwTCCAb0CAQEw\nLzAqMRswGQYDVQQDDBJBc3Ryb1RsYWxvY+KAmXMgQ0ExCzAJBgNVBAYTAlVTAgEC\nMAsGCWCGSAFlAwQCAaBpMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZI\nhvcNAQkFMQ8XDTIzMDkxODIzMjg1MFowLwYJKoZIhvcNAQkEMSIEIIFHI8Ick3Tu\nBlnfTU6v24ls8D+jGkpQoDK+MF4rk5iTMAsGCSqGSIb3DQEBCwSCAQC4nIUEB/bR\ngeXnO7KdtqRFn/slCNTKZaQObsyL7C7cmNYAlgQAYj/qOBhKGMd3ZAFHRUroCiCy\n5GPs1sEnPKT1Bh7E7HJbpfdMXZINxoiRBrwQpAD/UKxk6etF5qvtAwDJaFMZiTMh\nd6tPNVBcThhUglSqqQFT3BKE9z5KTGwonMeqZlyf/EpXRBn0YcaoWvcAzaahMBQw\nUPwwEtU3FVyYBbLQee0SoYDsddEjdaNN/37auMVIltYmKNq/A4KhJWduTGFcaD/k\nfcXIzhzBi4vk1No6y2ftDgbivxP3MVQyf1tIfD1fv9cw/55JnDRA3IXkQRc+yyUG\nGmHXpKHhqNKm\n-----END SIGNED MESSAGE-----", + "payload": null + } + }, + "url": "https://api.github.com/repos/hub4j/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f01", + "html_url": "https://github.com/hub4j/github-api/commit/86a2e245aa6d71d54923655066049d9e21a15f01", + "comments_url": "https://api.github.com/repos/hub4j/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f01/comments", + "author": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "url": "https://api.github.com/repos/hub4j/github-api/commits/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "html_url": "https://github.com/hub4j/github-api/commit/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396" + } + ], + "stats": { + "total": 3, + "additions": 3, + "deletions": 0 + }, + "files": [ + { + "sha": "2a2e1f77fd77bd03273946d893d25a455f696be0", + "filename": "README", + "status": "added", + "additions": 3, + "deletions": 0, + "changes": 3, + "blob_url": "https://github.com/hub4j/github-api/blob/86a2e245aa6d71d54923655066049d9e21a15f01/README", + "raw_url": "https://github.com/hub4j/github-api/raw/86a2e245aa6d71d54923655066049d9e21a15f01/README", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/README?ref=86a2e245aa6d71d54923655066049d9e21a15f01", + "patch": "@@ -0,0 +1,3 @@\n+Java API for GitHub\n+\n+See http://kohsuke.org/github-api/ for more details" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpPending/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpPending/__files/user-1.json new file mode 100644 index 0000000000..a4b576e8a7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpPending/__files/user-1.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 169, + "public_gists": 7, + "followers": 139, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "two_factor_authentication": true, + "plan": { + "name": "free", + "space": 976562499, + "collaborators": 0, + "private_repos": 10000 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpPending/mappings/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpPending/mappings/repos_hub4j_github-api-2.json new file mode 100644 index 0000000000..80fb7dfa4e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpPending/mappings/repos_hub4j_github-api-2.json @@ -0,0 +1,48 @@ +{ + "id": "441cdfd7-a44a-42b4-b732-57e674227760", + "name": "repos_hub4j_github-api", + "request": { + "url": "/repos/hub4j/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j_github-api-2.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4295", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"c1a01d01a6354d93b3cc6098e0b2d047\"", + "Last-Modified": "Fri, 25 Oct 2019 01:32:16 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B56:C4A050:5DB3A147" + } + }, + "uuid": "441cdfd7-a44a-42b4-b732-57e674227760", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpPending/mappings/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpPending/mappings/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json new file mode 100644 index 0000000000..6b5904361c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpPending/mappings/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json @@ -0,0 +1,48 @@ +{ + "id": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "name": "repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01", + "request": { + "url": "/repos/hub4j/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f01", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4294", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0a8c453e4290ce879ea09578e06a5961\"", + "Last-Modified": "Mon, 19 Apr 2010 04:12:41 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B5F:C4A064:5DB3A148" + } + }, + "uuid": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpPending/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpPending/mappings/user-1.json new file mode 100644 index 0000000000..7c0606ff2f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpPending/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "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, 26 Oct 2019 01:28:39 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4297", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"8c3d3dcf6fc5f9edaf26c902295396e5\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B49:C4A046:5DB3A147" + } + }, + "uuid": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpRevoked/__files/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpRevoked/__files/repos_hub4j_github-api-2.json new file mode 100644 index 0000000000..43ee270874 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpRevoked/__files/repos_hub4j_github-api-2.json @@ -0,0 +1,130 @@ +{ + "id": 617210, + "node_id": "MDEwOlJlcG9zaXRvcnk2MTcyMTA=", + "name": "github-api", + "full_name": "hub4j/github-api", + "private": false, + "owner": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j", + "html_url": "https://github.com/hub4j", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j/github-api", + "description": "Java API for GitHub", + "fork": false, + "url": "https://api.github.com/repos/hub4j/github-api", + "forks_url": "https://api.github.com/repos/hub4j/github-api/forks", + "keys_url": "https://api.github.com/repos/hub4j/github-api/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j/github-api/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j/github-api/teams", + "hooks_url": "https://api.github.com/repos/hub4j/github-api/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j/github-api/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j/github-api/events", + "assignees_url": "https://api.github.com/repos/hub4j/github-api/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j/github-api/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j/github-api/tags", + "blobs_url": "https://api.github.com/repos/hub4j/github-api/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j/github-api/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j/github-api/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j/github-api/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j/github-api/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j/github-api/languages", + "stargazers_url": "https://api.github.com/repos/hub4j/github-api/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j/github-api/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j/github-api/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j/github-api/subscription", + "commits_url": "https://api.github.com/repos/hub4j/github-api/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j/github-api/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j/github-api/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j/github-api/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j/github-api/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j/github-api/merges", + "archive_url": "https://api.github.com/repos/hub4j/github-api/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j/github-api/downloads", + "issues_url": "https://api.github.com/repos/hub4j/github-api/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j/github-api/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j/github-api/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j/github-api/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j/github-api/labels{/name}", + "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-25T01:32:16Z", + "pushed_at": "2019-10-25T16:41:09Z", + "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": 13494, + "stargazers_count": 565, + "watchers_count": 565, + "language": "Java", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 433, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 64, + "license": { + "key": "mit", + "name": "MIT License", + "spdx_id": "MIT", + "url": "https://api.github.com/licenses/mit", + "node_id": "MDc6TGljZW5zZTEz" + }, + "forks": 433, + "open_issues": 64, + "watchers": 565, + "default_branch": "main", + "permissions": { + "admin": true, + "push": true, + "pull": true + }, + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "organization": { + "login": "hub4j", + "id": 54909825, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", + "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hub4j", + "html_url": "https://github.com/hub4j", + "followers_url": "https://api.github.com/users/hub4j/followers", + "following_url": "https://api.github.com/users/hub4j/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j/orgs", + "repos_url": "https://api.github.com/users/hub4j/repos", + "events_url": "https://api.github.com/users/hub4j/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 433, + "subscribers_count": 48 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpRevoked/__files/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpRevoked/__files/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json new file mode 100644 index 0000000000..26aa4fc983 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpRevoked/__files/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json @@ -0,0 +1,98 @@ +{ + "sha": "86a2e245aa6d71d54923655066049d9e21a15f01", + "node_id": "MDY6Q29tbWl0NjE3MjEwOjg2YTJlMjQ1YWE2ZDcxZDU0OTIzNjU1MDY2MDQ5ZDllMjFhMTVmMjM=", + "commit": { + "author": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "committer": { + "name": "Sourabh Parkala", + "email": "sourabh.sarvotham.parkala@sap.com", + "date": "2010-04-19T04:12:41Z" + }, + "message": "doc", + "tree": { + "sha": "17ed4173aeb2e98c93216e8b6e16138dc7f8cd91", + "url": "https://api.github.com/repos/hub4j/github-api/git/trees/17ed4173aeb2e98c93216e8b6e16138dc7f8cd91" + }, + "url": "https://api.github.com/repos/hub4j/github-api/git/commits/86a2e245aa6d71d54923655066049d9e21a15f01", + "comment_count": 0, + "verification": { + "verified": false, + "reason": "ocsp_revoked", + "signature": "-----BEGIN SIGNED MESSAGE-----\nMIIFdQYJKoZIhvcNAQcCoIIFZjCCBWICAQExDTALBglghkgBZQMEAgEwCwYJKoZI\nhvcNAQcBoIIDejCCA3YwggJeoAMCAQICAQIwDQYJKoZIhvcNAQELBQAwKjEbMBkG\nA1UEAwwSQXN0cm9UbGFsb2PigJlzIENBMQswCQYDVQQGEwJVUzAeFw0yMzA5MTgy\nMzI2MDlaFw0yNDA5MTcyMzI2MDlaMEYxFDASBgNVBAMMC0FzdHJvVGxhbG9jMQsw\nCQYDVQQGEwJVUzEhMB8GCSqGSIb3DQEJARYSMHhUbGFsb2NAZ21haWwuY29tMIIB\nIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA+Zq+N5v68htABs4ZLPORns/F\nzixnI+6L+WaVGeQFzxIBs9zsm9IRGJ4xoMBPSg1BuoilRXzsQoCH6+5zyQ4jaHMa\nHBBEijVM7kor3Um+35KdYh79nIY7ZQoDRypLF02FiqfNjhN8Nm8ciNf2EUkiGIcj\n/+TPhVFMxnwlZ2SmSJoMBE5pkDBllb/8kfxgenSoVLXaOigYJ1It6AqH2L8Ju9pa\nJ1zJGu2edjN6xi/0yjzZ7CmPFbnWcY5flJfMqdaj0Po3dMwYKYK07rE7KQHc8wFT\ngAUtQNtJkGBjEcTBh1B7SUsnJ/x4XcSQwOMxPNSm4Esn2RWanJYunez75eCWlwID\nAQABo4GKMIGHMA4GA1UdDwEB/wQEAwIFoDAWBgNVHSUBAf8EDDAKBggrBgEFBQcD\nBDAdBgNVHQ4EFgQUSi5d7oqzSYNhpeG4I2VNF9j881UwHwYDVR0jBBgwFoAULCWl\nbibBiKOX/6M3RWgIlSPM7dcwHQYDVR0RBBYwFIESMHhUbGFsb2NAZ21haWwuY29t\nMA0GCSqGSIb3DQEBCwUAA4IBAQDSn3caORjlSXCSm8ZY1uAbG+IngvEooIJvbl+y\n0yglPA3pkWybXxLfvayJVRGtNgLambnPpulzZmdwjj7qSTzd9K/+OIsI2qjNrZZ+\napXJLhlfabNHzydj0y0DUWgbtKzQ1SVhWgglHaCp440UmVAi0PtsMy3F1S5S0HlZ\n80V1CE3r7UYsC64GG3CmyXVf5MB+pzPriE729Gglig5z6rq8F+GNk5hJW7tOKBRb\nCyXFkqbkMWHPJ/CP5wrFjrEITsn8fIhlJsYRIAGzTnffCOs9i3rMpUTXRBOwSVMB\nI1I3VPm+WxVE7O9NY7TGBDe7010D4DorTNUPYo8xsPtKYyrpMYIBwTCCAb0CAQEw\nLzAqMRswGQYDVQQDDBJBc3Ryb1RsYWxvY+KAmXMgQ0ExCzAJBgNVBAYTAlVTAgEC\nMAsGCWCGSAFlAwQCAaBpMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZI\nhvcNAQkFMQ8XDTIzMDkxODIzMjg1MFowLwYJKoZIhvcNAQkEMSIEIIFHI8Ick3Tu\nBlnfTU6v24ls8D+jGkpQoDK+MF4rk5iTMAsGCSqGSIb3DQEBCwSCAQC4nIUEB/bR\ngeXnO7KdtqRFn/slCNTKZaQObsyL7C7cmNYAlgQAYj/qOBhKGMd3ZAFHRUroCiCy\n5GPs1sEnPKT1Bh7E7HJbpfdMXZINxoiRBrwQpAD/UKxk6etF5qvtAwDJaFMZiTMh\nd6tPNVBcThhUglSqqQFT3BKE9z5KTGwonMeqZlyf/EpXRBn0YcaoWvcAzaahMBQw\nUPwwEtU3FVyYBbLQee0SoYDsddEjdaNN/37auMVIltYmKNq/A4KhJWduTGFcaD/k\nfcXIzhzBi4vk1No6y2ftDgbivxP3MVQyf1tIfD1fv9cw/55JnDRA3IXkQRc+yyUG\nGmHXpKHhqNKm\n-----END SIGNED MESSAGE-----", + "payload": null + } + }, + "url": "https://api.github.com/repos/hub4j/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f01", + "html_url": "https://github.com/hub4j/github-api/commit/86a2e245aa6d71d54923655066049d9e21a15f01", + "comments_url": "https://api.github.com/repos/hub4j/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f01/comments", + "author": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "committer": { + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars1.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false + }, + "parents": [ + { + "sha": "ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "url": "https://api.github.com/repos/hub4j/github-api/commits/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396", + "html_url": "https://github.com/hub4j/github-api/commit/ecbfdd7315ef2cf04b2be7f11a072ce0bd00c396" + } + ], + "stats": { + "total": 3, + "additions": 3, + "deletions": 0 + }, + "files": [ + { + "sha": "2a2e1f77fd77bd03273946d893d25a455f696be0", + "filename": "README", + "status": "added", + "additions": 3, + "deletions": 0, + "changes": 3, + "blob_url": "https://github.com/hub4j/github-api/blob/86a2e245aa6d71d54923655066049d9e21a15f01/README", + "raw_url": "https://github.com/hub4j/github-api/raw/86a2e245aa6d71d54923655066049d9e21a15f01/README", + "contents_url": "https://api.github.com/repos/hub4j/github-api/contents/README?ref=86a2e245aa6d71d54923655066049d9e21a15f01", + "patch": "@@ -0,0 +1,3 @@\n+Java API for GitHub\n+\n+See http://kohsuke.org/github-api/ for more details" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpRevoked/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpRevoked/__files/user-1.json new file mode 100644 index 0000000000..a4b576e8a7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpRevoked/__files/user-1.json @@ -0,0 +1,45 @@ +{ + "login": "bitwiseman", + "id": 1958953, + "node_id": "MDQ6VXNlcjE5NTg5NTM=", + "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/bitwiseman", + "html_url": "https://github.com/bitwiseman", + "followers_url": "https://api.github.com/users/bitwiseman/followers", + "following_url": "https://api.github.com/users/bitwiseman/following{/other_user}", + "gists_url": "https://api.github.com/users/bitwiseman/gists{/gist_id}", + "starred_url": "https://api.github.com/users/bitwiseman/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/bitwiseman/subscriptions", + "organizations_url": "https://api.github.com/users/bitwiseman/orgs", + "repos_url": "https://api.github.com/users/bitwiseman/repos", + "events_url": "https://api.github.com/users/bitwiseman/events{/privacy}", + "received_events_url": "https://api.github.com/users/bitwiseman/received_events", + "type": "User", + "site_admin": false, + "name": "Liam Newman", + "company": "Cloudbees, Inc.", + "blog": "", + "location": "Seattle, WA, USA", + "email": "bitwiseman@gmail.com", + "hireable": null, + "bio": "https://twitter.com/bitwiseman", + "public_repos": 169, + "public_gists": 7, + "followers": 139, + "following": 9, + "created_at": "2012-07-11T20:38:33Z", + "updated_at": "2019-09-24T19:32:29Z", + "private_gists": 7, + "total_private_repos": 9, + "owned_private_repos": 0, + "disk_usage": 33697, + "collaborators": 0, + "two_factor_authentication": true, + "plan": { + "name": "free", + "space": 976562499, + "collaborators": 0, + "private_repos": 10000 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpRevoked/mappings/repos_hub4j_github-api-2.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpRevoked/mappings/repos_hub4j_github-api-2.json new file mode 100644 index 0000000000..80fb7dfa4e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpRevoked/mappings/repos_hub4j_github-api-2.json @@ -0,0 +1,48 @@ +{ + "id": "441cdfd7-a44a-42b4-b732-57e674227760", + "name": "repos_hub4j_github-api", + "request": { + "url": "/repos/hub4j/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j_github-api-2.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4295", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"c1a01d01a6354d93b3cc6098e0b2d047\"", + "Last-Modified": "Fri, 25 Oct 2019 01:32:16 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B56:C4A050:5DB3A147" + } + }, + "uuid": "441cdfd7-a44a-42b4-b732-57e674227760", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpRevoked/mappings/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpRevoked/mappings/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json new file mode 100644 index 0000000000..6b5904361c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpRevoked/mappings/repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json @@ -0,0 +1,48 @@ +{ + "id": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "name": "repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01", + "request": { + "url": "/repos/hub4j/github-api/commits/86a2e245aa6d71d54923655066049d9e21a15f01", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j_github-api_commits_86a2e245aa6d71d54923655066049d9e21a15f01-3.json", + "headers": { + "Date": "Sat, 26 Oct 2019 01:28:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4294", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"0a8c453e4290ce879ea09578e06a5961\"", + "Last-Modified": "Mon, 19 Apr 2010 04:12:41 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B5F:C4A064:5DB3A148" + } + }, + "uuid": "d76abea9-c1be-430a-bbd0-28931c58e1e8", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpRevoked/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpRevoked/mappings/user-1.json new file mode 100644 index 0000000000..7c0606ff2f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHVerificationReasonTest/wiremock/testOscpRevoked/mappings/user-1.json @@ -0,0 +1,48 @@ +{ + "id": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "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, 26 Oct 2019 01:28:39 GMT", + "Content-Type": "application/json; charset=utf-8", + "Server": "GitHub.com", + "Status": "200 OK", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4297", + "X-RateLimit-Reset": "1572055286", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding" + ], + "ETag": "W/\"8c3d3dcf6fc5f9edaf26c902295396e5\"", + "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", + "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "unknown, github.v3", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin": "*", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "1; mode=block", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "CB01:05A2:A65B49:C4A046:5DB3A147" + } + }, + "uuid": "c247f81b-84b8-44e9-820a-0a91dc74ce98", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/__files/repos_hub4j-test-org_ghworkflowruntest-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/__files/repos_hub4j-test-org_ghworkflowruntest-1.json new file mode 100644 index 0000000000..4464472190 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/__files/repos_hub4j-test-org_ghworkflowruntest-1.json @@ -0,0 +1,140 @@ +{ + "id": 348674220, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NzQyMjA=", + "name": "GHWorkflowRunTest", + "full_name": "hub4j-test-org/GHWorkflowRunTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest", + "description": "Repository used by GHWorkflowRunTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/deployments", + "created_at": "2021-03-17T10:50:49Z", + "updated_at": "2021-04-05T12:08:00Z", + "pushed_at": "2022-08-17T10:55:33Z", + "git_url": "git://github.com/hub4j-test-org/GHWorkflowRunTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHWorkflowRunTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest", + "homepage": null, + "size": 7, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 1, + "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, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE", + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 1, + "subscribers_count": 10 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/__files/repos_hub4j-test-org_ghworkflowruntest_actions_runs-3.json b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/__files/repos_hub4j-test-org_ghworkflowruntest_actions_runs-3.json new file mode 100644 index 0000000000..d160774ab6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/__files/repos_hub4j-test-org_ghworkflowruntest_actions_runs-3.json @@ -0,0 +1,881 @@ +{ + "total_count": 4, + "workflow_runs": [ + { + "id": 2874767916, + "name": "Slow workflow", + "node_id": "WFR_kwLOFMhYrM6rWXos", + "head_branch": "main", + "head_sha": "b49a973e2a387787b8b3ef1212b848a1ec4f7b9a", + "path": ".github/workflows/slow-workflow.yml", + "run_number": 21, + "event": "pull_request", + "status": "completed", + "conclusion": "action_required", + "workflow_id": 6820849, + "check_suite_id": 7851902990, + "check_suite_node_id": "CS_kwDOFMhYrM8AAAAB1AKIDg", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767916", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767916", + "pull_requests": [], + "created_at": "2022-08-17T10:55:36Z", + "updated_at": "2022-08-17T10:55:36Z", + "actor": { + "login": "holly-cummins", + "id": 11509290, + "node_id": "MDQ6VXNlcjExNTA5Mjkw", + "avatar_url": "https://avatars.githubusercontent.com/u/11509290?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/holly-cummins", + "html_url": "https://github.com/holly-cummins", + "followers_url": "https://api.github.com/users/holly-cummins/followers", + "following_url": "https://api.github.com/users/holly-cummins/following{/other_user}", + "gists_url": "https://api.github.com/users/holly-cummins/gists{/gist_id}", + "starred_url": "https://api.github.com/users/holly-cummins/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/holly-cummins/subscriptions", + "organizations_url": "https://api.github.com/users/holly-cummins/orgs", + "repos_url": "https://api.github.com/users/holly-cummins/repos", + "events_url": "https://api.github.com/users/holly-cummins/events{/privacy}", + "received_events_url": "https://api.github.com/users/holly-cummins/received_events", + "type": "User", + "site_admin": false + }, + "run_attempt": 1, + "referenced_workflows": [], + "run_started_at": "2022-08-17T10:55:36Z", + "triggering_actor": { + "login": "holly-cummins", + "id": 11509290, + "node_id": "MDQ6VXNlcjExNTA5Mjkw", + "avatar_url": "https://avatars.githubusercontent.com/u/11509290?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/holly-cummins", + "html_url": "https://github.com/holly-cummins", + "followers_url": "https://api.github.com/users/holly-cummins/followers", + "following_url": "https://api.github.com/users/holly-cummins/following{/other_user}", + "gists_url": "https://api.github.com/users/holly-cummins/gists{/gist_id}", + "starred_url": "https://api.github.com/users/holly-cummins/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/holly-cummins/subscriptions", + "organizations_url": "https://api.github.com/users/holly-cummins/orgs", + "repos_url": "https://api.github.com/users/holly-cummins/repos", + "events_url": "https://api.github.com/users/holly-cummins/events{/privacy}", + "received_events_url": "https://api.github.com/users/holly-cummins/received_events", + "type": "User", + "site_admin": false + }, + "jobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767916/jobs", + "logs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767916/logs", + "check_suite_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-suites/7851902990", + "artifacts_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767916/artifacts", + "cancel_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767916/cancel", + "rerun_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767916/rerun", + "previous_attempt_url": null, + "workflow_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/workflows/6820849", + "head_commit": { + "id": "b49a973e2a387787b8b3ef1212b848a1ec4f7b9a", + "tree_id": "28a8c291eee6bc91cb8956dd6e40abf0dfd44919", + "message": "Create README.md", + "timestamp": "2022-08-17T10:55:13Z", + "author": { + "name": "Holly Cummins", + "email": "hcummins@redhat.com" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com" + } + }, + "repository": { + "id": 348674220, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NzQyMjA=", + "name": "GHWorkflowRunTest", + "full_name": "hub4j-test-org/GHWorkflowRunTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest", + "description": "Repository used by GHWorkflowRunTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/deployments" + }, + "head_repository": { + "id": 525745693, + "node_id": "R_kgDOH1Y-HQ", + "name": "GHWorkflowRunTest", + "full_name": "holly-cummins/GHWorkflowRunTest", + "private": false, + "owner": { + "login": "holly-cummins", + "id": 11509290, + "node_id": "MDQ6VXNlcjExNTA5Mjkw", + "avatar_url": "https://avatars.githubusercontent.com/u/11509290?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/holly-cummins", + "html_url": "https://github.com/holly-cummins", + "followers_url": "https://api.github.com/users/holly-cummins/followers", + "following_url": "https://api.github.com/users/holly-cummins/following{/other_user}", + "gists_url": "https://api.github.com/users/holly-cummins/gists{/gist_id}", + "starred_url": "https://api.github.com/users/holly-cummins/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/holly-cummins/subscriptions", + "organizations_url": "https://api.github.com/users/holly-cummins/orgs", + "repos_url": "https://api.github.com/users/holly-cummins/repos", + "events_url": "https://api.github.com/users/holly-cummins/events{/privacy}", + "received_events_url": "https://api.github.com/users/holly-cummins/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/holly-cummins/GHWorkflowRunTest", + "description": "Repository used by GHWorkflowRunTest", + "fork": true, + "url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest", + "forks_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/forks", + "keys_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/teams", + "hooks_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/hooks", + "issue_events_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/events", + "assignees_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/tags", + "blobs_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/languages", + "stargazers_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/stargazers", + "contributors_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/contributors", + "subscribers_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/subscribers", + "subscription_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/subscription", + "commits_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/merges", + "archive_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/downloads", + "issues_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/labels{/name}", + "releases_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/deployments" + } + }, + { + "id": 2874767914, + "name": "Artifacts workflow", + "node_id": "WFR_kwLOFMhYrM6rWXoq", + "head_branch": "main", + "head_sha": "b49a973e2a387787b8b3ef1212b848a1ec4f7b9a", + "path": ".github/workflows/artifacts-workflow.yml", + "run_number": 12, + "event": "pull_request", + "status": "completed", + "conclusion": "action_required", + "workflow_id": 7433027, + "check_suite_id": 7851902993, + "check_suite_node_id": "CS_kwDOFMhYrM8AAAAB1AKIEQ", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767914", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767914", + "pull_requests": [], + "created_at": "2022-08-17T10:55:36Z", + "updated_at": "2022-08-17T10:55:36Z", + "actor": { + "login": "holly-cummins", + "id": 11509290, + "node_id": "MDQ6VXNlcjExNTA5Mjkw", + "avatar_url": "https://avatars.githubusercontent.com/u/11509290?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/holly-cummins", + "html_url": "https://github.com/holly-cummins", + "followers_url": "https://api.github.com/users/holly-cummins/followers", + "following_url": "https://api.github.com/users/holly-cummins/following{/other_user}", + "gists_url": "https://api.github.com/users/holly-cummins/gists{/gist_id}", + "starred_url": "https://api.github.com/users/holly-cummins/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/holly-cummins/subscriptions", + "organizations_url": "https://api.github.com/users/holly-cummins/orgs", + "repos_url": "https://api.github.com/users/holly-cummins/repos", + "events_url": "https://api.github.com/users/holly-cummins/events{/privacy}", + "received_events_url": "https://api.github.com/users/holly-cummins/received_events", + "type": "User", + "site_admin": false + }, + "run_attempt": 1, + "referenced_workflows": [], + "run_started_at": "2022-08-17T10:55:36Z", + "triggering_actor": { + "login": "holly-cummins", + "id": 11509290, + "node_id": "MDQ6VXNlcjExNTA5Mjkw", + "avatar_url": "https://avatars.githubusercontent.com/u/11509290?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/holly-cummins", + "html_url": "https://github.com/holly-cummins", + "followers_url": "https://api.github.com/users/holly-cummins/followers", + "following_url": "https://api.github.com/users/holly-cummins/following{/other_user}", + "gists_url": "https://api.github.com/users/holly-cummins/gists{/gist_id}", + "starred_url": "https://api.github.com/users/holly-cummins/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/holly-cummins/subscriptions", + "organizations_url": "https://api.github.com/users/holly-cummins/orgs", + "repos_url": "https://api.github.com/users/holly-cummins/repos", + "events_url": "https://api.github.com/users/holly-cummins/events{/privacy}", + "received_events_url": "https://api.github.com/users/holly-cummins/received_events", + "type": "User", + "site_admin": false + }, + "jobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767914/jobs", + "logs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767914/logs", + "check_suite_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-suites/7851902993", + "artifacts_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767914/artifacts", + "cancel_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767914/cancel", + "rerun_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767914/rerun", + "previous_attempt_url": null, + "workflow_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/workflows/7433027", + "head_commit": { + "id": "b49a973e2a387787b8b3ef1212b848a1ec4f7b9a", + "tree_id": "28a8c291eee6bc91cb8956dd6e40abf0dfd44919", + "message": "Create README.md", + "timestamp": "2022-08-17T10:55:13Z", + "author": { + "name": "Holly Cummins", + "email": "hcummins@redhat.com" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com" + } + }, + "repository": { + "id": 348674220, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NzQyMjA=", + "name": "GHWorkflowRunTest", + "full_name": "hub4j-test-org/GHWorkflowRunTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest", + "description": "Repository used by GHWorkflowRunTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/deployments" + }, + "head_repository": { + "id": 525745693, + "node_id": "R_kgDOH1Y-HQ", + "name": "GHWorkflowRunTest", + "full_name": "holly-cummins/GHWorkflowRunTest", + "private": false, + "owner": { + "login": "holly-cummins", + "id": 11509290, + "node_id": "MDQ6VXNlcjExNTA5Mjkw", + "avatar_url": "https://avatars.githubusercontent.com/u/11509290?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/holly-cummins", + "html_url": "https://github.com/holly-cummins", + "followers_url": "https://api.github.com/users/holly-cummins/followers", + "following_url": "https://api.github.com/users/holly-cummins/following{/other_user}", + "gists_url": "https://api.github.com/users/holly-cummins/gists{/gist_id}", + "starred_url": "https://api.github.com/users/holly-cummins/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/holly-cummins/subscriptions", + "organizations_url": "https://api.github.com/users/holly-cummins/orgs", + "repos_url": "https://api.github.com/users/holly-cummins/repos", + "events_url": "https://api.github.com/users/holly-cummins/events{/privacy}", + "received_events_url": "https://api.github.com/users/holly-cummins/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/holly-cummins/GHWorkflowRunTest", + "description": "Repository used by GHWorkflowRunTest", + "fork": true, + "url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest", + "forks_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/forks", + "keys_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/teams", + "hooks_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/hooks", + "issue_events_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/events", + "assignees_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/tags", + "blobs_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/languages", + "stargazers_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/stargazers", + "contributors_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/contributors", + "subscribers_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/subscribers", + "subscription_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/subscription", + "commits_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/merges", + "archive_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/downloads", + "issues_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/labels{/name}", + "releases_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/deployments" + } + }, + { + "id": 2874767918, + "name": "Fast workflow", + "node_id": "WFR_kwLOFMhYrM6rWXou", + "head_branch": "main", + "head_sha": "b49a973e2a387787b8b3ef1212b848a1ec4f7b9a", + "path": ".github/workflows/fast-workflow.yml", + "run_number": 78, + "event": "pull_request", + "status": "completed", + "conclusion": "action_required", + "workflow_id": 6820790, + "check_suite_id": 7851902988, + "check_suite_node_id": "CS_kwDOFMhYrM8AAAAB1AKIDA", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767918", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767918", + "pull_requests": [], + "created_at": "2022-08-17T10:55:36Z", + "updated_at": "2022-08-17T10:55:36Z", + "actor": { + "login": "holly-cummins", + "id": 11509290, + "node_id": "MDQ6VXNlcjExNTA5Mjkw", + "avatar_url": "https://avatars.githubusercontent.com/u/11509290?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/holly-cummins", + "html_url": "https://github.com/holly-cummins", + "followers_url": "https://api.github.com/users/holly-cummins/followers", + "following_url": "https://api.github.com/users/holly-cummins/following{/other_user}", + "gists_url": "https://api.github.com/users/holly-cummins/gists{/gist_id}", + "starred_url": "https://api.github.com/users/holly-cummins/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/holly-cummins/subscriptions", + "organizations_url": "https://api.github.com/users/holly-cummins/orgs", + "repos_url": "https://api.github.com/users/holly-cummins/repos", + "events_url": "https://api.github.com/users/holly-cummins/events{/privacy}", + "received_events_url": "https://api.github.com/users/holly-cummins/received_events", + "type": "User", + "site_admin": false + }, + "run_attempt": 1, + "referenced_workflows": [], + "run_started_at": "2022-08-17T10:55:36Z", + "triggering_actor": { + "login": "holly-cummins", + "id": 11509290, + "node_id": "MDQ6VXNlcjExNTA5Mjkw", + "avatar_url": "https://avatars.githubusercontent.com/u/11509290?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/holly-cummins", + "html_url": "https://github.com/holly-cummins", + "followers_url": "https://api.github.com/users/holly-cummins/followers", + "following_url": "https://api.github.com/users/holly-cummins/following{/other_user}", + "gists_url": "https://api.github.com/users/holly-cummins/gists{/gist_id}", + "starred_url": "https://api.github.com/users/holly-cummins/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/holly-cummins/subscriptions", + "organizations_url": "https://api.github.com/users/holly-cummins/orgs", + "repos_url": "https://api.github.com/users/holly-cummins/repos", + "events_url": "https://api.github.com/users/holly-cummins/events{/privacy}", + "received_events_url": "https://api.github.com/users/holly-cummins/received_events", + "type": "User", + "site_admin": false + }, + "jobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767918/jobs", + "logs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767918/logs", + "check_suite_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-suites/7851902988", + "artifacts_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767918/artifacts", + "cancel_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767918/cancel", + "rerun_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767918/rerun", + "previous_attempt_url": null, + "workflow_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/workflows/6820790", + "head_commit": { + "id": "b49a973e2a387787b8b3ef1212b848a1ec4f7b9a", + "tree_id": "28a8c291eee6bc91cb8956dd6e40abf0dfd44919", + "message": "Create README.md", + "timestamp": "2022-08-17T10:55:13Z", + "author": { + "name": "Holly Cummins", + "email": "hcummins@redhat.com" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com" + } + }, + "repository": { + "id": 348674220, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NzQyMjA=", + "name": "GHWorkflowRunTest", + "full_name": "hub4j-test-org/GHWorkflowRunTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest", + "description": "Repository used by GHWorkflowRunTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/deployments" + }, + "head_repository": { + "id": 525745693, + "node_id": "R_kgDOH1Y-HQ", + "name": "GHWorkflowRunTest", + "full_name": "holly-cummins/GHWorkflowRunTest", + "private": false, + "owner": { + "login": "holly-cummins", + "id": 11509290, + "node_id": "MDQ6VXNlcjExNTA5Mjkw", + "avatar_url": "https://avatars.githubusercontent.com/u/11509290?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/holly-cummins", + "html_url": "https://github.com/holly-cummins", + "followers_url": "https://api.github.com/users/holly-cummins/followers", + "following_url": "https://api.github.com/users/holly-cummins/following{/other_user}", + "gists_url": "https://api.github.com/users/holly-cummins/gists{/gist_id}", + "starred_url": "https://api.github.com/users/holly-cummins/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/holly-cummins/subscriptions", + "organizations_url": "https://api.github.com/users/holly-cummins/orgs", + "repos_url": "https://api.github.com/users/holly-cummins/repos", + "events_url": "https://api.github.com/users/holly-cummins/events{/privacy}", + "received_events_url": "https://api.github.com/users/holly-cummins/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/holly-cummins/GHWorkflowRunTest", + "description": "Repository used by GHWorkflowRunTest", + "fork": true, + "url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest", + "forks_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/forks", + "keys_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/teams", + "hooks_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/hooks", + "issue_events_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/events", + "assignees_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/tags", + "blobs_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/languages", + "stargazers_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/stargazers", + "contributors_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/contributors", + "subscribers_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/subscribers", + "subscription_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/subscription", + "commits_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/merges", + "archive_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/downloads", + "issues_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/labels{/name}", + "releases_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/deployments" + } + }, + { + "id": 2874767920, + "name": "Failing workflow", + "node_id": "WFR_kwLOFMhYrM6rWXow", + "head_branch": "main", + "head_sha": "b49a973e2a387787b8b3ef1212b848a1ec4f7b9a", + "path": ".github/workflows/failing-workflow.yml", + "run_number": 6, + "event": "pull_request", + "status": "completed", + "conclusion": "action_required", + "workflow_id": 6820886, + "check_suite_id": 7851902996, + "check_suite_node_id": "CS_kwDOFMhYrM8AAAAB1AKIFA", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767920", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767920", + "pull_requests": [], + "created_at": "2022-08-17T10:55:36Z", + "updated_at": "2022-08-17T10:55:36Z", + "actor": { + "login": "holly-cummins", + "id": 11509290, + "node_id": "MDQ6VXNlcjExNTA5Mjkw", + "avatar_url": "https://avatars.githubusercontent.com/u/11509290?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/holly-cummins", + "html_url": "https://github.com/holly-cummins", + "followers_url": "https://api.github.com/users/holly-cummins/followers", + "following_url": "https://api.github.com/users/holly-cummins/following{/other_user}", + "gists_url": "https://api.github.com/users/holly-cummins/gists{/gist_id}", + "starred_url": "https://api.github.com/users/holly-cummins/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/holly-cummins/subscriptions", + "organizations_url": "https://api.github.com/users/holly-cummins/orgs", + "repos_url": "https://api.github.com/users/holly-cummins/repos", + "events_url": "https://api.github.com/users/holly-cummins/events{/privacy}", + "received_events_url": "https://api.github.com/users/holly-cummins/received_events", + "type": "User", + "site_admin": false + }, + "run_attempt": 1, + "referenced_workflows": [], + "run_started_at": "2022-08-17T10:55:36Z", + "triggering_actor": { + "login": "holly-cummins", + "id": 11509290, + "node_id": "MDQ6VXNlcjExNTA5Mjkw", + "avatar_url": "https://avatars.githubusercontent.com/u/11509290?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/holly-cummins", + "html_url": "https://github.com/holly-cummins", + "followers_url": "https://api.github.com/users/holly-cummins/followers", + "following_url": "https://api.github.com/users/holly-cummins/following{/other_user}", + "gists_url": "https://api.github.com/users/holly-cummins/gists{/gist_id}", + "starred_url": "https://api.github.com/users/holly-cummins/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/holly-cummins/subscriptions", + "organizations_url": "https://api.github.com/users/holly-cummins/orgs", + "repos_url": "https://api.github.com/users/holly-cummins/repos", + "events_url": "https://api.github.com/users/holly-cummins/events{/privacy}", + "received_events_url": "https://api.github.com/users/holly-cummins/received_events", + "type": "User", + "site_admin": false + }, + "jobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767920/jobs", + "logs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767920/logs", + "check_suite_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-suites/7851902996", + "artifacts_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767920/artifacts", + "cancel_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767920/cancel", + "rerun_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767920/rerun", + "previous_attempt_url": null, + "workflow_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/workflows/6820886", + "head_commit": { + "id": "b49a973e2a387787b8b3ef1212b848a1ec4f7b9a", + "tree_id": "28a8c291eee6bc91cb8956dd6e40abf0dfd44919", + "message": "Create README.md", + "timestamp": "2022-08-17T10:55:13Z", + "author": { + "name": "Holly Cummins", + "email": "hcummins@redhat.com" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com" + } + }, + "repository": { + "id": 348674220, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NzQyMjA=", + "name": "GHWorkflowRunTest", + "full_name": "hub4j-test-org/GHWorkflowRunTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest", + "description": "Repository used by GHWorkflowRunTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/deployments" + }, + "head_repository": { + "id": 525745693, + "node_id": "R_kgDOH1Y-HQ", + "name": "GHWorkflowRunTest", + "full_name": "holly-cummins/GHWorkflowRunTest", + "private": false, + "owner": { + "login": "holly-cummins", + "id": 11509290, + "node_id": "MDQ6VXNlcjExNTA5Mjkw", + "avatar_url": "https://avatars.githubusercontent.com/u/11509290?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/holly-cummins", + "html_url": "https://github.com/holly-cummins", + "followers_url": "https://api.github.com/users/holly-cummins/followers", + "following_url": "https://api.github.com/users/holly-cummins/following{/other_user}", + "gists_url": "https://api.github.com/users/holly-cummins/gists{/gist_id}", + "starred_url": "https://api.github.com/users/holly-cummins/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/holly-cummins/subscriptions", + "organizations_url": "https://api.github.com/users/holly-cummins/orgs", + "repos_url": "https://api.github.com/users/holly-cummins/repos", + "events_url": "https://api.github.com/users/holly-cummins/events{/privacy}", + "received_events_url": "https://api.github.com/users/holly-cummins/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/holly-cummins/GHWorkflowRunTest", + "description": "Repository used by GHWorkflowRunTest", + "fork": true, + "url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest", + "forks_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/forks", + "keys_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/teams", + "hooks_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/hooks", + "issue_events_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/events", + "assignees_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/tags", + "blobs_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/languages", + "stargazers_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/stargazers", + "contributors_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/contributors", + "subscribers_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/subscribers", + "subscription_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/subscription", + "commits_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/merges", + "archive_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/downloads", + "issues_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/labels{/name}", + "releases_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/deployments" + } + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/__files/repos_hub4j-test-org_ghworkflowruntest_actions_runs_2874767918-5.json b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/__files/repos_hub4j-test-org_ghworkflowruntest_actions_runs_2874767918-5.json new file mode 100644 index 0000000000..647b3b5b52 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/__files/repos_hub4j-test-org_ghworkflowruntest_actions_runs_2874767918-5.json @@ -0,0 +1,219 @@ +{ + "id": 2874767918, + "name": "Fast workflow", + "node_id": "WFR_kwLOFMhYrM6rWXou", + "head_branch": "main", + "head_sha": "b49a973e2a387787b8b3ef1212b848a1ec4f7b9a", + "path": ".github/workflows/fast-workflow.yml", + "run_number": 78, + "event": "pull_request", + "status": "completed", + "conclusion": "success", + "workflow_id": 6820790, + "check_suite_id": 7851902988, + "check_suite_node_id": "CS_kwDOFMhYrM8AAAAB1AKIDA", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767918", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767918", + "pull_requests": [], + "created_at": "2022-08-17T10:55:36Z", + "updated_at": "2022-08-17T11:47:52Z", + "actor": { + "login": "holly-cummins", + "id": 11509290, + "node_id": "MDQ6VXNlcjExNTA5Mjkw", + "avatar_url": "https://avatars.githubusercontent.com/u/11509290?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/holly-cummins", + "html_url": "https://github.com/holly-cummins", + "followers_url": "https://api.github.com/users/holly-cummins/followers", + "following_url": "https://api.github.com/users/holly-cummins/following{/other_user}", + "gists_url": "https://api.github.com/users/holly-cummins/gists{/gist_id}", + "starred_url": "https://api.github.com/users/holly-cummins/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/holly-cummins/subscriptions", + "organizations_url": "https://api.github.com/users/holly-cummins/orgs", + "repos_url": "https://api.github.com/users/holly-cummins/repos", + "events_url": "https://api.github.com/users/holly-cummins/events{/privacy}", + "received_events_url": "https://api.github.com/users/holly-cummins/received_events", + "type": "User", + "site_admin": false + }, + "run_attempt": 2, + "referenced_workflows": [], + "run_started_at": "2022-08-17T11:47:32Z", + "triggering_actor": { + "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 + }, + "jobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767918/jobs", + "logs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767918/logs", + "check_suite_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-suites/7851902988", + "artifacts_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767918/artifacts", + "cancel_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767918/cancel", + "rerun_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767918/rerun", + "previous_attempt_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767918/attempts/1", + "workflow_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/workflows/6820790", + "head_commit": { + "id": "b49a973e2a387787b8b3ef1212b848a1ec4f7b9a", + "tree_id": "28a8c291eee6bc91cb8956dd6e40abf0dfd44919", + "message": "Create README.md", + "timestamp": "2022-08-17T10:55:13Z", + "author": { + "name": "Holly Cummins", + "email": "hcummins@redhat.com" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com" + } + }, + "repository": { + "id": 348674220, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NzQyMjA=", + "name": "GHWorkflowRunTest", + "full_name": "hub4j-test-org/GHWorkflowRunTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest", + "description": "Repository used by GHWorkflowRunTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/deployments" + }, + "head_repository": { + "id": 525745693, + "node_id": "R_kgDOH1Y-HQ", + "name": "GHWorkflowRunTest", + "full_name": "holly-cummins/GHWorkflowRunTest", + "private": false, + "owner": { + "login": "holly-cummins", + "id": 11509290, + "node_id": "MDQ6VXNlcjExNTA5Mjkw", + "avatar_url": "https://avatars.githubusercontent.com/u/11509290?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/holly-cummins", + "html_url": "https://github.com/holly-cummins", + "followers_url": "https://api.github.com/users/holly-cummins/followers", + "following_url": "https://api.github.com/users/holly-cummins/following{/other_user}", + "gists_url": "https://api.github.com/users/holly-cummins/gists{/gist_id}", + "starred_url": "https://api.github.com/users/holly-cummins/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/holly-cummins/subscriptions", + "organizations_url": "https://api.github.com/users/holly-cummins/orgs", + "repos_url": "https://api.github.com/users/holly-cummins/repos", + "events_url": "https://api.github.com/users/holly-cummins/events{/privacy}", + "received_events_url": "https://api.github.com/users/holly-cummins/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/holly-cummins/GHWorkflowRunTest", + "description": "Repository used by GHWorkflowRunTest", + "fork": true, + "url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest", + "forks_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/forks", + "keys_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/teams", + "hooks_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/hooks", + "issue_events_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/events", + "assignees_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/tags", + "blobs_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/languages", + "stargazers_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/stargazers", + "contributors_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/contributors", + "subscribers_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/subscribers", + "subscription_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/subscription", + "commits_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/merges", + "archive_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/downloads", + "issues_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/labels{/name}", + "releases_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/deployments" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/__files/repos_hub4j-test-org_ghworkflowruntest_pulls-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/__files/repos_hub4j-test-org_ghworkflowruntest_pulls-2.json new file mode 100644 index 0000000000..809c477fed --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/__files/repos_hub4j-test-org_ghworkflowruntest_pulls-2.json @@ -0,0 +1,330 @@ +[ + { + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls/8", + "id": 1028677984, + "node_id": "PR_kwDOFMhYrM49UGFg", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/pull/8", + "diff_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/pull/8.diff", + "patch_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/pull/8.patch", + "issue_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/8", + "number": 8, + "state": "open", + "locked": false, + "title": "Create README.md ", + "user": { + "login": "holly-cummins", + "id": 11509290, + "node_id": "MDQ6VXNlcjExNTA5Mjkw", + "avatar_url": "https://avatars.githubusercontent.com/u/11509290?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/holly-cummins", + "html_url": "https://github.com/holly-cummins", + "followers_url": "https://api.github.com/users/holly-cummins/followers", + "following_url": "https://api.github.com/users/holly-cummins/following{/other_user}", + "gists_url": "https://api.github.com/users/holly-cummins/gists{/gist_id}", + "starred_url": "https://api.github.com/users/holly-cummins/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/holly-cummins/subscriptions", + "organizations_url": "https://api.github.com/users/holly-cummins/orgs", + "repos_url": "https://api.github.com/users/holly-cummins/repos", + "events_url": "https://api.github.com/users/holly-cummins/events{/privacy}", + "received_events_url": "https://api.github.com/users/holly-cummins/received_events", + "type": "User", + "site_admin": false + }, + "body": "... as a test PR", + "created_at": "2022-08-17T10:55:33Z", + "updated_at": "2022-08-17T10:55:33Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "3c59c50930706a7cde5644f24d59100fab2d07d1", + "assignee": null, + "assignees": [], + "requested_reviewers": [], + "requested_teams": [], + "labels": [], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls/8/commits", + "review_comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls/8/comments", + "review_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/8/comments", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/b49a973e2a387787b8b3ef1212b848a1ec4f7b9a", + "head": { + "label": "holly-cummins:main", + "ref": "main", + "sha": "b49a973e2a387787b8b3ef1212b848a1ec4f7b9a", + "user": { + "login": "holly-cummins", + "id": 11509290, + "node_id": "MDQ6VXNlcjExNTA5Mjkw", + "avatar_url": "https://avatars.githubusercontent.com/u/11509290?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/holly-cummins", + "html_url": "https://github.com/holly-cummins", + "followers_url": "https://api.github.com/users/holly-cummins/followers", + "following_url": "https://api.github.com/users/holly-cummins/following{/other_user}", + "gists_url": "https://api.github.com/users/holly-cummins/gists{/gist_id}", + "starred_url": "https://api.github.com/users/holly-cummins/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/holly-cummins/subscriptions", + "organizations_url": "https://api.github.com/users/holly-cummins/orgs", + "repos_url": "https://api.github.com/users/holly-cummins/repos", + "events_url": "https://api.github.com/users/holly-cummins/events{/privacy}", + "received_events_url": "https://api.github.com/users/holly-cummins/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 525745693, + "node_id": "R_kgDOH1Y-HQ", + "name": "GHWorkflowRunTest", + "full_name": "holly-cummins/GHWorkflowRunTest", + "private": false, + "owner": { + "login": "holly-cummins", + "id": 11509290, + "node_id": "MDQ6VXNlcjExNTA5Mjkw", + "avatar_url": "https://avatars.githubusercontent.com/u/11509290?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/holly-cummins", + "html_url": "https://github.com/holly-cummins", + "followers_url": "https://api.github.com/users/holly-cummins/followers", + "following_url": "https://api.github.com/users/holly-cummins/following{/other_user}", + "gists_url": "https://api.github.com/users/holly-cummins/gists{/gist_id}", + "starred_url": "https://api.github.com/users/holly-cummins/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/holly-cummins/subscriptions", + "organizations_url": "https://api.github.com/users/holly-cummins/orgs", + "repos_url": "https://api.github.com/users/holly-cummins/repos", + "events_url": "https://api.github.com/users/holly-cummins/events{/privacy}", + "received_events_url": "https://api.github.com/users/holly-cummins/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/holly-cummins/GHWorkflowRunTest", + "description": "Repository used by GHWorkflowRunTest", + "fork": true, + "url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest", + "forks_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/forks", + "keys_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/teams", + "hooks_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/hooks", + "issue_events_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/events", + "assignees_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/tags", + "blobs_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/languages", + "stargazers_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/stargazers", + "contributors_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/contributors", + "subscribers_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/subscribers", + "subscription_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/subscription", + "commits_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/merges", + "archive_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/downloads", + "issues_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/labels{/name}", + "releases_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/holly-cummins/GHWorkflowRunTest/deployments", + "created_at": "2022-08-17T10:42:03Z", + "updated_at": "2021-04-05T12:08:00Z", + "pushed_at": "2022-08-17T10:55:13Z", + "git_url": "git://github.com/holly-cummins/GHWorkflowRunTest.git", + "ssh_url": "git@github.com:holly-cummins/GHWorkflowRunTest.git", + "clone_url": "https://github.com/holly-cummins/GHWorkflowRunTest.git", + "svn_url": "https://github.com/holly-cummins/GHWorkflowRunTest", + "homepage": null, + "size": 7, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main" + } + }, + "base": { + "label": "hub4j-test-org:main", + "ref": "main", + "sha": "c7bd3b8db871bbde8629275631ea645622ae89d7", + "user": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 348674220, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NzQyMjA=", + "name": "GHWorkflowRunTest", + "full_name": "hub4j-test-org/GHWorkflowRunTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest", + "description": "Repository used by GHWorkflowRunTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/deployments", + "created_at": "2021-03-17T10:50:49Z", + "updated_at": "2021-04-05T12:08:00Z", + "pushed_at": "2022-08-17T10:55:33Z", + "git_url": "git://github.com/hub4j-test-org/GHWorkflowRunTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHWorkflowRunTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest", + "homepage": null, + "size": 7, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 8, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 1, + "open_issues": 8, + "watchers": 0, + "default_branch": "main" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls/8" + }, + "html": { + "href": "https://github.com/hub4j-test-org/GHWorkflowRunTest/pull/8" + }, + "issue": { + "href": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/8" + }, + "comments": { + "href": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/8/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls/8/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls/8/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/b49a973e2a387787b8b3ef1212b848a1ec4f7b9a" + } + }, + "author_association": "FIRST_TIME_CONTRIBUTOR", + "auto_merge": null, + "active_lock_reason": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/mappings/repos_hub4j-test-org_ghworkflowruntest-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/mappings/repos_hub4j-test-org_ghworkflowruntest-1.json new file mode 100644 index 0000000000..08c7fedfb1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/mappings/repos_hub4j-test-org_ghworkflowruntest-1.json @@ -0,0 +1,47 @@ +{ + "id": "2fd575fb-448e-411c-90fd-b9d4d1d168df", + "name": "repos_hub4j-test-org_ghworkflowruntest", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowRunTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghworkflowruntest-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 17 Aug 2022 11:47:25 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"37b2062877beb4b2cc43337c2d02d1c44ce7a17ae794ebf7c0ae1f510ee0bb24\"", + "Last-Modified": "Mon, 05 Apr 2021 12:08:00 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": "4954", + "X-RateLimit-Reset": "1660739435", + "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": "8BBA:93DC:887943:8CDBCF:62FCD54C" + } + }, + "uuid": "2fd575fb-448e-411c-90fd-b9d4d1d168df", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/mappings/repos_hub4j-test-org_ghworkflowruntest_actions_runs-3.json b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/mappings/repos_hub4j-test-org_ghworkflowruntest_actions_runs-3.json new file mode 100644 index 0000000000..3f1283ed99 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/mappings/repos_hub4j-test-org_ghworkflowruntest_actions_runs-3.json @@ -0,0 +1,46 @@ +{ + "id": "f86d49aa-06b3-40c2-a2d4-0b4931507558", + "name": "repos_hub4j-test-org_ghworkflowruntest_actions_runs", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs?branch=main&status=action_required&event=pull_request&per_page=20", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghworkflowruntest_actions_runs-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 17 Aug 2022 11:47:31 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/\"666022f8289ae5c2b7a98a0ecb77d141f908f2a97ca2c7d8d0131acd0d6ba0dd\"", + "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": "4950", + "X-RateLimit-Reset": "1660739435", + "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": "8BC2:ED57:E8651C:EDA047:62FCD553" + } + }, + "uuid": "f86d49aa-06b3-40c2-a2d4-0b4931507558", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/mappings/repos_hub4j-test-org_ghworkflowruntest_actions_runs_2874767918-5.json b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/mappings/repos_hub4j-test-org_ghworkflowruntest_actions_runs_2874767918-5.json new file mode 100644 index 0000000000..3f6bc81895 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/mappings/repos_hub4j-test-org_ghworkflowruntest_actions_runs_2874767918-5.json @@ -0,0 +1,46 @@ +{ + "id": "201d9618-9cdb-47af-9df7-6fa083e8192b", + "name": "repos_hub4j-test-org_ghworkflowruntest_actions_runs_2874767918", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767918", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghworkflowruntest_actions_runs_2874767918-5.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 17 Aug 2022 11:47: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/\"b973d789d1f5b02b252da8833fc6edd31353efb4a817e72825d37d0a7fb78d98\"", + "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": "4942", + "X-RateLimit-Reset": "1660739435", + "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": "8BD4:BC66:15B72:4B0CD:62FCD56E" + } + }, + "uuid": "201d9618-9cdb-47af-9df7-6fa083e8192b", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/mappings/repos_hub4j-test-org_ghworkflowruntest_actions_runs_2874767918_approve-4.json b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/mappings/repos_hub4j-test-org_ghworkflowruntest_actions_runs_2874767918_approve-4.json new file mode 100644 index 0000000000..cb885e71e4 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/mappings/repos_hub4j-test-org_ghworkflowruntest_actions_runs_2874767918_approve-4.json @@ -0,0 +1,53 @@ +{ + "id": "579dc9e2-fa5c-468d-9b47-eff387065eae", + "name": "repos_hub4j-test-org_ghworkflowruntest_actions_runs_2874767918_approve", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/2874767918/approve", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "body": "{}", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 17 Aug 2022 11:47:32 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": "\"7dfd5806ff5c2f27d03077f8e5177ad2ffdd76141a8620be11222e0f7d2b3f18\"", + "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": "4949", + "X-RateLimit-Reset": "1660739435", + "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": "8BC4:68B5:906BFE:94D2A7:62FCD553" + } + }, + "uuid": "579dc9e2-fa5c-468d-9b47-eff387065eae", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/mappings/repos_hub4j-test-org_ghworkflowruntest_pulls-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/mappings/repos_hub4j-test-org_ghworkflowruntest_pulls-2.json new file mode 100644 index 0000000000..b0478b4e10 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testApproval/mappings/repos_hub4j-test-org_ghworkflowruntest_pulls-2.json @@ -0,0 +1,46 @@ +{ + "id": "a276d02f-3ba0-4714-9f51-995f6919942c", + "name": "repos_hub4j-test-org_ghworkflowruntest_pulls", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowRunTest/pulls?base=main&sort=created&direction=desc&state=open", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.shadow-cat-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghworkflowruntest_pulls-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Wed, 17 Aug 2022 11:47:25 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"761d735213a1e481e1ed464edc3f1ad5cf5fd2e96723f34f7b54f04ca7684bc8\"", + "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": "4953", + "X-RateLimit-Reset": "1660739435", + "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": "8BBC:93DD:11E4A5A:1237FE1:62FCD54D" + } + }, + "uuid": "a276d02f-3ba0-4714-9f51-995f6919942c", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testJobs/__files/repos_hub4j-test-org_ghworkflowruntest_actions_jobs__2270858630-10.json b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testJobs/__files/repos_hub4j-test-org_ghworkflowruntest_actions_jobs__2270858630-10.json index 915a5db94b..6e131628ee 100644 --- a/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testJobs/__files/repos_hub4j-test-org_ghworkflowruntest_actions_jobs__2270858630-10.json +++ b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testJobs/__files/repos_hub4j-test-org_ghworkflowruntest_actions_jobs__2270858630-10.json @@ -37,5 +37,12 @@ "completed_at": "2021-04-05T17:42:59.000+02:00" } ], - "check_run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-runs/2270858630" + "check_run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-runs/2270858630", + "labels": [ + "ubuntu-latest" + ], + "runner_id": 1, + "runner_name": "my runner", + "runner_group_id": 2, + "runner_group_name": "my runner group" } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testJobs/__files/repos_hub4j-test-org_ghworkflowruntest_actions_runs_719643947_jobs-11.json b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testJobs/__files/repos_hub4j-test-org_ghworkflowruntest_actions_runs_719643947_jobs-11.json index 9c46949c90..d0c286aa1c 100644 --- a/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testJobs/__files/repos_hub4j-test-org_ghworkflowruntest_actions_runs_719643947_jobs-11.json +++ b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testJobs/__files/repos_hub4j-test-org_ghworkflowruntest_actions_runs_719643947_jobs-11.json @@ -40,7 +40,14 @@ "completed_at": "2021-04-05T17:42:57.000+02:00" } ], - "check_run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-runs/2270858576" + "check_run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-runs/2270858576", + "labels": [ + "ubuntu-latest" + ], + "runner_id": 1, + "runner_name": "my runner", + "runner_group_id": 2, + "runner_group_name": "my runner group" }, { "id": 2270858630, @@ -81,7 +88,14 @@ "completed_at": "2021-04-05T17:42:59.000+02:00" } ], - "check_run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-runs/2270858630" + "check_run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-runs/2270858630", + "labels": [ + "ubuntu-latest" + ], + "runner_id": 1, + "runner_name": "my runner", + "runner_group_id": 2, + "runner_group_name": "my runner group" } ] } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testJobs/__files/repos_hub4j-test-org_ghworkflowruntest_actions_runs_719643947_jobs-7.json b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testJobs/__files/repos_hub4j-test-org_ghworkflowruntest_actions_runs_719643947_jobs-7.json index 9c46949c90..d0c286aa1c 100644 --- a/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testJobs/__files/repos_hub4j-test-org_ghworkflowruntest_actions_runs_719643947_jobs-7.json +++ b/src/test/resources/org/kohsuke/github/GHWorkflowRunTest/wiremock/testJobs/__files/repos_hub4j-test-org_ghworkflowruntest_actions_runs_719643947_jobs-7.json @@ -40,7 +40,14 @@ "completed_at": "2021-04-05T17:42:57.000+02:00" } ], - "check_run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-runs/2270858576" + "check_run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-runs/2270858576", + "labels": [ + "ubuntu-latest" + ], + "runner_id": 1, + "runner_name": "my runner", + "runner_group_id": 2, + "runner_group_name": "my runner group" }, { "id": 2270858630, @@ -81,7 +88,14 @@ "completed_at": "2021-04-05T17:42:59.000+02:00" } ], - "check_run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-runs/2270858630" + "check_run_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-runs/2270858630", + "labels": [ + "ubuntu-latest" + ], + "runner_id": 1, + "runner_name": "my runner", + "runner_group_id": 2, + "runner_group_name": "my runner group" } ] } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/__files/repos_hub4j-test-org_ghworkflowtest-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/__files/repos_hub4j-test-org_ghworkflowtest-1.json new file mode 100644 index 0000000000..fce58ae6fa --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/__files/repos_hub4j-test-org_ghworkflowtest-1.json @@ -0,0 +1,134 @@ +{ + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments", + "created_at": "2021-03-17T09:32:03Z", + "updated_at": "2022-05-12T12:41:19Z", + "pushed_at": "2022-05-12T12:41:16Z", + "git_url": "git://github.com/hub4j-test-org/GHWorkflowTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHWorkflowTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHWorkflowTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "homepage": null, + "size": 1, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 11 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/__files/repos_hub4j-test-org_ghworkflowtest-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/__files/repos_hub4j-test-org_ghworkflowtest-2.json deleted file mode 100644 index c984c8be47..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/__files/repos_hub4j-test-org_ghworkflowtest-2.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "id": 348651606, - "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", - "name": "GHWorkflowTest", - "full_name": "hub4j-test-org/GHWorkflowTest", - "private": false, - "owner": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "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", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", - "description": "Repository used for GHWorkflowTest", - "fork": false, - "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", - "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", - "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", - "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", - "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments", - "created_at": "2021-03-17T09:32:03Z", - "updated_at": "2021-03-17T09:33:34Z", - "pushed_at": "2021-03-17T09:33:32Z", - "git_url": "git://github.com/hub4j-test-org/GHWorkflowTest.git", - "ssh_url": "git@github.com:hub4j-test-org/GHWorkflowTest.git", - "clone_url": "https://github.com/hub4j-test-org/GHWorkflowTest.git", - "svn_url": "https://github.com/hub4j-test-org/GHWorkflowTest", - "homepage": null, - "size": 1, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "main", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "temp_clone_token": "", - "allow_squash_merge": true, - "allow_merge_commit": true, - "allow_rebase_merge": true, - "delete_branch_on_merge": false, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "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", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "network_count": 0, - "subscribers_count": 10 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859-3.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859-3.json new file mode 100644 index 0000000000..61e1163e7c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859-3.json @@ -0,0 +1,12 @@ +{ + "id": 6817859, + "node_id": "MDg6V29ya2Zsb3c2ODE3ODU5", + "name": "test-workflow", + "path": ".github/workflows/test-workflow.yml", + "state": "active", + "created_at": "2021-03-17T10:33:32.000+01:00", + "updated_at": "2022-05-12T14:43:11.000+02:00", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml", + "badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859-4.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859-4.json deleted file mode 100644 index c40633b49f..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859-4.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "id": 6817859, - "node_id": "MDg6V29ya2Zsb3c2ODE3ODU5", - "name": "test-workflow", - "path": ".github/workflows/test-workflow.yml", - "state": "active", - "created_at": "2021-03-17T10:33:32.000+01:00", - "updated_at": "2021-03-25T11:36:24.000+01:00", - "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", - "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml", - "badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg" -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json new file mode 100644 index 0000000000..61e1163e7c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json @@ -0,0 +1,12 @@ +{ + "id": 6817859, + "node_id": "MDg6V29ya2Zsb3c2ODE3ODU5", + "name": "test-workflow", + "path": ".github/workflows/test-workflow.yml", + "state": "active", + "created_at": "2021-03-17T10:33:32.000+01:00", + "updated_at": "2022-05-12T14:43:11.000+02:00", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml", + "badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json deleted file mode 100644 index c40633b49f..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "id": 6817859, - "node_id": "MDg6V29ya2Zsb3c2ODE3ODU5", - "name": "test-workflow", - "path": ".github/workflows/test-workflow.yml", - "state": "active", - "created_at": "2021-03-17T10:33:32.000+01:00", - "updated_at": "2021-03-25T11:36:24.000+01:00", - "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", - "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml", - "badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg" -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/__files/user-1.json deleted file mode 100644 index 79bade964e..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/__files/user-1.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "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://www.redhat.com/", - "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": 102, - "public_gists": 14, - "followers": 127, - "following": 3, - "created_at": "2011-12-22T11:03:22Z", - "updated_at": "2021-03-23T17:35:45Z", - "private_gists": 14, - "total_private_repos": 4, - "owned_private_repos": 1, - "disk_usage": 68258, - "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/GHWorkflowTest/wiremock/testBasicInformation/mappings/repos_hub4j-test-org_ghworkflowtest-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/mappings/repos_hub4j-test-org_ghworkflowtest-1.json new file mode 100644 index 0000000000..3fef88cb3c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/mappings/repos_hub4j-test-org_ghworkflowtest-1.json @@ -0,0 +1,47 @@ +{ + "id": "220d20d4-be30-4b64-931a-832cea0fea16", + "name": "repos_hub4j-test-org_ghworkflowtest", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghworkflowtest-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 12 May 2022 12:43: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/\"b29404b8f46b810b45089727292ea01bec52720af73a92806b6826296fd3785b\"", + "Last-Modified": "Thu, 12 May 2022 12:41:19 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": "4928", + "X-RateLimit-Reset": "1652362924", + "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": "C910:5519:542B692:555E102:627D00E2" + } + }, + "uuid": "220d20d4-be30-4b64-931a-832cea0fea16", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/mappings/repos_hub4j-test-org_ghworkflowtest-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/mappings/repos_hub4j-test-org_ghworkflowtest-2.json deleted file mode 100644 index 5d3e9e3fa0..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/mappings/repos_hub4j-test-org_ghworkflowtest-2.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "1fbf864b-587b-4d30-8a65-43dfecc97028", - "name": "repos_hub4j-test-org_ghworkflowtest", - "request": { - "url": "/repos/hub4j-test-org/GHWorkflowTest", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_ghworkflowtest-2.json", - "headers": { - "Server": "GitHub.com", - "Date": "Thu, 25 Mar 2021 10:36:28 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/\"082e0c2ae9f1d8387e22ebe7279d627738b78d114a3badc2d9e60dfb0b2a6abf\"", - "Last-Modified": "Wed, 17 Mar 2021 09:33:34 GMT", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "repo", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4973", - "X-RateLimit-Reset": "1616672182", - "X-RateLimit-Used": "27", - "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": "D5A4:4AE4:1010430:10B0B4D:605C67AC" - } - }, - "uuid": "1fbf864b-587b-4d30-8a65-43dfecc97028", - "persistent": true, - "insertionIndex": 2 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859-3.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859-3.json new file mode 100644 index 0000000000..72f24f267c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859-3.json @@ -0,0 +1,46 @@ +{ + "id": "16128b7f-ff64-4091-85ab-5f0f6fd70dfb", + "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 12 May 2022 12:43: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/\"37311efa336094063a53d1313b6f73af8a2d5f81a7f10c95f7173189235ace0a\"", + "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": "4926", + "X-RateLimit-Reset": "1652362924", + "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": "C914:90C1:253005B:25D30D4:627D00E3" + } + }, + "uuid": "16128b7f-ff64-4091-85ab-5f0f6fd70dfb", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859-4.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859-4.json deleted file mode 100644 index 5001f8d5de..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859-4.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "id": "a37a5c44-61eb-4460-87e8-3207a15c7d2c", - "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859", - "request": { - "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859-4.json", - "headers": { - "Server": "GitHub.com", - "Date": "Thu, 25 Mar 2021 10:36:29 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/\"72a49555d2625ba9f490d619d324726f5192dc2a030dc22033b9cadf7a2ba076\"", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4971", - "X-RateLimit-Reset": "1616672182", - "X-RateLimit-Used": "29", - "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": "D5A4:4AE4:1010476:10B0B89:605C67AC" - } - }, - "uuid": "a37a5c44-61eb-4460-87e8-3207a15c7d2c", - "persistent": true, - "insertionIndex": 4 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json new file mode 100644 index 0000000000..aea269b981 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json @@ -0,0 +1,46 @@ +{ + "id": "7618fd94-ee84-4b67-a401-45e1edfc38df", + "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/test-workflow.yml", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 12 May 2022 12:43: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/\"37311efa336094063a53d1313b6f73af8a2d5f81a7f10c95f7173189235ace0a\"", + "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": "4927", + "X-RateLimit-Reset": "1652362924", + "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": "C912:90C0:19079B9:19965E8:627D00E2" + } + }, + "uuid": "7618fd94-ee84-4b67-a401-45e1edfc38df", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json deleted file mode 100644 index d7f523a7b6..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "id": "1ca8cc16-7af0-40c3-832f-197e68817ac1", - "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml", - "request": { - "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/test-workflow.yml", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json", - "headers": { - "Server": "GitHub.com", - "Date": "Thu, 25 Mar 2021 10:36:28 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/\"72a49555d2625ba9f490d619d324726f5192dc2a030dc22033b9cadf7a2ba076\"", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4972", - "X-RateLimit-Reset": "1616672182", - "X-RateLimit-Used": "28", - "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": "D5A4:4AE4:101045A:10B0B77:605C67AC" - } - }, - "uuid": "1ca8cc16-7af0-40c3-832f-197e68817ac1", - "persistent": true, - "insertionIndex": 3 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/mappings/user-1.json deleted file mode 100644 index 7d89468cbe..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testBasicInformation/mappings/user-1.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "c5a67302-c980-47a8-b400-545cf06e8ae7", - "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": "Thu, 25 Mar 2021 10:36:27 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/\"879f35eed38dcc75ca2b3a8999425e0d51678f4c73ffade3c5bcc853b59245b6\"", - "Last-Modified": "Tue, 23 Mar 2021 17:35:45 GMT", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4977", - "X-RateLimit-Reset": "1616672182", - "X-RateLimit-Used": "23", - "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": "D5A4:4AE4:1010390:10B0A9B:605C67AB" - } - }, - "uuid": "c5a67302-c980-47a8-b400-545cf06e8ae7", - "persistent": true, - "insertionIndex": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest-1.json new file mode 100644 index 0000000000..fce58ae6fa --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest-1.json @@ -0,0 +1,134 @@ +{ + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments", + "created_at": "2021-03-17T09:32:03Z", + "updated_at": "2022-05-12T12:41:19Z", + "pushed_at": "2022-05-12T12:41:16Z", + "git_url": "git://github.com/hub4j-test-org/GHWorkflowTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHWorkflowTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHWorkflowTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "homepage": null, + "size": 1, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 11 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest-2.json deleted file mode 100644 index c984c8be47..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest-2.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "id": 348651606, - "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", - "name": "GHWorkflowTest", - "full_name": "hub4j-test-org/GHWorkflowTest", - "private": false, - "owner": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "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", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", - "description": "Repository used for GHWorkflowTest", - "fork": false, - "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", - "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", - "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", - "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", - "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments", - "created_at": "2021-03-17T09:32:03Z", - "updated_at": "2021-03-17T09:33:34Z", - "pushed_at": "2021-03-17T09:33:32Z", - "git_url": "git://github.com/hub4j-test-org/GHWorkflowTest.git", - "ssh_url": "git@github.com:hub4j-test-org/GHWorkflowTest.git", - "clone_url": "https://github.com/hub4j-test-org/GHWorkflowTest.git", - "svn_url": "https://github.com/hub4j-test-org/GHWorkflowTest", - "homepage": null, - "size": 1, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "main", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "temp_clone_token": "", - "allow_squash_merge": true, - "allow_merge_commit": true, - "allow_rebase_merge": true, - "delete_branch_on_merge": false, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "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", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "network_count": 0, - "subscribers_count": 10 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json new file mode 100644 index 0000000000..570240c98b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json @@ -0,0 +1,12 @@ +{ + "id": 6817859, + "node_id": "MDg6V29ya2Zsb3c2ODE3ODU5", + "name": "test-workflow", + "path": ".github/workflows/test-workflow.yml", + "state": "active", + "created_at": "2021-03-17T10:33:32.000+01:00", + "updated_at": "2022-05-12T14:42:08.000+02:00", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml", + "badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json deleted file mode 100644 index 4cd855f21b..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "id": 6817859, - "node_id": "MDg6V29ya2Zsb3c2ODE3ODU5", - "name": "test-workflow", - "path": ".github/workflows/test-workflow.yml", - "state": "active", - "created_at": "2021-03-17T10:33:32.000+01:00", - "updated_at": "2021-03-22T14:55:53.000+01:00", - "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", - "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml", - "badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg" -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-4.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-4.json new file mode 100644 index 0000000000..df0414bbae --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-4.json @@ -0,0 +1,12 @@ +{ + "id": 6817859, + "node_id": "MDg6V29ya2Zsb3c2ODE3ODU5", + "name": "test-workflow", + "path": ".github/workflows/test-workflow.yml", + "state": "disabled_manually", + "created_at": "2021-03-17T10:33:32.000+01:00", + "updated_at": "2022-05-12T14:43:10.000+02:00", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml", + "badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-5.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-5.json deleted file mode 100644 index 2552ee5637..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-5.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "id": 6817859, - "node_id": "MDg6V29ya2Zsb3c2ODE3ODU5", - "name": "test-workflow", - "path": ".github/workflows/test-workflow.yml", - "state": "disabled_manually", - "created_at": "2021-03-17T10:33:32.000+01:00", - "updated_at": "2021-03-25T11:36:24.000+01:00", - "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", - "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml", - "badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg" -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-6.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-6.json new file mode 100644 index 0000000000..61e1163e7c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-6.json @@ -0,0 +1,12 @@ +{ + "id": 6817859, + "node_id": "MDg6V29ya2Zsb3c2ODE3ODU5", + "name": "test-workflow", + "path": ".github/workflows/test-workflow.yml", + "state": "active", + "created_at": "2021-03-17T10:33:32.000+01:00", + "updated_at": "2022-05-12T14:43:11.000+02:00", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml", + "badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-7.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-7.json deleted file mode 100644 index c40633b49f..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-7.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "id": 6817859, - "node_id": "MDg6V29ya2Zsb3c2ODE3ODU5", - "name": "test-workflow", - "path": ".github/workflows/test-workflow.yml", - "state": "active", - "created_at": "2021-03-17T10:33:32.000+01:00", - "updated_at": "2021-03-25T11:36:24.000+01:00", - "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", - "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml", - "badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg" -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/user-1.json deleted file mode 100644 index 79bade964e..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/__files/user-1.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "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://www.redhat.com/", - "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": 102, - "public_gists": 14, - "followers": 127, - "following": 3, - "created_at": "2011-12-22T11:03:22Z", - "updated_at": "2021-03-23T17:35:45Z", - "private_gists": 14, - "total_private_repos": 4, - "owned_private_repos": 1, - "disk_usage": 68258, - "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/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest-1.json new file mode 100644 index 0000000000..ca663c1fd2 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest-1.json @@ -0,0 +1,47 @@ +{ + "id": "b22e1e06-ffcd-4da1-82f2-9b45c1b402d7", + "name": "repos_hub4j-test-org_ghworkflowtest", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghworkflowtest-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 12 May 2022 12:43: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/\"b29404b8f46b810b45089727292ea01bec52720af73a92806b6826296fd3785b\"", + "Last-Modified": "Thu, 12 May 2022 12:41:19 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": "4946", + "X-RateLimit-Reset": "1652362924", + "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": "C8FC:11834:25FAC35:26A05C7:627D00DE" + } + }, + "uuid": "b22e1e06-ffcd-4da1-82f2-9b45c1b402d7", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest-2.json deleted file mode 100644 index 08629c158f..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest-2.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "a950e66d-2a80-4b50-97e2-dce79a44902b", - "name": "repos_hub4j-test-org_ghworkflowtest", - "request": { - "url": "/repos/hub4j-test-org/GHWorkflowTest", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_ghworkflowtest-2.json", - "headers": { - "Server": "GitHub.com", - "Date": "Thu, 25 Mar 2021 10:36: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/\"082e0c2ae9f1d8387e22ebe7279d627738b78d114a3badc2d9e60dfb0b2a6abf\"", - "Last-Modified": "Wed, 17 Mar 2021 09:33:34 GMT", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "repo", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4995", - "X-RateLimit-Reset": "1616672182", - "X-RateLimit-Used": "5", - "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": "D598:12325:427F132:4381C9A:605C67A7" - } - }, - "uuid": "a950e66d-2a80-4b50-97e2-dce79a44902b", - "persistent": true, - "insertionIndex": 2 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_disable-3.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_disable-3.json new file mode 100644 index 0000000000..a9393981b9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_disable-3.json @@ -0,0 +1,46 @@ +{ + "id": "12f15e8b-8f08-4d7e-9cba-aa1080d9e6a7", + "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_disable", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859/disable", + "method": "PUT", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 12 May 2022 12:43: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": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4944", + "X-RateLimit-Reset": "1652362924", + "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'", + "Vary": "Accept-Encoding, Accept, X-Requested-With", + "X-GitHub-Request-Id": "C900:8E2A:ED56DF:F523BC:627D00DE" + } + }, + "uuid": "12f15e8b-8f08-4d7e-9cba-aa1080d9e6a7", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_disable-4.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_disable-4.json deleted file mode 100644 index c1aa1ec804..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_disable-4.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "id": "e35b84ba-cdfa-4a74-826a-1ee812336f59", - "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_disable", - "request": { - "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859/disable", - "method": "PUT", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - }, - "bodyPatterns": [ - { - "equalToJson": "{}", - "ignoreArrayOrder": true, - "ignoreExtraElements": false - } - ] - }, - "response": { - "status": 204, - "headers": { - "Server": "GitHub.com", - "Date": "Thu, 25 Mar 2021 10:36:24 GMT", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4993", - "X-RateLimit-Reset": "1616672182", - "X-RateLimit-Used": "7", - "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": "D598:12325:427F24B:4381DA8:605C67A7" - } - }, - "uuid": "e35b84ba-cdfa-4a74-826a-1ee812336f59", - "persistent": true, - "insertionIndex": 4 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_enable-5.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_enable-5.json new file mode 100644 index 0000000000..8765f98945 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_enable-5.json @@ -0,0 +1,46 @@ +{ + "id": "406cc1f9-cf85-4b85-9985-4c9286f7ad03", + "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_enable", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859/enable", + "method": "PUT", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 12 May 2022 12:43:11 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": "4942", + "X-RateLimit-Reset": "1652362924", + "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'", + "Vary": "Accept-Encoding, Accept, X-Requested-With", + "X-GitHub-Request-Id": "C904:37D3:C4D12:1286EB:627D00DF" + } + }, + "uuid": "406cc1f9-cf85-4b85-9985-4c9286f7ad03", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_enable-6.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_enable-6.json deleted file mode 100644 index 325f6a4245..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_enable-6.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "id": "a647d017-2f5d-4924-8f27-1b1e4d956186", - "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_enable", - "request": { - "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859/enable", - "method": "PUT", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - }, - "bodyPatterns": [ - { - "equalToJson": "{}", - "ignoreArrayOrder": true, - "ignoreExtraElements": false - } - ] - }, - "response": { - "status": 204, - "headers": { - "Server": "GitHub.com", - "Date": "Thu, 25 Mar 2021 10:36:24 GMT", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4991", - "X-RateLimit-Reset": "1616672182", - "X-RateLimit-Used": "9", - "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": "D598:12325:427F322:4381E83:605C67A8" - } - }, - "uuid": "a647d017-2f5d-4924-8f27-1b1e4d956186", - "persistent": true, - "insertionIndex": 6 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json new file mode 100644 index 0000000000..5686eae1aa --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json @@ -0,0 +1,49 @@ +{ + "id": "53cf8606-1793-4895-a9b1-ca0e187e6dc3", + "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/test-workflow.yml", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 12 May 2022 12:43: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/\"304884d68a15280cc659e278ee375aee6ceca05734442ffdacc717d264b55adf\"", + "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": "4945", + "X-RateLimit-Reset": "1652362924", + "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": "C8FE:8E25:3EFC5:A1CAE:627D00DE" + } + }, + "uuid": "53cf8606-1793-4895-a9b1-ca0e187e6dc3", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHWorkflowTest-actions-workflows-test-workflow.yml", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-repos-hub4j-test-org-GHWorkflowTest-actions-workflows-test-workflow.yml-2", + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json deleted file mode 100644 index d4af160e7b..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "613a4578-7ef6-4d2d-a366-de20547ed908", - "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml", - "request": { - "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/test-workflow.yml", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json", - "headers": { - "Server": "GitHub.com", - "Date": "Thu, 25 Mar 2021 10:36: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/\"602070ef7b718d94b563e2480e6861839e193e0f9a3b1738f458c302da1d3083\"", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4994", - "X-RateLimit-Reset": "1616672182", - "X-RateLimit-Used": "6", - "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": "D598:12325:427F1D5:4381D39:605C67A7" - } - }, - "uuid": "613a4578-7ef6-4d2d-a366-de20547ed908", - "persistent": true, - "scenarioName": "scenario-1-repos-hub4j-test-org-GHWorkflowTest-actions-workflows-test-workflow.yml", - "requiredScenarioState": "Started", - "newScenarioState": "scenario-1-repos-hub4j-test-org-GHWorkflowTest-actions-workflows-test-workflow.yml-2", - "insertionIndex": 3 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-4.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-4.json new file mode 100644 index 0000000000..0fdfdc897e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-4.json @@ -0,0 +1,49 @@ +{ + "id": "2fd0184f-f742-4f92-ac3f-c380327a0d38", + "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/test-workflow.yml", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 12 May 2022 12:43: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/\"b5a65bb26d8ce0947086056b322ab71b496d1beec4cabb1ff40d091a6e518706\"", + "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": "4943", + "X-RateLimit-Reset": "1652362924", + "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": "C902:B0CB:1A052B7:1A9678A:627D00DE" + } + }, + "uuid": "2fd0184f-f742-4f92-ac3f-c380327a0d38", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHWorkflowTest-actions-workflows-test-workflow.yml", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHWorkflowTest-actions-workflows-test-workflow.yml-2", + "newScenarioState": "scenario-1-repos-hub4j-test-org-GHWorkflowTest-actions-workflows-test-workflow.yml-3", + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-5.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-5.json deleted file mode 100644 index bbc75f72af..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-5.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "c0cfd9a0-5f2e-458f-b5c5-a54b9a48fb42", - "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml", - "request": { - "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/test-workflow.yml", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-5.json", - "headers": { - "Server": "GitHub.com", - "Date": "Thu, 25 Mar 2021 10:36: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/\"3d726b68299d37d058c6065a1d2b90d43900b2a5c48e94d86bb0bd6a390515c6\"", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4992", - "X-RateLimit-Reset": "1616672182", - "X-RateLimit-Used": "8", - "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": "D598:12325:427F2C8:4381E21:605C67A8" - } - }, - "uuid": "c0cfd9a0-5f2e-458f-b5c5-a54b9a48fb42", - "persistent": true, - "scenarioName": "scenario-1-repos-hub4j-test-org-GHWorkflowTest-actions-workflows-test-workflow.yml", - "requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHWorkflowTest-actions-workflows-test-workflow.yml-2", - "newScenarioState": "scenario-1-repos-hub4j-test-org-GHWorkflowTest-actions-workflows-test-workflow.yml-3", - "insertionIndex": 5 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-6.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-6.json new file mode 100644 index 0000000000..9560119211 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-6.json @@ -0,0 +1,48 @@ +{ + "id": "625e03b6-cc54-469d-ba42-fd30a4d45a71", + "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/test-workflow.yml", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 12 May 2022 12:43: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/\"37311efa336094063a53d1313b6f73af8a2d5f81a7f10c95f7173189235ace0a\"", + "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": "4941", + "X-RateLimit-Reset": "1652362924", + "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": "C906:8E2C:2875D3B:2920986:627D00DF" + } + }, + "uuid": "625e03b6-cc54-469d-ba42-fd30a4d45a71", + "persistent": true, + "scenarioName": "scenario-1-repos-hub4j-test-org-GHWorkflowTest-actions-workflows-test-workflow.yml", + "requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHWorkflowTest-actions-workflows-test-workflow.yml-3", + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-7.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-7.json deleted file mode 100644 index 8d6ecdb4db..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-7.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "6b761bc6-036e-4189-80eb-d32a75faa417", - "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml", - "request": { - "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/test-workflow.yml", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-7.json", - "headers": { - "Server": "GitHub.com", - "Date": "Thu, 25 Mar 2021 10:36: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/\"72a49555d2625ba9f490d619d324726f5192dc2a030dc22033b9cadf7a2ba076\"", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4990", - "X-RateLimit-Reset": "1616672182", - "X-RateLimit-Used": "10", - "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": "D598:12325:427F3B9:4381F16:605C67A8" - } - }, - "uuid": "6b761bc6-036e-4189-80eb-d32a75faa417", - "persistent": true, - "scenarioName": "scenario-1-repos-hub4j-test-org-GHWorkflowTest-actions-workflows-test-workflow.yml", - "requiredScenarioState": "scenario-1-repos-hub4j-test-org-GHWorkflowTest-actions-workflows-test-workflow.yml-3", - "insertionIndex": 7 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/user-1.json deleted file mode 100644 index 723fcfe08d..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDisableEnable/mappings/user-1.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "86b5682b-e774-463f-af19-039ef0e802f7", - "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": "Thu, 25 Mar 2021 10:36: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/\"879f35eed38dcc75ca2b3a8999425e0d51678f4c73ffade3c5bcc853b59245b6\"", - "Last-Modified": "Tue, 23 Mar 2021 17:35:45 GMT", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4999", - "X-RateLimit-Reset": "1616672182", - "X-RateLimit-Used": "1", - "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": "D598:12325:427EEBB:4381A07:605C67A6" - } - }, - "uuid": "86b5682b-e774-463f-af19-039ef0e802f7", - "persistent": true, - "insertionIndex": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/__files/repos_hub4j-test-org_ghworkflowtest-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/__files/repos_hub4j-test-org_ghworkflowtest-1.json new file mode 100644 index 0000000000..fce58ae6fa --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/__files/repos_hub4j-test-org_ghworkflowtest-1.json @@ -0,0 +1,134 @@ +{ + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments", + "created_at": "2021-03-17T09:32:03Z", + "updated_at": "2022-05-12T12:41:19Z", + "pushed_at": "2022-05-12T12:41:16Z", + "git_url": "git://github.com/hub4j-test-org/GHWorkflowTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHWorkflowTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHWorkflowTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "homepage": null, + "size": 1, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 11 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/__files/repos_hub4j-test-org_ghworkflowtest-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/__files/repos_hub4j-test-org_ghworkflowtest-2.json deleted file mode 100644 index c984c8be47..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/__files/repos_hub4j-test-org_ghworkflowtest-2.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "id": 348651606, - "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", - "name": "GHWorkflowTest", - "full_name": "hub4j-test-org/GHWorkflowTest", - "private": false, - "owner": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "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", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", - "description": "Repository used for GHWorkflowTest", - "fork": false, - "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", - "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", - "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", - "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", - "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments", - "created_at": "2021-03-17T09:32:03Z", - "updated_at": "2021-03-17T09:33:34Z", - "pushed_at": "2021-03-17T09:33:32Z", - "git_url": "git://github.com/hub4j-test-org/GHWorkflowTest.git", - "ssh_url": "git@github.com:hub4j-test-org/GHWorkflowTest.git", - "clone_url": "https://github.com/hub4j-test-org/GHWorkflowTest.git", - "svn_url": "https://github.com/hub4j-test-org/GHWorkflowTest", - "homepage": null, - "size": 1, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "main", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "temp_clone_token": "", - "allow_squash_merge": true, - "allow_merge_commit": true, - "allow_rebase_merge": true, - "delete_branch_on_merge": false, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "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", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "network_count": 0, - "subscribers_count": 10 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json new file mode 100644 index 0000000000..61e1163e7c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json @@ -0,0 +1,12 @@ +{ + "id": 6817859, + "node_id": "MDg6V29ya2Zsb3c2ODE3ODU5", + "name": "test-workflow", + "path": ".github/workflows/test-workflow.yml", + "state": "active", + "created_at": "2021-03-17T10:33:32.000+01:00", + "updated_at": "2022-05-12T14:43:11.000+02:00", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml", + "badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json deleted file mode 100644 index c40633b49f..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "id": 6817859, - "node_id": "MDg6V29ya2Zsb3c2ODE3ODU5", - "name": "test-workflow", - "path": ".github/workflows/test-workflow.yml", - "state": "active", - "created_at": "2021-03-17T10:33:32.000+01:00", - "updated_at": "2021-03-25T11:36:24.000+01:00", - "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", - "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml", - "badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg" -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/__files/user-1.json deleted file mode 100644 index 79bade964e..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/__files/user-1.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "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://www.redhat.com/", - "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": 102, - "public_gists": 14, - "followers": 127, - "following": 3, - "created_at": "2011-12-22T11:03:22Z", - "updated_at": "2021-03-23T17:35:45Z", - "private_gists": 14, - "total_private_repos": 4, - "owned_private_repos": 1, - "disk_usage": 68258, - "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/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest-1.json new file mode 100644 index 0000000000..e843d5cae5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest-1.json @@ -0,0 +1,47 @@ +{ + "id": "421b65ce-43cd-4b41-8de0-7ad6f056a84b", + "name": "repos_hub4j-test-org_ghworkflowtest", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghworkflowtest-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 12 May 2022 12:43: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/\"b29404b8f46b810b45089727292ea01bec52720af73a92806b6826296fd3785b\"", + "Last-Modified": "Thu, 12 May 2022 12:41:19 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": "4936", + "X-RateLimit-Reset": "1652362924", + "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": "C908:5519:542B215:555DC72:627D00E0" + } + }, + "uuid": "421b65ce-43cd-4b41-8de0-7ad6f056a84b", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest-2.json deleted file mode 100644 index a9aeb93779..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest-2.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "66e98e06-916e-4c7f-8747-c821f1d58b18", - "name": "repos_hub4j-test-org_ghworkflowtest", - "request": { - "url": "/repos/hub4j-test-org/GHWorkflowTest", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_ghworkflowtest-2.json", - "headers": { - "Server": "GitHub.com", - "Date": "Thu, 25 Mar 2021 10:36:26 GMT", - "Content-Type": "application/json; charset=utf-8", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"082e0c2ae9f1d8387e22ebe7279d627738b78d114a3badc2d9e60dfb0b2a6abf\"", - "Last-Modified": "Wed, 17 Mar 2021 09:33:34 GMT", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "repo", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4983", - "X-RateLimit-Reset": "1616672182", - "X-RateLimit-Used": "17", - "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": "D59E:13DDE:48774DE:498A32F:605C67A9" - } - }, - "uuid": "66e98e06-916e-4c7f-8747-c821f1d58b18", - "persistent": true, - "insertionIndex": 2 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_dispatches-3.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_dispatches-3.json new file mode 100644 index 0000000000..3751a528ab --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_dispatches-3.json @@ -0,0 +1,46 @@ +{ + "id": "bdb66b3d-7d11-432f-96c1-eba701ebad1e", + "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_dispatches", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859/dispatches", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"ref\":\"main\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 12 May 2022 12:43:13 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": "4934", + "X-RateLimit-Reset": "1652362924", + "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'", + "Vary": "Accept-Encoding, Accept, X-Requested-With", + "X-GitHub-Request-Id": "C90C:EB05:1A93FF9:1B23DE4:627D00E1" + } + }, + "uuid": "bdb66b3d-7d11-432f-96c1-eba701ebad1e", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_dispatches-4.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_dispatches-4.json index 15eb520838..498488a9ad 100644 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_dispatches-4.json +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_dispatches-4.json @@ -1,5 +1,5 @@ { - "id": "a29bc36c-7907-4bbc-9542-a030ae5b8272", + "id": "11698859-4fbc-406c-8d4a-0029b3105a34", "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_dispatches", "request": { "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859/dispatches", @@ -11,7 +11,7 @@ }, "bodyPatterns": [ { - "equalToJson": "{\"ref\":\"main\"}", + "equalToJson": "{\"ref\":\"main\",\"inputs\":{\"parameter\":\"value\"}}", "ignoreArrayOrder": true, "ignoreExtraElements": false } @@ -21,14 +21,15 @@ "status": 204, "headers": { "Server": "GitHub.com", - "Date": "Thu, 25 Mar 2021 10:36:26 GMT", - "X-OAuth-Scopes": "repo, user, workflow", + "Date": "Thu, 12 May 2022 12:43:13 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": "4981", - "X-RateLimit-Reset": "1616672182", - "X-RateLimit-Used": "19", + "X-RateLimit-Remaining": "4933", + "X-RateLimit-Reset": "1652362924", + "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", @@ -36,10 +37,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": "D59E:13DDE:48775A3:498A3FC:605C67AA" + "X-GitHub-Request-Id": "C90E:2242:349E0E:3B2269:627D00E1" } }, - "uuid": "a29bc36c-7907-4bbc-9542-a030ae5b8272", + "uuid": "11698859-4fbc-406c-8d4a-0029b3105a34", "persistent": true, "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_dispatches-5.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_dispatches-5.json deleted file mode 100644 index bd9012d95a..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_dispatches-5.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "e45e5bcb-5c9b-47f1-adcb-141e6165c8f4", - "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_dispatches", - "request": { - "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859/dispatches", - "method": "POST", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - }, - "bodyPatterns": [ - { - "equalToJson": "{\"ref\":\"main\",\"inputs\":{\"parameter\":\"value\"}}", - "ignoreArrayOrder": true, - "ignoreExtraElements": false - } - ] - }, - "response": { - "status": 422, - "body": "{\"message\":\"Unexpected inputs provided: [\\\"parameter\\\"]\",\"documentation_url\":\"https://docs.github.com/rest/reference/actions#create-a-workflow-dispatch-event\"}", - "headers": { - "Server": "GitHub.com", - "Date": "Thu, 25 Mar 2021 10:36:26 GMT", - "Content-Type": "application/json; charset=utf-8", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4980", - "X-RateLimit-Reset": "1616672182", - "X-RateLimit-Used": "20", - "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": "D59E:13DDE:487764D:498A4A7:605C67AA" - } - }, - "uuid": "e45e5bcb-5c9b-47f1-adcb-141e6165c8f4", - "persistent": true, - "insertionIndex": 5 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json new file mode 100644 index 0000000000..d1d3cdc097 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json @@ -0,0 +1,46 @@ +{ + "id": "329a21b9-84d8-4257-8d2c-8ba3a5edbf5d", + "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/test-workflow.yml", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 12 May 2022 12:43: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/\"37311efa336094063a53d1313b6f73af8a2d5f81a7f10c95f7173189235ace0a\"", + "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": "4935", + "X-RateLimit-Reset": "1652362924", + "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": "C90A:4BC2:1F3C6F1:20255A7:627D00E0" + } + }, + "uuid": "329a21b9-84d8-4257-8d2c-8ba3a5edbf5d", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json deleted file mode 100644 index 1def420712..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "id": "78e27ea7-027a-4f97-b770-5308041a2216", - "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml", - "request": { - "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/test-workflow.yml", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json", - "headers": { - "Server": "GitHub.com", - "Date": "Thu, 25 Mar 2021 10:36:26 GMT", - "Content-Type": "application/json; charset=utf-8", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"72a49555d2625ba9f490d619d324726f5192dc2a030dc22033b9cadf7a2ba076\"", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4982", - "X-RateLimit-Reset": "1616672182", - "X-RateLimit-Used": "18", - "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": "D59E:13DDE:4877553:498A3A7:605C67AA" - } - }, - "uuid": "78e27ea7-027a-4f97-b770-5308041a2216", - "persistent": true, - "insertionIndex": 3 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/user-1.json deleted file mode 100644 index a09465d755..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testDispatch/mappings/user-1.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "44f1323e-bd63-4f16-b059-b83c47e18e5f", - "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": "Thu, 25 Mar 2021 10:36:25 GMT", - "Content-Type": "application/json; charset=utf-8", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"879f35eed38dcc75ca2b3a8999425e0d51678f4c73ffade3c5bcc853b59245b6\"", - "Last-Modified": "Tue, 23 Mar 2021 17:35:45 GMT", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4987", - "X-RateLimit-Reset": "1616672182", - "X-RateLimit-Used": "13", - "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": "D59E:13DDE:4877368:498A1B8:605C67A9" - } - }, - "uuid": "44f1323e-bd63-4f16-b059-b83c47e18e5f", - "persistent": true, - "insertionIndex": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/repos_hub4j-test-org_ghworkflowtest-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/repos_hub4j-test-org_ghworkflowtest-1.json new file mode 100644 index 0000000000..fce58ae6fa --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/repos_hub4j-test-org_ghworkflowtest-1.json @@ -0,0 +1,134 @@ +{ + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments", + "created_at": "2021-03-17T09:32:03Z", + "updated_at": "2022-05-12T12:41:19Z", + "pushed_at": "2022-05-12T12:41:16Z", + "git_url": "git://github.com/hub4j-test-org/GHWorkflowTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHWorkflowTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHWorkflowTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "homepage": null, + "size": 1, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 11 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/repos_hub4j-test-org_ghworkflowtest-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/repos_hub4j-test-org_ghworkflowtest-2.json deleted file mode 100644 index c984c8be47..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/repos_hub4j-test-org_ghworkflowtest-2.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "id": 348651606, - "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", - "name": "GHWorkflowTest", - "full_name": "hub4j-test-org/GHWorkflowTest", - "private": false, - "owner": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "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", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", - "description": "Repository used for GHWorkflowTest", - "fork": false, - "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", - "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", - "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", - "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", - "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments", - "created_at": "2021-03-17T09:32:03Z", - "updated_at": "2021-03-17T09:33:34Z", - "pushed_at": "2021-03-17T09:33:32Z", - "git_url": "git://github.com/hub4j-test-org/GHWorkflowTest.git", - "ssh_url": "git@github.com:hub4j-test-org/GHWorkflowTest.git", - "clone_url": "https://github.com/hub4j-test-org/GHWorkflowTest.git", - "svn_url": "https://github.com/hub4j-test-org/GHWorkflowTest", - "homepage": null, - "size": 1, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "main", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "temp_clone_token": "", - "allow_squash_merge": true, - "allow_merge_commit": true, - "allow_rebase_merge": true, - "delete_branch_on_merge": false, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "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", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "network_count": 0, - "subscribers_count": 10 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflowruns-4.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflowruns-4.json deleted file mode 100644 index 61bd2c1216..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflowruns-4.json +++ /dev/null @@ -1,179 +0,0 @@ -{ - "total_count": 2, - "workflow_runs": [ - { - "id": 712243851, - "name": "Test workflow", - "node_id": "MDExOldvcmtmbG93UnVuNzEyMjQzODUx", - "head_branch": "main", - "head_sha": "40fdaab83052625585482a86769a73e317f6e7c3", - "run_number": 10, - "event": "workflow_dispatch", - "status": "completed", - "conclusion": "success", - "workflow_id": 6817859, - "check_suite_id": 2408679180, - "check_suite_node_id": "MDEwOkNoZWNrU3VpdGUyNDA4Njc5MTgw", - "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/712243851", - "html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/actions/runs/712243851", - "pull_requests": [], - "created_at": "2021-04-02T16:54:16Z", - "updated_at": "2021-04-02T16:54:32Z", - "jobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/712243851/jobs", - "logs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/712243851/logs", - "check_suite_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-suites/2408679180", - "artifacts_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/712243851/artifacts", - "cancel_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/712243851/cancel", - "rerun_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/712243851/rerun", - "workflow_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/workflows/7433027", - "head_commit": { - "id": "40fdaab83052625585482a86769a73e317f6e7c3", - "tree_id": "1c9feb95826bf56ea972f7cb5a045c8b0a2e19c7", - "message": "Create test-workflow.yml", - "timestamp": "2021-04-02T15:48:51Z", - "author": { - "name": "Guillaume Smet", - "email": "guillaume.smet@gmail.com" - }, - "committer": { - "name": "GitHub", - "email": "noreply@github.com" - } - }, - "repository": { - "id": 348674220, - "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NzQyMjA=", - "name": "GHWorkflowRunTest", - "full_name": "hub4j-test-org/GHWorkflowRunTest", - "private": false, - "owner": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "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", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest", - "description": "Repository used by GHWorkflowRunTest", - "fork": false, - "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest", - "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/forks", - "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/labels{/name}", - "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/releases{/id}", - "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/deployments" - }, - "head_repository": { - "id": 348674220, - "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NzQyMjA=", - "name": "GHWorkflowRunTest", - "full_name": "hub4j-test-org/GHWorkflowRunTest", - "private": false, - "owner": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "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", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest", - "description": "Repository used by GHWorkflowRunTest", - "fork": false, - "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest", - "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/forks", - "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/labels{/name}", - "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/releases{/id}", - "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/deployments" - } - } - ] -} diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflowruns-5.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflowruns-5.json deleted file mode 100644 index 02fd235fcf..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflowruns-5.json +++ /dev/null @@ -1,179 +0,0 @@ -{ - "total_count": 2, - "workflow_runs": [ - { - "id": 712241595, - "name": "Test workflow", - "node_id": "MDExOldvcmtmbG93UnVuNzEyMjQxNTk1", - "head_branch": "main", - "head_sha": "40fdaab83052625585482a86769a73e317f6e7c3", - "run_number": 9, - "event": "workflow_dispatch", - "status": "completed", - "conclusion": "success", - "workflow_id": 6817859, - "check_suite_id": 2408673964, - "check_suite_node_id": "MDEwOkNoZWNrU3VpdGUyNDA4NjczOTY0", - "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/712241595", - "html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest/actions/runs/712241595", - "pull_requests": [], - "created_at": "2021-04-02T16:53:18Z", - "updated_at": "2021-04-02T16:53:33Z", - "jobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/712241595/jobs", - "logs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/712241595/logs", - "check_suite_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/check-suites/2408673964", - "artifacts_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/712241595/artifacts", - "cancel_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/712241595/cancel", - "rerun_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/runs/712241595/rerun", - "workflow_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/actions/workflows/7433027", - "head_commit": { - "id": "40fdaab83052625585482a86769a73e317f6e7c3", - "tree_id": "1c9feb95826bf56ea972f7cb5a045c8b0a2e19c7", - "message": "Create test-workflow.yml", - "timestamp": "2021-04-02T15:48:51Z", - "author": { - "name": "Guillaume Smet", - "email": "guillaume.smet@gmail.com" - }, - "committer": { - "name": "GitHub", - "email": "noreply@github.com" - } - }, - "repository": { - "id": 348674220, - "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NzQyMjA=", - "name": "GHWorkflowRunTest", - "full_name": "hub4j-test-org/GHWorkflowRunTest", - "private": false, - "owner": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "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", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest", - "description": "Repository used by GHWorkflowRunTest", - "fork": false, - "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest", - "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/forks", - "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/labels{/name}", - "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/releases{/id}", - "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/deployments" - }, - "head_repository": { - "id": 348674220, - "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NzQyMjA=", - "name": "GHWorkflowRunTest", - "full_name": "hub4j-test-org/GHWorkflowRunTest", - "private": false, - "owner": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "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", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/GHWorkflowRunTest", - "description": "Repository used by GHWorkflowRunTest", - "fork": false, - "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest", - "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/forks", - "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/labels{/name}", - "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/releases{/id}", - "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowRunTest/deployments" - } - } - ] -} diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_runs-3.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_runs-3.json new file mode 100644 index 0000000000..820460f5e5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_runs-3.json @@ -0,0 +1,2035 @@ +{ + "total_count": 10, + "workflow_runs": [ + { + "id": 2313468274, + "name": "test-workflow", + "node_id": "WFR_kwLOFMgAVs6J5Lly", + "head_branch": "main", + "head_sha": "ec736fab10590e64ff834d0f9acf9a402d069903", + "run_number": 10, + "event": "workflow_dispatch", + "status": "completed", + "conclusion": "success", + "workflow_id": 6817859, + "check_suite_id": 6479720119, + "check_suite_node_id": "CS_kwDOFMgAVs8AAAABgjiutw", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/2313468274", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/actions/runs/2313468274", + "pull_requests": [], + "created_at": "2022-05-12T12:42:12Z", + "updated_at": "2022-05-12T12:42:29Z", + "actor": { + "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 + }, + "run_attempt": 1, + "run_started_at": "2022-05-12T12:42:12Z", + "triggering_actor": { + "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 + }, + "jobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/2313468274/jobs", + "logs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/2313468274/logs", + "check_suite_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/check-suites/6479720119", + "artifacts_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/2313468274/artifacts", + "cancel_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/2313468274/cancel", + "rerun_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/2313468274/rerun", + "previous_attempt_url": null, + "workflow_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", + "head_commit": { + "id": "ec736fab10590e64ff834d0f9acf9a402d069903", + "tree_id": "a565bbc304c9653f0120bff1a66478413ec17f93", + "message": "Add parameter input to test-workflow.yml", + "timestamp": "2022-05-12T12:41:16Z", + "author": { + "name": "Guillaume Smet", + "email": "guillaume.smet@gmail.com" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com" + } + }, + "repository": { + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments" + }, + "head_repository": { + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments" + } + }, + { + "id": 2313468244, + "name": "test-workflow", + "node_id": "WFR_kwLOFMgAVs6J5LlU", + "head_branch": "main", + "head_sha": "ec736fab10590e64ff834d0f9acf9a402d069903", + "run_number": 9, + "event": "workflow_dispatch", + "status": "completed", + "conclusion": "success", + "workflow_id": 6817859, + "check_suite_id": 6479720044, + "check_suite_node_id": "CS_kwDOFMgAVs8AAAABgjiubA", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/2313468244", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/actions/runs/2313468244", + "pull_requests": [], + "created_at": "2022-05-12T12:42:11Z", + "updated_at": "2022-05-12T12:42:28Z", + "actor": { + "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 + }, + "run_attempt": 1, + "run_started_at": "2022-05-12T12:42:11Z", + "triggering_actor": { + "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 + }, + "jobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/2313468244/jobs", + "logs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/2313468244/logs", + "check_suite_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/check-suites/6479720044", + "artifacts_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/2313468244/artifacts", + "cancel_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/2313468244/cancel", + "rerun_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/2313468244/rerun", + "previous_attempt_url": null, + "workflow_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", + "head_commit": { + "id": "ec736fab10590e64ff834d0f9acf9a402d069903", + "tree_id": "a565bbc304c9653f0120bff1a66478413ec17f93", + "message": "Add parameter input to test-workflow.yml", + "timestamp": "2022-05-12T12:41:16Z", + "author": { + "name": "Guillaume Smet", + "email": "guillaume.smet@gmail.com" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com" + } + }, + "repository": { + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments" + }, + "head_repository": { + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments" + } + }, + { + "id": 2313463510, + "name": "test-workflow", + "node_id": "WFR_kwLOFMgAVs6J5KbW", + "head_branch": "main", + "head_sha": "ec736fab10590e64ff834d0f9acf9a402d069903", + "run_number": 8, + "event": "push", + "status": "completed", + "conclusion": "success", + "workflow_id": 6817859, + "check_suite_id": 6479706825, + "check_suite_node_id": "CS_kwDOFMgAVs8AAAABgjh6yQ", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/2313463510", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/actions/runs/2313463510", + "pull_requests": [], + "created_at": "2022-05-12T12:41:18Z", + "updated_at": "2022-05-12T12:41:34Z", + "actor": { + "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 + }, + "run_attempt": 1, + "run_started_at": "2022-05-12T12:41:18Z", + "triggering_actor": { + "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 + }, + "jobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/2313463510/jobs", + "logs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/2313463510/logs", + "check_suite_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/check-suites/6479706825", + "artifacts_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/2313463510/artifacts", + "cancel_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/2313463510/cancel", + "rerun_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/2313463510/rerun", + "previous_attempt_url": null, + "workflow_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", + "head_commit": { + "id": "ec736fab10590e64ff834d0f9acf9a402d069903", + "tree_id": "a565bbc304c9653f0120bff1a66478413ec17f93", + "message": "Add parameter input to test-workflow.yml", + "timestamp": "2022-05-12T12:41:16Z", + "author": { + "name": "Guillaume Smet", + "email": "guillaume.smet@gmail.com" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com" + } + }, + "repository": { + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments" + }, + "head_repository": { + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments" + } + }, + { + "id": 686196495, + "name": "test-workflow", + "node_id": "MDExOldvcmtmbG93UnVuNjg2MTk2NDk1", + "head_branch": "main", + "head_sha": "841a8e0fefc50f50c958a42b433c5ee10e0b184b", + "run_number": 7, + "event": "workflow_dispatch", + "status": "completed", + "conclusion": "success", + "workflow_id": 6817859, + "check_suite_id": 2341655439, + "check_suite_node_id": "MDEwOkNoZWNrU3VpdGUyMzQxNjU1NDM5", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/686196495", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/actions/runs/686196495", + "pull_requests": [], + "created_at": "2021-03-25T10:36:27Z", + "updated_at": "2021-03-25T10:36:44Z", + "actor": { + "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 + }, + "run_attempt": 1, + "run_started_at": "2021-03-25T10:36:27Z", + "jobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/686196495/jobs", + "logs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/686196495/logs", + "check_suite_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/check-suites/2341655439", + "artifacts_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/686196495/artifacts", + "cancel_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/686196495/cancel", + "rerun_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/686196495/rerun", + "previous_attempt_url": null, + "workflow_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", + "head_commit": { + "id": "841a8e0fefc50f50c958a42b433c5ee10e0b184b", + "tree_id": "7cc794d302f4f1b970c8f5aa45b26cad1ca8b024", + "message": "Create test-workflow.yml", + "timestamp": "2021-03-17T09:33:32Z", + "author": { + "name": "Guillaume Smet", + "email": "guillaume.smet@gmail.com" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com" + } + }, + "repository": { + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments" + }, + "head_repository": { + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments" + } + }, + { + "id": 676256246, + "name": "test-workflow", + "node_id": "MDExOldvcmtmbG93UnVuNjc2MjU2MjQ2", + "head_branch": "main", + "head_sha": "841a8e0fefc50f50c958a42b433c5ee10e0b184b", + "run_number": 6, + "event": "workflow_dispatch", + "status": "completed", + "conclusion": "success", + "workflow_id": 6817859, + "check_suite_id": 2315384390, + "check_suite_node_id": "MDEwOkNoZWNrU3VpdGUyMzE1Mzg0Mzkw", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/676256246", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/actions/runs/676256246", + "pull_requests": [], + "created_at": "2021-03-22T13:55:56Z", + "updated_at": "2021-03-22T13:56:13Z", + "actor": { + "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 + }, + "run_attempt": 1, + "run_started_at": "2021-03-22T13:55:56Z", + "jobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/676256246/jobs", + "logs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/676256246/logs", + "check_suite_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/check-suites/2315384390", + "artifacts_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/676256246/artifacts", + "cancel_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/676256246/cancel", + "rerun_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/676256246/rerun", + "previous_attempt_url": null, + "workflow_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", + "head_commit": { + "id": "841a8e0fefc50f50c958a42b433c5ee10e0b184b", + "tree_id": "7cc794d302f4f1b970c8f5aa45b26cad1ca8b024", + "message": "Create test-workflow.yml", + "timestamp": "2021-03-17T09:33:32Z", + "author": { + "name": "Guillaume Smet", + "email": "guillaume.smet@gmail.com" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com" + } + }, + "repository": { + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments" + }, + "head_repository": { + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments" + } + }, + { + "id": 660723028, + "name": "test-workflow", + "node_id": "MDExOldvcmtmbG93UnVuNjYwNzIzMDI4", + "head_branch": "main", + "head_sha": "841a8e0fefc50f50c958a42b433c5ee10e0b184b", + "run_number": 5, + "event": "workflow_dispatch", + "status": "completed", + "conclusion": "success", + "workflow_id": 6817859, + "check_suite_id": 2277934279, + "check_suite_node_id": "MDEwOkNoZWNrU3VpdGUyMjc3OTM0Mjc5", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660723028", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/actions/runs/660723028", + "pull_requests": [], + "created_at": "2021-03-17T10:29:49Z", + "updated_at": "2021-03-17T10:30:08Z", + "actor": { + "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 + }, + "run_attempt": 1, + "run_started_at": "2021-03-17T10:29:49Z", + "jobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660723028/jobs", + "logs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660723028/logs", + "check_suite_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/check-suites/2277934279", + "artifacts_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660723028/artifacts", + "cancel_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660723028/cancel", + "rerun_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660723028/rerun", + "previous_attempt_url": null, + "workflow_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", + "head_commit": { + "id": "841a8e0fefc50f50c958a42b433c5ee10e0b184b", + "tree_id": "7cc794d302f4f1b970c8f5aa45b26cad1ca8b024", + "message": "Create test-workflow.yml", + "timestamp": "2021-03-17T09:33:32Z", + "author": { + "name": "Guillaume Smet", + "email": "guillaume.smet@gmail.com" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com" + } + }, + "repository": { + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments" + }, + "head_repository": { + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments" + } + }, + { + "id": 660722668, + "name": "test-workflow", + "node_id": "MDExOldvcmtmbG93UnVuNjYwNzIyNjY4", + "head_branch": "main", + "head_sha": "841a8e0fefc50f50c958a42b433c5ee10e0b184b", + "run_number": 4, + "event": "workflow_dispatch", + "status": "completed", + "conclusion": "success", + "workflow_id": 6817859, + "check_suite_id": 2277933349, + "check_suite_node_id": "MDEwOkNoZWNrU3VpdGUyMjc3OTMzMzQ5", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660722668", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/actions/runs/660722668", + "pull_requests": [], + "created_at": "2021-03-17T10:29:42Z", + "updated_at": "2021-03-17T10:30:01Z", + "actor": { + "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 + }, + "run_attempt": 1, + "run_started_at": "2021-03-17T10:29:42Z", + "jobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660722668/jobs", + "logs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660722668/logs", + "check_suite_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/check-suites/2277933349", + "artifacts_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660722668/artifacts", + "cancel_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660722668/cancel", + "rerun_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660722668/rerun", + "previous_attempt_url": null, + "workflow_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", + "head_commit": { + "id": "841a8e0fefc50f50c958a42b433c5ee10e0b184b", + "tree_id": "7cc794d302f4f1b970c8f5aa45b26cad1ca8b024", + "message": "Create test-workflow.yml", + "timestamp": "2021-03-17T09:33:32Z", + "author": { + "name": "Guillaume Smet", + "email": "guillaume.smet@gmail.com" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com" + } + }, + "repository": { + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments" + }, + "head_repository": { + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments" + } + }, + { + "id": 660716784, + "name": "test-workflow", + "node_id": "MDExOldvcmtmbG93UnVuNjYwNzE2Nzg0", + "head_branch": "main", + "head_sha": "841a8e0fefc50f50c958a42b433c5ee10e0b184b", + "run_number": 3, + "event": "workflow_dispatch", + "status": "completed", + "conclusion": "success", + "workflow_id": 6817859, + "check_suite_id": 2277917805, + "check_suite_node_id": "MDEwOkNoZWNrU3VpdGUyMjc3OTE3ODA1", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660716784", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/actions/runs/660716784", + "pull_requests": [], + "created_at": "2021-03-17T10:27:33Z", + "updated_at": "2021-03-17T10:28:23Z", + "actor": { + "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 + }, + "run_attempt": 1, + "run_started_at": "2021-03-17T10:27:33Z", + "jobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660716784/jobs", + "logs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660716784/logs", + "check_suite_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/check-suites/2277917805", + "artifacts_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660716784/artifacts", + "cancel_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660716784/cancel", + "rerun_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660716784/rerun", + "previous_attempt_url": null, + "workflow_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", + "head_commit": { + "id": "841a8e0fefc50f50c958a42b433c5ee10e0b184b", + "tree_id": "7cc794d302f4f1b970c8f5aa45b26cad1ca8b024", + "message": "Create test-workflow.yml", + "timestamp": "2021-03-17T09:33:32Z", + "author": { + "name": "Guillaume Smet", + "email": "guillaume.smet@gmail.com" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com" + } + }, + "repository": { + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments" + }, + "head_repository": { + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments" + } + }, + { + "id": 660716489, + "name": "test-workflow", + "node_id": "MDExOldvcmtmbG93UnVuNjYwNzE2NDg5", + "head_branch": "main", + "head_sha": "841a8e0fefc50f50c958a42b433c5ee10e0b184b", + "run_number": 2, + "event": "workflow_dispatch", + "status": "completed", + "conclusion": "success", + "workflow_id": 6817859, + "check_suite_id": 2277917004, + "check_suite_node_id": "MDEwOkNoZWNrU3VpdGUyMjc3OTE3MDA0", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660716489", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/actions/runs/660716489", + "pull_requests": [], + "created_at": "2021-03-17T10:27:26Z", + "updated_at": "2021-03-17T10:27:46Z", + "actor": { + "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 + }, + "run_attempt": 1, + "run_started_at": "2021-03-17T10:27:26Z", + "jobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660716489/jobs", + "logs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660716489/logs", + "check_suite_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/check-suites/2277917004", + "artifacts_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660716489/artifacts", + "cancel_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660716489/cancel", + "rerun_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660716489/rerun", + "previous_attempt_url": null, + "workflow_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", + "head_commit": { + "id": "841a8e0fefc50f50c958a42b433c5ee10e0b184b", + "tree_id": "7cc794d302f4f1b970c8f5aa45b26cad1ca8b024", + "message": "Create test-workflow.yml", + "timestamp": "2021-03-17T09:33:32Z", + "author": { + "name": "Guillaume Smet", + "email": "guillaume.smet@gmail.com" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com" + } + }, + "repository": { + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments" + }, + "head_repository": { + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments" + } + }, + { + "id": 660573025, + "name": "test-workflow", + "node_id": "MDExOldvcmtmbG93UnVuNjYwNTczMDI1", + "head_branch": "main", + "head_sha": "841a8e0fefc50f50c958a42b433c5ee10e0b184b", + "run_number": 1, + "event": "push", + "status": "completed", + "conclusion": "success", + "workflow_id": 6817859, + "check_suite_id": 2277526743, + "check_suite_node_id": "MDEwOkNoZWNrU3VpdGUyMjc3NTI2NzQz", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660573025", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/actions/runs/660573025", + "pull_requests": [], + "created_at": "2021-03-17T09:33:36Z", + "updated_at": "2021-03-17T09:33:57Z", + "actor": { + "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 + }, + "run_attempt": 1, + "run_started_at": "2021-03-17T09:33:36Z", + "jobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660573025/jobs", + "logs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660573025/logs", + "check_suite_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/check-suites/2277526743", + "artifacts_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660573025/artifacts", + "cancel_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660573025/cancel", + "rerun_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/runs/660573025/rerun", + "previous_attempt_url": null, + "workflow_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", + "head_commit": { + "id": "841a8e0fefc50f50c958a42b433c5ee10e0b184b", + "tree_id": "7cc794d302f4f1b970c8f5aa45b26cad1ca8b024", + "message": "Create test-workflow.yml", + "timestamp": "2021-03-17T09:33:32Z", + "author": { + "name": "Guillaume Smet", + "email": "guillaume.smet@gmail.com" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com" + } + }, + "repository": { + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments" + }, + "head_repository": { + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments" + } + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json new file mode 100644 index 0000000000..570240c98b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json @@ -0,0 +1,12 @@ +{ + "id": 6817859, + "node_id": "MDg6V29ya2Zsb3c2ODE3ODU5", + "name": "test-workflow", + "path": ".github/workflows/test-workflow.yml", + "state": "active", + "created_at": "2021-03-17T10:33:32.000+01:00", + "updated_at": "2022-05-12T14:42:08.000+02:00", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml", + "badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json deleted file mode 100644 index c40633b49f..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "id": 6817859, - "node_id": "MDg6V29ya2Zsb3c2ODE3ODU5", - "name": "test-workflow", - "path": ".github/workflows/test-workflow.yml", - "state": "active", - "created_at": "2021-03-17T10:33:32.000+01:00", - "updated_at": "2021-03-25T11:36:24.000+01:00", - "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", - "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml", - "badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg" -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/user-1.json deleted file mode 100644 index 79bade964e..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/__files/user-1.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "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://www.redhat.com/", - "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": 102, - "public_gists": 14, - "followers": 127, - "following": 3, - "created_at": "2011-12-22T11:03:22Z", - "updated_at": "2021-03-23T17:35:45Z", - "private_gists": 14, - "total_private_repos": 4, - "owned_private_repos": 1, - "disk_usage": 68258, - "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/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/repos_hub4j-test-org_ghworkflowtest-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/repos_hub4j-test-org_ghworkflowtest-1.json new file mode 100644 index 0000000000..ae136cebc9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/repos_hub4j-test-org_ghworkflowtest-1.json @@ -0,0 +1,47 @@ +{ + "id": "b1428b90-162b-46f6-83a6-53f250a85649", + "name": "repos_hub4j-test-org_ghworkflowtest", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghworkflowtest-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 12 May 2022 12:43: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/\"b29404b8f46b810b45089727292ea01bec52720af73a92806b6826296fd3785b\"", + "Last-Modified": "Thu, 12 May 2022 12:41:19 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": "4953", + "X-RateLimit-Reset": "1652362924", + "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": "C8F6:EB05:1A938CC:1B2369C:627D00DC" + } + }, + "uuid": "b1428b90-162b-46f6-83a6-53f250a85649", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/repos_hub4j-test-org_ghworkflowtest-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/repos_hub4j-test-org_ghworkflowtest-2.json deleted file mode 100644 index a9aeb93779..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/repos_hub4j-test-org_ghworkflowtest-2.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "66e98e06-916e-4c7f-8747-c821f1d58b18", - "name": "repos_hub4j-test-org_ghworkflowtest", - "request": { - "url": "/repos/hub4j-test-org/GHWorkflowTest", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_ghworkflowtest-2.json", - "headers": { - "Server": "GitHub.com", - "Date": "Thu, 25 Mar 2021 10:36:26 GMT", - "Content-Type": "application/json; charset=utf-8", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"082e0c2ae9f1d8387e22ebe7279d627738b78d114a3badc2d9e60dfb0b2a6abf\"", - "Last-Modified": "Wed, 17 Mar 2021 09:33:34 GMT", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "repo", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4983", - "X-RateLimit-Reset": "1616672182", - "X-RateLimit-Used": "17", - "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": "D59E:13DDE:48774DE:498A32F:605C67A9" - } - }, - "uuid": "66e98e06-916e-4c7f-8747-c821f1d58b18", - "persistent": true, - "insertionIndex": 2 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_runs-3.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_runs-3.json new file mode 100644 index 0000000000..db62c3cdd1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_runs-3.json @@ -0,0 +1,46 @@ +{ + "id": "16348662-e091-4b01-a236-fee757d509fc", + "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_runs", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859/runs", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_runs-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 12 May 2022 12:43: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/\"62cc9c8c27043971fa756a87ba72b5fdeadfa84c4f190c241589f7c6d12e8528\"", + "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": "4951", + "X-RateLimit-Reset": "1652362924", + "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": "C8FA:2245:1C90585:1D228B3:627D00DC" + } + }, + "uuid": "16348662-e091-4b01-a236-fee757d509fc", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_runs-4.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_runs-4.json deleted file mode 100644 index 385571309e..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_runs-4.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "a29bc36c-7907-4bbc-9542-a030ae5b8272", - "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_runs", - "request": { - "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859/runs", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflowruns-4.json", - "headers": { - "Server": "GitHub.com", - "Date": "Fri, 02 Apr 2021 16:54: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/\"158233711de1a189843695211dd42ec9898b518437eb5e78447c62c2e993f33e\"", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4863", - "X-RateLimit-Reset": "1617384010", - "X-RateLimit-Used": "137", - "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": "8870:697D:FBE289:10027A5:60674C4E", - "Link": "; rel=\"next\", ; rel=\"last\"" - } - }, - "uuid": "781f4b9d-2477-4ec0-9e8d-32bf5a6fa088", - "persistent": true, - "insertionIndex": 4 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_runs-5.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_runs-5.json deleted file mode 100644 index 999ef12843..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_runs-5.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "id": "bb33f7df-9465-4b7d-a865-da34efc59540\n\n", - "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_6817859_runs", - "request": { - "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859/runs?per_page=1&page=2", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflowruns-5.json", - "headers": { - "Server": "GitHub.com", - "Date": "Fri, 02 Apr 2021 16:54: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/\"158233711de1a189843695211dd42ec9898b518437eb5e78447c62c2e993f33e\"", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4863", - "X-RateLimit-Reset": "1617384010", - "X-RateLimit-Used": "137", - "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": "8870:697D:FBE289:10027A5:60674C4E" - } - }, - "uuid": "2b710d23-e9bf-4271-ab8e-7b6b083accc5\n\n", - "persistent": true, - "insertionIndex": 5 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json new file mode 100644 index 0000000000..aa44f73700 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json @@ -0,0 +1,46 @@ +{ + "id": "7c1ac757-c3a6-487a-ab79-d4801a9a2a60", + "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/test-workflow.yml", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 12 May 2022 12:43: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/\"304884d68a15280cc659e278ee375aee6ceca05734442ffdacc717d264b55adf\"", + "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": "4952", + "X-RateLimit-Reset": "1652362924", + "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": "C8F8:7E84:269E8EB:2743DFD:627D00DC" + } + }, + "uuid": "7c1ac757-c3a6-487a-ab79-d4801a9a2a60", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json deleted file mode 100644 index 1def420712..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "id": "78e27ea7-027a-4f97-b770-5308041a2216", - "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml", - "request": { - "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/test-workflow.yml", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows_test-workflowyml-3.json", - "headers": { - "Server": "GitHub.com", - "Date": "Thu, 25 Mar 2021 10:36:26 GMT", - "Content-Type": "application/json; charset=utf-8", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"72a49555d2625ba9f490d619d324726f5192dc2a030dc22033b9cadf7a2ba076\"", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4982", - "X-RateLimit-Reset": "1616672182", - "X-RateLimit-Used": "18", - "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": "D59E:13DDE:4877553:498A3A7:605C67AA" - } - }, - "uuid": "78e27ea7-027a-4f97-b770-5308041a2216", - "persistent": true, - "insertionIndex": 3 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/user-1.json deleted file mode 100644 index a09465d755..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflowRuns/mappings/user-1.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "44f1323e-bd63-4f16-b059-b83c47e18e5f", - "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": "Thu, 25 Mar 2021 10:36:25 GMT", - "Content-Type": "application/json; charset=utf-8", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"879f35eed38dcc75ca2b3a8999425e0d51678f4c73ffade3c5bcc853b59245b6\"", - "Last-Modified": "Tue, 23 Mar 2021 17:35:45 GMT", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4987", - "X-RateLimit-Reset": "1616672182", - "X-RateLimit-Used": "13", - "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": "D59E:13DDE:4877368:498A1B8:605C67A9" - } - }, - "uuid": "44f1323e-bd63-4f16-b059-b83c47e18e5f", - "persistent": true, - "insertionIndex": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/__files/repos_hub4j-test-org_ghworkflowtest-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/__files/repos_hub4j-test-org_ghworkflowtest-1.json new file mode 100644 index 0000000000..fce58ae6fa --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/__files/repos_hub4j-test-org_ghworkflowtest-1.json @@ -0,0 +1,134 @@ +{ + "id": 348651606, + "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", + "name": "GHWorkflowTest", + "full_name": "hub4j-test-org/GHWorkflowTest", + "private": false, + "owner": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "description": "Repository used for GHWorkflowTest", + "fork": false, + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", + "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", + "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", + "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", + "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", + "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", + "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", + "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", + "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", + "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", + "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", + "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", + "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", + "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", + "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", + "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", + "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", + "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", + "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", + "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", + "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments", + "created_at": "2021-03-17T09:32:03Z", + "updated_at": "2022-05-12T12:41:19Z", + "pushed_at": "2022-05-12T12:41:16Z", + "git_url": "git://github.com/hub4j-test-org/GHWorkflowTest.git", + "ssh_url": "git@github.com:hub4j-test-org/GHWorkflowTest.git", + "clone_url": "https://github.com/hub4j-test-org/GHWorkflowTest.git", + "svn_url": "https://github.com/hub4j-test-org/GHWorkflowTest", + "homepage": null, + "size": 1, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "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://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", + "followers_url": "https://api.github.com/users/hub4j-test-org/followers", + "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", + "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", + "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", + "repos_url": "https://api.github.com/users/hub4j-test-org/repos", + "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", + "type": "Organization", + "site_admin": false + }, + "network_count": 0, + "subscribers_count": 11 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/__files/repos_hub4j-test-org_ghworkflowtest-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/__files/repos_hub4j-test-org_ghworkflowtest-2.json deleted file mode 100644 index c984c8be47..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/__files/repos_hub4j-test-org_ghworkflowtest-2.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "id": 348651606, - "node_id": "MDEwOlJlcG9zaXRvcnkzNDg2NTE2MDY=", - "name": "GHWorkflowTest", - "full_name": "hub4j-test-org/GHWorkflowTest", - "private": false, - "owner": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "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", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest", - "description": "Repository used for GHWorkflowTest", - "fork": false, - "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest", - "forks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/forks", - "keys_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/teams", - "hooks_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/hooks", - "issue_events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/events{/number}", - "events_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/events", - "assignees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/assignees{/user}", - "branches_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/branches{/branch}", - "tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/tags", - "blobs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/statuses/{sha}", - "languages_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/languages", - "stargazers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/stargazers", - "contributors_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contributors", - "subscribers_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscribers", - "subscription_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/subscription", - "commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/contents/{+path}", - "compare_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/merges", - "archive_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/downloads", - "issues_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/issues{/number}", - "pulls_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/pulls{/number}", - "milestones_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/milestones{/number}", - "notifications_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/labels{/name}", - "releases_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/releases{/id}", - "deployments_url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/deployments", - "created_at": "2021-03-17T09:32:03Z", - "updated_at": "2021-03-17T09:33:34Z", - "pushed_at": "2021-03-17T09:33:32Z", - "git_url": "git://github.com/hub4j-test-org/GHWorkflowTest.git", - "ssh_url": "git@github.com:hub4j-test-org/GHWorkflowTest.git", - "clone_url": "https://github.com/hub4j-test-org/GHWorkflowTest.git", - "svn_url": "https://github.com/hub4j-test-org/GHWorkflowTest", - "homepage": null, - "size": 1, - "stargazers_count": 0, - "watchers_count": 0, - "language": null, - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "main", - "permissions": { - "admin": true, - "push": true, - "pull": true - }, - "temp_clone_token": "", - "allow_squash_merge": true, - "allow_merge_commit": true, - "allow_rebase_merge": true, - "delete_branch_on_merge": false, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "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", - "followers_url": "https://api.github.com/users/hub4j-test-org/followers", - "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}", - "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions", - "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs", - "repos_url": "https://api.github.com/users/hub4j-test-org/repos", - "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events", - "type": "Organization", - "site_admin": false - }, - "network_count": 0, - "subscribers_count": 10 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows-2.json new file mode 100644 index 0000000000..9a0bfc84d3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows-2.json @@ -0,0 +1,17 @@ +{ + "total_count": 1, + "workflows": [ + { + "id": 6817859, + "node_id": "MDg6V29ya2Zsb3c2ODE3ODU5", + "name": "test-workflow", + "path": ".github/workflows/test-workflow.yml", + "state": "active", + "created_at": "2021-03-17T10:33:32.000+01:00", + "updated_at": "2022-05-12T14:42:08.000+02:00", + "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", + "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml", + "badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg" + } + ] +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows-3.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows-3.json deleted file mode 100644 index 6111529a6b..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/__files/repos_hub4j-test-org_ghworkflowtest_actions_workflows-3.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "total_count": 1, - "workflows": [ - { - "id": 6817859, - "node_id": "MDg6V29ya2Zsb3c2ODE3ODU5", - "name": "test-workflow", - "path": ".github/workflows/test-workflow.yml", - "state": "active", - "created_at": "2021-03-17T10:33:32.000+01:00", - "updated_at": "2021-03-25T11:36:24.000+01:00", - "url": "https://api.github.com/repos/hub4j-test-org/GHWorkflowTest/actions/workflows/6817859", - "html_url": "https://github.com/hub4j-test-org/GHWorkflowTest/blob/main/.github/workflows/test-workflow.yml", - "badge_url": "https://github.com/hub4j-test-org/GHWorkflowTest/workflows/test-workflow/badge.svg" - } - ] -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/__files/user-1.json deleted file mode 100644 index 6009ca36b4..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/__files/user-1.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "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://www.redhat.com/", - "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": 102, - "public_gists": 14, - "followers": 126, - "following": 3, - "created_at": "2011-12-22T11:03:22Z", - "updated_at": "2021-03-25T13:53:32Z", - "private_gists": 14, - "total_private_repos": 4, - "owned_private_repos": 1, - "disk_usage": 68258, - "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/GHWorkflowTest/wiremock/testListWorkflows/mappings/repos_hub4j-test-org_ghworkflowtest-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/mappings/repos_hub4j-test-org_ghworkflowtest-1.json new file mode 100644 index 0000000000..6c83faa4a8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/mappings/repos_hub4j-test-org_ghworkflowtest-1.json @@ -0,0 +1,47 @@ +{ + "id": "6d80881d-7a35-4aa7-aa9a-749f4141870c", + "name": "repos_hub4j-test-org_ghworkflowtest", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowTest", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghworkflowtest-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 12 May 2022 12:43: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/\"b29404b8f46b810b45089727292ea01bec52720af73a92806b6826296fd3785b\"", + "Last-Modified": "Thu, 12 May 2022 12:41:19 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": "4959", + "X-RateLimit-Reset": "1652362924", + "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": "C8F2:11833:1797302:1824C37:627D00DA" + } + }, + "uuid": "6d80881d-7a35-4aa7-aa9a-749f4141870c", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/mappings/repos_hub4j-test-org_ghworkflowtest-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/mappings/repos_hub4j-test-org_ghworkflowtest-2.json deleted file mode 100644 index cb69dc74b1..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/mappings/repos_hub4j-test-org_ghworkflowtest-2.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "df58f346-eeca-4472-aa08-1d09980919b3", - "name": "repos_hub4j-test-org_ghworkflowtest", - "request": { - "url": "/repos/hub4j-test-org/GHWorkflowTest", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_ghworkflowtest-2.json", - "headers": { - "Server": "GitHub.com", - "Date": "Mon, 29 Mar 2021 17:51:53 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/\"082e0c2ae9f1d8387e22ebe7279d627738b78d114a3badc2d9e60dfb0b2a6abf\"", - "Last-Modified": "Wed, 17 Mar 2021 09:33:34 GMT", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "repo", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4995", - "X-RateLimit-Reset": "1617043912", - "X-RateLimit-Used": "5", - "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": "C8C8:5652:A3CF5A:A72804:606213B9" - } - }, - "uuid": "df58f346-eeca-4472-aa08-1d09980919b3", - "persistent": true, - "insertionIndex": 2 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows-2.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows-2.json new file mode 100644 index 0000000000..f7b3519785 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows-2.json @@ -0,0 +1,46 @@ +{ + "id": "cc7606d1-2b02-4b42-b647-0178f4638d50", + "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows", + "request": { + "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 12 May 2022 12:43: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/\"1a6223335508d90c14799f8e9af313903f3c95ba555ba958fab23e77328057a5\"", + "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": "4958", + "X-RateLimit-Reset": "1652362924", + "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": "C8F4:E457:26C775A:276D18A:627D00DB" + } + }, + "uuid": "cc7606d1-2b02-4b42-b647-0178f4638d50", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows-3.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows-3.json deleted file mode 100644 index c9c73eca55..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/mappings/repos_hub4j-test-org_ghworkflowtest_actions_workflows-3.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "id": "dd811eda-cc06-40cd-9260-383e392b9313", - "name": "repos_hub4j-test-org_ghworkflowtest_actions_workflows", - "request": { - "url": "/repos/hub4j-test-org/GHWorkflowTest/actions/workflows", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_ghworkflowtest_actions_workflows-3.json", - "headers": { - "Server": "GitHub.com", - "Date": "Mon, 29 Mar 2021 17:51:53 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/\"76b4179d3e0eeaba9ea886a4fe4f776be351a51e1667ac4744affde359313a96\"", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4994", - "X-RateLimit-Reset": "1617043912", - "X-RateLimit-Used": "6", - "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": "C8C8:5652:A3CF91:A72838:606213B9" - } - }, - "uuid": "dd811eda-cc06-40cd-9260-383e392b9313", - "persistent": true, - "insertionIndex": 3 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/mappings/user-1.json deleted file mode 100644 index 100d4dbc8a..0000000000 --- a/src/test/resources/org/kohsuke/github/GHWorkflowTest/wiremock/testListWorkflows/mappings/user-1.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "19315fcd-1c12-48ea-a908-1a01560c6be4", - "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": "Mon, 29 Mar 2021 17:51:52 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/\"a86162d7dda1332f6aff41cf72b1bbcdc96c13eea262334a896dcd7a09be5d27\"", - "Last-Modified": "Thu, 25 Mar 2021 13:53:32 GMT", - "X-OAuth-Scopes": "repo, user, workflow", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4999", - "X-RateLimit-Reset": "1617043912", - "X-RateLimit-Used": "1", - "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": "C8C8:5652:A3CE7E:A72720:606213B7" - } - }, - "uuid": "19315fcd-1c12-48ea-a908-1a01560c6be4", - "persistent": true, - "insertionIndex": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GitHubTest/wiremock/getMyMarketplacePurchases/__files/body-user-marketplace_purchases-stubbed-eVWvD.json b/src/test/resources/org/kohsuke/github/GitHubTest/wiremock/getMyMarketplacePurchases/__files/body-user-marketplace_purchases-stubbed-eVWvD.json index a74693a373..70cad368ca 100644 --- a/src/test/resources/org/kohsuke/github/GitHubTest/wiremock/getMyMarketplacePurchases/__files/body-user-marketplace_purchases-stubbed-eVWvD.json +++ b/src/test/resources/org/kohsuke/github/GitHubTest/wiremock/getMyMarketplacePurchases/__files/body-user-marketplace_purchases-stubbed-eVWvD.json @@ -24,7 +24,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ @@ -56,7 +56,7 @@ "description": "A free CI solution", "monthly_price_in_cents": 0, "yearly_price_in_cents": 0, - "price_model": "free", + "price_model": "FREE", "has_free_trial": false, "state": "published", "unit_name": null, diff --git a/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestDoesNotGetNewAuthorizationTokenWhenOldOneIsStillValid/__files/users_kohsuke-1.json b/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestDoesNotGetNewAuthorizationTokenWhenOldOneIsStillValid/__files/users_kohsuke-1.json new file mode 100644 index 0000000000..8b7aa0e48e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestDoesNotGetNewAuthorizationTokenWhenOldOneIsStillValid/__files/users_kohsuke-1.json @@ -0,0 +1,34 @@ +{ + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false, + "name": "Kohsuke Kawaguchi", + "company": "@launchableinc ", + "blog": "https://www.kohsuke.org/", + "location": "San Jose, California", + "email": null, + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 263, + "public_gists": 113, + "followers": 2110, + "following": 3, + "created_at": "2009-01-28T18:53:21Z", + "updated_at": "2023-08-09T13:37:19Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestDoesNotGetNewAuthorizationTokenWhenOldOneIsStillValid/mappings/users_kohsuke-1.json b/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestDoesNotGetNewAuthorizationTokenWhenOldOneIsStillValid/mappings/users_kohsuke-1.json new file mode 100644 index 0000000000..e0b56d4f9b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestDoesNotGetNewAuthorizationTokenWhenOldOneIsStillValid/mappings/users_kohsuke-1.json @@ -0,0 +1,53 @@ +{ + "id": "d37116f2-558c-4543-9d1d-e2241cfcaf54", + "name": "users_kohsuke", + "scenarioName": "Retry with valid credentials", + "requiredScenarioState": "Started", + "newScenarioState": "Retry with the same credentials", + "request": { + "url": "/users/kohsuke", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + }, + "Authorization": { + "equalTo": "original token" + } + } + }, + "response": { + "status": 403, + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 10 Aug 2023 09:12:37 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "public, max-age=60, s-maxage=60", + "Vary": [ + "Accept", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"e2b462e6fe85486beb06033fe196d7c7b7669a96ddbb8f411b91f56288b31b3b\"", + "Last-Modified": "Wed, 09 Aug 2023 13:37:19 GMT", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "60", + "X-RateLimit-Remaining": "0", + "X-RateLimit-Reset": "{{testStartDate offset='3 seconds' format='unix'}}", + "X-RateLimit-Used": "1", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "BDE4:73C9:BF78362:C13B808:64D4AA05" + } + }, + "uuid": "d37116f2-558c-4543-9d1d-e2241cfcaf54", + "persistent": true, + "insertionIndex": 1 +} diff --git a/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestDoesNotGetNewAuthorizationTokenWhenOldOneIsStillValid/mappings/users_kohsuke-2.json b/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestDoesNotGetNewAuthorizationTokenWhenOldOneIsStillValid/mappings/users_kohsuke-2.json new file mode 100644 index 0000000000..0eea762450 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestDoesNotGetNewAuthorizationTokenWhenOldOneIsStillValid/mappings/users_kohsuke-2.json @@ -0,0 +1,52 @@ +{ + "id": "d37116f2-558c-4543-9d1d-e2241cfcaf54", + "name": "users_kohsuke", + "requiredScenarioState": "Retry with the same credentials", + "request": { + "url": "/users/kohsuke", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + }, + "Authorization": { + "equalTo": "original token" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "users_kohsuke-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Thu, 10 Aug 2023 09:12:37 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "public, max-age=60, s-maxage=60", + "Vary": [ + "Accept", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"e2b462e6fe85486beb06033fe196d7c7b7669a96ddbb8f411b91f56288b31b3b\"", + "Last-Modified": "Wed, 09 Aug 2023 13:37:19 GMT", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "60", + "X-RateLimit-Remaining": "59", + "X-RateLimit-Reset": "{{testStartDate offset='1 hours' format='unix'}}", + "X-RateLimit-Used": "1", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "BDE4:73C9:BF78362:C13B808:64D4AA05" + } + }, + "uuid": "d37116f2-558c-4543-9d1d-e2241cfcaf54", + "persistent": true, + "insertionIndex": 1 +} diff --git a/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires/__files/user-1.json b/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires/__files/user-1.json new file mode 100644 index 0000000000..e11a3143bb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires/__files/user-1.json @@ -0,0 +1,34 @@ +{ + "login": "emrebasar", + "id": 3469498, + "node_id": "MDQ6VXNlcjM0Njk0OTg=", + "avatar_url": "https://avatars.githubusercontent.com/u/3469498?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/emrebasar", + "html_url": "https://github.com/emrebasar", + "followers_url": "https://api.github.com/users/emrebasar/followers", + "following_url": "https://api.github.com/users/emrebasar/following{/other_user}", + "gists_url": "https://api.github.com/users/emrebasar/gists{/gist_id}", + "starred_url": "https://api.github.com/users/emrebasar/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/emrebasar/subscriptions", + "organizations_url": "https://api.github.com/users/emrebasar/orgs", + "repos_url": "https://api.github.com/users/emrebasar/repos", + "events_url": "https://api.github.com/users/emrebasar/events{/privacy}", + "received_events_url": "https://api.github.com/users/emrebasar/received_events", + "type": "User", + "site_admin": false, + "name": "R. Emre Basar", + "company": null, + "blog": "", + "location": null, + "email": null, + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 3, + "public_gists": 0, + "followers": 2, + "following": 0, + "created_at": "2013-02-04T08:26:33Z", + "updated_at": "2023-06-29T21:22:45Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires/__files/users_kohsuke-2.json b/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires/__files/users_kohsuke-2.json new file mode 100644 index 0000000000..c11febf796 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires/__files/users_kohsuke-2.json @@ -0,0 +1,34 @@ +{ + "login": "kohsuke", + "id": 50003, + "node_id": "MDQ6VXNlcjUwMDAz", + "avatar_url": "https://avatars.githubusercontent.com/u/50003?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/kohsuke", + "html_url": "https://github.com/kohsuke", + "followers_url": "https://api.github.com/users/kohsuke/followers", + "following_url": "https://api.github.com/users/kohsuke/following{/other_user}", + "gists_url": "https://api.github.com/users/kohsuke/gists{/gist_id}", + "starred_url": "https://api.github.com/users/kohsuke/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/kohsuke/subscriptions", + "organizations_url": "https://api.github.com/users/kohsuke/orgs", + "repos_url": "https://api.github.com/users/kohsuke/repos", + "events_url": "https://api.github.com/users/kohsuke/events{/privacy}", + "received_events_url": "https://api.github.com/users/kohsuke/received_events", + "type": "User", + "site_admin": false, + "name": "Kohsuke Kawaguchi", + "company": "@launchableinc ", + "blog": "https://www.kohsuke.org/", + "location": "San Jose, California", + "email": "kk@kohsuke.org", + "hireable": null, + "bio": null, + "twitter_username": null, + "public_repos": 263, + "public_gists": 113, + "followers": 2098, + "following": 3, + "created_at": "2009-01-28T18:53:21Z", + "updated_at": "2023-05-16T02:35:24Z" +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires/mappings/user-1.json b/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires/mappings/user-1.json new file mode 100644 index 0000000000..cc9252faeb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires/mappings/user-1.json @@ -0,0 +1,51 @@ +{ + "id": "34cadfa1-f969-4d8d-a855-d4073878d0d8", + "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, 04 Jul 2023 09:27:51 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/\"1ccca51d2d215d0aa63c9c0e7912237f2e1f42bd17ac8e9ab30f539d9673fd4e\"", + "Last-Modified": "Thu, 29 Jun 2023 21:22:45 GMT", + "X-OAuth-Scopes": "gist, read:org, repo", + "X-Accepted-OAuth-Scopes": "", + "x-oauth-client-id": "178c6fc778ccc68e1d6a", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4989", + "X-RateLimit-Reset": "1688466174", + "X-RateLimit-Used": "11", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "BC5B:03C1:15BF2AD:1603E7D:64A3E617" + } + }, + "uuid": "34cadfa1-f969-4d8d-a855-d4073878d0d8", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires/mappings/users_kohsuke-2.json b/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires/mappings/users_kohsuke-2.json new file mode 100644 index 0000000000..4c73ff0496 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires/mappings/users_kohsuke-2.json @@ -0,0 +1,56 @@ +{ + "id": "c00fbe9b-6c8a-4f61-b0f1-ddfd442bd4f7", + "name": "users_kohsuke", + "scenarioName": "Retry with expired credentials", + "requiredScenarioState": "Started", + "newScenarioState": "Unauthorized", + "request": { + "url": "/users/kohsuke", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + }, + "Authorization": { + "equalTo": "original token" + } + } + }, + "response": { + "status": 403, + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 04 Jul 2023 09:27:52 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/\"f41fda58171c5e0eca7018225db5009319a5b17852fc44db7ad6e4d0f7ac823a\"", + "Last-Modified": "Tue, 16 May 2023 02:35:24 GMT", + "X-OAuth-Scopes": "gist, read:org, repo", + "X-Accepted-OAuth-Scopes": "", + "x-oauth-client-id": "178c6fc778ccc68e1d6a", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "0", + "X-RateLimit-Reset": "{{testStartDate offset='1 seconds' format='unix'}}", + "X-RateLimit-Used": "13", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "BC76:39D5:E12F87A:E3E5583:64A3E618" + } + }, + "uuid": "c00fbe9b-6c8a-4f61-b0f1-ddfd442bd4f7", + "persistent": true, + "insertionIndex": 2 +} diff --git a/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires/mappings/users_kohsuke-3.json b/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires/mappings/users_kohsuke-3.json new file mode 100644 index 0000000000..628b0792d4 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires/mappings/users_kohsuke-3.json @@ -0,0 +1,57 @@ +{ + "id": "c00fbe9b-6c8a-4f61-b0f1-ddfd442bd4f7", + "name": "users_kohsuke", + "scenarioName": "Retry with expired credentials", + "requiredScenarioState": "Unauthorized", + "newScenarioState": "Expect new token", + "request": { + "url": "/users/kohsuke", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + }, + "Authorization": { + "equalTo": "original token" + } + } + }, + "response": { + "status": 401, + "bodyFileName": "users_kohsuke-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 04 Jul 2023 09:27:52 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/\"f41fda58171c5e0eca7018225db5009319a5b17852fc44db7ad6e4d0f7ac823a\"", + "Last-Modified": "Tue, 16 May 2023 02:35:24 GMT", + "X-OAuth-Scopes": "gist, read:org, repo", + "X-Accepted-OAuth-Scopes": "", + "x-oauth-client-id": "178c6fc778ccc68e1d6a", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4987", + "X-RateLimit-Reset": "{{testStartDate offset='1 seconds' format='unix'}}", + "X-RateLimit-Used": "13", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "BC76:39D5:E12F87A:E3E5583:64A3E618" + } + }, + "uuid": "c00fbe9b-6c8a-4f61-b0f1-ddfd442bd4f7", + "persistent": true, + "insertionIndex": 2 +} diff --git a/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires/mappings/users_kohsuke-4.json b/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires/mappings/users_kohsuke-4.json new file mode 100644 index 0000000000..51a5d75d16 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest/wiremock/testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires/mappings/users_kohsuke-4.json @@ -0,0 +1,56 @@ +{ + "id": "c00fbe9b-6c8a-4f61-b0f1-ddfd442bd4f7", + "name": "users_kohsuke", + "scenarioName": "Retry with expired credentials", + "requiredScenarioState": "Expect new token", + "request": { + "url": "/users/kohsuke", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + }, + "Authorization": { + "equalTo": "refreshed token" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "users_kohsuke-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Tue, 04 Jul 2023 09:27:52 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/\"f41fda58171c5e0eca7018225db5009319a5b17852fc44db7ad6e4d0f7ac823a\"", + "Last-Modified": "Tue, 16 May 2023 02:35:24 GMT", + "X-OAuth-Scopes": "gist, read:org, repo", + "X-Accepted-OAuth-Scopes": "", + "x-oauth-client-id": "178c6fc778ccc68e1d6a", + "X-GitHub-Media-Type": "github.v3; format=json", + "x-github-api-version-selected": "2022-11-28", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4987", + "X-RateLimit-Reset": "{{testStartDate offset='1 seconds' format='unix'}}", + "X-RateLimit-Used": "13", + "X-RateLimit-Resource": "core", + "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset", + "Access-Control-Allow-Origin": "*", + "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": "BC76:39D5:E12F87A:E3E5583:64A3E618" + } + }, + "uuid": "c00fbe9b-6c8a-4f61-b0f1-ddfd442bd4f7", + "persistent": true, + "insertionIndex": 2 +}